{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"],"owasp":"A01:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D40","name":"Network Egress Confinement","shortDescription":{"text":"Network Egress Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D40"},{"id":"D41","name":"Kernel \u0026 Syscall Confinement","shortDescription":{"text":"Kernel \u0026 Syscall Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D41"},{"id":"D42","name":"Runtime Threat Enforcement","shortDescription":{"text":"Runtime Threat Enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/D42"},{"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":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"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":"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":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"capacityPlugin.OnSessionOpen (cyclomatic 139): capacityPlugin.OnSessionOpen has cyclomatic complexity 139 (threshold 15). Most of this is not in the body itself: 3 of the 139 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 466, 788, 655, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cea27a1c3b61686d4c174bcaf17d52a6dcceea47b0659659fa2a5a1ea811720"}},{"ruleId":"D1","level":"warning","message":{"text":"proportionPlugin.OnSessionOpen (cyclomatic 66): proportionPlugin.OnSessionOpen has cyclomatic complexity 66 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 33 belong to 12 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/proportion/proportion.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"907e59c68c072b65d887a5a975d2870ff865681d8941ff9a63a7f1714b40450c"}},{"ruleId":"D1","level":"warning","message":{"text":"deviceSharePlugin.wrapGPUDevicesForExclusivity (cyclomatic 54): deviceSharePlugin.wrapGPUDevicesForExclusivity has cyclomatic complexity 54 (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":"pkg/scheduler/plugins/deviceshare/gpuexclusive.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ee0b497593d86d01020380fbfa54ad9c685a12df52bc83a615d7399d2b7a19"}},{"ruleId":"D1","level":"warning","message":{"text":"pod.printPod (cyclomatic 50): pod.printPod has cyclomatic complexity 50 (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":"pkg/cli/pod/pod.go"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bc8edc789ada2065287b95a3dcd6b61b7d2ed81b875acd92ebd42d53ceb3ff"}},{"ruleId":"D1","level":"warning","message":{"text":"capacityPlugin.buildHierarchicalQueueAttrs (cyclomatic 48): capacityPlugin.buildHierarchicalQueueAttrs has cyclomatic complexity 48 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 11 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b0c5ab46e6bf73982a610ad58e597f88255cf73c8daa26445f7eace90c796f"}},{"ruleId":"D1","level":"warning","message":{"text":"jobcontroller.syncJob (cyclomatic 47): jobcontroller.syncJob has cyclomatic complexity 47 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_actions.go"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c84f2c9fbd7f1959502e9980d1678f1fbcbdcc5f58320ce8d417fdb14aa1eb5"}},{"ruleId":"D1","level":"warning","message":{"text":"jobcontroller.killPods (cyclomatic 44): jobcontroller.killPods 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":"pkg/controllers/job/job_controller_actions.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2a805abf4038aed602cabe4f6fadbaaf68875c7292a88165a4e30e5a15112e"}},{"ruleId":"D1","level":"warning","message":{"text":"Action.Execute (cyclomatic 42): Action.Execute has cyclomatic complexity 42 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/preempt/preempt.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1102ab473d71fbe67e84342676e2026fdc6eb3ed8daa44e4d67da484312f5a8"}},{"ruleId":"D1","level":"warning","message":{"text":"Action.allocateResourcesForTasks (cyclomatic 41): Action.allocateResourcesForTasks has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c7afb03f6ab7759475e6380de71fc6f0a31833011f133a7dda7d54d63f4e63"}},{"ruleId":"D1","level":"warning","message":{"text":"PredicatesPlugin.OnSessionOpen (cyclomatic 39): PredicatesPlugin.OnSessionOpen has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 7 of the 39 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 385, 230, 332, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2435af8f065a8b9a771315c96c5c6d135ec8529085ef5a9a7e22ea41cbce7b65"}},{"ruleId":"D1","level":"warning","message":{"text":"featureGate.Enabled (cyclomatic 38): featureGate.Enabled has cyclomatic complexity 38 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/features/feature_gate.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83c46c0259068e0b8cabe725edd902d42cb95f7a8f46ddcc7b48c63b243defb"}},{"ruleId":"D1","level":"warning","message":{"text":"drfPlugin.OnSessionOpen (cyclomatic 37): drfPlugin.OnSessionOpen has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 8 of the 37 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 280, 222, 392, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/drf/drf.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"b975f4800cb6bf47c589ff3fd3be1c11f049690ecca3d6eee6162c57f89202dd"}},{"ruleId":"D1","level":"warning","message":{"text":"fairSharePlugin.OnSessionOpen (cyclomatic 36): fairSharePlugin.OnSessionOpen has cyclomatic complexity 36 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 14 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/fairshare/fairshare.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e850cf551a214110b3afc62f45a60c526f697bd892ed96791bd85f85c4f60cd9"}},{"ruleId":"D1","level":"warning","message":{"text":"extenderPlugin.OnSessionOpen (cyclomatic 34): extenderPlugin.OnSessionOpen has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 13 of the 34 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 191, 220, 244, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/extender/extender.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb012f55b5be3b549b9180ff58d15e1911094a1bf7f4823ae773065a41a4531"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.CreateJobBundles (cyclomatic 33): utils.CreateJobBundles has cyclomatic complexity 33 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"pkg/scheduler/actions/utils/bundle.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38a46a75716670377c4c2b7be99ccca259238dc642376c45caaf163c3c097f6"}},{"ruleId":"D1","level":"warning","message":{"text":"vgpu.checkNodeGPUSharingPredicateAndScore (cyclomatic 33): vgpu.checkNodeGPUSharingPredicateAndScore has cyclomatic complexity 33 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/utils.go"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d67b3a9a9ddb155cf3c0f2948c321e241a91b725941c4fa64e3df8354d0beea"}},{"ruleId":"D1","level":"warning","message":{"text":"job.applyPolicies (cyclomatic 32): job.applyPolicies has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_util.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b151ec5a2dbfcfac05deab77424de46a18713b95e63313bffc2fcb94e87e95"}},{"ruleId":"D1","level":"warning","message":{"text":"jobcontroller.updatePod (cyclomatic 30): jobcontroller.updatePod has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_handler.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62946ca8b44ffa0eb44c6521be5f5c554c1865b4c328cf386ee7229cf49b851"}},{"ruleId":"D1","level":"warning","message":{"text":"SchedulerCache.addEventHandler (cyclomatic 30): SchedulerCache.addEventHandler has cyclomatic complexity 30 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 15 belong to 6 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/cache.go"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"88dc13406ec477916a5f58825b3e54cc521bae55150ef054bfdf151cfda93358"}},{"ruleId":"D1","level":"warning","message":{"text":"HyperNodesInfo.UpdateHyperNode (cyclomatic 29): HyperNodesInfo.UpdateHyperNode has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/hyper_node_info.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4de87dca8f2deb3f008a01258d0f3202b31d666fb8ebaf6fa05a929b3b43fd"}},{"ruleId":"D1","level":"warning","message":{"text":"Action.Execute (cyclomatic 28): Action.Execute has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/reclaim/reclaim.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"38383f63267d1ce55d5873e6b321ca82c52b4639d1a0065aa0cebeb20e1d9d03"}},{"ruleId":"D1","level":"warning","message":{"text":"SchedulerCache.buildTaskDRAInfo (cyclomatic 28): SchedulerCache.buildTaskDRAInfo has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/cache.go"},"region":{"startLine":2085}}}],"partialFingerprints":{"codehealthFindingId/v1":"db138a514573fe09d2f8e40ab9b80d0857780e4e24bbee273ea5f54c01d80d26"}},{"ruleId":"D1","level":"warning","message":{"text":"tdmPlugin.OnSessionOpen (cyclomatic 25): tdmPlugin.OnSessionOpen has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 197, 236, 146, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/tdm/tdm.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd6c6b3fd8c48e2165b4f9552d2a4f93f8686a4e769140eb34171a3449f466b"}},{"ruleId":"D1","level":"warning","message":{"text":"validate.AdmitNamespaceQueues (cyclomatic 25): validate.AdmitNamespaceQueues 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":"pkg/webhooks/admission/namespacequeues/validate/validate_namespacequeue.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb7c3ca0cce00daa0bcfba5f66b55f9654f3e5053ad20688d2d9b21eb5a5f0b"}},{"ruleId":"D1","level":"warning","message":{"text":"job.createJobPod (cyclomatic 24): job.createJobPod has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_util.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9948f458c8deb039722167e6a7606f427d91704a192389838c64f1c0184ef7d"}},{"ruleId":"D1","level":"warning","message":{"text":"capacityPlugin.buildQueueAttrs (cyclomatic 24): capacityPlugin.buildQueueAttrs has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"609d0b95d1d65b043c9f3cbd0baa5e258a2583cf29d29c413b8d5cc58a9f5d93"}},{"ruleId":"D1","level":"warning","message":{"text":"gangPlugin.OnSessionOpen (cyclomatic 24): gangPlugin.OnSessionOpen has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 58, 97, 139, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/gang/gang.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4aa93784edbd27e9a0c259206aa85021fdb2c65b85efca6f999ed2a279a62cf"}},{"ruleId":"D1","level":"warning","message":{"text":"networkTopologyAwarePlugin.OnSessionOpen (cyclomatic 24): networkTopologyAwarePlugin.OnSessionOpen has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 278, 315, 334, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"85aebeed9cd7cb44c97383bb5877d4a19df392bb420047fe72ab13ebc4a3a08d"}},{"ruleId":"D1","level":"warning","message":{"text":"validate.AdmitQueues (cyclomatic 24): validate.AdmitQueues has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/queues/validate/validate_queue.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac89ecf58c68854de478a64862b9bacd55617516743cc58a1d424481ed65ee3"}},{"ruleId":"D1","level":"warning","message":{"text":"app.Run (cyclomatic 23): app.Run has cyclomatic complexity 23 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/webhook-manager/app/server.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f9b154bb09e3ad28aa8c7d817c1be675f1aabf2af813c5e9a960f9d807585e"}},{"ruleId":"D1","level":"warning","message":{"text":"Action.pickUpPendingTasks (cyclomatic 23): Action.pickUpPendingTasks has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/backfill/backfill.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a516a5043de9b2a0adb49348608a9b77146341299ffd9264129c9e6926ddcd"}},{"ruleId":"D1","level":"warning","message":{"text":"preempt.SelectVictimsOnNode (cyclomatic 23): preempt.SelectVictimsOnNode has cyclomatic complexity 23 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/preempt/preempt.go"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"97def943208eebf0fadd4125c5a2595808395c6191fa0069e08d1cad51c19d0d"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.BuildNominationPlanInDomain (cyclomatic 23): utils.BuildNominationPlanInDomain has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"pkg/scheduler/actions/utils/simulate.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"835a8cf91781e58cc6a6c77c86089d2d563446053ecdf056c98de29d43fc6978"}},{"ruleId":"D1","level":"warning","message":{"text":"PredicatesPlugin.InitPlugin (cyclomatic 23): PredicatesPlugin.InitPlugin has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9aec498d8a24d7b0cc75fb355977b0834bf913e38eb7609a38c19106f5a139"}},{"ruleId":"D1","level":"warning","message":{"text":"SchedulerCache.addEventHandler (cyclomatic 21): SchedulerCache.addEventHandler has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 497, 467, 436). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d6c3c2284f317a184504775c5df9b952d23b8714647f2b543b2cb1506e9f29"}},{"ruleId":"D1","level":"warning","message":{"text":"job.PrintJobInfo (cyclomatic 21): job.PrintJobInfo has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/view.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a4054083d839681058842e0eeeb21c4711a26d10309cd4a2f17d58f1fa816b"}},{"ruleId":"D1","level":"warning","message":{"text":"Action.allocateForJob (cyclomatic 21): Action.allocateForJob has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ebc3efd77d55e710c6cd84b03b6688d0686bdc58eb377308e106559952de83"}},{"ruleId":"D1","level":"warning","message":{"text":"JobInfo.GetMinDRAResources (cyclomatic 21): JobInfo.GetMinDRAResources has cyclomatic complexity 21 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31e7bf33d8fb1891b63996672c139b2ef4ddb2205eecf694188b66e3c62ec3d"}},{"ruleId":"D1","level":"warning","message":{"text":"Session.HyperNodeContainsNomination (cyclomatic 21): Session.HyperNodeContainsNomination has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/hyper_node_candidate.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4233294fb10542b3a36ed7bec32d3abd6b4402ecdc5a408b061c626dcfee418"}},{"ruleId":"D1","level":"warning","message":{"text":"groupTopologyAffinityPlugin.enablePlacementTracking (cyclomatic 21): groupTopologyAffinityPlugin.enablePlacementTracking has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/group-topology-affinity/constraints.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8028b4c4ece08ba7a74db90e6206e18282cfede078ed608fa4433931a17f7b68"}},{"ruleId":"D1","level":"warning","message":{"text":"nodeGroupPlugin.OnSessionOpen (cyclomatic 21): nodeGroupPlugin.OnSessionOpen has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 486, 461, 438, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/nodegroup/nodegroup.go"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02e7c03da898920e9bea623942bb0dcc4d01e4cc08556a27135c67ec692698c"}},{"ruleId":"D1","level":"warning","message":{"text":"PredicatesPlugin.Predicate (cyclomatic 21): PredicatesPlugin.Predicate has cyclomatic complexity 21 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4534c76cebfd57fcab57f4d519ad264dbbc1b7837c00e428c6d71e2820dd70"}},{"ruleId":"D1","level":"warning","message":{"text":"validate.validatePolicies (cyclomatic 21): validate.validatePolicies has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/jobs/validate/util.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7919a5e69fba7c83788916216307468ee0f66984d9f9d8120dd7182f9a06bb06"}},{"ruleId":"D1","level":"warning","message":{"text":"validate.validateNamespaceQueueParentWorkloads (cyclomatic 21): validate.validateNamespaceQueueParentWorkloads has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/namespacequeues/validate/validate_namespacequeue.go"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"a848c20cbef9e00fbe8173a349cb79aa78434cc5cbcc4d4353ea289b24470066"}},{"ruleId":"D1","level":"warning","message":{"text":"jobcontroller.AddDelayActionForJob (cyclomatic 20): jobcontroller.AddDelayActionForJob has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 522). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller.go"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e0fd269ff2e9e5f0a4663469ff28efea134e43866c2d10dbe9d261e1d59f44"}},{"ruleId":"D1","level":"warning","message":{"text":"Action.selectDomainBundles (cyclomatic 20): Action.selectDomainBundles 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":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2746d9c11a1727b2245b8909dcc0fa4eb8c0154661f8eab0096ab6e8aaee98"}},{"ruleId":"D1","level":"warning","message":{"text":"Action.selectDomainBundles (cyclomatic 20): Action.selectDomainBundles 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":"pkg/scheduler/actions/gangreclaim/gangreclaim.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9337fbfa98895bbf2016dab21817275af8281426ca4349a398c36212e110a154"}},{"ruleId":"D1","level":"warning","message":{"text":"api.NewHyperNodeIndex (cyclomatic 20): api.NewHyperNodeIndex 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":"pkg/scheduler/api/hyper_node_index.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7205bd8076282ebd98ab9600b4e35de9bc387535b47995c5a8fa646d5101b625"}},{"ruleId":"D1","level":"warning","message":{"text":"deviceSharePlugin.OnSessionOpen (cyclomatic 20): deviceSharePlugin.OnSessionOpen has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 285, 233, 268). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/deviceshare.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53b032a6257c92bdba0b0a62d62b7d4a491775c2a6853e854e99f67ec3b5d18"}},{"ruleId":"D1","level":"warning","message":{"text":"nodescore.RunScorePlugins (cyclomatic 20): nodescore.RunScorePlugins has cyclomatic complexity 20 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/util/nodescore/score_helper.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"23217cd5cc6021ab301fbf3f51574a17681c705980312067866aae24ecd68a8a"}},{"ruleId":"D1","level":"warning","message":{"text":"JobCache.Record (cyclomatic 20): JobCache.Record 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":"pkg/scheduler/unschedulable/cache.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1d60f430940a468ed7e4979b6ec39a8bbd94c333915fa150dc9f75ae0701a5"}},{"ruleId":"D1","level":"warning","message":{"text":"app.addCaCertForWebhook (cyclomatic 19): app.addCaCertForWebhook has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/webhook-manager/app/util.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1028fc9a06529221e0116f32c40767f4567510d5a1868f577b02d651002877"}},{"ruleId":"D1","level":"warning","message":{"text":"vjobs.PrintJobInfo (cyclomatic 19): vjobs.PrintJobInfo has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/vjobs/view.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c721114334e5397019850fe60045b1da45d32698f194863801ca298084f95d79"}},{"ruleId":"D1","level":"warning","message":{"text":"runningState.Execute (cyclomatic 19): runningState.Execute has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 63). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/state/running.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85fcb32c5624f6d7ed1ab1151c71bcac5d38d3b47ab49db9fca02bfbd824819"}},{"ruleId":"D1","level":"warning","message":{"text":"namespaceQueueController.evaluateParent (cyclomatic 19): namespaceQueueController.evaluateParent 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":"pkg/controllers/namespacequeue/namespacequeue_controller_action.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c46e618d568c38bf552f0c4e64161ccd613aa9201fa309185b1b19a28ff4384"}},{"ruleId":"D1","level":"warning","message":{"text":"ShardingManager.runPipeline (cyclomatic 19): ShardingManager.runPipeline 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":"pkg/controllers/sharding/sharding_manager.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e625a56cbd0a05b1358e20f07b191538b20f8e5d7de63fe2b5f867572818fe8"}},{"ruleId":"D1","level":"warning","message":{"text":"Action.allocateResourcesForQueues (cyclomatic 19): Action.allocateResourcesForQueues 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":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32a226287ac47d9083e3cb0be4b1dfc7ee06e0c766b7e6573240f56faf71466"}},{"ruleId":"D1","level":"warning","message":{"text":"AscendDevices.selectDevices (cyclomatic 19): AscendDevices.selectDevices 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":"pkg/scheduler/api/devices/ascend/hami/device_info.go"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"b167b92bd1f6b55dc92a2ef421c831b8403403230e64f1639e2e41ce5e3760a4"}},{"ruleId":"D1","level":"warning","message":{"text":"TestCommonStruct.createSchedulerCache (cyclomatic 19): TestCommonStruct.createSchedulerCache has cyclomatic complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/uthelper/helper.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe89398552bf289fbd054c44763f44542814b3d0a09bc136d976172a928a0de"}},{"ruleId":"D1","level":"warning","message":{"text":"validate.validateJobCreate (cyclomatic 19): validate.validateJobCreate 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":"pkg/webhooks/admission/jobs/validate/admit_job.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"986206057721a74f494429c0411d31f9985a98a3d08bac257c6a781f7e91ab86"}},{"ruleId":"D1","level":"warning","message":{"text":"validate.validateJobUpdate (cyclomatic 19): validate.validateJobUpdate 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":"pkg/webhooks/admission/jobs/validate/admit_job.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"4356849fa5bd9a0eaa26bf27e6389e0cc678e77b0ba96ab4e9d5d5a5e66782ba"}},{"ruleId":"D1","level":"warning","message":{"text":"util.ValidateWorkloadQueueReference (cyclomatic 19): util.ValidateWorkloadQueueReference 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":"pkg/webhooks/util/queue_reference.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b18e3ba2589f0a6626b065ed2643942007299fecc21cfa67f20a3c91265c23d"}},{"ruleId":"D1","level":"warning","message":{"text":"app.Run (cyclomatic 18): app.Run has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/hypernode-controller-manager/app/server.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"119412ffcd4955518347c4e186e6595da22955f092c6edf252ad6ca0ef4d12a9"}},{"ruleId":"D1","level":"warning","message":{"text":"pod.CalculateExtendResourcesV2 (cyclomatic 18): pod.CalculateExtendResourcesV2 has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/pod/resources.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f73dd765c815fddc66d62517b3a65934f4ec688c9001c18acce1827d8adf411"}},{"ruleId":"D1","level":"warning","message":{"text":"devices.ExtractResourceRequest (cyclomatic 18): devices.ExtractResourceRequest has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/util.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad6b0a15336dd5f19301c63735db7957107e563d13c755ca8e2205102b18a99"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeOrderPlugin.InitPlugin (cyclomatic 18): NodeOrderPlugin.InitPlugin has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/nodeorder/nodeorder.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a217d6357fd23650dc0d314c8c73e2b96b224d64c8329d869e82d7e3e238ab4"}},{"ruleId":"D1","level":"warning","message":{"text":"predicateHelper.PredicateNodes (cyclomatic 18): predicateHelper.PredicateNodes has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/util/predicate_helper.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0135c7754755af0a8b7b2a9b8eef7c5f3a7e712fb52d94a5afd43e91054b1e43"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryQoSV2Handle.Handle (cyclomatic 17): MemoryQoSV2Handle.Handle has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, 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":"pkg/agent/events/handlers/memoryqosv2/memoryqosv2_linux.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"df43e3dca909d8b33660032a072c8a53d09616cc30f8642e2233be0f12408ba5"}},{"ruleId":"D1","level":"warning","message":{"text":"cronjobcontroller.syncCronJob (cyclomatic 17): cronjobcontroller.syncCronJob has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/cronjob/cronjob_controller.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb07653b7d5cf4f327494cb2c451a075e921cf51f0297f30bdc04ca7ee99e0a"}},{"ruleId":"D1","level":"warning","message":{"text":"jobcontroller.CleanPodDelayActionsIfNeed (cyclomatic 17): jobcontroller.CleanPodDelayActionsIfNeed has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller.go"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d289a183d22538af053507147c17c3541e799ae05522485a98075d804a66cd"}},{"ruleId":"D1","level":"warning","message":{"text":"numaPlugin.OnSessionOpen (cyclomatic 17): numaPlugin.OnSessionOpen has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 120, 175, 88, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/numaaware/numaaware.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f150b74b90b414f7430fec9759a09ea7d8dd6b887db5c78ff55dc32416c5e41"}},{"ruleId":"D1","level":"warning","message":{"text":"util.GetInqueueResource (cyclomatic 17): util.GetInqueueResource has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, 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":"pkg/scheduler/plugins/util/util.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3f2b731ed721ade9c6ae89968068950bebed11150a06602b1d5e007e44bcc3"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkQos.Validate (cyclomatic 16): NetworkQos.Validate has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/config/api/validate.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"548c69d7d737c6ca0bc68326c1e4d510e2efe736d702653fb0dc0637e2c71f9a"}},{"ruleId":"D1","level":"warning","message":{"text":"Evicting.Validate (cyclomatic 16): Evicting.Validate has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/config/api/validate.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eba44f42d3fa00e36c811c52e328d9f9240fa1f00fb6205156e99ade10eca4d"}},{"ruleId":"D1","level":"warning","message":{"text":"ResourcesHandle.Handle (cyclomatic 16): ResourcesHandle.Handle has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/resources/resources.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"add74f762d2d8dc63afa85d571e0aa795fc0b571110b1fa7d232c6d3e8bc044f"}},{"ruleId":"D1","level":"warning","message":{"text":"cronjobcontroller.processFinishedJobs (cyclomatic 16): cronjobcontroller.processFinishedJobs has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/cronjob/cronjob_controller_handler.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0efe5c12739e7ef59abfb7ce386060b79c11699e71db614c5768fbc8b24fa9"}},{"ruleId":"D1","level":"warning","message":{"text":"Action.buildAllocateContext (cyclomatic 16): Action.buildAllocateContext has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06b8036dc5e6d7d57f54d0753c2bb353985519f206df82281fe8fb6cd4dc211"}},{"ruleId":"D1","level":"warning","message":{"text":"Action.allocateForSubJob (cyclomatic 16): Action.allocateForSubJob has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bc1efaa7a0e29f78b33c148b48153889bb7525ad6e46611ea57611e67f340a"}},{"ruleId":"D1","level":"warning","message":{"text":"Action.prioritizeNodes (cyclomatic 16): Action.prioritizeNodes has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb5a6aa7cf500fbbfb96f7c2504e4f21fab01c11f6f21bafce2044163136b07"}},{"ruleId":"D1","level":"warning","message":{"text":"Action.Execute (cyclomatic 16): Action.Execute has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/backfill/backfill.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bca63ceec2187639a4f75d4bf772ca82b7672bb05e8c47df0eccc6e6554137d"}},{"ruleId":"D1","level":"warning","message":{"text":"Action.Execute (cyclomatic 16): Action.Execute has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/gangreclaim/gangreclaim.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"810c493a5eb68ce301b8d6b02c0c893c86af79cd9247fd8756b736ae821ed4bd"}},{"ruleId":"D1","level":"warning","message":{"text":"api.FormatHyperNodeFitSummary (cyclomatic 16): api.FormatHyperNodeFitSummary has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/unschedule_info.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a2f21651210c35e55e5a600e88c59668476b74595363f4e69bb2cd6d4a66a3"}},{"ruleId":"D1","level":"warning","message":{"text":"Resource.LessEqualWithDimensionAndResourcesName (cyclomatic 16): Resource.LessEqualWithDimensionAndResourcesName has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/resource_info.go"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"458dca1e8ab028db2b56737e1b905803b608d105f96581e3fc64d4e9854c7576"}},{"ruleId":"D1","level":"warning","message":{"text":"framework.openSession (cyclomatic 16): framework.openSession has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9feee16902cb194fd7f2390dd5b7e71f7bd27ca0a7b7c2503e8246b3081282f"}},{"ruleId":"D1","level":"warning","message":{"text":"capacity.checkDRAAllocatable (cyclomatic 16): capacity.checkDRAAllocatable has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6bc8fe3b31cb447df631500941732af1097606962bfddb80e18b2fd90eb533"}},{"ruleId":"D1","level":"warning","message":{"text":"fairshare.New (cyclomatic 16): fairshare.New has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/fairshare/fairshare.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"24edfd8f00e4808aa3c04641c250e69b5508010f96798817281fe5007e2e6664"}},{"ruleId":"D1","level":"warning","message":{"text":"priorityPlugin.OnSessionOpen (cyclomatic 16): priorityPlugin.OnSessionOpen has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 111, 153, 50, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/priority/priority.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"184811c443f9fc3207bc35b1234ce1e170ebc72d66e83f685106011cd7f985dd"}},{"ruleId":"D1","level":"warning","message":{"text":"util.SelectBestNodes (cyclomatic 16): util.SelectBestNodes has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/util/scheduler_helper.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"897e6b699a791c60609bdfc206a361452c4657bcc0574cb0b0a57b44c6b754a9"}},{"ruleId":"D2","level":"warning","message":{"text":"capacityPlugin.OnSessionOpen (cognitive 195): capacityPlugin.OnSessionOpen has cognitive complexity 195 (threshold 15). Drivers by points: if/else 88 (144 pts), loops 14 (27 pts), boolean chains 24 (nesting depth added 69). Most of this is not in the body itself: 3 of the 195 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 466, 655, 788, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc19af827fc9fe77a7228dc8f222255d49e9a57b4788a8780cbda02f5d93fb9"}},{"ruleId":"D2","level":"warning","message":{"text":"deviceSharePlugin.wrapGPUDevicesForExclusivity (cognitive 176): deviceSharePlugin.wrapGPUDevicesForExclusivity has cognitive complexity 176 (threshold 15). Drivers by points: if/else 29 (108 pts), loops 19 (63 pts), boolean chains 5 (nesting depth added 123). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/gpuexclusive.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1225a5ddd9a910b8a9426c9740ea0d6973aae5854756aa82b114035ff401d4"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.Execute (cognitive 113): Action.Execute has cognitive complexity 113 (threshold 15). Drivers by points: if/else 28 (90 pts), loops 9 (18 pts), boolean chains 5 (nesting depth added 71). Of this number, 82 points are the body\u0027s own statements and 31 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/preempt/preempt.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"079df62ab343b632b7d1001ec5000d3dc2a2f51bb504cde0f289a7c5618c2f06"}},{"ruleId":"D2","level":"warning","message":{"text":"proportionPlugin.OnSessionOpen (cognitive 110): proportionPlugin.OnSessionOpen has cognitive complexity 110 (threshold 15). Drivers by points: if/else 51 (87 pts), loops 12 (21 pts), boolean chains 2 (nesting depth added 45). Of this number, 72 points are the body\u0027s own statements and 38 belong to 12 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/proportion/proportion.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6a814685dc6999c296b07302e890c4a8575e31c79bdbf26877c970534ca79a"}},{"ruleId":"D2","level":"warning","message":{"text":"jobcontroller.killPods (cognitive 91): jobcontroller.killPods has cognitive complexity 91 (threshold 15). Drivers by points: if/else 31 (73 pts), loops 5 (11 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 49). 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":"pkg/controllers/job/job_controller_actions.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4f323555f4bd4cb06a5e4f3432dffd99c2228e51d992680578a8441b1d8430"}},{"ruleId":"D2","level":"warning","message":{"text":"jobcontroller.syncJob (cognitive 89): jobcontroller.syncJob has cognitive complexity 89 (threshold 15). Drivers by points: if/else 41 (73 pts), loops 7 (13 pts), boolean chains 3 (nesting depth added 38). Of this number, 66 points are the body\u0027s own statements and 23 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_actions.go"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b104b4fd4963b438505da841b53cfd92df2aa7ed1adf137ae8f23f2b955d94"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.allocateResourcesForTasks (cognitive 84): Action.allocateResourcesForTasks has cognitive complexity 84 (threshold 15). Drivers by points: if/else 30 (69 pts), loops 4 (9 pts), boolean chains 6 (nesting depth added 44). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"af72bd79dc212352380cd02267be4f775f9ede15acb92e45d16b65dbc07e6d51"}},{"ruleId":"D2","level":"warning","message":{"text":"capacityPlugin.buildHierarchicalQueueAttrs (cognitive 83): capacityPlugin.buildHierarchicalQueueAttrs has cognitive complexity 83 (threshold 15). Drivers by points: if/else 27 (54 pts), loops 10 (22 pts), boolean chains 7 (nesting depth added 39). Of this number, 72 points are the body\u0027s own statements and 11 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e81fd3a314d3126be517239524796fd873c0304031be206bf10c412eaec0c8"}},{"ruleId":"D2","level":"warning","message":{"text":"PredicatesPlugin.OnSessionOpen (cognitive 83): PredicatesPlugin.OnSessionOpen has cognitive complexity 83 (threshold 15). Drivers by points: if/else 37 (74 pts), loops 5 (8 pts), boolean chains 1 (nesting depth added 40). Most of this is not in the body itself: 11 of the 83 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 385, 230, 332, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9f7eabd10f9e034474d65be99d481b8cf8459c33451d710536cf9057eb6b3f"}},{"ruleId":"D2","level":"warning","message":{"text":"pod.printPod (cognitive 80): pod.printPod has cognitive complexity 80 (threshold 15). Drivers by points: if/else 28 (59 pts), boolean chains 13, loops 4 (5 pts), match/switch 2 (3 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/pod/pod.go"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d5af65dce322a126d97423b9d95838bc1953a2f81a08d8551ac68fc687f855"}},{"ruleId":"D2","level":"warning","message":{"text":"job.applyPolicies (cognitive 80): job.applyPolicies has cognitive complexity 80 (threshold 15). Drivers by points: if/else 18 (64 pts), boolean chains 9, loops 3 (7 pts) (nesting depth added 50). 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":"pkg/controllers/job/job_controller_util.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c447a25003644f00fa2fad92354300898f37aa6873d2bd215b0e5b510fcd98"}},{"ruleId":"D2","level":"warning","message":{"text":"vgpu.checkNodeGPUSharingPredicateAndScore (cognitive 69): vgpu.checkNodeGPUSharingPredicateAndScore has cognitive complexity 69 (threshold 15). Drivers by points: if/else 28 (60 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 33). Of this number, 58 points are the body\u0027s own statements and 11 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/utils.go"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"394bd5a51ea9193584ad75680052416b12d138ba092b13d8485f343ee65bca62"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.Execute (cognitive 68): Action.Execute has cognitive complexity 68 (threshold 15). Drivers by points: if/else 19 (54 pts), loops 5 (10 pts), boolean chains 4 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/reclaim/reclaim.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fee5654cfe982da528bfd110025f81fbfcb067615f25b87b182f39131638f8"}},{"ruleId":"D2","level":"warning","message":{"text":"drfPlugin.OnSessionOpen (cognitive 66): drfPlugin.OnSessionOpen has cognitive complexity 66 (threshold 15). Drivers by points: if/else 30 (55 pts), loops 5 (10 pts), boolean chains 1 (nesting depth added 30). Most of this is not in the body itself: 15 of the 66 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 280, 222, 392, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/drf/drf.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b69f9762979f89767cd8d8ca084c804d1aa565829595f3b78b84c928996e4cb"}},{"ruleId":"D2","level":"warning","message":{"text":"fairSharePlugin.OnSessionOpen (cognitive 62): fairSharePlugin.OnSessionOpen has cognitive complexity 62 (threshold 15). Drivers by points: if/else 23 (37 pts), loops 11 (23 pts), boolean chains 2 (nesting depth added 26). Of this number, 45 points are the body\u0027s own statements and 17 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/fairshare/fairshare.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96425f748c22fa73601611ae49c5c3619b1aa8b85fc923581ec9ceaaa0336a4"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.CreateJobBundles (cognitive 61): utils.CreateJobBundles has cognitive complexity 61 (threshold 15). Drivers by points: if/else 19 (36 pts), loops 7 (17 pts), boolean chains 5, match/switch 1 (3 pts) (nesting depth added 29). Of this number, 60 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/utils/bundle.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd9800eaf6fed327dfe21228de9c828ac76a930e5845cc1fd9b066bb2701c81"}},{"ruleId":"D2","level":"warning","message":{"text":"extenderPlugin.OnSessionOpen (cognitive 60): extenderPlugin.OnSessionOpen has cognitive complexity 60 (threshold 15). Drivers by points: if/else 31 (58 pts), boolean chains 2 (nesting depth added 27). Most of this is not in the body itself: 14 of the 60 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 191, 220, 244, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/extender/extender.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c1d43333555970d8f379e7bde244551283c7089e5cec01216bf4cca3792549"}},{"ruleId":"D2","level":"warning","message":{"text":"deviceSharePlugin.OnSessionOpen (cognitive 59): deviceSharePlugin.OnSessionOpen has cognitive complexity 59 (threshold 15). Drivers by points: if/else 17 (50 pts), loops 4 (9 pts) (nesting depth added 38). None of this is in the body itself: all 59 points belong to 3 function literals inside it that branch (lines 285, 233, 268). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/deviceshare.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf45fefed6b0853e3b7d39349721dff2cc2f990c97c5b03d4aa12c0818bc430"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerCache.buildTaskDRAInfo (cognitive 55): SchedulerCache.buildTaskDRAInfo has cognitive complexity 55 (threshold 15). Drivers by points: if/else 18 (44 pts), loops 4 (8 pts), boolean chains 3 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/cache.go"},"region":{"startLine":2085}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93e75a366353186d697e6caed53feb6c3d030d01feeaad37fd87911a916f5fa"}},{"ruleId":"D2","level":"warning","message":{"text":"devices.ExtractResourceRequest (cognitive 54): devices.ExtractResourceRequest has cognitive complexity 54 (threshold 15). Drivers by points: if/else 15 (52 pts), boolean chains 1, loops 1 (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/util.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde5bcae7157b22b5c4de8d9ccfb779e990622c9509ad71604b520c53ba27809"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.allocateResourcesForQueues (cognitive 52): Action.allocateResourcesForQueues has cognitive complexity 52 (threshold 15). Drivers by points: if/else 15 (47 pts), boolean chains 4, loops 1 (nesting depth added 32). 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":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"4854d1655718fd552b856b00b4cf67cf703d11310d9255e4094f589ceb38f832"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.allocateForJob (cognitive 50): Action.allocateForJob has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (38 pts), loops 4 (9 pts), boolean chains 3 (nesting depth added 29). Of this number, 32 points are the body\u0027s own statements and 18 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f308411d271e4206f6df09362b198ecd7c704540e204c736a0405ed59fabf32"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.pickUpPendingTasks (cognitive 50): Action.pickUpPendingTasks has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (38 pts), loops 6 (11 pts), boolean chains 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/backfill/backfill.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa7f8d387e74943dac4f471f4cb0d03f9952e3828d014db62f1ef88a53c434e"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.Execute (cognitive 45): Action.Execute has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (33 pts), loops 4 (11 pts), boolean chains 1 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/backfill/backfill.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4010895c1fdf5404503e235f77c0d0fb6220ec87b6e6d081eabcd8b55fcb5041"}},{"ruleId":"D2","level":"warning","message":{"text":"pod.CalculateExtendResourcesV2 (cognitive 44): pod.CalculateExtendResourcesV2 has cognitive complexity 44 (threshold 15). Drivers by points: if/else 23 (42 pts), boolean chains 1, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/pod/resources.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a968a951ab484227f0e7ac081ae534e5ca3e0024dcaf0a4da8111320512766"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.BuildNominationPlanInDomain (cognitive 43): utils.BuildNominationPlanInDomain has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 5 (11 pts), boolean chains 4, jumps 1 (nesting depth added 20). Of this number, 42 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/utils/simulate.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc51bc03ef6f5cb5018e876efeee2ed3c5f97552fe8ebac8de9a454fbf081b55"}},{"ruleId":"D2","level":"warning","message":{"text":"capacityPlugin.buildQueueAttrs (cognitive 43): capacityPlugin.buildQueueAttrs has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 8 (15 pts), boolean chains 2 (nesting depth added 22). Of this number, 42 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5931f32d180b93529f0af85b3d4f6d54f29fe633446bab4554e44736d5f602"}},{"ruleId":"D2","level":"warning","message":{"text":"PredicatesPlugin.InitPlugin (cognitive 43): PredicatesPlugin.InitPlugin has cognitive complexity 43 (threshold 15). Drivers by points: if/else 31 (43 pts) (nesting depth added 12). Of this number, 41 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd644301a21afd3c1fc3b9c5f1ab2fcf40f2a069e8ce14b38dc0218e3c3c67c"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.validatePolicies (cognitive 42): validate.validatePolicies has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (31 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/jobs/validate/util.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d282bb902c1d1680a32989a4ca309481af5f806349d22e5d118ba920ab176ae"}},{"ruleId":"D2","level":"warning","message":{"text":"HyperNodesInfo.UpdateHyperNode (cognitive 40): HyperNodesInfo.UpdateHyperNode has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (24 pts), loops 4 (9 pts), boolean chains 7 (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":"pkg/scheduler/api/hyper_node_info.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e757b388dd4d80d3b727167d741ea75458bac0893f73b59df3f314a8b9bf734"}},{"ruleId":"D2","level":"warning","message":{"text":"PredicatesPlugin.Predicate (cognitive 40): PredicatesPlugin.Predicate has cognitive complexity 40 (threshold 15). Drivers by points: if/else 20 (38 pts), loops 2 (nesting depth added 18). Of this number, 27 points are the body\u0027s own statements and 13 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e2cb0fed0fcdaf23c575d299c996bf1afe06c1a110b5eaa482348669126ea3"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.AdmitNamespaceQueues (cognitive 40): validate.AdmitNamespaceQueues has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (37 pts), boolean chains 2, match/switch 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/namespacequeues/validate/validate_namespacequeue.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da6140050078f990ace6937f3300cd5221a130e00d155a74cadeb2b15dd8621"}},{"ruleId":"D2","level":"warning","message":{"text":"runningState.Execute (cognitive 39): runningState.Execute has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (32 pts), loops 1 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 24). Most of this is not in the body itself: 1 of the 39 points is its own statement and the rest belongs to one function literal inside it that branches (line 63). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/state/running.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b61c96b321aee437052a9fca464e21b367ec0a5f5db163521209445479063d"}},{"ruleId":"D2","level":"warning","message":{"text":"ShardingManager.runPipeline (cognitive 39): ShardingManager.runPipeline has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 9 (19 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/sharding_manager.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9329c86222f69daba3cb18e339e477d37ddb44380d4e84fa910f2bfa630b88fe"}},{"ruleId":"D2","level":"warning","message":{"text":"app.addCaCertForWebhook (cognitive 38): app.addCaCertForWebhook has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (32 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 20). Of this number, 28 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/webhook-manager/app/util.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a88d8f60310b0920775c97ac1706d72840143d1a246354ec595b937818a6e79"}},{"ruleId":"D2","level":"warning","message":{"text":"JobInfo.GetMinDRAResources (cognitive 38): JobInfo.GetMinDRAResources has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (29 pts), loops 5 (8 pts), boolean chains 1 (nesting depth added 17). Of this number, 25 points are the body\u0027s own statements and 13 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0de52215c830843e0e967fb5a8610d92a4ad366b9008bd085f43369af591b1d"}},{"ruleId":"D2","level":"warning","message":{"text":"exclusiveGPUDevices.untrackPod (cognitive 38): exclusiveGPUDevices.untrackPod has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (26 pts), loops 4 (11 pts), boolean chains 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/gpuexclusive.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c808ea01096586ef9de61e61b8c38beccda0e04f118ea48a37500904ef48acc8"}},{"ruleId":"D2","level":"warning","message":{"text":"util.GetInqueueResource (cognitive 38): util.GetInqueueResource has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (33 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 23). Of this number, 34 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/util/util.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fc0e9016bad63a674eaf6802f0a6e83055d7c01b1ac3e1dedd66641c236d4c"}},{"ruleId":"D2","level":"warning","message":{"text":"featureGate.Enabled (cognitive 37): featureGate.Enabled has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 21, if/else 8 (15 pts), match/switch 1 (nesting depth added 7). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/features/feature_gate.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7441ba9e845c5aeba53da63344fa4100005ee129815ef061380408a3c9e83fed"}},{"ruleId":"D2","level":"warning","message":{"text":"AscendDevices.selectDevices (cognitive 37): AscendDevices.selectDevices has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 6 (11 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/hami/device_info.go"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e10c1981c30ac3a1c3e159eb0c40630aae4df1637a56100906e24a70b65ef7"}},{"ruleId":"D2","level":"warning","message":{"text":"jobcontroller.CleanPodDelayActionsIfNeed (cognitive 36): jobcontroller.CleanPodDelayActionsIfNeed has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (32 pts), boolean chains 4 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller.go"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcb9494ddac64d7fbecd9ccfb1df21752066bcc7d0931e065f3d186171cfa16"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerCache.addEventHandler (cognitive 36): SchedulerCache.addEventHandler has cognitive complexity 36 (threshold 15). Drivers by points: if/else 20 (30 pts), boolean chains 3, match/switch 3 (nesting depth added 10). Of this number, 16 points are the body\u0027s own statements and 20 belong to 6 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/cache.go"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"130865fec181d1c15dda9d4a9cd53b464f4fe58c8cf412cc84b7d0e23f9f2222"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.Reclaimable (cognitive 36): Session.Reclaimable has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 4 (12 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Session.Preemptable) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf631b36f0b1ba069b3ce95cf5ddf492f5af003f42da65938d2c06206ce30a4"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.Preemptable (cognitive 36): Session.Preemptable has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 4 (12 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Session.Reclaimable) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"009a1840958b7ca3b31dd70eff74b6628f8a5e7ee856de784146b6c838ba9a87"}},{"ruleId":"D2","level":"warning","message":{"text":"util.ValidateWorkloadQueueReference (cognitive 36): util.ValidateWorkloadQueueReference has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (35 pts), match/switch 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/util/queue_reference.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae67c089d92df39279cfe39a4ce7895893d3bc06dc8e7d0651d7cfd691d1f9a"}},{"ruleId":"D2","level":"warning","message":{"text":"cgroup.parseKubeletConfig (cognitive 35): cgroup.parseKubeletConfig has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 3 (8 pts), boolean chains 3 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/cgroup/cgroup.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"969d4848ef626d237b0f48321a147d1ec593ed9d9c848e6a9e5eccf9851c4a1f"}},{"ruleId":"D2","level":"warning","message":{"text":"job.createJobPod (cognitive 35): job.createJobPod has cognitive complexity 35 (threshold 15). Drivers by points: if/else 23 (31 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_util.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4234f7c75c7b2594ca5c0a07c6b4fa0ef3361c57c4aa77f1f5c4c72eed2d5691"}},{"ruleId":"D2","level":"warning","message":{"text":"jobcontroller.updatePod (cognitive 35): jobcontroller.updatePod has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 7, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_handler.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"36088db8505de902abf143ad8d899e3fd5481dada10b431b0571ea616302311c"}},{"ruleId":"D2","level":"warning","message":{"text":"capacity.checkDRAAllocatable (cognitive 35): capacity.checkDRAAllocatable has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (29 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"e497a280218b91e347ce557aa7ed0a6b484b0cf3f410971a6d39fe0a7fcefc5e"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.AdmitQueues (cognitive 35): validate.AdmitQueues has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (30 pts), boolean chains 4, match/switch 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/queues/validate/validate_queue.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57c5b9e8b4c6f66b5a035ea9d0444a2f039a15ca687052b751d84610cdb39a7"}},{"ruleId":"D2","level":"warning","message":{"text":"groupTopologyAffinityPlugin.enablePlacementTracking (cognitive 34): groupTopologyAffinityPlugin.enablePlacementTracking has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 6 (13 pts), boolean chains 8 (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":"pkg/scheduler/plugins/group-topology-affinity/constraints.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c2bae6f87742b43ddcd6c18146453cbe26b9fced4c6d6a02ead714bc1f7d46"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeOrderPlugin.InitPlugin (cognitive 34): NodeOrderPlugin.InitPlugin has cognitive complexity 34 (threshold 15). Drivers by points: if/else 25 (34 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":"pkg/scheduler/plugins/nodeorder/nodeorder.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"33043810e8a73967ef2cffb02d53a911f79cb83d990cc9fecf1f5dd326c58d46"}},{"ruleId":"D2","level":"warning","message":{"text":"tdmPlugin.OnSessionOpen (cognitive 34): tdmPlugin.OnSessionOpen has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18 (26 pts), loops 4 (6 pts), boolean chains 2 (nesting depth added 10). None of this is in the body itself: all 34 points belong to 7 function literals inside it that branch (lines 197, 236, 146, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/tdm/tdm.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdf774794cc9b2d6087aa68bb15de73b3732106b36eff8a25bddbb35cc2792f"}},{"ruleId":"D2","level":"warning","message":{"text":"jobflowcontroller.deployJob (cognitive 33): jobflowcontroller.deployJob has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (31 pts), boolean chains 1, loops 1 (nesting depth added 23). 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":"pkg/controllers/jobflow/jobflow_controller_action.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d838844587521fd1f82202695badf242440e2c20671a39bffbdee484d7a89e9d"}},{"ruleId":"D2","level":"warning","message":{"text":"api.NewHyperNodeIndex (cognitive 33): api.NewHyperNodeIndex has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 9 (14 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/hyper_node_index.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f034d21ac285d0b8a51ff02f0abe9873bac43076dafdf036c3e4bc227def2e"}},{"ruleId":"D2","level":"warning","message":{"text":"framework.updateQueueStatus (cognitive 33): framework.updateQueueStatus has cognitive complexity 33 (threshold 15). Drivers by points: if/else 5 (19 pts), loops 6 (14 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session.go"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff34cb998d90cfe7a181f7d72f30c9410aed4b9b31b8b672e757c0a7b1e0f43"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.UnifiedEvictable (cognitive 33): Session.UnifiedEvictable has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 4 (12 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bd917ed64e438371dfe4cc37acd060a8cd33bf20966bc7bd2ef8e9da5d5499"}},{"ruleId":"D2","level":"warning","message":{"text":"networkTopologyAwarePlugin.OnSessionOpen (cognitive 33): networkTopologyAwarePlugin.OnSessionOpen has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 3, loops 3 (nesting depth added 9). None of this is in the body itself: all 33 points belong to 5 function literals inside it that branch (lines 278, 355, 369, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a71dd0535bc4f7b8f79046ed0a68f6625fb0b8686f8473ce4deb8c35f8426bc"}},{"ruleId":"D2","level":"warning","message":{"text":"jobcontroller.createJobIOIfNotExist (cognitive 32): jobcontroller.createJobIOIfNotExist has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (28 pts), loops 2 (4 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_actions.go"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecf6e89e16557f0cb16459aad0375db144be52e75a875c9df6b8458fb6e2752"}},{"ruleId":"D2","level":"warning","message":{"text":"namespaceQueueController.evaluateParent (cognitive 32): namespaceQueueController.evaluateParent has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 1, match/switch 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/namespacequeue/namespacequeue_controller_action.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7137e2107cc71ce5da82e5047d90a30e1a1b63c1128e2a54ae723126f991813b"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.HyperNodeContainsNomination (cognitive 32): Session.HyperNodeContainsNomination has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 5, loops 4 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/hyper_node_candidate.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b08bb5d9860cbceb667afc0b46851bb718974fae59b6dcbc43f1ec220abb546"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.Execute (cognitive 31): Action.Execute has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/gangreclaim/gangreclaim.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e025590faa2042ec710c42635198c9c9242639c12e7cb50b9e0e1c864300b0"}},{"ruleId":"D2","level":"warning","message":{"text":"gangPlugin.OnSessionClose (cognitive 31): gangPlugin.OnSessionClose has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 2 (4 pts) (nesting depth added 19). Of this number, 20 points are the body\u0027s own statements and 11 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/gang/gang.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae42019b9273bcb1bcf51af0d04eaab825f6f7353de25ec0c81d41b7e2de39bb"}},{"ruleId":"D2","level":"warning","message":{"text":"resourceStrategyFitPlugin.OnSessionOpen (cognitive 31): resourceStrategyFitPlugin.OnSessionOpen has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 2 (7 pts), boolean chains 1 (nesting depth added 16). Most of this is not in the body itself: 5 of the 31 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 225, 209). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/resource-strategy-fit/resource_strategy_fit.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6cde98cccae0d434a43e5426cd74de5102d0596407d009a8363cd5dfea9f8c"}},{"ruleId":"D2","level":"warning","message":{"text":"job.PrintJobInfo (cognitive 30): job.PrintJobInfo has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15, loops 7 (15 pts) (nesting depth added 8). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/view.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db6a194d7e55579309326b2b48f3f7f89528a933916d309fccabb00eee5df50"}},{"ruleId":"D2","level":"warning","message":{"text":"pgcontroller.getAnnotationsFromUpperRes (cognitive 30): pgcontroller.getAnnotationsFromUpperRes has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (22 pts), loops 2 (4 pts), match/switch 1 (3 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":"pkg/controllers/podgroup/pg_controller_handler.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"feddfd0135c294da01d226cfe33f0f5589097cfeb285f9f474caa9a9b59917e3"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.buildAllocateContext (cognitive 30): Action.buildAllocateContext has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 2, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ec8eaebd264cfd189544dac2b37acb581a625ce75523179e78f80e5c4aba7e"}},{"ruleId":"D2","level":"warning","message":{"text":"grouptopologyaffinity.compileTerms (cognitive 30): grouptopologyaffinity.compileTerms has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (24 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/group-topology-affinity/constraints.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4eea27186ef32db319bca547ab7b9c53a884c6ee6d2d657c4f2ff2d2c9abde"}},{"ruleId":"D2","level":"warning","message":{"text":"JobCache.Record (cognitive 30): JobCache.Record has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 4 (6 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/unschedulable/cache.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a550a361c6c40c4d9a1bef538267c9bc0d1379517ea7bb693fbda8c34a7643a3"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.validateJobCreate (cognitive 30): validate.validateJobCreate has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (27 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/jobs/validate/admit_job.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ac8f8d951cbd9b1c3ce091baaf4a57fcf476edb760b472474f10a6af1a27bc"}},{"ruleId":"D2","level":"warning","message":{"text":"labelDiscoverer.generateHyperNodeInfo (cognitive 29): labelDiscoverer.generateHyperNodeInfo has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (23 pts), loops 3 (6 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/discovery/label/label.go"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"581a933cc090b5fecb71be824495f0c2950324404a9d6784a715a3a176353f0a"}},{"ruleId":"D2","level":"warning","message":{"text":"jobcontroller.cleanupDelayActions (cognitive 29): jobcontroller.cleanupDelayActions has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (23 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller.go"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d0224e96ee91071e0d5ba0f538ca7ec7f462a29d7f97dcab71e50adcc70616"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.allocateForSubJob (cognitive 29): Action.allocateForSubJob has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfeceb1b69a47cacaa427bb3c424bb5c85599d24cb282a4ebb83d6647f4ea0f"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.Execute (cognitive 29): Action.Execute has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"262f42384d4f9d8da03c0c23abb0247c15ce8501429526f57a810c7a93e95c36"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.selectDomainBundles (cognitive 29): Action.selectDomainBundles has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 5 (6 pts), boolean chains 5 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"19caf88f0081a6a88569c9574ce960a4fa88ad88a7981b6c9f2389b1389b2fc6"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.selectDomainBundles (cognitive 29): Action.selectDomainBundles has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 5 (6 pts), boolean chains 5 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/gangreclaim/gangreclaim.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7243f920ede745df647ba727a7ceb30593c493c9aa06d6f4360440b299c2bee8"}},{"ruleId":"D2","level":"warning","message":{"text":"preempt.SelectVictimsOnNode (cognitive 29): preempt.SelectVictimsOnNode has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (23 pts), loops 4, boolean chains 2 (nesting depth added 7). Of this number, 20 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/preempt/preempt.go"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"9844f408565c17c2080869e7d7b26f436befd897a4fabc953a52739244c1d5a4"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.reclaimForTask (cognitive 29): Action.reclaimForTask has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/reclaim/reclaim.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1d83ff32bc9f4d1865e1ebad91c661c0e9207978daa2be48964af9169c24d5"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeInfo.addResource (cognitive 29): NodeInfo.addResource has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (NodeInfo.subResource) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/node_info.go"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"456f0e5e3e6918024fb4742bb94ac887f16822ffbebbc3cf5c26cf475e5e5c28"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeInfo.subResource (cognitive 29): NodeInfo.subResource has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (NodeInfo.addResource) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/node_info.go"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5a61c731a926d097eb0ec1ccff06eb5dd6867190513af3eaac35f6104b3e5d"}},{"ruleId":"D2","level":"warning","message":{"text":"vnpu310p.ScoreBatchNodes (cognitive 29): vnpu310p.ScoreBatchNodes has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 4 (7 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/devices/ascend/310p/vnpu/score_policy.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b95082e0291eb78ce7c378706870fa2d77cbf09c6c8d340eae13451ab23579"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryQoSV2Handle.Handle (cognitive 28): MemoryQoSV2Handle.Handle has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 1, loops 1 (nesting depth added 12). Of this number, 24 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/memoryqosv2/memoryqosv2_linux.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a93a508778a12ed947e1e6b5d261a9df8bdedd284a3921b9e5ae08b2dec375e"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.prioritizeNodes (cognitive 28): Action.prioritizeNodes has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 3 (5 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd12348107ee951b531c3c49e4f5dd18e43722bb62fca0f18bfb691e13ab3dd"}},{"ruleId":"D2","level":"warning","message":{"text":"vgpu.checkGPUtype (cognitive 28): vgpu.checkGPUtype has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 2 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/utils.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e0e5149f63f2ba77209413367c620d92e5b4609363fcc0149583b8d2e76545"}},{"ruleId":"D2","level":"warning","message":{"text":"PredicatesPlugin.onAllocate (cognitive 28): PredicatesPlugin.onAllocate has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa81c1c88f31c7d6ed8849bd2e15aa1dfc64b36c82f171f9245d62662974fd3f"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.validateCronjobSpec (cognitive 28): validate.validateCronjobSpec has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (24 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":"pkg/webhooks/admission/cronjobs/validate/admit_cronjob.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"49526be9bd81c9fa016f1fae1880c148b9a01909e1a3abed3253e599835a5889"}},{"ruleId":"D2","level":"warning","message":{"text":"vjobs.PrintJobInfo (cognitive 27): vjobs.PrintJobInfo has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14, loops 6 (13 pts) (nesting depth added 7). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/vjobs/view.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7d2e15dbb1ed4bd7e0a5644c67960f9f7bd0b2608dc04298e1fcf9902c0950"}},{"ruleId":"D2","level":"warning","message":{"text":"jobcontroller.isDependsOnPodsReady (cognitive 27): jobcontroller.isDependsOnPodsReady has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 2 (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":"pkg/controllers/job/job_controller_actions.go"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9c49479de1bf5cdaa39b6f7e7112b5c93312fb0f00de7974ea8b503f77f527"}},{"ruleId":"D2","level":"warning","message":{"text":"capacityPlugin.checkHierarchicalQueue (cognitive 27): capacityPlugin.checkHierarchicalQueue has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 4 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"df07c5a04249ff0e22b9237044c0df21bca77cc3ab399101d57ac7fc166cfa3c"}},{"ruleId":"D2","level":"warning","message":{"text":"pdbPlugin.OnSessionOpen (cognitive 27): pdbPlugin.OnSessionOpen has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 13). Most of this is not in the body itself: 1 of the 27 points is its own statement and the rest belongs to one function literal inside it that branches (line 65). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/pdb/pdb.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"da90eab1118958aa6c488effcc6f94276dd5e51dd424564fc470ad6509e6f31a"}},{"ruleId":"D2","level":"warning","message":{"text":"AscendDevices.ScoreNode (cognitive 26): AscendDevices.ScoreNode has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/hami/device_info.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"897c58955b7cc0d89f7c12e86ea10f1f9a019a05e88faefe729a8ba75650b5a7"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.JobEnqueueable (cognitive 26): Session.JobEnqueueable has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (23 pts), loops 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"697dff2993bc29759b89e9958844335cd8a3e29705e8131db6a0d0e051b87fbd"}},{"ruleId":"D2","level":"warning","message":{"text":"exclusiveGPUDevices.Allocate (cognitive 26): exclusiveGPUDevices.Allocate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 3 (5 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":"pkg/scheduler/plugins/deviceshare/gpuexclusive.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5633963cbd10bd447f9f96e409e38b4d33361dddde3cff1b890d169824ec367"}},{"ruleId":"D2","level":"warning","message":{"text":"priorityPlugin.OnSessionOpen (cognitive 26): priorityPlugin.OnSessionOpen has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17 (24 pts), loops 2 (nesting depth added 7). None of this is in the body itself: all 26 points belong to 5 function literals inside it that branch (lines 111, 153, 50, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/priority/priority.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"225f49e3dbd55d68caaf0bd0473f3238daaf9cfb5f318bb4cb937976ae502f41"}},{"ruleId":"D2","level":"warning","message":{"text":"TestCommonStruct.createSchedulerCache (cognitive 26): TestCommonStruct.createSchedulerCache has cognitive complexity 26 (threshold 15). Drivers by points: loops 14 (15 pts), if/else 4 (11 pts) (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/uthelper/helper.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e00056cc337a26d5b0ea28b08888858703d8cf0ce15291f534f9c7c7b07bea8"}},{"ruleId":"D2","level":"warning","message":{"text":"app.Run (cognitive 25): app.Run has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 2, loops 1, match/switch 1 (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/webhook-manager/app/server.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fe78ff4a058baaae4d2f05fedcf41000f773f1afebfd63e8ff4c1931ec38bd"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.prioritizeNodes (cognitive 25): Action.prioritizeNodes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (5 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/actions/allocate/allocate.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"017fd5272324b92ab7eef8f05f70b978d5c7cfc085c59e12844edf2c19070a03"}},{"ruleId":"D2","level":"warning","message":{"text":"namespaceQueueController.enqueueNamespaceQueueTrees (cognitive 25): namespaceQueueController.enqueueNamespaceQueueTrees has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/namespacequeue/namespacequeue_controller_handler.go"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"380c560dcbee88e77110fcfdde44d63a70f0acf4928cae81524319c2c0cc88f7"}},{"ruleId":"D2","level":"warning","message":{"text":"namespaceQueueController.validateCapabilityAgainstAncestors (cognitive 25): namespaceQueueController.validateCapabilityAgainstAncestors has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 2 (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":"pkg/controllers/namespacequeue/namespacequeue_controller_validation.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6709b2df56a57c837f08b10237b14ae624d32f06994b6ebd019623dcbe7c6315"}},{"ruleId":"D2","level":"warning","message":{"text":"HyperNodesInfo.BuildHyperNodeCache (cognitive 25): HyperNodesInfo.BuildHyperNodeCache has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (22 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/hyper_node_info.go"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e0d461c80390d5b8da6cdc02be60f9249965c090e6241655c3d706e0b382c7"}},{"ruleId":"D2","level":"warning","message":{"text":"deviceshare.parseExclusiveRules (cognitive 25): deviceshare.parseExclusiveRules has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 3 (7 pts), match/switch 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/gpuexclusive.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5d4378204f4060e688dd5dd6c12f6bea9f9f64631dab40cde196e8e6db3880"}},{"ruleId":"D2","level":"warning","message":{"text":"drfPlugin.updateHierarchicalShare (cognitive 25): drfPlugin.updateHierarchicalShare has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 2 (4 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":"pkg/scheduler/plugins/drf/drf.go"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"02038e0ad5ccd647dde2df939dd3082dd391e43c5298577c2aee53fe9f93950e"}},{"ruleId":"D2","level":"warning","message":{"text":"gangPlugin.OnSessionOpen (cognitive 25): gangPlugin.OnSessionOpen has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 4, loops 1 (nesting depth added 3). None of this is in the body itself: all 25 points belong to 7 function literals inside it that branch (lines 97, 58, 139, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/gang/gang.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bcdc75525e95bb2c5bda03ff59d0b40cbf49272bbcd951621ba8ced777f81d"}},{"ruleId":"D2","level":"warning","message":{"text":"cpumanager.takeByTopology (cognitive 25): cpumanager.takeByTopology has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 3 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/numaaware/provider/cpumanager/cpu_assignment.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"765d0d7ba086dd9a25e03b8b8ad3e8c51bb24c21846d17a653e7a23daa42ec04"}},{"ruleId":"D2","level":"warning","message":{"text":"nodescore.RunScorePlugins (cognitive 25): nodescore.RunScorePlugins has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 6 (7 pts), match/switch 3, boolean chains 1 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/util/nodescore/score_helper.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5baecf4b886d23e3f57c182689012bea8ac0177b92eeeffc1dc397bec010bf7d"}},{"ruleId":"D2","level":"warning","message":{"text":"util.SelectBestNodes (cognitive 25): util.SelectBestNodes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/util/scheduler_helper.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb033b92d5d9ae42163b1272d8f95106399c5d598d76fb926750b568ceae416"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.validateResourceQuantityOfQueue (cognitive 25): validate.validateResourceQuantityOfQueue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/queues/validate/validate_queue.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e6c667d7b2690398e1d8880414d948d48dc773e60af984fc7db3f0186d2b97"}},{"ruleId":"D2","level":"warning","message":{"text":"cgroup.parseCgroupDriverFromCmdline (cognitive 24): cgroup.parseCgroupDriverFromCmdline has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 4, loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/cgroup/cgroup.go"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"6767bbfc60b65f6323b954d7f051d48273a2d70c71b8b552670fd31cb025ac04"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerCache.addEventHandler (cognitive 24): SchedulerCache.addEventHandler has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 3, match/switch 3 (nesting depth added 7). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 497, 467, 436). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1f70e6062a002b05dbe3121a70867854534160af4053de7b841af05825a81c"}},{"ruleId":"D2","level":"warning","message":{"text":"cronjobcontroller.processFinishedJobs (cognitive 24): cronjobcontroller.processFinishedJobs has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 4, match/switch 1 (3 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/cronjob/cronjob_controller_handler.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be574ad3da7fa886769f20aeb7266860888ec63f8a68e5e379c1d03fbd027ab"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.organizeJobWorksheet (cognitive 24): Action.organizeJobWorksheet has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 10). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e0274694d28253760905caf3b43b88d43e7e0cdf64727fad1adc22e42a1580"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.prioritizeNodesForSimulate (cognitive 24): utils.prioritizeNodesForSimulate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/utils/simulate.go"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4586dd3a8d72945e3f911ecc509c1f0442801d1b826112175189900408385a"}},{"ruleId":"D2","level":"warning","message":{"text":"api.amendResourceLimitAccordingToPodFeatures (cognitive 24): api.amendResourceLimitAccordingToPodFeatures has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (4 pts), match/switch 1 (4 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/pod_info.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d867afeb9f99e94eaac543605c5cb331084af0550c6eaec75307e8e9ab123f"}},{"ruleId":"D2","level":"warning","message":{"text":"capacity.getDRADelta (cognitive 24): capacity.getDRADelta has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 5 (11 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c923bbe740a99498ad0ae50b0ec0052843babd1685d17736b86d5c60ac716f"}},{"ruleId":"D2","level":"warning","message":{"text":"fairshare.New (cognitive 24): fairshare.New has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (19 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/fairshare/fairshare.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c08ba7f650cf8eeb5d0785f65efbb7018735484b33c70320bb6bc87f07d0f01"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.validateJobUpdate (cognitive 24): validate.validateJobUpdate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 4, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/jobs/validate/admit_job.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb12ca151d21b9a1bc9c2a4704133d1875a91e00f65ddc5b1eff60bec188857"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourcesHandle.Handle (cognitive 23): ResourcesHandle.Handle has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 2, loops 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/resources/resources.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fecec38181a6795c74100abf05edbc5128dcb9633fd16d3c0ad1d78af6b937"}},{"ruleId":"D2","level":"warning","message":{"text":"JobInfo.DeletePod (cognitive 23): JobInfo.DeletePod has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (23 pts) (nesting depth added 12). 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":"pkg/controllers/apis/job_info.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ef62ea24d7cb6888e92d1034798768e554f64064cda9e5f76d2fb34d748f8d"}},{"ruleId":"D2","level":"warning","message":{"text":"pgcontroller.addStatefulSet (cognitive 23): pgcontroller.addStatefulSet has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 1 (2 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":"pkg/controllers/podgroup/pg_controller_handler.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d067207729a31ed8923241ed73447c351a9c4f6e445ac4c46b918d8d287a512"}},{"ruleId":"D2","level":"warning","message":{"text":"local.getMemoryUsage (cognitive 23): local.getMemoryUsage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/metriccollect/local/memory.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8110305e1ac7ccc47e78434c41f77b586e6e3006b54718c81029336f071a3cd5"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.Execute (cognitive 23): Action.Execute has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 2, loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/enqueue/enqueue.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b394402c5cb640adacc4bfcef32d153408e8e0df22c9bb621d8d0ae05c0cb03"}},{"ruleId":"D2","level":"warning","message":{"text":"GPUDevices.addResource (cognitive 23): GPUDevices.addResource has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 3 (6 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/device_info.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cc9c83fb28cf9a7f802e7913238013dd5be226c12efc623ae90f8c4dd5ee08"}},{"ruleId":"D2","level":"warning","message":{"text":"capacity.parseDRAResourceList (cognitive 23): capacity.parseDRAResourceList has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"83994a88398db35a9d57041cdec50a9337363d30398a64167a8045ff96b4b966"}},{"ruleId":"D2","level":"warning","message":{"text":"nodeGroupPlugin.OnSessionOpen (cognitive 23): nodeGroupPlugin.OnSessionOpen has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 2, loops 2 (nesting depth added 3). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 486, 461, 438, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/nodegroup/nodegroup.go"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e26dc826d9f664469c861d1493dfe907f08751215559141e89820bbde2419d"}},{"ruleId":"D2","level":"warning","message":{"text":"jobflow.DeleteJobFlow (cognitive 22): jobflow.DeleteJobFlow has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobflow/delete.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ba13893920b6d7da4ebcfa4de5b54050cc62e27c5e85a7a85845a8bbf2c4b5"}},{"ruleId":"D2","level":"warning","message":{"text":"jobtemplate.DeleteJobTemplate (cognitive 22): jobtemplate.DeleteJobTemplate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobtemplate/delete.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ca843b9659cfccf5eaa8bda5423c64ecd67e16b197220b5af2136e549bd868"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.reclaimJobInDomains (cognitive 22): Action.reclaimJobInDomains has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/gangreclaim/gangreclaim.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d40500578088bc21ec4c3556092f1034b0cabda6fc02b548ee3ee5e3247257"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.normalPreempt (cognitive 22): Action.normalPreempt has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/preempt/preempt.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1829eac1a4d8e7d2eeb11176605f52ad3d6b7160a47b732b6c8cb41a451cc74"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerCache.getPodCSIVolumes (cognitive 22): SchedulerCache.getPodCSIVolumes has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/event_handlers.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36ec75a03a0a54d63389fce5e3bf5d3841a6f89a3a95ea930c1644b988bd755"}},{"ruleId":"D2","level":"warning","message":{"text":"framework.openSession (cognitive 22): framework.openSession has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 6 (9 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"be00c945ba2f5c2cea9f91ad33e7b2ee9f0bb2be23c94c5be1ee2a2241f3459d"}},{"ruleId":"D2","level":"warning","message":{"text":"networkTopologyAwarePlugin.getSubJobHyperNodeBinPackingScore (cognitive 22): networkTopologyAwarePlugin.getSubJobHyperNodeBinPackingScore has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 4 (6 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":"pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"898879e93e428208806479093c1cb1389d6f09375331db9a227c81ec2308fd76"}},{"ruleId":"D2","level":"warning","message":{"text":"predicateHelper.PredicateNodes (cognitive 22): predicateHelper.PredicateNodes has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 3, loops 1 (nesting depth added 4). Of this number, 13 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/util/predicate_helper.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a615d8a7f2efe75ab82e70ac2c67723acd86f56778cf395e8cb24c82b380eff"}},{"ruleId":"D2","level":"warning","message":{"text":"hypernode.GetMembers (cognitive 22): hypernode.GetMembers has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/util/hypernode/member_selector.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0bc5c4ef490ee2783e5e157c6ff6684d9c0d8823b13e46c52c995e7b760f67"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.validateNamespaceQueueParentWorkloads (cognitive 22): validate.validateNamespaceQueueParentWorkloads has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/namespacequeues/validate/validate_namespacequeue.go"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6ad6e69e9a5ca51afabdb29db7f0474662922e59e2edf68a06a0589b7fe1c9"}},{"ruleId":"D2","level":"warning","message":{"text":"pod.ListPods (cognitive 21): pod.ListPods has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (21 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/pod/pod.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01e5994f7b3669c8ea02bdea561327c6f89a05e9ece5c2a2bd47eac8eab1e2b"}},{"ruleId":"D2","level":"warning","message":{"text":"ufmDiscoverer.classifyLeafs (cognitive 21): ufmDiscoverer.classifyLeafs has cognitive complexity 21 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 3 (10 pts) (nesting depth added 13). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/discovery/ufm/ufm.go"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f41acb640e86a22674f8fdae2cb540b366185926e336fe2a31727d4f753242"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.runSimulateTrialAtHyperNode (cognitive 21): utils.runSimulateTrialAtHyperNode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 2, loops 1 (nesting depth added 7). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/utils/simulate.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5517ca2be3c69fb650364a9cc27edc76515bb07932f9a5dedf15ad57d94cd4b"}},{"ruleId":"D2","level":"warning","message":{"text":"api.FormatHyperNodeFitSummary (cognitive 21): api.FormatHyperNodeFitSummary has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/unschedule_info.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a8cffc7ca4145f165c7410f0b4489fd9cf1c060a6f43abc56cd1c3a83c49bc"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerCache.SyncNode (cognitive 21): SchedulerCache.SyncNode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/event_handlers.go"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58ddd76b81b9ae5cc4426aa037ffade5c047279d4c81bb986a04a2bef68dca4"}},{"ruleId":"D2","level":"warning","message":{"text":"Framework.NodeOrderMapFn (cognitive 20): Framework.NodeOrderMapFn has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/framework/plugins.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1ab91a267fcad60363bacf3931bf3f2e329146bf70a1c79f908e9ebcfd417f"}},{"ruleId":"D2","level":"warning","message":{"text":"jobflow.DescribeJobFlow (cognitive 20): jobflow.DescribeJobFlow has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobflow/describe.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"137592aef199ffb74a5fc658016059c6962a8af878f420249fd65eb92b6ec69d"}},{"ruleId":"D2","level":"warning","message":{"text":"jobtemplate.DescribeJobTemplate (cognitive 20): jobtemplate.DescribeJobTemplate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobtemplate/describe.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec5b599fa8bdb3d274424b404ce56b3f868d77d2a5b8ccfe1ba0b8f071efddd"}},{"ruleId":"D2","level":"warning","message":{"text":"TasksPriority.CalcPGMinResources (cognitive 20): TasksPriority.CalcPGMinResources has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_util.go"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"543eae980c998a6865bdfc91086b1da8ca2c9b5242eb2a24adb394fe96000daf"}},{"ruleId":"D2","level":"warning","message":{"text":"pgcontroller.addReplicaSet (cognitive 20): pgcontroller.addReplicaSet has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/podgroup/pg_controller_handler.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2db35af8ab03f1bcda3b08bce6064bd4287f514b073180d2158c25d6940594d"}},{"ruleId":"D2","level":"warning","message":{"text":"CPUResourceCollector.CollectLocalMetrics (cognitive 20): CPUResourceCollector.CollectLocalMetrics has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/metriccollect/local/cpu.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9c7137fd85956df3324da9725e46fa858c08d2041705bd07d0f20c0b577c25"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.preemptJobInDomains (cognitive 20): Action.preemptJobInDomains has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d0b1bdccbc484f3d34ddd43b9727071b42f8350858a5b2ab2bd478851f2e28"}},{"ruleId":"D2","level":"warning","message":{"text":"JobInfo.CheckTaskPipelined (cognitive 20): JobInfo.CheckTaskPipelined has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e8177318ae498abf797a9c4ceab19641df62ae051c8d78236b383c295de11e"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.NodeOrderMapFn (cognitive 20): Session.NodeOrderMapFn has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"14408430aadbd36982ff3f61cf9229d74265fdb3ae0605d65245b17b8854399a"}},{"ruleId":"D2","level":"warning","message":{"text":"CooldownProtectionPlugin.OnSessionOpen (cognitive 20): CooldownProtectionPlugin.OnSessionOpen has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 12). None of this is in the body itself: all 20 points belong to one function literal inside it that branches (line 75). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/cdp/cdp.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bc1e5641fa832e87cb9503ba9681c93bb95e035ee745f03db1188fdba7d530"}},{"ruleId":"D2","level":"warning","message":{"text":"numaaware.filterNodeByPolicy (cognitive 20): numaaware.filterNodeByPolicy has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/numaaware/numaaware.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef553c820c375c99cd76c3418d9501c69fc2e07513936558809295926f8cddf"}},{"ruleId":"D2","level":"warning","message":{"text":"resourcestrategyfit.Score (cognitive 20): resourcestrategyfit.Score has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/resource-strategy-fit/resource_strategy_fit.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"70455e4966ccdd2c3e6ffb4d7d4e3fd2171dd754d410a3671db89d49af3bb073"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.validateHierarchicalAttributes (cognitive 20): validate.validateHierarchicalAttributes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/queues/validate/validate_queue.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d936df6e3ad12fbcebf415035832fd1f2a2d2ce07b08424e9799a6f60d0bf8"}},{"ruleId":"D2","level":"warning","message":{"text":"app.Run (cognitive 19): app.Run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 1 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/hypernode-controller-manager/app/server.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e961c65ac6e61ae729d197c162105255ddeccd8ad161e7d5339e9fe1a44410c9"}},{"ruleId":"D2","level":"warning","message":{"text":"JobInfo.SetJob (cognitive 19): JobInfo.SetJob has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 3 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/apis/job_info.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5937caaac5bdfc37a63bcc8c43d25c6c987209c1b0e5ecac81050f8c2e01ecc0"}},{"ruleId":"D2","level":"warning","message":{"text":"jobCache.TaskFailed (cognitive 19): jobCache.TaskFailed has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 4 (8 pts), boolean chains 3 (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":"pkg/controllers/cache/cache.go"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4209f1667ad3265e8217ae6eb50ec43afe3084515efa53222ac33a7395fde77"}},{"ruleId":"D2","level":"warning","message":{"text":"cronjobcontroller.processCtlJobAndActiveJob (cognitive 19): cronjobcontroller.processCtlJobAndActiveJob has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/cronjob/cronjob_controller_handler.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1270190c5e1f4734f3757ab614f5b7cbd7607cad59799dfbbfb4ec9720ee5b"}},{"ruleId":"D2","level":"warning","message":{"text":"sharding.ParseShardingConfig (cognitive 19): sharding.ParseShardingConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/config.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b316bcc6848bfc479931820e0ab4003007d52ad46cad069f3e3aca94a75d4ca0"}},{"ruleId":"D2","level":"warning","message":{"text":"ShardingController.calculateMetricsFromPodsAndNode (cognitive 19): ShardingController.calculateMetricsFromPodsAndNode has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/node_utilization.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b633d9fdb16205a5528621c47924d806e56b3e1b930a4b1cefa349a6eebb2cad"}},{"ruleId":"D2","level":"warning","message":{"text":"api.aggregateAllContainerResourceRequests (cognitive 19): api.aggregateAllContainerResourceRequests has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (api.aggregateAllContainerResourceLimits) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/pod_info.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d283c973250f1e867ff6c89e4b048f7c8dd1e6939be0e680f99e27b9f7cad986"}},{"ruleId":"D2","level":"warning","message":{"text":"api.aggregateAllContainerResourceLimits (cognitive 19): api.aggregateAllContainerResourceLimits has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (api.aggregateAllContainerResourceRequests) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/pod_info.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b38289bb92e2f50e31300549f974ce6decee07cec62d91872fdb59df74498b9"}},{"ruleId":"D2","level":"warning","message":{"text":"Resource.LessEqualWithDimensionAndResourcesName (cognitive 19): Resource.LessEqualWithDimensionAndResourcesName has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/resource_info.go"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"a715c72fd13e77a110b99c6d18fda572ea7d3edd318513f8082a0b3ec2452b1a"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.PredicateForPreemptAction (cognitive 19): Session.PredicateForPreemptAction has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session.go"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22b9a1a8dca80f57cf23a764ce879de702aa0112f71f9c6618368347a7f0975"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.PrePredicateFn (cognitive 19): Session.PrePredicateFn has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"224c54763fad3d104ecd6620af7ebd3eab4855048ba489d34f039cfdaaa5033c"}},{"ruleId":"D2","level":"warning","message":{"text":"fairshare.CalculateFairShares (cognitive 19): fairshare.CalculateFairShares has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 5 (9 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/fairshare/fairshare.go"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e7df0ac5d86d97a9a95f128cee40c1e8241c54c388701f3d735aa1cea10796"}},{"ruleId":"D2","level":"warning","message":{"text":"JobManager.buildBucket (cognitive 19): JobManager.buildBucket has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/task-topology/manager.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d39a95e781588943d051d5f17eccae8d7cf0f49949a2fc85d8453bcadb1f89"}},{"ruleId":"D2","level":"warning","message":{"text":"AdmissionServiceConfig.GetNamespaceQueuesByParent (cognitive 19): AdmissionServiceConfig.GetNamespaceQueuesByParent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/router/indexer.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"171a6b50e214df481e8be6c17e272b370d73cbbc1c30bfa0840e294b3c06dbbd"}},{"ruleId":"D2","level":"warning","message":{"text":"vjobs.PrintJobs (cognitive 18): vjobs.PrintJobs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/vjobs/view.go"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68a3d5f1ec329b0a4144fd8880375bcdac507b60be9af538c107c7d4608f1ef"}},{"ruleId":"D2","level":"warning","message":{"text":"JobInfo.UpdatePod (cognitive 18): JobInfo.UpdatePod has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (18 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/apis/job_info.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb0f16d573aa8ff2befe9a1193b525c42d31472fe99bca14a3ead3107b626e8"}},{"ruleId":"D2","level":"warning","message":{"text":"manager.processTopology (cognitive 18): manager.processTopology has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (11 pts), if/else 2 (6 pts), loops 1 (nesting depth added 11). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/discovery/manager.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe0b4839484d9900d4391d8ee3b7053ad3eaf1126b128a9d16a7148708f6600"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperNodeController.reconcileTopology (cognitive 18): hyperNodeController.reconcileTopology has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/hypernode_controller.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d527992712b1ebf7539e2c350544f2aaa990b49ea5b77089456cd3ea1c5189a"}},{"ruleId":"D2","level":"warning","message":{"text":"jobcontroller.createOrUpdatePodGroup (cognitive 18): jobcontroller.createOrUpdatePodGroup has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_actions.go"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"85445fdbd78aba546cd4b5adeb981f51b319ad24d4dcb920254c71efe6bd4a4a"}},{"ruleId":"D2","level":"warning","message":{"text":"ShardingManager.initializePolicies (cognitive 18): ShardingManager.initializePolicies has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/sharding_manager.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8944f896e43173cbf1c5f05f7bbc05986e3a9c5aaf09e6386bf534985faaba2"}},{"ruleId":"D2","level":"warning","message":{"text":"preempt.pickOneNodeForPreemption (cognitive 18): preempt.pickOneNodeForPreemption has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (6 pts) (nesting depth added 8). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/preempt/preempt.go"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9630f25ea54dbdf09b3e6071614b1c06440db2797089cd17d117663bdb574b7"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.organizeEvictionWorksheet (cognitive 18): utils.organizeEvictionWorksheet has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/utils/simulate.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0422e984553b06cc4ef190ead12d0d65d8269737992da407d58d4bfa2a16f0d2"}},{"ruleId":"D2","level":"warning","message":{"text":"GPUDevices.Allocate (cognitive 18): GPUDevices.Allocate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/gpushare/device_info.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d23486508531ec6dd5e66d612cf625776693e6ee4436a1163e0f8f756c5935e"}},{"ruleId":"D2","level":"warning","message":{"text":"GPUDevices.SubResource (cognitive 18): GPUDevices.SubResource has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/device_info.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"297fc56092ec476af704b37e299ab324011fa2f8e10b9b3a90c60fddf59e8d62"}},{"ruleId":"D2","level":"warning","message":{"text":"api.NewResource (cognitive 18): api.NewResource has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/resource_info.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab17f8e80c101f3fd2bf5fcc1e03ef757a9b5e89bc13cbb42557fff9bf691bc"}},{"ruleId":"D2","level":"warning","message":{"text":"JobInfo.schedulingDimensions (cognitive 18): JobInfo.schedulingDimensions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"db55c3acf18483343e6c1bdd9e691cde97b0e3de25043432e9aa8164cbfbb8ce"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerCache.Snapshot (cognitive 18): SchedulerCache.Snapshot has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 6 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/cache.go"},"region":{"startLine":1632}}}],"partialFingerprints":{"codehealthFindingId/v1":"91789172a28b8e5e74806f3551f8d15f278567d7ea97424babe6d7c24e37d8c0"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.SubJobPipelined (cognitive 18): Session.SubJobPipelined has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"199f7fb0c295f4bf67e7815fcf1ed1ed176842d859e0b63d14c3c1ccb61ad7da"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.VictimTasks (cognitive 18): Session.VictimTasks has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 3 (8 pts) (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c24192fab92d80fdd44d30223de9b057cc9685b96aa49673b1d920b1aa876e"}},{"ruleId":"D2","level":"warning","message":{"text":"Configs.parseArguments (cognitive 18): Configs.parseArguments has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 4 (7 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/rescheduling/rescheduling.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ba6aea75e8587d5d0a1dc2642439dabff83f6d6c9983810d1bc8ff5640cde5"}},{"ruleId":"D2","level":"warning","message":{"text":"scheduler.UnmarshalSchedulerConf (cognitive 18): scheduler.UnmarshalSchedulerConf has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/util.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"771df0cff21615a82f83c1072f07492106beff337a67c2807b0ba50ab4f6567d"}},{"ruleId":"D2","level":"warning","message":{"text":"unschedulable.gangMinimumsReachable (cognitive 18): unschedulable.gangMinimumsReachable has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (6 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":"pkg/scheduler/unschedulable/hint.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a19f6a087fdfa77729b50b6c45e93b60c16363e08b6f2a7556d7e1a80d0710"}},{"ruleId":"D2","level":"warning","message":{"text":"JobCache.candidateRecordsForIndexSnapshots (cognitive 18): JobCache.candidateRecordsForIndexSnapshots has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 4 (6 pts), boolean chains 1 (nesting depth added 8). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/unschedulable/index.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b6efa76501895368adacbe1c2f61dc9ffbaafbe56d620e2a6320867acd257b"}},{"ruleId":"D2","level":"warning","message":{"text":"hintRegistry.register (cognitive 18): hintRegistry.register has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, loops 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/unschedulable/registry.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe0ac104d4102a5271258ed47c862ec41305b2246e05e9f1e4b3eeba7c91e9b"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.validateChildrenConstraints (cognitive 18): validate.validateChildrenConstraints has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/queues/validate/validate_queue.go"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c23ce5431a28ea4ceb0cea553e259f12b3b95b12c7a42db56f92d1ee06e4a54"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerOption.checkControllers (cognitive 17): ServerOption.checkControllers has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/controller-manager/app/options/options.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63909fa9f94598a05c1258bec28a0fd3bffba4b9165231fbb8109b9f173b23f"}},{"ruleId":"D2","level":"warning","message":{"text":"CPUBurstHandle.Handle (cognitive 17): CPUBurstHandle.Handle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/cpuburst/cpu_burst_linux.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a24fe9ac8ca966ec84284b0b500cd33bf5970fcfc01baa03b0d3b8260cdc3f"}},{"ruleId":"D2","level":"warning","message":{"text":"policy.EvictPods (cognitive 17): policy.EvictPods has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (4 pts) (nesting depth added 8). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 101). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/oversubscription/policy/policy.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"12709575bc32baa6b560c4769d4ecf665a7271363a2d8ab04eb36142d558fea1"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerCache.Bind (cognitive 17): SchedulerCache.Bind has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (5 pts) (nesting depth added 8). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"0830bad8fa1dac48f24770c4a5655fa2720073dc03c709dc0aa752694ed6d2a8"}},{"ruleId":"D2","level":"warning","message":{"text":"cronjobcontroller.processConcurrencyPolicy (cognitive 17): cronjobcontroller.processConcurrencyPolicy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/cronjob/cronjob_controller_handler.go"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bc0ad55a4089e7ce124fa91831f2a86314cd5c65bb1572977ac20c65a056b8"}},{"ruleId":"D2","level":"warning","message":{"text":"cronjobcontroller.createJob (cognitive 17): cronjobcontroller.createJob has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/cronjob/cronjob_controller_handler.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7665794f8b9c26fd2f02a1fe2c912bf3afc7d3ab365ad0acb4feea4b8c0a3c"}},{"ruleId":"D2","level":"warning","message":{"text":"Plugin.OnPodCreate (cognitive 17): Plugin.OnPodCreate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/plugins/distributed-framework/mpi/mpi.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8c32b3380cd7eeb68f4ab2a7702af78c601dc6b58146e97b3904874d313439"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkThrottlingConfig.CreateOrUpdateThrottlingConfig (cognitive 17): NetworkThrottlingConfig.CreateOrUpdateThrottlingConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/networkqos/throttling/throttling.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba49a8e5217c3f87f9d030e1e20ce99ac7e47249418a7ba0f2c17130ff4dc03"}},{"ruleId":"D2","level":"warning","message":{"text":"hami.selectDevicesWithTopology (cognitive 17): hami.selectDevicesWithTopology has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 4 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/hami/device_info.go"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"501eb63600811b4a5e33bc40eb18f5942c23873c2b4990a66a7bd39d2706281c"}},{"ruleId":"D2","level":"warning","message":{"text":"HyperNodeIndex.OccupiedHyperNodes (cognitive 17): HyperNodeIndex.OccupiedHyperNodes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/hyper_node_index.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d86da6b0b03b7ee4400f3bd1ed1cb3906251766c7b8b04b180ecba4d1dded2"}},{"ruleId":"D2","level":"warning","message":{"text":"JobInfo.NeedContinueAllocating (cognitive 17): JobInfo.NeedContinueAllocating has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"905169cdb2608eef5506918c744f2c4b767cb209dfe71e32c24b0d1f5a0514f8"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerCache.Bind (cognitive 17): SchedulerCache.Bind has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/cache.go"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d8c7cbc52a563820ec6c885ca22274be04bf18c0567125013dda37a8a98062"}},{"ruleId":"D2","level":"warning","message":{"text":"framework.getPodGroupPhase (cognitive 17): framework.getPodGroupPhase has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session.go"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6387364c0f89d61b911e8e9b67c664addd6d55bf2d0b7fbd2dad0add1e8cc15"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.Allocatable (cognitive 17): Session.Allocatable has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3cef2a945f0109500f22501e4317a710957f7642dec454bc3b88bfa311ca18"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.JobPipelined (cognitive 17): Session.JobPipelined has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d59b6933fee74de89230a5687e6c753f5da6c5b618da86f6cee0b01beb1aa2b"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.resolveHyperNodeGradients (cognitive 17): Session.resolveHyperNodeGradients has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a3c051a17c274f1230dab9cd1f3a209a92041c182db12a80d9be03f04a0e07"}},{"ruleId":"D2","level":"warning","message":{"text":"Statement.Allocate (cognitive 17): Statement.Allocate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 1 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/statement.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"b732df3d530db9492fb97d4ff6f6b01082b906d9991a620366750c89a2df07a7"}},{"ruleId":"D2","level":"warning","message":{"text":"numaPlugin.OnSessionOpen (cognitive 17): numaPlugin.OnSessionOpen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 3). None of this is in the body itself: all 17 points belong to 4 function literals inside it that branch (lines 120, 175, 88, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/numaaware/numaaware.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ec6e7a7e560699b3e8e44f9836a4b9d66641f454570c76789780ab45c283b8"}},{"ruleId":"D2","level":"warning","message":{"text":"tasktopology.affinityCheck (cognitive 17): tasktopology.affinityCheck has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/task-topology/topology.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e93d0eb923132cb8fb12ac1c47dea3084374bd913d69c9ad7594372a8a67d5c"}},{"ruleId":"D2","level":"warning","message":{"text":"JobManager.ApplyTaskTopology (cognitive 17): JobManager.ApplyTaskTopology has cognitive complexity 17 (threshold 15). Drivers by points: loops 7 (13 pts), if/else 2 (4 pts) (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/task-topology/manager.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b189a4e7506c61b3d056db72e44a6ffb9c34448a9d7cd42f0635ce8de34ed555"}},{"ruleId":"D2","level":"warning","message":{"text":"usagePlugin.OnSessionOpen (cognitive 17): usagePlugin.OnSessionOpen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 4). Of this number, 12 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body: 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":"pkg/scheduler/plugins/usage/usage.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"046719c84515250ded36954a1bb3c9fa2369b3b98aa47dbd538e3ea29c0a5b7e"}},{"ruleId":"D2","level":"warning","message":{"text":"cni.add (cognitive 16): cni.add has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/network-qos/cni/cni.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d505e3a83613ab73efb6057a0bfac13d578527cd68da4cec8ae563454990b61"}},{"ruleId":"D2","level":"warning","message":{"text":"app.Run (cognitive 16): app.Run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/scheduler/app/server.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fdce902482780185ec4de0271a5fd1dff229f0fdd1dc975bf7db02a3ee50a7"}},{"ruleId":"D2","level":"warning","message":{"text":"monitor.detectCPUQuota (cognitive 16): monitor.detectCPUQuota has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/probes/nodemonitor/node_monitor.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c9a36bb077b6a66b87e7187822b81c679d90ffa9eef1224fd2530b047cd906"}},{"ruleId":"D2","level":"warning","message":{"text":"pod.CalculateExtendResources (cognitive 16): pod.CalculateExtendResources has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/pod/resources.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cd9af1e88488f776d34fb0ddddfa33b94591805f345ca1dccc24ac6e9918ec"}},{"ruleId":"D2","level":"warning","message":{"text":"version.compareVersion (cognitive 16): version.compareVersion has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/version/compare.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33ac0438c5e01dc8f9a0012ae74621479f3d313a19e216d33e8552618d8ae58"}},{"ruleId":"D2","level":"warning","message":{"text":"pod.PrintPods (cognitive 16): pod.PrintPods has cognitive complexity 16 (threshold 15). Drivers by points: loops 7 (9 pts), if/else 4 (7 pts) (nesting depth added 5). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/pod/pod.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d658fb96d2f992e5da375772fe5743a0f67b1693b8e0ae696a07854f12acda65"}},{"ruleId":"D2","level":"warning","message":{"text":"util.HumanDuration (cognitive 16): util.HumanDuration has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (16 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/util/util.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f2bfd2e31c63dc03622380b3ddf6682b7d3a378671af77117530ea03607ac4"}},{"ruleId":"D2","level":"warning","message":{"text":"cronjobcontroller.syncCronJob (cognitive 16): cronjobcontroller.syncCronJob has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/cronjob/cronjob_controller.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7c3be6143c0c3f5e448e71889e0a3f198e551547284b320c24ab7f432c4cda"}},{"ruleId":"D2","level":"warning","message":{"text":"labelDiscoverer.Start (cognitive 16): labelDiscoverer.Start has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/discovery/label/label.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d1c22d1d1a5b61d05a6de54e636219ea71c0bb04d3e82965e0f905e46339fe"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperNodeNameResolver.buildHyperNodeName (cognitive 16): hyperNodeNameResolver.buildHyperNodeName has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/discovery/label/label.go"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"986f7d2331d5aad64602f9416e3a6b7c8f3d10a87f7345958b8678b5dae74090"}},{"ruleId":"D2","level":"warning","message":{"text":"jobcontroller.AddDelayActionForJob (cognitive 16): jobcontroller.AddDelayActionForJob has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 3 (nesting depth added 1). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 522). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller.go"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d1163c528c402e99a65771c501ae37d4ddabe4bb211b1a3c77de8db10c080a"}},{"ruleId":"D2","level":"warning","message":{"text":"jobflowcontroller.getAllJobStatus (cognitive 16): jobflowcontroller.getAllJobStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/jobflow_controller_action.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"06af629b1432beb0067be9ee877a40f75ae14cc30b6c860856820a56885afcd2"}},{"ruleId":"D2","level":"warning","message":{"text":"namespaceQueueController.computeChildrenAggregate (cognitive 16): namespaceQueueController.computeChildrenAggregate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/namespacequeue/namespacequeue_controller_validation.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de96233e9e4a776545fa65032ab1f0f258e4d2b926eff385e6cfb148cd29a2d"}},{"ruleId":"D2","level":"warning","message":{"text":"pgcontroller.createOrUpdateNormalPodPG (cognitive 16): pgcontroller.createOrUpdateNormalPodPG has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (16 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":"pkg/controllers/podgroup/pg_controller_handler.go"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"2987e819d402f4cb6c2608124eb16501eb864c1886a0a578bf689ac521fd3406"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterInfo.String (cognitive 16): ClusterInfo.String has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (12 pts), if/else 4 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/cluster_info.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"442a79077577f9222d2afa23e07a426a78e787953a89791e799fece164e6fda9"}},{"ruleId":"D2","level":"warning","message":{"text":"NPUDevices.DeepCopy (cognitive 16): NPUDevices.DeepCopy has cognitive complexity 16 (threshold 15). Drivers by points: loops 13 (15 pts), if/else 1 (nesting depth added 2). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_info.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"5064671c768ff1d2f1f18362785b4b9b983223ee10af6b05539511ba53dae9bf"}},{"ruleId":"D2","level":"warning","message":{"text":"GPUDevices.addToPodMap (cognitive 16): GPUDevices.addToPodMap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/device_info.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13fcd095715c3fb046399714d1978706ddaa496b537d9857d298a938cdbd790"}},{"ruleId":"D2","level":"warning","message":{"text":"vgpu.NewGPUDevices (cognitive 16): vgpu.NewGPUDevices has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/device_info.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"32505945d81314c14728442ff4d2966ef077a4894ea67d41d0a34eacbcadb270"}},{"ruleId":"D2","level":"warning","message":{"text":"HyperNodesInfo.GetDescendants (cognitive 16): HyperNodesInfo.GetDescendants has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/hyper_node_info.go"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b55cb5443c6c5432423a418383f4a9706e165d6c41a4272fe7cd098fb5e26d"}},{"ruleId":"D2","level":"warning","message":{"text":"HyperNodesInfo.GetRegexOrLabelMatchLeafHyperNodes (cognitive 16): HyperNodesInfo.GetRegexOrLabelMatchLeafHyperNodes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/hyper_node_info.go"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddce8fb6c121546add507e8cbec17afe7b1529d160b849d332ac8486845c64e1"}},{"ruleId":"D2","level":"warning","message":{"text":"JobInfo.getJobAllocatedRoles (cognitive 16): JobInfo.getJobAllocatedRoles has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"30be34e13bd0e979e8b431000e0bc267b9100dfc1ba086316d18fb074627a933"}},{"ruleId":"D2","level":"warning","message":{"text":"Resource.LessEqual (cognitive 16): Resource.LessEqual has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/resource_info.go"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"feedbb708dcb2182d95b422585a91d98ec0c42cb244e771d3df87a98b1f29a44"}},{"ruleId":"D2","level":"warning","message":{"text":"Resource.LessEqualPartly (cognitive 16): Resource.LessEqualPartly has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/resource_info.go"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b7dbad955320231a870a75bd6206e8070d98cb68d789f09bc5e7e40908c5f7"}},{"ruleId":"D2","level":"warning","message":{"text":"Session.adjustNetworkTopologySpec (cognitive 16): Session.adjustNetworkTopologySpec has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session.go"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba28d2e2c16e8c550aa10e2f1a115c5b18c973482b0383b2f1ed7905f5cc3b4"}},{"ruleId":"D2","level":"warning","message":{"text":"Statement.Pipeline (cognitive 16): Statement.Pipeline has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 1 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/statement.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c4b6f19c46073fa981d304b225a7eb89777b917da6c3528be3bf442afc1646"}},{"ruleId":"D2","level":"warning","message":{"text":"resourcestrategyfit.calculateWeight (cognitive 16): resourcestrategyfit.calculateWeight has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, 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":"pkg/scheduler/plugins/resource-strategy-fit/resource_strategy_fit.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc057da18dbc1335c6234a8c098da258e5f0ad101161455a4483633e9adc08cd"}},{"ruleId":"D2","level":"warning","message":{"text":"slaPlugin.OnSessionOpen (cognitive 16): slaPlugin.OnSessionOpen has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (16 pts) (nesting depth added 4). Of this number, 8 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/sla/sla.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2602c1c111a21e208a10e692e1967a64bc6315ea244b6b3d4d3fe4b2a1d7ab"}},{"ruleId":"D2","level":"warning","message":{"text":"JobManager.checkTaskSetAffinity (cognitive 16): JobManager.checkTaskSetAffinity has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/task-topology/manager.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"841328a5f84d06abfefdec9ffa1fa83d711d21237be217e5533b00f105bc1f8e"}},{"ruleId":"D2","level":"warning","message":{"text":"resourcefit.RejectionKeys (cognitive 16): resourcefit.RejectionKeys has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/util/resourcefit/resourcefit.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"205d7000ce89bb76c6b0dbd0b5ea401da820259e8818ca72db81a0abde5981cf"}},{"ruleId":"D2","level":"warning","message":{"text":"mutate.mutateSpec (cognitive 16): mutate.mutateSpec has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/jobs/mutate/mutate_job.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc51bcf0fbe8b01f5cbc85b7e5182c9b9fbaa319b36382d431ab9c0ca3aad78"}},{"ruleId":"D2","level":"warning","message":{"text":"validate.validateIO (cognitive 16): validate.validateIO has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/jobs/validate/util.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb878d16115d73358245f8198593d9a9e33e41acd82b780f19736008e53c8005"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SchedulerCache: TooManyMethods \u2014 144 methods, declared across 4 files: cache/event_handlers.go (81), cache/cache.go (56), cache/shard_coordinator.go (6), cache/cache_mock.go (1). The bar is 30 methods; this is 114 over it, 4.80\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/cache.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba0278d4a382954fb19590d79e8ebd5492348f99eda54206aa4c73e591e7da0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Session: TooManyMethods \u2014 128 methods, declared across 4 files: framework/session_plugins.go (85), framework/session.go (36), framework/session_rejections.go (5), framework/hyper_node_candidate.go (2). The bar is 30 methods; this is 98 over it, 4.27\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d6df89dd92ab8cc32a88787bb51ff76e60f97dc5acbd6ba0ea5dc1b8d5f790"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: capacityPlugin.OnSessionOpen: MethodTooLong \u2014 OnSessionOpen runs 376 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 276 over it, 3.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"1521730f3bd70eb321f169d849a5fee48560e5e47772eac0d8bb5a68c90f2bd5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: proportionPlugin.OnSessionOpen: MethodTooLong \u2014 OnSessionOpen runs 291 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 191 over it, 2.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/proportion/proportion.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a313901f80fc9ccfae02c80210825d7c4fac1745fddef7fc348c75719ab057"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cache/cache.go: FileTooLong \u2014 1352 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: SchedulerCache (57 blocks, 117-2185). The bar is 500 significant lines; this is 852 over it, 2.70\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/cache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb6829281f740623aeaa1547b0ca925f275845e6823c9b655de709e8405c732"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Session: TooManyFields \u2014 79 stored fields beside 128 methods. The bar is 30 stored fields; this is 49 over it, 2.63\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3957bf910c1e2fbec8e580c9c157e739eabcf63e1b1e3ef98a5b09ae62066b3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: capacity/capacity.go: FileTooLong \u2014 1239 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: capacityPlugin (31 blocks, 62-2009). The bar is 500 significant lines; this is 739 over it, 2.48\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"046f6197cb3b3f389f530c51d69f20c8a6df749bf9630b7ec8e12800d4a780bc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SchedulerCache: ClassTooLong \u2014 967 significant lines (blank, comment-only and punctuation-only lines excluded), 144 methods, 57 blocks, lines 117-2185. The bar is 400 significant lines; this is 567 over it, 2.42\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/cache.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e535dc91a9aac2ccafd59a1cab19a6eff6ec786e78cf98db501fbe2b369af4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SchedulerCache: TooManyMethods \u2014 72 methods, declared across 3 files: cache/cache.go (44), cache/event_handlers.go (27), cache/cache_mock.go (1). The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bcbaaa55d6fd053a712d4956e1abaaee1e6437eef3c3a3bd252e5872ca92d1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JobInfo: TooManyMethods \u2014 71 methods, declared across 2 files: api/job_info.go (65), api/topology_affinity_info.go (6). The bar is 30 methods; this is 41 over it, 2.37\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d397f94a0b8e1645f45cd5ca62bb73004a0a5229ba96237279394e64d8889f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cache/event_handlers.go: FileTooLong \u2014 1122 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: SchedulerCache (81 blocks, 72-1811). The bar is 500 significant lines; this is 622 over it, 2.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/event_handlers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"546b2f75f9fd47ab617b60a63061b8cf024b453163847ce83e6449ac6490b8e4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: capacityPlugin: ClassTooLong \u2014 893 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods, 31 blocks, lines 62-2009. The bar is 400 significant lines; this is 493 over it, 2.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a249b26821028a31ea1515318b6150b8b3fa4f1b58e7aa85a9210925fd1f56c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SchedulerCache: TooManyFields \u2014 63 stored fields beside 144 methods. The bar is 30 stored fields; this is 33 over it, 2.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/cache.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f190ee94f38c89748b9c0bb574c6eb1251f31832835ed0aa57a2aa10b9e8731"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: jobcontroller.syncJob: MethodTooLong \u2014 syncJob runs 197 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_actions.go"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c13a8d69d2fd3dfef316d72a0e50c90b72393da12301132c74484f35a56736d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: jobcontroller: TooManyMethods \u2014 59 methods, declared across 5 files: job/job_controller_actions.go (24), job/job_controller.go (17), job/job_controller_handler.go (11), job/job_controller_plugins.go (4), \u002B1 more file(s). The bar is 30 methods; this is 29 over it, 1.97\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b08fb93cd9e8c85ce807d76aa94ae22430fe2c05363cc91a13e14173ce8e606"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/job_info.go: FileTooLong \u2014 977 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: JobInfo (66 blocks, 447-1751). The bar is 500 significant lines; this is 477 over it, 1.95\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfc4e5a1b87aa28c337c5cb54dbeca921cb3ab110dbd9ca23197b5fd294419c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ShardingController: TooManyMethods \u2014 57 methods, declared across 6 files: sharding/sharding_controller.go (33), sharding/node_events.go (10), sharding/node_utilization.go (5), sharding/pod_events.go (5), \u002B2 more file(s). The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/sharding_controller.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca683aad3aa022e6979f0e179935891d1eb7abe0bc7f348f8a5774f983bfc5b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SchedulerCache.addEventHandler: MethodTooLong \u2014 addEventHandler runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/cache.go"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f98c1a9cd3290cbfb2d1380e69c396f0df05cf7dd961e340be6d319da05fc2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: drfPlugin.OnSessionOpen: MethodTooLong \u2014 OnSessionOpen runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/drf/drf.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c26f233128c73d0ee9ff3ec05b44c7a4611800a5f4b45015eeb12186cfc3af"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JobInfo: ClassTooLong \u2014 675 significant lines (blank, comment-only and punctuation-only lines excluded), 71 methods, 66 blocks, lines 447-1751. The bar is 400 significant lines; this is 275 over it, 1.69\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cad0d497548f3888d0ad28657a309fcd22819a0a799d7bc8450b2c44582355"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: allocate/allocate.go: FileTooLong \u2014 837 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: Action (19 blocks, 118-1291). The bar is 500 significant lines; this is 337 over it, 1.67\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0bdcb34f86662b876244345c031abe759671b8c8d0054f2db492597e1ccc73"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Action: ClassTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods, 19 blocks, lines 118-1291. The bar is 400 significant lines; this is 252 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be9b8b638ad52603b5ecddc6040cc02e44d60108722e14b0859748732efd5c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: job/job_controller_actions.go: FileTooLong \u2014 795 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: jobcontroller (24 blocks, 54-1240). The bar is 500 significant lines; this is 295 over it, 1.59\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_actions.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d2e96d13907c2459c889f8b7ba388e68f5162c7a46ed0a96f2e205acec8b44"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: framework/session_plugins.go: FileTooLong \u2014 791 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: Session (85 blocks, 40-1467). The bar is 500 significant lines; this is 291 over it, 1.58\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c169ddd840210baf7af3e3273bdb1a7cd85d9ef8fd03b94a37f8f777ab71d60e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PredicatesPlugin.InitPlugin: MethodTooLong \u2014 InitPlugin runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bcadc4e4ff9524b0f81c97b1bdf7762ee4eb260bfe3e112a953758cb652ab8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cache/cache.go: FileTooLong \u2014 730 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: SchedulerCache (45 blocks, 100-1226). The bar is 500 significant lines; this is 230 over it, 1.46\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74dcc8576c925f9ac204889ec83b4feabf5a31e95de6084b115e4da4d03b4c3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: fairSharePlugin.OnSessionOpen: MethodTooLong \u2014 OnSessionOpen runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/fairshare/fairshare.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac13802e3167375b45e190f3f04654b6deb02f0bbab1b1f75902e36bfd6a74e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: framework/session.go: FileTooLong \u2014 685 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: Session (37 blocks, 69-1108). The bar is 500 significant lines; this is 185 over it, 1.37\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6511bb574b5482e66aa86943a05d28ecad3a8cabb158a2c7ee2fdb47c917c229"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ServerOption: TooManyFields \u2014 41 stored fields beside 5 methods. The bar is 30 stored fields; this is 11 over it, 1.37\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/scheduler/app/options/options.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75f4e6adfc17c2cd86db0236c75341b56619ad1cc99146518fe6e5345bc948a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PredicatesPlugin.OnSessionOpen: MethodTooLong \u2014 OnSessionOpen runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"106d4c92712d27a86b61c1340f577adca60929c31c127a09f9c247f10f4bdbca"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SchedulerCache: ClassTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded), 72 methods, 45 blocks, lines 100-1226. The bar is 400 significant lines; this is 137 over it, 1.34\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b8ebec5f0212fce6bbcaa1ee5f962dea01c0649cb9cb56d159f5cbb384728f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: capacityPlugin.buildHierarchicalQueueAttrs: MethodTooLong \u2014 buildHierarchicalQueueAttrs runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e6c16cb2b7fb98857ae028e24be0de12aa71de218a376beb59434eba2a913e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SchedulerCache: TooManyFields \u2014 40 stored fields beside 72 methods. The bar is 30 stored fields; this is 10 over it, 1.33\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f773f0cb413bbdc206e7d3590141ec780d4babb0a251ad6c99e5e48dcee9b71"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NPUDevices: TooManyMethods \u2014 40 methods, declared across 2 files: vnpu/device_manage.go (28), vnpu/device_info.go (12). The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_info.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c6a210f786143eeab2d3194bc3b261683a62d3f6f2fbfe200dd17fc36f048d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Framework: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/util/k8s/framework.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e643caa1f6f9ea34eea72398e78a91b08c61884078054b9650ced9f24acc5d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: jobcontroller: TooManyFields \u2014 39 stored fields beside 59 methods. The bar is 30 stored fields; this is 9 over it, 1.30\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"232de766cc748d9a1748fbf1777c8349896687d55518574e967eed2b45c3fbda"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: jobcontroller.killPods: MethodTooLong \u2014 killPods runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_actions.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcef598d58d9a3f8f62a1e214c7ec2309e1271e14d93b90da18eea6ae5a607d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: TestCommonStruct: TooManyFields \u2014 38 stored fields beside 11 methods. The bar is 30 stored fields; this is 8 over it, 1.27\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/uthelper/helper.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8a04a15384ddea42a4bac85ec4ff1fec0b376f87bb4dd1ae101504c86cf973"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: predicates/predicates.go: FileTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: PredicatesPlugin (15 blocks, 103-971). The bar is 500 significant lines; this is 128 over it, 1.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81010469dc2baad8f76a53deb1a4a8b2e695e38426712030046acd065891a13d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PredicatesPlugin: ClassTooLong \u2014 499 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods, 15 blocks, lines 103-971. The bar is 400 significant lines; this is 99 over it, 1.25\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1a2093468a74a6f90306a46706e33cb5335eedb4c16e92b00d52103f84bb4e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ShardingController: ClassTooLong \u2014 498 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods, 34 blocks, lines 59-969. The bar is 400 significant lines; this is 98 over it, 1.25\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/sharding_controller.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59fe0dcbc708153ad3061462fd5b382825619f9e709617a00f9bd6030cd37b3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: namespaceQueueController: TooManyMethods \u2014 37 methods, declared across 4 files: namespacequeue/namespacequeue_controller_handler.go (16), namespacequeue/namespacequeue_controller.go (8), namespacequeue/namespacequeue_controller_action.go (8), namespacequeue/namespacequeue_controller_validation.go (5). The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/namespacequeue/namespacequeue_controller.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"845fad1d9c712bc2d141dc4ecdf7f4c15f7b21d78a5d8368a6a167ec4ea28ce3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: deviceSharePlugin.wrapGPUDevicesForExclusivity: MethodTooLong \u2014 wrapGPUDevicesForExclusivity runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/gpuexclusive.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af66f6a8d8f3f3e66033888f19b3527e4b8425295d9682c47094a080a84b170"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sharding/sharding_controller.go: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: ShardingController (34 blocks, 59-969). The bar is 500 significant lines; this is 68 over it, 1.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/sharding_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a2a253a9ce416d897bb440da6f357c6afd9a46c7264900939ab6839433f54e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hami/device_info.go: FileTooLong \u2014 565 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 65 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/hami/device_info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8208ca917648080a0ca49d59e32e2fb5d23fba67ca7c7728b40f9a7fce6428b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: preempt/preempt.go: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 59 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/preempt/preempt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5584f30f95b418b218e215b6d39f5023ab538663fdbec11cc764d91d39ad621"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/hyper_node_info.go: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: HyperNodesInfo (34 blocks, 41-881). The bar is 500 significant lines; this is 58 over it, 1.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/hyper_node_info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"515be551948628822ecc06051885725f825ddc170c979cf8ca63ae4b744b2193"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HyperNodesInfo: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/hyper_node_info.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0712e7e09ba56f3a68b18771c716e3a9d4cf15c809548f49a4b063d621a55a4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: vnpu/init_policy.go: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 41 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/devices/ascend/310p/vnpu/init_policy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"484b8602b0341427e9cd50e38d87e0eca341e1a046b259ef2d9d8cfb87d06e1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pod.CalculateExtendResourcesV2: FunctionTooLong \u2014 CalculateExtendResourcesV2 runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/pod/resources.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"763fe86e9d7a18d5ff97fa9cc842ff2f649b771f83a523c9a1be54db0de12868"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: framework.openSession: FunctionTooLong \u2014 openSession runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea1600da3acdb6e87070ba56456c3b569b3627de76b790a270d6d24f61a0433"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/resource_info.go: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: Resource (31 blocks, 60-1009). The bar is 500 significant lines; this is 38 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/resource_info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5447e965fd0e823cc5bfa3dd7f94dca2efdd752e58e0a6fee55ccde8299754b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pod.printPod: FunctionTooLong \u2014 printPod runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/pod/pod.go"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf10d4bec1f4d918b289a11234d7f4e117fecdee60d649773e78bc761da736d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: JobInfo: TooManyFields \u2014 32 stored fields beside 71 methods. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01a4b83cd50021031c802bc5fb860a0f93b6c2801a1859c2d040165f8c3836a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SchedulerCache.addEventHandler: MethodTooLong \u2014 addEventHandler runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc1088b92fe8f8bdbe68b4bdc193414a36f61684a92a264ed8df7372cc59faf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Action.Execute: MethodTooLong \u2014 Execute runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/preempt/preempt.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"73dc3f3ce03c263edb38129cbb36a051cf1afe7ae13f4ecbd2915eca6ec0e5ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: namespaceQueueController.evaluateParent: MethodTooLong \u2014 evaluateParent runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/namespacequeue/namespacequeue_controller_action.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"48484639cc8425bb1a115a1219f647c2f130293ce5c058ff963990e12cc28325"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Session: ClassTooLong \u2014 419 significant lines (blank, comment-only and punctuation-only lines excluded), 128 methods, 37 blocks, lines 69-1108. The bar is 400 significant lines; this is 19 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f82321f5101468adb2bd92aae86f6cadab561dd3f5098e8614bcc35b6986571"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Action.allocateResourcesForTasks: MethodTooLong \u2014 allocateResourcesForTasks runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"8699b3ce749ea3bcda5e8790cc7380ceac5502906226808d32bd00dfd0e9b022"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: extenderPlugin.OnSessionOpen: MethodTooLong \u2014 OnSessionOpen runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/extender/extender.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be9b991a52bdd370de65a38992c759723a23d72250f69e3408cbfb5c550432e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Resource: ClassTooLong \u2014 409 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods, 31 blocks, lines 60-1009. The bar is 400 significant lines; this is 9 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/resource_info.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a6b4f3f78fd1bbafa8a996bc3e3252a35ab30e5672493e5cddf9b9d610ac56"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vgpu.checkNodeGPUSharingPredicateAndScore: FunctionTooLong \u2014 checkNodeGPUSharingPredicateAndScore runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/utils.go"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"820816200ea60250db122bda23a2506cc09e2d394217d1b2ded1a1183ea4f6a1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: gangPlugin.OnSessionOpen: MethodTooLong \u2014 OnSessionOpen runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/gang/gang.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cc8593a3e6798dda3b96a41116fe60400fc38f4c7c94708e76c25ba6a83965"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: network-topology-aware/network_topology_aware.go: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: networkTopologyAwarePlugin (19 blocks, 68-843). The bar is 500 significant lines; this is 1 over it, 1.00\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79753d72a83a4cc2602de7ce4a24da8fe5857a00bbf8f93698459b36efc47afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 45 shared lines): cmd/agent-scheduler/app/server.go:50-134 | cmd/controller-manager/app/server.go:50-134 | cmd/scheduler/app/server.go:54-152 \u2014 These 3 members are variants of one another: a block of 45 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/agent-scheduler/app/server.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20bfa44999f2b6bfa4e531fd69c82a5efa5a0dbf3ed39ec3059c76c9256d44b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (38 shared lines): pkg/scheduler/actions/gangpreempt/gangpreempt.go:189-259 | pkg/scheduler/actions/gangreclaim/gangreclaim.go:194-258 \u2014 These two members are variants of one another: 38 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":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa457150d8c6ce33f468fba8f57b1b063623a0172c8aafd83c68f314589b8377"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (19 shared lines): pkg/cli/job/list.go:137-178 | pkg/cli/vjobs/view.go:326-373 \u2014 These two members are variants of one another: 19 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":"pkg/cli/job/list.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce309f8c43ee36df87f6fce9b0063d770da3395d4f108518da65facdbdd7abbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): pkg/scheduler/api/job_info.go:628-654 | pkg/scheduler/api/pod_info.go:176-202 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"8168619af830a82d2540376cd1203a924fea83fcc5af0bedb0a24da159b7735e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): cmd/agent-scheduler/app/options/options.go:150-169 | cmd/controller-manager/app/options/options.go:181-200 | cmd/scheduler/app/options/options.go:249-268 | cmd/webhook-manager/app/options/options.go:135-153 \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":"cmd/agent-scheduler/app/options/options.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb1e9dd6ac833c9fbdd771ec8b2522701f91e56fc0098e36a647f0aa4f64739"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/agentscheduler/cache/cache.go:405-560 | pkg/agentscheduler/cache/cache_mock.go:126-156 | pkg/scheduler/cache/cache.go:685-944 | pkg/scheduler/cache/cache_mock.go:169-207 \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":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42c8237ec2224b3d6f8e55006212e211df1a8e935b5c3570cf7a078281f3e37"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/webhooks/schema/schema.go:53-71 | pkg/webhooks/schema/schema.go:73-91 | pkg/webhooks/schema/schema.go:93-111 | pkg/webhooks/schema/schema.go:198-216 \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":"pkg/webhooks/schema/schema.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cba33ee3ed921994e347099bc2d392e7c68948b6e4086df445280c64d1f1d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): cmd/agent-scheduler/app/options/options.go:83-125 | cmd/scheduler/app/options/options.go:172-227 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"cmd/agent-scheduler/app/options/options.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0423e2623c529442f14b8f64cc36d66e543a26d026b49332a473762dcc57655"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): pkg/scheduler/framework/statement.go:151-216 | pkg/scheduler/framework/statement.go:258-327 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"pkg/scheduler/framework/statement.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb102ee1f7f6f61cb2098da98c4ebf06d33a2f447170b4e118239c808d20a17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): pkg/scheduler/actions/allocate/allocate.go:259-340 | pkg/scheduler/actions/utils/simulate.go:158-211 \u2014 These two members are one piece of code written twice and then edited apart: 54 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":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c805a2497751d3010964513c841761f8fa6a37edc31816ff54ea6796f5557ec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): pkg/cli/jobflow/delete.go:58-120 | pkg/cli/jobtemplate/delete.go:58-120 \u2014 These two members are one piece of code written twice and then edited apart: 63 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":"pkg/cli/jobflow/delete.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ca248cc9f97a16d7fd2f0734f209e44fca6373350ea4571e984d6132922056"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): pkg/scheduler/actions/gangpreempt/gangpreempt.go:79-139 | pkg/scheduler/actions/gangreclaim/gangreclaim.go:79-141 \u2014 These two members are one piece of code written twice and then edited apart: 61 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":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a0792b36bdfd7109bd81c912b3e60d656bd91f7a85c08bee39017c5e646d45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): pkg/controllers/job/job_controller_handler.go:151-216 | pkg/controllers/job/job_controller_handler.go:337-412 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"pkg/controllers/job/job_controller_handler.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0736f5d85226d18eb923f6a3e98bc3f8c3afc7507530f1d61092d1cd0782b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): pkg/scheduler/actions/gangpreempt/gangpreempt.go:143-187 | pkg/scheduler/actions/gangreclaim/gangreclaim.go:145-192 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cbaed809bae2d1c74bddfa037e00c2fe9530619fd12e17c3c23e6bf79ad024"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): pkg/agentscheduler/cache/cache.go:621-655 | pkg/scheduler/cache/cache.go:1108-1140 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"422a39dabf330003216f3963f45e5a486e425e86002d6ba62cefd232ddd835ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): cmd/agent-scheduler/main.go:44-91 | cmd/scheduler/main.go:46-93 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/agent-scheduler/main.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"54009986170e1d209be91ee11d8826b4edf6019cf0022ce392d981fa4a2a4037"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): pkg/controllers/jobflow/jobflow_controller.go:89-133 | pkg/controllers/jobtemplate/jobtemplate_controller.go:83-121 \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":"pkg/controllers/jobflow/jobflow_controller.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5c248cb67574989ce2750f596e01fb5dbf480626229b55a7d74c1faa4af979"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): pkg/controllers/job/plugins/svc/svc.go:219-254 | pkg/controllers/job/plugins/svc/svc.go:257-303 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"pkg/controllers/job/plugins/svc/svc.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"123191b7c0a5ee9c8051bdbd27350fe798383d4c1f41b93440665ea07490b42a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): pkg/scheduler/api/pod_info.go:82-129 | pkg/scheduler/api/pod_info.go:131-173 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"pkg/scheduler/api/pod_info.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dec4a4d60c6ca9b82136e7e9352c09a1d8cbca94fc51436e02cc8f17dabd37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): pkg/agentscheduler/scheduler.go:217-267 | pkg/scheduler/scheduler.go:178-226 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"pkg/agentscheduler/scheduler.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"752d1d9b138a4c5a39d6ca4f4921bb12f6785ea817652f47e0341e8be5dee1f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): pkg/cli/jobflow/describe.go:57-102 | pkg/cli/jobtemplate/describe.go:57-102 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobflow/describe.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"998ac2fc847c7f1b3f45bd90764f2daf7b6327005bf56d3151a9e6927787a495"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): pkg/networkqos/cni/config.go:54-99 | pkg/networkqos/cni/config.go:101-144 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"pkg/networkqos/cni/config.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe74bccd136668ff31b53be095067f1845ff420e39f57467227c25974ae81cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): pkg/cli/jobflow/create.go:51-92 | pkg/cli/jobtemplate/create.go:51-93 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"pkg/cli/jobflow/create.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3acdfec5fff79128cde201ded46a2df9ed2129f6f82f6ac4d80793b9c6f60b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/scheduler/api/devices/nvidia/vgpu/metrics.go:99-114 | pkg/scheduler/api/devices/nvidia/vgpu/metrics.go:116-138 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/metrics.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f41e059b8afc77971b422a4b8cf14f27dd87a1e010fa8ae63b81545bff568da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): pkg/scheduler/api/cluster_info.go:48-92 | pkg/scheduler/cache/cache.go:1749-1790 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"pkg/scheduler/api/cluster_info.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57bf1fa471fb3fedb79e2a3e2e8538d09354116e458d96bf0a494cb7154d53c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): pkg/scheduler/framework/session.go:736-772 | pkg/scheduler/framework/session.go:775-825 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session.go"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"627b45f3f6ff4e0971ac81b6ea042ba8cd0a6e29b4ae948ac2df2a853c732ad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): pkg/controllers/apis/job_info.go:125-160 | pkg/controllers/apis/job_info.go:163-201 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"pkg/controllers/apis/job_info.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"2461ef4fe7a3ba5fe2295256fbb5c6481c741155a98dc8e6de7ed126ed7c51a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): pkg/scheduler/uthelper/helper.go:261-297 | pkg/scheduler/uthelper/helper.go:300-338 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/uthelper/helper.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e01cd334b5f79401eb5adbd86fc7ba42a8b95a9724611f73bbb8bd6b6d0bad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/cli/job/run.go:54-66 | pkg/cli/vsub/run.go:69-88 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/run.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9238bb0f548867e02d3eabadc100a54dfabfbe40b6c75890b291f122f4d7dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): pkg/webhooks/admission/cronjobs/validate/admit_cronjob.go:80-112 | pkg/webhooks/admission/jobs/validate/admit_job.go:86-118 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/cronjobs/validate/admit_cronjob.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1cc363fb3528caa26455bb993a808f06a4b146d46689aacabda4f564b4e7fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): pkg/scheduler/api/node_info.go:536-572 | pkg/scheduler/api/node_info.go:575-606 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/node_info.go"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e28ae40b24629693853d3e8943b5c9c2fe4960b9a29910ce65644311843c3cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): pkg/controllers/queue/queue_controller_action.go:115-143 | pkg/controllers/queue/queue_controller_action.go:145-173 \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":"pkg/controllers/queue/queue_controller_action.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c323e5f70d8bd3e1a89d6e920a1b8020eacc2cc5af8d5eb97ff0c025d0143c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 36\u002B corresponding lines): pkg/controllers/queue/state/closing.go:28-63 | pkg/controllers/queue/state/open.go:28-63 | pkg/controllers/queue/state/unknown.go:28-63 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 36 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":"pkg/controllers/queue/state/closing.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6164d268a31a131c855c5e775cbdab4e4f2869c56fde062d0859d4fa388a01b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): pkg/cli/job/run.go:71-114 | pkg/cli/vsub/run.go:125-164 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/run.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0824485f654ebb46c43876f4b5bf2836f8b79dc8e6e36d2a96b3e36d1cd74f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): pkg/cli/job/run.go:138-175 | pkg/cli/vsub/run.go:166-213 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/run.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f96bb70da4ad78bf5fe5f070d0a8c4dae7c62e3095dff203967dee1266ef60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): pkg/scheduler/api/devices/ascend/hami/device_info.go:178-205 | pkg/scheduler/api/devices/ascend/hami/device_info.go:222-249 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"pkg/scheduler/api/devices/ascend/hami/device_info.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2d7046335c9c9d5e214eb914177712ecfc5211220ce1129922c445371a8c97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): pkg/scheduler/plugins/binpack/binpack.go:94-158 | pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:169-216 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/binpack/binpack.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b383407297f05dc69e406520f05f92e8f3b5fb762e47265264b2c1358494a78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_info.go:91-123 | pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_info.go:126-162 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_info.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6776d69602d23e857eaa8fccffc7d6bf5360a0e1eb9e7a3bbf0dcc12a22963d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/agentscheduler/cache/cache.go:222-241 | pkg/scheduler/cache/cache.go:245-269 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16a04d471cdcf0d553fcd18cafd5237132e12652419c1fe6c4a50aee8a6b8fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): pkg/scheduler/plugins/binpack/binpack.go:206-246 | pkg/scheduler/plugins/resource-strategy-fit/sra.go:94-127 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/binpack/binpack.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a63d8a78d052b8214bf9b3f479496cad6b6fd4dc2f5712ae98d3df94638a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): pkg/agent/events/handlers/cpuqos/cpuqos_linux.go:56-81 | pkg/agent/events/handlers/memoryqos/memoryqos_linux.go:57-82 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/cpuqos/cpuqos_linux.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bab1e9c46af65c8e54cddf22aac46c14880722ea9fd4778f70a7873cf91f81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): pkg/scheduler/api/pod_info.go:255-280 | pkg/scheduler/api/pod_info.go:282-307 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/pod_info.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb6da093f7bb3439d295ee6fd57416f929e67993430e5c7de81fadc98775ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): pkg/scheduler/api/resource_info.go:636-672 | pkg/scheduler/api/resource_info.go:777-813 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/resource_info.go"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfaa89f59e3119e5a7d94969734bf1366c63b083a0862760283ea08cf3f956b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 38\u002B corresponding lines): pkg/scheduler/framework/session_plugins.go:235-281 | pkg/scheduler/framework/session_plugins.go:284-331 | pkg/scheduler/framework/session_plugins.go:335-372 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 38 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":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ee89e4f0462abed466e973e7dc7c4b19aeddc482d05351ca1dabec9b2c1173"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/scheduler/actions/utils/bundle.go:248-267 | pkg/scheduler/actions/utils/bundle.go:269-292 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/utils/bundle.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"37de9838f03e9f89fb3943133908b11da1b55b5686adb15af0109dc30ec407e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): pkg/cli/queue/util.go:34-59 | pkg/cli/util/util.go:94-118 | pkg/cli/util/util.go:121-147 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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":"pkg/cli/queue/util.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a2a60c4afc4d7e33061ad53f2545c11e04012af122a4a9c3bc175493c830de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): pkg/controllers/jobflow/jobflow_controller.go:179-208 | pkg/controllers/jobtemplate/jobtemplate_controller.go:167-191 | pkg/controllers/queue/queue_controller.go:222-250 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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":"pkg/controllers/jobflow/jobflow_controller.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e25f3fd0a3f9626418f44106100794bfa86f6394ee0774a99c919ae8a6236dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): pkg/scheduler/framework/util.go:66-95 | pkg/scheduler/framework/util.go:98-122 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/util.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5efa1a992ffabe3ba6cbedcfa56d9fa193ffb4d026513f3a7f19484190d980"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): pkg/agentscheduler/framework/plugins.go:173-198 | pkg/scheduler/framework/session_plugins.go:1087-1112 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/framework/plugins.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"75be91a6402c5d4e2420a8e24d3465ab9e67ea08e1dbde80d9a8f5e498c8c07b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go:152-178 | pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go:181-207 \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":"pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd848c8f36ce096079ad90305122736748c10e2a91f1743e712ba777ed6dcfdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): pkg/agentscheduler/cache/cache.go:891-914 | pkg/scheduler/cache/cache.go:1560-1585 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f2e6d57fa5a1297f0403fc67dffc75187d82c51cc20774e0a5e3c5c9af65c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/agentscheduler/cache/cache.go:917-936 | pkg/scheduler/cache/cache.go:1588-1606 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d32fecc3ec3f6f58b9e6bb1e94f8c31a6baec6d0c6d8717ea35a75b9e569c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/agentscheduler/cache/dumper.go:44-62 | pkg/scheduler/cache/dumper.go:45-63 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/dumper.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7a13868d52d5bb05159a3e3bb08f8cdc6cb2da4a9d3c34e49e393e75bb91dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): pkg/agent/utils/testing/pod.go:64-84 | pkg/agent/utils/testing/pod.go:86-106 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/testing/pod.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8999b892170ec486dda7db6d53267fcb90a744d50261122ad48128239e60e8fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/controllers/job/plugins/distributed-framework/mpi/mpi.go:66-81 | pkg/controllers/job/plugins/distributed-framework/tensorflow/tensorflow.go:59-76 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/plugins/distributed-framework/mpi/mpi.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0912b7cdbb86f46668382819737cf474c9254f1a84d5ba62d57cac838aa30fdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): pkg/agentscheduler/cache/cache.go:939-959 | pkg/scheduler/cache/cache.go:1609-1629 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf1449f790b4e23648031975a3737d5b575224c18989a4c28758b5a34f4be98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): pkg/scheduler/api/resource_info.go:681-708 | pkg/scheduler/api/resource_info.go:854-885 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"pkg/scheduler/api/resource_info.go"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a15b0a1b0a8bc425319625e145745e0b5050fb3dffb97e2398e0812dc88ce25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): pkg/scheduler/framework/statement.go:225-255 | pkg/scheduler/framework/statement.go:348-374 \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":"pkg/scheduler/framework/statement.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f3ccc48b7f80046d2693f4721d93b4fa30b8a10a06da464b5ca5963afcaf76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): pkg/cli/job/view.go:64-86 | pkg/cli/vjobs/view.go:105-127 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/view.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e666cf384901b0518ec96f22dea29f88292b21089e4ef14232f499daa2f8d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/scheduler/plugins/usage/usage.go:413-423 | pkg/scheduler/plugins/usage/usage.go:425-436 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/usage/usage.go"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ef8ec3252f3ef8b0f49079a6cd81c49308e843130e4308a4118c275b6789ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): pkg/webhooks/admission/podgroups/mutate/mutate_podgroup.go:69-102 | pkg/webhooks/admission/podgroups/validate/validate_podgroup.go:63-91 | pkg/webhooks/admission/queues/mutate/mutate_queue.go:67-100 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 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":"pkg/webhooks/admission/podgroups/mutate/mutate_podgroup.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea88400baed1221d631a0c5ee362199434a195c91e10e263481f8b1b57a7cc32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/scheduler/plugins/util/nodelock/nodelock.go:90-109 | pkg/scheduler/plugins/util/nodelock/nodelock.go:111-130 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/util/nodelock/nodelock.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95e8b3cddf5770dd396a2f3af14cc6f8abdb4163368e05865b110c89a096feb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): pkg/scheduler/api/devices/nvidia/vgpu/device_info.go:189-214 | pkg/scheduler/api/devices/nvidia/vgpu/device_info.go:247-271 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/device_info.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6667d65220eb5b3426a9a64298fc1f0ae37bd7ab1fd5253897cd480842a488"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): pkg/agentscheduler/framework/plugins.go:201-221 | pkg/scheduler/framework/session_plugins.go:1138-1158 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/framework/plugins.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fac7e8cd7b1d8040fb7bd47d159b6e3222c5b2f3ab9bcce67b21f3de95e1838"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): pkg/scheduler/plugins/proportion/hintprovider/hint_provider.go:107-132 | pkg/scheduler/plugins/util/hintutil/hintutil.go:164-197 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/proportion/hintprovider/hint_provider.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b23d6b3188ca87410f141235dd19cdf32dccd26e9f55812df0153a217426bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/cli/queue/get.go:89-102 | pkg/cli/queue/list.go:120-137 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/queue/get.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8057921f3e961ecf4878a837bc46541baa2c67bcc2fe3eab1b17b8b05f1a574a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): pkg/scheduler/api/job_info.go:1222-1252 | pkg/scheduler/api/job_info.go:1255-1277 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ba8cf9c75c2f3e60e779dd86888f57cc09d7050c6fcad23bb0ee19cf231eae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): pkg/scheduler/plugins/binpack/binpack.go:59-81 | pkg/scheduler/plugins/resource-strategy-fit/sra.go:37-59 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/binpack/binpack.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d456b0ec1d5d138a6803d901881965d528be36451aebded55c34d29999e5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): pkg/controllers/jobflow/jobflow_controller.go:210-226 | pkg/controllers/jobtemplate/jobtemplate_controller.go:193-209 | pkg/controllers/queue/queue_controller.go:252-268 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/jobflow_controller.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c76493cb6f5084238eb8e21abd355c25b88ed23506e7800f1b8ea2997330aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 29\u002B corresponding lines): pkg/scheduler/api/resource_info.go:403-434 | pkg/scheduler/api/resource_info.go:439-473 | pkg/scheduler/api/resource_info.go:565-593 | pkg/scheduler/api/resource_info.go:598-629 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 29 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/resource_info.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"070f8611f5856f8509a36ccaab1648c23c2a1fdf0badacafd3bdfadd57414ad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): pkg/controllers/namespacequeue/namespacequeue_controller_handler.go:355-383 | pkg/controllers/namespacequeue/namespacequeue_controller_handler.go:400-427 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"pkg/controllers/namespacequeue/namespacequeue_controller_handler.go"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab752b5ee10c96a07b8ee0a904d3809b70e8e447812eac75817ddc534590a4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/scheduler/framework/session_plugins.go:1161-1179 | pkg/scheduler/framework/session_plugins.go:1182-1200 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"12551f997783e236ea07c36db1c34490ff9fd2175817a3717c16af604bb8d432"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/cli/vqueues/get.go:95-109 | pkg/cli/vqueues/get.go:135-147 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/vqueues/get.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abc0217c65d1717e4a01db2d3a513012708f9e0a553f834328e959be86e2340"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): pkg/controllers/job/job_controller_plugins.go:30-46 | pkg/controllers/job/job_controller_plugins.go:48-68 | pkg/controllers/job/job_controller_plugins.go:70-90 | pkg/controllers/job/job_controller_plugins.go:92-112 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_plugins.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad9e8ad3eb4ee4a929e7146f8b96bd8d06cc5df35d46707e397a145c24d09fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/scheduler/actions/utils/simulate.go:382-401 | pkg/scheduler/actions/utils/simulate.go:403-423 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/utils/simulate.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc4e24750e6e3363e58b5e781263806837dce316b40520cf622980086cf6b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 22\u002B corresponding lines): pkg/webhooks/admission/cronjobs/validate/admit_cronjob.go:56-78 | pkg/webhooks/admission/jobflows/validate/validate_jobflow.go:44-65 | pkg/webhooks/admission/jobs/mutate/mutate_job.go:53-82 | pkg/webhooks/admission/jobs/validate/admit_job.go:60-83 | pkg/webhooks/admission/namespacequeues/validate/validate_namespacequeue.go:44-67 | pkg/webhooks/admission/podgroups/mutate/mutate_podgroup.go:39-66 | pkg/webhooks/admission/podgroups/validate/validate_podgroup.go:38-60 | pkg/webhooks/admission/queues/validate/validate_queue.go:51-74 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 22 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/cronjobs/validate/admit_cronjob.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5396cda950d438b03c2cf097c4a36a5cc498f02161bb2745af36e9a6c40e0f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): pkg/controllers/cache/cache.go:239-260 | pkg/controllers/cache/cache.go:262-288 \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":"pkg/controllers/cache/cache.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1542be9f9cd23f418f925941cf005cee2a904b340cf0fe58e4d10b3f185ccff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): pkg/scheduler/api/devices/util.go:124-147 | pkg/scheduler/api/devices/util.go:185-208 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"pkg/scheduler/api/devices/util.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"80748824260853eca87b215e7e974fe5ea06103272c4f0adf6b6ec420b841da5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): pkg/scheduler/framework/session_plugins.go:707-730 | pkg/scheduler/framework/session_plugins.go:793-816 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"5378b439b853b3e8221118568543cc04f0ef4eee688c8f4818d4d87244273085"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/cli/job/list.go:84-92 | pkg/cli/vjobs/view.go:94-102 \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":"pkg/cli/job/list.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a391895a5e74c18f3d07d4213228d4b1c93deaad65f862791fe103d0e50a902"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/cli/jobflow/list.go:90-111 | pkg/cli/jobtemplate/list.go:77-96 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobflow/list.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6295f1df88468abc6d19c4b4423a2c2d26f276a4f78b1ce11581ac696a6fe605"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): pkg/scheduler/framework/statement.go:82-110 | pkg/scheduler/framework/statement.go:123-148 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/statement.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"835b3eee8936bbbedd383cbdb443f325b4904a77627c3941f2eca1f6000b9596"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): pkg/scheduler/plugins/capacity/capacity.go:356-379 | pkg/scheduler/plugins/capacity/capacity.go:392-415 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f715f041aef34c8e36d709580801b5479ca86d30358dc0047a3aba03f67c45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/agentscheduler/cache/event_handlers.go:419-436 | pkg/scheduler/cache/event_handlers.go:770-788 \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":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c72bae66fcd4bdff10bbc0bb8d55ba0331f25b6eccf9cd7f8e5453e80ed20de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/agent/utils/cgroup/cgroup.go:462-479 | pkg/agent/utils/cgroup/cgroup.go:481-500 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/cgroup/cgroup.go"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"268e6c4254743c38c40dbffab07b9af03f3cf119a78cfd4e1e7f4b094a14e44a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): pkg/webhooks/schema/schema.go:114-132 | pkg/webhooks/schema/schema.go:135-153 | pkg/webhooks/schema/schema.go:156-174 | pkg/webhooks/schema/schema.go:177-195 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/schema/schema.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5986507dabd4459162b7eadced8615b7859f29663c4af00f37fdd9b6e1a20a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/networkqos/throttling/throttling.go:212-221 | pkg/networkqos/throttling/throttling.go:223-232 \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":"pkg/networkqos/throttling/throttling.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2a7d7d4db86f0b9a379b58ec689336dd2d428d843e490769dc73e92cff6bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/scheduler/cache/util.go:73-95 | pkg/scheduler/cache/util.go:114-133 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/util.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfb8a7563b477bf74ee4c3face8238f42a5daf516527228e53185e06ba3ff89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/cli/job/delete.go:48-66 | pkg/cli/vcancel/cancel.go:49-67 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/delete.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1696efdbdb5aac523284730fb89ab2ac39dc08fdecb7ef5cb9839e7adf15abfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): pkg/cli/jobflow/get.go:52-72 | pkg/cli/jobtemplate/get.go:52-72 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobflow/get.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f059599cc65e86650436945439fcdd2242cb4f2d7130042d0721231298b354"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/controllers/namespacequeue/namespacequeue_controller.go:219-241 | pkg/controllers/sharding/sharding_controller.go:374-393 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/namespacequeue/namespacequeue_controller.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ebf213570b30853f6b1655f72aa9d0c3c421720e9ac5bdf615d7d5e6f19334"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): pkg/cli/jobflow/list.go:65-87 | pkg/cli/jobtemplate/list.go:56-74 | pkg/cli/vjobs/view.go:302-323 | pkg/cli/vqueues/get.go:73-92 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobflow/list.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9705d1d8d33be6edd44c823170a6b15dcf761ffe1f4e03a4a9ac5474318f85fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/scheduler/plugins/predicates/hintprovider/resource_fit_provider.go:123-140 | pkg/scheduler/plugins/predicates/hintprovider/resource_fit_provider.go:184-201 \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":"pkg/scheduler/plugins/predicates/hintprovider/resource_fit_provider.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"340a12b1d3eee5d7b75f307bcf079e30017e683040ffb3992619328ca63e03be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/controllers/namespacequeue/namespacequeue_controller_handler.go:309-332 | pkg/controllers/queue/queue_controller_handler.go:47-66 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/namespacequeue/namespacequeue_controller_handler.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbda10655eb50aad7d81f9474a26db70c88dd7f9126f996dc49314a25f90f8fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): pkg/scheduler/cache/event_handlers.go:1364-1385 | pkg/scheduler/cache/event_handlers.go:1628-1650 \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":"pkg/scheduler/cache/event_handlers.go"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"81323e1e125daa157f4b15ce91a0c3959e691476979f55d2ed71cca28eb72739"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): pkg/cli/job/list.go:35-81 | pkg/cli/vjobs/view.go:39-91 \u2014 These two members are one piece of code written twice and then edited apart: 47 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":"pkg/cli/job/list.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb611aa4143415b20b5eee9870a6184de06267c1058f310689f4810a0bb12eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/scheduler/framework/session.go:827-843 | pkg/scheduler/framework/statement.go:329-345 \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":"pkg/scheduler/framework/session.go"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf57099fd9de4d3dfb886fee393b6f86c9fed1ebd360177631a623636dc9bb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): pkg/scheduler/framework/session_plugins.go:461-493 | pkg/scheduler/framework/session_plugins.go:518-546 \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":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"5937e0facae802a96ef91c48c154ca17b609d0a0d06073f9f9bf75573d51b229"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): pkg/controllers/garbagecollector/garbagecollector.go:96-115 | pkg/controllers/namespacequeue/namespacequeue_controller.go:184-204 | pkg/controllers/queue/queue_controller.go:175-198 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 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":"pkg/controllers/garbagecollector/garbagecollector.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc137e407b458694f5741f74a3d26fd6f3126cbbb42e5d5e92f3fca6e8bf85d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/scheduler/framework/session_plugins.go:949-966 | pkg/scheduler/framework/session_plugins.go:969-986 \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":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfc72077518d2e90e2671a78d8c44384cde20546f6669e5a9477c2e494d79bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/agent/events/probes/nodemonitor/node_monitor.go:190-203 | pkg/agent/events/probes/nodemonitor/node_monitor.go:205-217 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/probes/nodemonitor/node_monitor.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1067620940f0deb77fd5d544a2ab72ad9271b0beb4fa1279f1a27e2fcab9853a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/controllers/job/plugins/distributed-framework/mpi/mpi.go:170-189 | pkg/controllers/job/plugins/distributed-framework/pytorch/pytorch.go:323-340 \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":"pkg/controllers/job/plugins/distributed-framework/mpi/mpi.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec6d40fe66d2f91143fbc806c276d1e7c542833f15ed778a14bb628030d39f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): cmd/network-qos/tools/get.go:41-59 | cmd/network-qos/tools/prepare.go:40-61 | cmd/network-qos/tools/reset.go:40-58 | cmd/network-qos/tools/set.go:37-57 | cmd/network-qos/tools/status.go:39-57 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/network-qos/tools/get.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7bb3eda35ca6ba9c6d54ac2b82ce9e85e1c06ce17072ecf4ed83c6979ff5d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go:110-128 | pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go:131-149 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"21584420ec9c99a7e6c8553e156e64466a84768a9df71ddc59c5308b82866a4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/webhooks/admission/podgroups/validate/validate_podgroup.go:94-108 | pkg/webhooks/admission/podgroups/validate/validate_podgroup.go:110-119 \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":"pkg/webhooks/admission/podgroups/validate/validate_podgroup.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3658c675f83eeba9b832fc32c20ba121c9cdd4ec5c05429271ecf5cf122e1ee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/scheduler/api/job_info.go:657-675 | pkg/scheduler/api/pod_info.go:205-221 \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":"pkg/scheduler/api/job_info.go"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"528e49b08fba93fd4a83ce2a0589cbc2ff3db7c4d807e942a64d8e7437cfda4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 20\u002B corresponding lines): pkg/agentscheduler/framework/plugins.go:127-146 | pkg/agentscheduler/framework/plugins.go:149-170 | pkg/scheduler/framework/session_plugins.go:1037-1056 | pkg/scheduler/framework/session_plugins.go:1059-1080 | pkg/scheduler/framework/session_plugins.go:1115-1135 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/framework/plugins.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3e11f96a2eaef2c7d9ee3558b9ec3e4995f940107173b26991f87c5356687d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): pkg/networkqos/utils/ebpf/map.go:89-109 | pkg/networkqos/utils/ebpf/map.go:111-128 | pkg/networkqos/utils/ebpf/map.go:130-147 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 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":"pkg/networkqos/utils/ebpf/map.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"28be675db5ae16fe294e8ba0f5ddc2f63d51f80fa1503a0447ed6bd52d89f59b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/scheduler/plugins/group-topology-affinity/group_topology_affinity.go:347-366 | pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:733-753 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/group-topology-affinity/group_topology_affinity.go"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b20f3436de7f912fc076864288423e2a5f237261444acc67cab570e6f4a507"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/cli/job/list.go:180-193 | pkg/cli/vjobs/view.go:375-388 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/list.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c16b0bef2f4d22a39b49da8e8608b9883bfcb4da21a80b01028d69c27d0d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/scheduler/api/job_info.go:1294-1308 | pkg/scheduler/api/job_info.go:1310-1330 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4260bb20f7c800af148f28ba415b7443534b3077773be1ffb663d4911346b6e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/scheduler/uthelper/helper.go:340-354 | pkg/scheduler/uthelper/helper.go:357-370 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/uthelper/helper.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a97aec2111c312f08456ba206e4114198bac41b005c8b1512f184d293c515c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 16\u002B corresponding lines): cmd/cli/vcancel/main.go:28-43 | cmd/cli/vjobs/main.go:28-43 | cmd/cli/vqueues/main.go:28-43 | cmd/cli/vresume/main.go:28-43 | cmd/cli/vsub/main.go:28-43 | cmd/cli/vsuspend/main.go:28-43 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/vcancel/main.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d23961dacc99ef9b01318148c37a61d9de76c363fb521b489de6156b3e158d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/scheduler/plugins/capacity/capacity.go:1664-1680 | pkg/scheduler/plugins/capacity/capacity.go:1683-1699 \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":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba1fce79cd7de3176f870e19f7cdcc78bf84c56b2b49779605df9862fa3f2ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): pkg/scheduler/plugins/predicates/hintprovider/resource_fit_provider.go:213-229 | pkg/scheduler/plugins/util/hintutil/hintutil.go:66-81 | pkg/scheduler/plugins/util/hintutil/hintutil.go:87-102 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 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":"pkg/scheduler/plugins/predicates/hintprovider/resource_fit_provider.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb03c31346238c246d6cd8943b2fdd18dbc8260e736b14e1e781970e4808f0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): pkg/agentscheduler/actions/allocate/allocate.go:267-275 | pkg/scheduler/actions/allocate/allocate.go:1278-1291 | pkg/scheduler/actions/utils/simulate.go:284-291 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/actions/allocate/allocate.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a124feb3bae92235474dcb059be68d47a024065f5af3245110cab76349bcd793"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/controllers/colocationconfig/colocation_config_controller_handler.go:37-50 | pkg/controllers/colocationconfig/colocation_config_controller_handler.go:88-101 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/colocationconfig/colocation_config_controller_handler.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ef65acb1c6d295ae370f2689f40be451d129827db3ac4c229bb47577dc4d99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): pkg/controllers/jobflow/jobflow_controller.go:50-83 | pkg/controllers/jobtemplate/jobtemplate_controller.go:49-77 \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":"pkg/controllers/jobflow/jobflow_controller.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c27895babcde9126122c0e94b62b7eec9c6b307fbb50ccd0b519b1195995c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go:323-336 | pkg/scheduler/plugins/deviceshare/devices/ascend/310p/vnpu/init_policy.go:674-684 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d9ade2deba409144cf62409bccf4591c6527000898e5192890615fd25ab351"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/scheduler/api/topology_affinity_info.go:99-119 | pkg/scheduler/api/topology_affinity_info.go:121-138 \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":"pkg/scheduler/api/topology_affinity_info.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8869f37a3914e8eec1d56305c0700a1a6e7a89fd86f6472d212422fd6306c677"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/controllers/cronjob/cronjob_controller_handler.go:85-103 | pkg/controllers/hypernode/discovery/label/label.go:414-430 \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":"pkg/controllers/cronjob/cronjob_controller_handler.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41e31d96006bfe57e66cc8c0ba1d33b209d1e963471710b8bc95a01b4207ac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/metriccollect/local/local_collector.go:90-102 | pkg/metriccollect/testing/fake_local_collector.go:60-72 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/metriccollect/local/local_collector.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d634169ef14360253e32d65bd79b09910dc5876e66edfc01a45cf9fb96bded98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/scheduler/plugins/usage/usage.go:218-234 | pkg/scheduler/plugins/usage/usage.go:236-252 \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":"pkg/scheduler/plugins/usage/usage.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ab84c4e95fa56f3a13ffb8b8819a888ec20fcf1647b65659e3f1e583cb7516"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): pkg/agentscheduler/framework/plugins.go:84-102 | pkg/agentscheduler/framework/plugins.go:105-124 | pkg/scheduler/framework/session_plugins.go:890-907 | pkg/scheduler/framework/session_plugins.go:929-946 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/framework/plugins.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c089d3594fb6b60318d8ac1061d5c3dd310b6d7b385207c2a485a63eadaa01b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/scheduler/api/shared_device_pool.go:124-139 | pkg/scheduler/api/shared_device_pool.go:155-169 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/shared_device_pool.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5d6c55c2862c5e2bf56c7532be88a9035e0238ed78ffa22c52542ab758d39e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): pkg/scheduler/framework/session_plugins.go:735-752 | pkg/scheduler/framework/session_plugins.go:836-853 | pkg/scheduler/framework/session_plugins.go:1017-1034 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 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":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8249f2a78acaad505fb36f489e124c2f31c056fedf752186077725224a3a6bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): pkg/cli/jobflow/delete.go:50-55 | pkg/cli/jobflow/describe.go:49-54 \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":"pkg/cli/jobflow/delete.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11a8341de0ea9f27ec389e082c3ee7423915c1aef933628f61ea606285091f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): pkg/cli/jobtemplate/delete.go:50-55 | pkg/cli/jobtemplate/describe.go:49-54 \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":"pkg/cli/jobtemplate/delete.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c769b1eed6990e6cfb5a793c008224044bd2d53a51a2e06f12594ef2a2456d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/scheduler/cache/event_handlers.go:1490-1502 | pkg/scheduler/cache/event_handlers.go:1505-1520 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/event_handlers.go"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3c8a08ee0ba236f4d88cb69457fc093250f6354b777ff3890d69d86ab5131c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/cli/queue/create.go:43-50 | pkg/cli/queue/operate.go:56-63 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/queue/create.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8dc33a4b0388c41777b939358f7831e750d5576d5d95df005055d3d3af91c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/scheduler/cache/cache.go:1916-1927 | pkg/scheduler/framework/session.go:1001-1012 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/cache.go"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"179d0da7866e626715e67aab1e68cfc271e256c155829248eadfa711c0517bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/scheduler/util/scheduler_helper.go:195-210 | pkg/scheduler/util/scheduler_helper.go:213-228 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/util/scheduler_helper.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c332918efd792e196162b0ea8585ddb1722f1a4f0855d42220ad3b29ed307700"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/controllers/sharding/node_events.go:86-99 | pkg/controllers/sharding/pod_events.go:107-122 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/node_events.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9773f2b7b545d427d1a80f42490e7e196c1aebf7141d0032e61509c0c6b6cbc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/scheduler/framework/session_plugins.go:437-459 | pkg/scheduler/framework/session_plugins.go:496-514 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"56159132bf584d92606a49eb824358b0a92b42f4366ac0e8d137caf92991db30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/agent/events/handlers/memoryqosv2/memoryqosv2_linux.go:58-68 | pkg/agent/events/handlers/networkqos/networkqos_linux.go:56-67 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/memoryqosv2/memoryqosv2_linux.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba03c8eadb510e4f9db1eeb29b6589f445ce58ad30fc5250fb58636631425101"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/agentscheduler/cache/event_handlers.go:213-224 | pkg/agentscheduler/cache/event_handlers.go:226-242 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9287ca59c8e28604b33e83f51fade90d6a333310a73d9655e7a750e73639f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/agentscheduler/cache/event_handlers.go:462-474 | pkg/scheduler/cache/event_handlers.go:857-872 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ff589b333e9632b9703fdd65b67b87f9538d0c13c34750155b6672c7772556"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/scheduler/api/devices/device_info.go:105-113 | pkg/scheduler/api/devices/nvidia/vgpu/utils.go:102-110 \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":"pkg/scheduler/api/devices/device_info.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf123367d1b88a67368c52420f1f67cdfb9d4fa9a5de7dd52d6982ea9fc04e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/scheduler/plugins/capacity/capacity.go:1877-1893 | pkg/scheduler/plugins/proportion/proportion.go:583-598 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c17025d1211e8483d26f8d1dbcbba42dde03bd8ccba25bbd919cfdd6252888"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/controllers/hypernode/configmap_handler.go:70-78 | pkg/controllers/hypernode/configmap_handler.go:80-88 \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":"pkg/controllers/hypernode/configmap_handler.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c19c6151e1ffd04bd823d5b1e35590f4c32a221ddb4feba92282cf34a1484c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/scheduler/framework/session_dra_queue_status.go:65-81 | pkg/scheduler/plugins/capacity/capacity.go:312-324 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_dra_queue_status.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c430b0b2d99e902fc3fd1e992c2636c58b0995acff22a396d7e91c1225b1f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/controllers/cache/cache.go:112-129 | pkg/controllers/cache/cache.go:131-150 \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":"pkg/controllers/cache/cache.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f448151a90f3057f63f939de7cb9cf0d0c60ed61d6c9f07cfa0941c4b31fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/scheduler/api/job_info.go:1332-1340 | pkg/scheduler/api/job_info.go:1342-1350 \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":"pkg/scheduler/api/job_info.go"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53a91fc37c5b1287667000fcc47dd3b881a7d1f9264a5986a431bf9bdbd9a90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): cmd/network-qos/tools/root.go:34-49 | cmd/network-qos/cni/cni.go:38-52 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/network-qos/tools/root.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5161189ed7ab29108e6af0c3304efaf29d3f11b7cdf2ab1fd74f4ae48abe0b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): pkg/controllers/cronjob/cronjob_controller.go:131-143 | pkg/controllers/jobflow/jobflow_controller.go:135-151 | pkg/controllers/jobtemplate/jobtemplate_controller.go:123-139 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/cronjob/cronjob_controller.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d690c947b21aa5c51ff48646385ace7fc38a0b7f9ec3845b719d9aed21befa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/controllers/job/helpers/helpers.go:92-102 | pkg/controllers/job/plugins/distributed-framework/pytorch/pytorch.go:293-305 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/helpers/helpers.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f57aa1ef096b9b04ccf04e3abb770c93c20c2849e26010aa3e14877d6370927"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/controllers/namespacequeue/namespacequeue_controller_handler.go:334-351 | pkg/webhooks/router/queue_reference.go:45-55 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/namespacequeue/namespacequeue_controller_handler.go"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a35252f04cf8998fcd417fd078c9c6056e11ab2c8ae350ba5293143e571524"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/scheduler/framework/session_plugins.go:577-592 | pkg/scheduler/framework/session_plugins.go:819-833 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd39026b0213f8cffcd124e9dfa2e7b253508104508ad00f5f15547aaa3d7cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/agentscheduler/cache/cache.go:307-316 | pkg/scheduler/cache/cache.go:489-498 \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":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"846d711122acff02671f89df8cebbd4563b297e9b3ffcd2c5b5c54289bcb51d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/agentscheduler/scheduler.go:51-71 | pkg/scheduler/scheduler.go:52-70 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/scheduler.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca87372292ab147c4689b661de9a80aba35a2d494672159adecb0eaf146cda6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/scheduler/plugins/util/nodescore/score_helper.go:53-64 | pkg/scheduler/util/scheduler_helper.go:289-297 \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":"pkg/scheduler/plugins/util/nodescore/score_helper.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b08699a3c04c92c95a090bbedab50f3b6b3195c41facf505b5b312c453ff6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): cmd/cli/job.go:26-36 | cmd/cli/jobflow.go:26-36 | cmd/cli/jobtemplate.go:26-36 | cmd/cli/queue.go:26-37 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/job.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8ac794b553c70328a99e481eb0889650c476b6670cfc8b62b024c51bdb83e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/agentscheduler/cache/event_handlers.go:514-521 | pkg/scheduler/cache/event_handlers.go:1804-1811 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"f663257158443ffd202f25d77f634bf8e547edca2c1a4c4fc370acd063340c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/scheduler/framework/session.go:1025-1035 | pkg/scheduler/plugins/drf/drf.go:148-158 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session.go"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6a5c7fef40acbc61fccca1938aea77ccaeb3750df8ce5c808d605cfcb7d7fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/controllers/garbagecollector/garbagecollector.go:161-172 | pkg/controllers/queue/queue_controller.go:209-220 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/garbagecollector/garbagecollector.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2effd2cd12630d88f8a9a803a1670a83b05533f00608a0b7a760f8fe91458a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): pkg/controllers/jobflow/jobflow_controller.go:228-236 | pkg/controllers/jobtemplate/jobtemplate_controller.go:211-219 | pkg/controllers/queue/queue_controller_handler.go:179-187 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/jobflow_controller.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8216c8d6bf28426c5eecd2254ac921af2183578220061fa274f0ce78494847"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/agentscheduler/metrics/metrics.go:53-64 | pkg/scheduler/metrics/metrics.go:227-235 \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":"pkg/agentscheduler/metrics/metrics.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"019c1f18f6239564b53dc1c16267b9614987ea96772e9b0a42aebc022d41e3df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/agentscheduler/cache/event_handlers.go:506-512 | pkg/scheduler/cache/event_handlers.go:1796-1802 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"1347115f9a76b650dea4fda2e72581494ce29316b2f16cb792e9c2410f1d2fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/controllers/hypernode/configmap_handler.go:108-115 | pkg/controllers/hypernode/hypernode_handler.go:53-60 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/configmap_handler.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9a5ad78329b75bc9a267e5573c8e24b5b291975209b36c230a7b48e4000794"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/scheduler/plugins/capacity/capacity.go:132-141 | pkg/scheduler/util/test_utils.go:756-762 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a236861863de0c181bc04fa540352ae980456f6f7092802c9512204d144a22e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/controllers/garbagecollector/garbagecollector.go:146-154 | pkg/controllers/namespacequeue/namespacequeue_controller_handler.go:49-57 \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":"pkg/controllers/garbagecollector/garbagecollector.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a36820b99578099174e79b1bcc2307006a804b379fef42266b5d665b152239c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): pkg/agentscheduler/cache/cache.go:283-285 | pkg/controllers/cronjob/injection.go:44-48 | pkg/scheduler/cache/cache.go:366-368 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3005325cb35d5038cd843294fc4efeff52dcef1ae53d0cc3dad9eee24d9f5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/controllers/job/job_controller_util.go:300-306 | pkg/webhooks/admission/jobs/validate/util.go:125-132 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_util.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"30df197cb71a87cbb1226c4a5d3b09aa6de5a672f13c722b9a94ca2273602154"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): pkg/agentscheduler/actions/allocate/allocate.go:65-69 | pkg/scheduler/actions/allocate/allocate.go:139-142 | pkg/scheduler/actions/backfill/backfill.go:55-58 | pkg/scheduler/actions/reclaim/reclaim.go:52-55 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/actions/allocate/allocate.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"306b2b81fd64a713e258c39980a9d27cbae7f2ad87445a67a97407186144d958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (109 lines \u00D7 2): pkg/cli/job/view.go:90-198 | pkg/cli/vjobs/view.go:131-239 \u2014 \u0060pkg/cli/job/view.go\u0060 and \u0060pkg/cli/vjobs/view.go\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 176 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":"pkg/cli/job/view.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"638c82c841f64521306ec59484294029515697dbd915f593b45adbf318f8673c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201338 lines \u00D7 3): pkg/scheduler/framework/session_plugins.go:244-281 | pkg/scheduler/framework/session_plugins.go:294-331 | pkg/scheduler/framework/session_plugins.go:341-372 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/framework/session_plugins.go:244\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08978d85d8943eef6eea887786eed280aae4ec9eb4682ea8b5bd99716086b70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): pkg/cli/job/list.go:48-79 | pkg/cli/vjobs/view.go:58-89 \u2014 before extracting anything, compare \u0060pkg/cli/job/list.go\u0060 and \u0060pkg/cli/vjobs/view.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 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 \u0060pkg/cli/job/list.go:48\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":"pkg/cli/job/list.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0489b4ebd30db5e65d73258005d2f789d5b3a4c51100ecfcf305db3ba584ebcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201330 lines \u00D7 3): pkg/scheduler/plugins/capacity/capacity.go:1131-1159 | pkg/scheduler/plugins/capacity/capacity.go:1268-1293 | pkg/scheduler/plugins/proportion/proportion.go:156-185 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/plugins/capacity/capacity.go:1131\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":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4a05864083fb7a4a0cd9ba862728a09d43dd3848919fad70512e90d9ed25cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): pkg/agentscheduler/cache/cache.go:433-461 | pkg/scheduler/cache/cache.go:709-737 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/cache.go\u0060 and \u0060pkg/scheduler/cache/cache.go\u0060 as WHOLE FILES: this scan already matched 14 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. 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":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f89bcaec3e12b8d149da795b860e456684d7de4ceade2c06b038073603f34b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): pkg/agentscheduler/scheduler.go:235-262 | pkg/scheduler/scheduler.go:193-220 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/agentscheduler/scheduler.go:235\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/scheduler/scheduler.go:192\u0060 calls \u0060logLoadedSchedulerConf\u0060 and \u0060pkg/agentscheduler/scheduler.go:234\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":"pkg/agentscheduler/scheduler.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33851072be4c6fb1c87ad1d3931ac1224e8c2792b2ea55b52982d3145a2c51d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): pkg/scheduler/actions/gangpreempt/gangpreempt.go:88-115 | pkg/scheduler/actions/gangreclaim/gangreclaim.go:88-114 \u2014 \u0060pkg/scheduler/actions/gangpreempt/gangpreempt.go\u0060 and \u0060pkg/scheduler/actions/gangreclaim/gangreclaim.go\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 7 separate duplicated blocks between them, totalling at least 112 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 \u0060pkg/scheduler/actions/gangpreempt/gangpreempt.go:88\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":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c70f506c6c74e793a51e116a6df68b9d2700558825da56259df2b053a71790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): cmd/agent-scheduler/app/server.go:109-134 | cmd/controller-manager/app/server.go:109-134 | cmd/scheduler/app/server.go:127-152 \u2014 before extracting anything, compare \u0060cmd/agent-scheduler/app/server.go\u0060 and \u0060cmd/controller-manager/app/server.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 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 \u0060cmd/agent-scheduler/app/server.go:109\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"cmd/agent-scheduler/app/server.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b77fa1624f62f1a42621b9b964370207d6dee5a97b6bbe6d54d15bb065c0aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): pkg/agentscheduler/scheduler.go:282-307 | pkg/scheduler/scheduler.go:229-254 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/scheduler.go"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa59ddf2e9aae874b57bef536d12dabf1abcfd40ff92c8c491f348bfd7b7d06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): pkg/cli/job/view.go:211-236 | pkg/cli/vjobs/view.go:244-269 \u2014 \u0060pkg/cli/job/view.go\u0060 and \u0060pkg/cli/vjobs/view.go\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 176 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/view.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"708a732a450ed22171b7d651ac106ff2ffbd55fb6e770ac4fd52cf160c691994"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 2): pkg/scheduler/actions/allocate/allocate.go:262-286 | pkg/scheduler/actions/utils/simulate.go:159-180 \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":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"251dcfb96a26c6e8e5be4a7a341a659841f767f768bd1bf47e67385926f15fe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): pkg/scheduler/plugins/group-topology-affinity/group_topology_affinity.go:322-345 | pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:707-731 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/group-topology-affinity/group_topology_affinity.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"46745925d47ad938260e5c2bf6fb59a800f47900b0d1be9c856d5024f85afb32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): pkg/agentscheduler/cache/cache.go:865-888 | pkg/scheduler/cache/cache.go:1534-1557 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/cache.go\u0060 and \u0060pkg/scheduler/cache/cache.go\u0060 as WHOLE FILES: this scan already matched 14 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. 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"13808f031870cf7c1cb90c23eb45833c57caaa88a1706a57d9a42aab2b9db192"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): pkg/cli/job/run.go:139-162 | pkg/cli/vsub/run.go:176-199 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cli/job/run.go:139\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":"pkg/cli/job/run.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"323b8f69c71683796ec73a788adf03806a47ad166d37ab847b53b2a1ad412677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): cmd/agent-scheduler/app/server.go:71-93 | cmd/scheduler/app/server.go:89-111 \u2014 before extracting anything, compare \u0060cmd/agent-scheduler/app/server.go\u0060 and \u0060cmd/scheduler/app/server.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 68 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 \u0060cmd/agent-scheduler/app/server.go:71\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":"cmd/agent-scheduler/app/server.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b356f974f0f9b622b14a90a117d18a73e1854a072ece0cac6ff5138b6637531a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): pkg/agentscheduler/cache/event_handlers.go:264-286 | pkg/scheduler/cache/event_handlers.go:642-664 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/event_handlers.go\u0060 and \u0060pkg/scheduler/cache/event_handlers.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 114 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d4783995f9bfbaaad6f3a5a80ed597b5b659b73ed9b1996236b59e83fbc384"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): pkg/controllers/queue/state/closed.go:37-58 | pkg/controllers/queue/state/unknown.go:41-63 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/controllers/queue/state/closed.go:37\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/queue/state/closed.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1e63cbfead189202949b1976538caca7e177a7469c0ff5dc0e4f461df049ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): pkg/agentscheduler/cache/cache.go:259-280 | pkg/scheduler/cache/cache.go:338-359 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/cache.go\u0060 and \u0060pkg/scheduler/cache/cache.go\u0060 as WHOLE FILES: this scan already matched 14 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. 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/scheduler/cache/cache.go:361\u0060 calls \u0060podNominatedNodeNameNeedUpdate\u0060 and \u0060pkg/agentscheduler/cache/cache.go:283\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":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7193eb8d1c6e7bebf0997f0efb979d844c823474288e28ebb1f31ea91bd552be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): pkg/controllers/sharding/policy/arguments.go:42-63 | pkg/scheduler/framework/arguments.go:59-79 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/policy/arguments.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f75101865840464b8fe8ed65df82a7baaba667773e499b861feec68d1f0bafd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): pkg/scheduler/api/job_info.go:630-651 | pkg/scheduler/api/pod_info.go:178-199 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"16970ab303d2ea4d69ab436d13cb8f9471006f73d8efb97d13237267a43c1964"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): pkg/webhooks/admission/podgroups/mutate/mutate_podgroup.go:81-102 | pkg/webhooks/admission/queues/mutate/mutate_queue.go:79-100 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/webhooks/admission/podgroups/mutate/mutate_podgroup.go:81\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":"pkg/webhooks/admission/podgroups/mutate/mutate_podgroup.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ca351487e2754c25e957d33f657c7abe10dc5a49f874543c00266f067318cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): pkg/scheduler/uthelper/helper.go:266-286 | pkg/scheduler/uthelper/helper.go:395-415 \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":"pkg/scheduler/uthelper/helper.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b2726c170adfc2e8921ea9854abe9cc8bc49c05e1bec33e423ceedc84e8752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): pkg/agentscheduler/cache/cache.go:803-822 | pkg/scheduler/cache/cache.go:1443-1462 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/cache.go\u0060 and \u0060pkg/scheduler/cache/cache.go\u0060 as WHOLE FILES: this scan already matched 14 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. 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1ab7732b4874051b8f58185c26f1c95fbdfd1d00170ae04db06db4407d7b5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 4): cmd/agent-scheduler/app/options/options.go:151-169 | cmd/controller-manager/app/options/options.go:182-200 | cmd/scheduler/app/options/options.go:250-268 | cmd/webhook-manager/app/options/options.go:136-153 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/agent-scheduler/app/options/options.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa13dce7cff2bae5684add96889587cd7db20a3964687d0a2ad753bb12dd127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): pkg/scheduler/actions/gangpreempt/gangpreempt.go:157-175 | pkg/scheduler/actions/gangreclaim/gangreclaim.go:162-180 \u2014 \u0060pkg/scheduler/actions/gangpreempt/gangpreempt.go\u0060 and \u0060pkg/scheduler/actions/gangreclaim/gangreclaim.go\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 7 separate duplicated blocks between them, totalling at least 112 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 \u0060pkg/scheduler/actions/gangpreempt/gangpreempt.go:157\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":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e1c93e66bb040ac2cc938c27f42eb91ccd7612c7c5538692be8def5bb82f4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): pkg/scheduler/api/pod_info.go:107-125 | pkg/scheduler/api/pod_info.go:156-171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/api/pod_info.go:107\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/scheduler/api/pod_info.go:126\u0060 calls \u0060AddScalar\u0060 and \u0060pkg/scheduler/api/pod_info.go:172\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":"pkg/scheduler/api/pod_info.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"236a9bf91d1575a91acead63ff622acd4ca1977d81bfdebafe6bd1db17d8e4c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): pkg/cli/job/view.go:240-257 | pkg/cli/vjobs/view.go:273-290 \u2014 \u0060pkg/cli/job/view.go\u0060 and \u0060pkg/cli/vjobs/view.go\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 176 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/view.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d881cc558a6ca5a772fb58c735543efef65f647b5e0fae0038be3990235686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): pkg/controllers/cache/cache.go:240-257 | pkg/controllers/cache/cache.go:263-280 \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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/cache/cache.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94078fdc7753d1dc71ca34251946344d0e0200cc6797a2c0fa55853b02ae093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): pkg/controllers/job/job_controller_util.go:244-261 | pkg/controllers/job/job_controller_util.go:274-291 \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 \u0060pkg/controllers/job/job_controller_util.go:244\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":"pkg/controllers/job/job_controller_util.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7813500ba17e2e0ec5e5479eb39cd11b3494a98fc58e6531e604f71fae0d12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): pkg/scheduler/actions/allocate/allocate.go:1183-1199 | pkg/scheduler/actions/utils/simulate.go:323-340 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/actions/allocate/allocate.go:1183\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":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4299573cb7bc9f95dd29ca513ce05b04dc04d110cff59cc775ec2ffee7c2b1ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go:155-172 | pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go:184-201 \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 \u0060pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go:155\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":"pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2c20d10504000488974dad00fbd6182173cd2625af6b7c05aa97d9eb8a0da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): cmd/agent-scheduler/main.go:63-79 | cmd/controller-manager/main.go:89-104 | cmd/scheduler/main.go:65-81 \u2014 \u0060cmd/agent-scheduler/main.go\u0060 and \u0060cmd/scheduler/main.go\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 2 separate duplicated blocks between them, totalling at least 31 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 \u0060cmd/agent-scheduler/main.go:63\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":"cmd/agent-scheduler/main.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37a37303651b20e2ae6b80840af8ab73330419ceae547ef3de571577aa2b213"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): pkg/agentscheduler/actions/allocate/allocate.go:278-294 | pkg/scheduler/framework/session.go:675-691 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/actions/allocate/allocate.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5cf0185081fc788490fb20db10d6b676972036dde334e78568b706cdd568d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): pkg/agentscheduler/cache/cache.go:602-618 | pkg/scheduler/cache/cache.go:1021-1037 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/cache.go\u0060 and \u0060pkg/scheduler/cache/cache.go\u0060 as WHOLE FILES: this scan already matched 14 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. 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ad32348175ab855d9196d9ee9246f9ba63cbb10bd950e487afb8b76a41893e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): pkg/agentscheduler/cache/dumper.go:102-118 | pkg/scheduler/cache/dumper.go:130-146 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/dumper.go\u0060 and \u0060pkg/scheduler/cache/dumper.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/dumper.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d534fb5ba252e4bca36be778e245179f9d141882b7908a119bc8027cb79f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): pkg/controllers/job/job_controller_handler.go:250-266 | pkg/controllers/job/job_controller_handler.go:361-377 \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 \u0060pkg/controllers/job/job_controller_handler.go:250\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":"pkg/controllers/job/job_controller_handler.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ed50de9ac8bd7c39826a0780383ed2b54b6330fe4741fe981197c4c654703d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): pkg/scheduler/api/job_info.go:659-675 | pkg/scheduler/api/pod_info.go:206-221 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"5207fbaf8903ed8e3a43d930f203ebc16d17afdc9d0a517b2ec248e4f90e32bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): pkg/scheduler/plugins/numaaware/provider/cpumanager/cpu_mng.go:131-147 | pkg/scheduler/plugins/numaaware/provider/cpumanager/cpu_mng.go:164-180 \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":"pkg/scheduler/plugins/numaaware/provider/cpumanager/cpu_mng.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb72c1f1230b1531623eca751aaeaa9f485f93ee288abfbe52ad2b0e147d5707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): pkg/controllers/job/job_controller_handler.go:166-181 | pkg/controllers/job/job_controller_handler.go:257-272 | pkg/controllers/job/job_controller_handler.go:368-383 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/controllers/job/job_controller_handler.go:166\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":"pkg/controllers/job/job_controller_handler.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11b999cb512a48bf754f79abc1490fa70c765fbc2cb20473116ae44d121566a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): pkg/agentscheduler/cache/cache.go:289-304 | pkg/scheduler/cache/cache.go:471-486 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/cache.go\u0060 and \u0060pkg/scheduler/cache/cache.go\u0060 as WHOLE FILES: this scan already matched 14 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. 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1148b3ea7d8f47eb56d82ecfc5fae0aeb92c4a7385fbf19e6a2feddbed7c8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): pkg/agentscheduler/cache/cache.go:471-486 | pkg/agentscheduler/cache/cache.go:502-517 \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 \u0060pkg/agentscheduler/cache/cache.go:471\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":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb0739f639265e867d7d4fef4629413516f89bc6d9a54e45da239aa211cb6bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): pkg/agentscheduler/cache/event_handlers.go:420-435 | pkg/scheduler/cache/event_handlers.go:771-786 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/event_handlers.go\u0060 and \u0060pkg/scheduler/cache/event_handlers.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 114 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":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26ff25cb78a65d459629046862c241d6992a362d6ce9cd255de8f31e2ccae82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): pkg/cli/job/view.go:71-86 | pkg/cli/vjobs/view.go:112-127 \u2014 \u0060pkg/cli/job/view.go\u0060 and \u0060pkg/cli/vjobs/view.go\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 176 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 \u0060pkg/cli/job/view.go:71\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/cli/job/view.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0959ca3e1105fd0a85d0f6ca29e4fbc045912544092344d4a9112f914bd7c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): pkg/scheduler/actions/gangpreempt/gangpreempt.go:232-247 | pkg/scheduler/actions/gangreclaim/gangreclaim.go:233-248 \u2014 \u0060pkg/scheduler/actions/gangpreempt/gangpreempt.go\u0060 and \u0060pkg/scheduler/actions/gangreclaim/gangreclaim.go\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 7 separate duplicated blocks between them, totalling at least 112 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 \u0060pkg/scheduler/actions/gangpreempt/gangpreempt.go:232\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a32a9aa9bc525de198000951096b9c3daaae0025e7d8c180f4478a969c6aaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): pkg/scheduler/api/resource_info.go:412-427 | pkg/scheduler/api/resource_info.go:451-466 \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 \u0060pkg/scheduler/api/resource_info.go:412\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":"pkg/scheduler/api/resource_info.go"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf16966f62924fab9b4efe6893b88114c846331f85eb0a327e3ba88429867638"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): pkg/scheduler/api/resource_info.go:571-586 | pkg/scheduler/api/resource_info.go:607-622 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/api/resource_info.go:571\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":"pkg/scheduler/api/resource_info.go"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b21d84e574c622b561b663f13612a9ea7828ae7384f0e3026e6a135659cb556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 2): pkg/scheduler/plugins/conformance/conformance.go:48-63 | pkg/scheduler/plugins/conformance/conformance.go:69-79 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/conformance/conformance.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bc88f1012243100767936f4d9242ff6837d5819546b8868ee02c5ff40c7b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): pkg/scheduler/plugins/group-topology-affinity/group_topology_affinity.go:351-366 | pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:738-753 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/plugins/group-topology-affinity/group_topology_affinity.go:351\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/scheduler/plugins/group-topology-affinity/group_topology_affinity.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb5048685584725b13696daa3ad875951abd5d395b11d4415d5f5dde4e1984a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): pkg/scheduler/plugins/predicates/predicates.go:696-708 | pkg/scheduler/plugins/predicates/predicates.go:750-765 \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 \u0060pkg/scheduler/plugins/predicates/predicates.go:696\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":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"39799b618170d7bea0a7753093ea95159f059238c76888800ef184c50a64d7c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): pkg/scheduler/api/pod_info.go:322-336 | pkg/scheduler/api/pod_info.go:353-366 \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 \u0060pkg/scheduler/api/pod_info.go:322\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":"pkg/scheduler/api/pod_info.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdacfc43c38998ab0af5e6eba45de51ace34a7512ff730ec1f7252a5ff8be84b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pkg/scheduler/cache/util.go:77-91 | pkg/scheduler/cache/util.go:115-129 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/scheduler/cache/util.go:114\u0060 calls \u0060responsibleForPodGroup\u0060 and \u0060pkg/scheduler/cache/util.go:76\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":"pkg/scheduler/cache/util.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8a337fb5b293de6b8251b45dc278028582f9a3b754e027cdf47832b3e6a7ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): pkg/agentscheduler/cache/cache.go:543-556 | pkg/agentscheduler/cache/cache_mock.go:140-153 | pkg/scheduler/cache/cache.go:923-936 | pkg/scheduler/cache/cache_mock.go:191-204 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/cache.go\u0060 and \u0060pkg/scheduler/cache/cache.go\u0060 as WHOLE FILES: this scan already matched 14 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. 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 \u0060pkg/scheduler/cache/cache.go:923\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":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5b62e216e6f463c88c3b7e180fa418abd2e98e81e891156a97a310abe33850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): pkg/scheduler/plugins/predicates/hintprovider/resource_fit_provider.go:217-229 | pkg/scheduler/plugins/util/hintutil/hintutil.go:68-81 | pkg/scheduler/plugins/util/hintutil/hintutil.go:89-102 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/plugins/predicates/hintprovider/resource_fit_provider.go:217\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/scheduler/plugins/util/hintutil/hintutil.go:87\u0060 calls \u0060UsageReleasedForRequest\u0060 and \u0060pkg/scheduler/plugins/predicates/hintprovider/resource_fit_provider.go:216\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":"pkg/scheduler/plugins/predicates/hintprovider/resource_fit_provider.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"5475bb5ae5a15db888894f42613a9e091e0faa169481a2db2f8f03b0627bef5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): cmd/agent-scheduler/main.go:45-58 | cmd/scheduler/main.go:47-60 \u2014 \u0060cmd/agent-scheduler/main.go\u0060 and \u0060cmd/scheduler/main.go\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 2 separate duplicated blocks between them, totalling at least 31 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":"cmd/agent-scheduler/main.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"672176142656fd3d4d5f0488823ddedd404f2b3e1be5994edbe736f4477c6474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/cli/job/run.go:101-114 | pkg/cli/vsub/run.go:151-164 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cli/job/run.go:101\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/cli/job/run.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccdf8a41976481b9ad18c3418aceffb301cea915acbbf3d56831cb0f8c35026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/cli/job/suspend.go:48-61 | pkg/cli/vsuspend/suspend.go:48-61 \u2014 \u0060pkg/cli/job/suspend.go\u0060 and \u0060pkg/cli/vsuspend/suspend.go\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 1 separate duplicated blocks between them, totalling at least 14 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/suspend.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3fde26f60469e71b688b5835f260f297237e47c13644450aced6937af71809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/cli/jobflow/create.go:59-72 | pkg/cli/jobtemplate/create.go:59-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cli/jobflow/create.go:59\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":"pkg/cli/jobflow/create.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bb6c1ff0a8adc9b4dabc2c99834468772d4efed6f9d582864841eedb748f55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201314 lines \u00D7 3): pkg/controllers/job/job_controller_actions.go:475-487 | pkg/controllers/job/job_controller_actions.go:667-680 | pkg/controllers/job/job_controller_actions.go:1039-1041 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/controllers/job/job_controller_actions.go:475\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. 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, \u0060pkg/controllers/job/job_controller_actions.go:475\u0060 calls \u0060BatchV1alpha1\u0060, \u0060Jobs\u0060, \u0060UpdateStatus\u0060 and \u0060pkg/controllers/job/job_controller_actions.go:1039\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":"pkg/controllers/job/job_controller_actions.go"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"154f331248afe5d98012072d08e45ac59d6194ba61cbdd15972a52c3c78ec27f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/scheduler/actions/gangpreempt/gangpreempt.go:64-77 | pkg/scheduler/actions/gangreclaim/gangreclaim.go:64-77 \u2014 \u0060pkg/scheduler/actions/gangpreempt/gangpreempt.go\u0060 and \u0060pkg/scheduler/actions/gangreclaim/gangreclaim.go\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 7 separate duplicated blocks between them, totalling at least 112 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3a0ef18743dd19098fd02a64d66e28defe5c98a0a3dfacf4dfda025ae7fd10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/scheduler/actions/gangpreempt/gangpreempt.go:212-225 | pkg/scheduler/actions/gangreclaim/gangreclaim.go:215-228 \u2014 \u0060pkg/scheduler/actions/gangpreempt/gangpreempt.go\u0060 and \u0060pkg/scheduler/actions/gangreclaim/gangreclaim.go\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 7 separate duplicated blocks between them, totalling at least 112 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 \u0060pkg/scheduler/actions/gangpreempt/gangpreempt.go:212\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"694f4f0ea77d07add98fe5f1f5c017037fde06742c817a88ee0e137000ac9faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): pkg/scheduler/plugins/capacity/capacity.go:761-774 | pkg/scheduler/plugins/proportion/proportion.go:412-424 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/scheduler/plugins/capacity/capacity.go:757\u0060 calls \u0060isLeafQueue\u0060 and \u0060pkg/scheduler/plugins/proportion/proportion.go:411\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":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0c0d76ddab993a9cc19564f27fdea1a2bcf0be17fc2681a40e496e6331fdc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/agentscheduler/framework/plugins.go:209-221 | pkg/scheduler/framework/session_plugins.go:1146-1158 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/agentscheduler/framework/plugins.go:209\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/agentscheduler/framework/plugins.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"9facfcb13470033a1c806238bcba2f17a5eed01b093d8b0b7cf309b8c08e90a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/cli/job/resume.go:48-60 | pkg/cli/vresume/resume.go:48-60 \u2014 \u0060pkg/cli/job/resume.go\u0060 and \u0060pkg/cli/vresume/resume.go\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 1 separate duplicated blocks between them, totalling at least 13 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/resume.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"59960283a410ec8690d72e878235b315f0760b0a0cc6a8e881d71cd6151b0979"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/cli/jobflow/get.go:80-92 | pkg/cli/jobflow/list.go:120-132 \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":"pkg/cli/jobflow/get.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"76077dd4ed8f42c5884100632f2272e0de4837722f1d1fc4d0d6df6c797397ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): pkg/cli/jobflow/get.go:94-106 | pkg/cli/jobflow/list.go:93-103 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobflow/get.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5918ad2a716b55ec1eab281619e81e654f30e13464bd8c6364dca5f583a86154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/controllers/cache/cache.go:338-350 | pkg/controllers/cache/cache.go:373-385 \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 \u0060pkg/controllers/cache/cache.go:338\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":"pkg/controllers/cache/cache.go"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a015345c5590f67abd09358448bebc3817313749115c3afd17ae3c5566ceb06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): pkg/controllers/podgroup/pg_controller_handler.go:297-317 | pkg/controllers/podgroup/pg_controller_handler.go:328-347 \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 \u0060pkg/controllers/podgroup/pg_controller_handler.go:297\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":"pkg/controllers/podgroup/pg_controller_handler.go"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6665e3213f6fc323e8dc7435a44868cfe30d46ec9892c5800870d0277209cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/controllers/queue/state/closing.go:36-48 | pkg/controllers/queue/state/unknown.go:36-48 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/controllers/queue/state/closing.go:36\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/queue/state/closing.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c288a15baf0cb7ba324470e5b54bf1874c439af239f3cc01aeffe93fb5bcbde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): pkg/scheduler/actions/allocate/allocate.go:1050-1062 | pkg/scheduler/actions/backfill/backfill.go:86-97 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/scheduler/actions/allocate/allocate.go:1066\u0060 calls \u0060NeedContinueAllocating\u0060 and \u0060pkg/scheduler/actions/backfill/backfill.go:98\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":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"f584232c05ae9f8d722bc0e4fd7fe7f61dcda987e83eda855e645fdb58caf4ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/scheduler/actions/gangpreempt/gangpreempt.go:127-139 | pkg/scheduler/actions/gangreclaim/gangreclaim.go:129-141 \u2014 \u0060pkg/scheduler/actions/gangpreempt/gangpreempt.go\u0060 and \u0060pkg/scheduler/actions/gangreclaim/gangreclaim.go\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 7 separate duplicated blocks between them, totalling at least 112 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 \u0060pkg/scheduler/actions/gangpreempt/gangpreempt.go:127\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7d6288e4f1ede5dbf193a8ec65bbc0269c25fc55d946c2a385fbc47696caaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/scheduler/api/devices/ascend/hami/device_info.go:186-198 | pkg/scheduler/api/devices/ascend/hami/device_info.go:226-238 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/api/devices/ascend/hami/device_info.go:186\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":"pkg/scheduler/api/devices/ascend/hami/device_info.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c6eff87a8206a15941e1fca6cc36ece14c58caae5c6ae2c3c1f3dbda8c5776"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/scheduler/api/job_info.go:1223-1235 | pkg/scheduler/api/job_info.go:1256-1268 \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 \u0060pkg/scheduler/api/job_info.go:1223\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":"pkg/scheduler/api/job_info.go"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d7475bd8da40b8443c05843f2c185d4457a9434699379457303dcb02aaf7b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/scheduler/api/pod_info.go:256-268 | pkg/scheduler/api/pod_info.go:283-295 \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 \u0060pkg/scheduler/api/pod_info.go:256\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":"pkg/scheduler/api/pod_info.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af6895e92f5ee1983e607537b2554e83a59eb44d648f614fdb3ca774a88fb80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): pkg/scheduler/framework/statement.go:186-197 | pkg/scheduler/framework/statement.go:293-305 \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 \u0060pkg/scheduler/framework/statement.go:186\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/statement.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81ace41cda37d77805c4f404b53f6d6323bf870565586a4e00bf29dcc808d6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/scheduler/plugins/binpack/binpack.go:230-242 | pkg/scheduler/plugins/resource-strategy-fit/resource_strategy_fit.go:384-397 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/plugins/binpack/binpack.go:230\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":"pkg/scheduler/plugins/binpack/binpack.go"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c504eab7a061b6afc5b472d5f5d0d65ed73ce09b0874ec72663a46fb41ba3ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): pkg/scheduler/plugins/capacity/capacity.go:843-855 | pkg/scheduler/plugins/capacity/capacity.go:874-885 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b0ffb08c47264e6159798b1455d8dc9c7aa300383c5d753c513b2044fb3b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): pkg/scheduler/plugins/predicates/predicates.go:233-245 | pkg/scheduler/plugins/predicates/predicates.go:827-837 \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":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba28db65257d9886c4ce8378e110a9101d8868cc508c309c379a2c2c6f1bdcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/scheduler/plugins/proportion/proportion.go:461-473 | pkg/scheduler/plugins/proportion/proportion.go:480-492 \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":"pkg/scheduler/plugins/proportion/proportion.go"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85e52d679468931c53b51105c9e7468964688cd6fc23d6a361a207864ad9091"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/webhooks/admission/cronjobs/validate/admit_cronjob.go:100-112 | pkg/webhooks/admission/jobs/validate/admit_job.go:106-118 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/webhooks/admission/cronjobs/validate/admit_cronjob.go:100\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/webhooks/admission/cronjobs/validate/admit_cronjob.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"536a180bf82f44a884adcaa78cd245b8385a74e21ba2bfd19b21cafdee62298d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): cmd/agent-scheduler/app/server.go:96-107 | cmd/controller-manager/app/server.go:96-107 | cmd/scheduler/app/server.go:114-125 \u2014 before extracting anything, compare \u0060cmd/agent-scheduler/app/server.go\u0060 and \u0060cmd/controller-manager/app/server.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 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":"cmd/agent-scheduler/app/server.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a40b563f04357016d7133f3ada78698869eeb5b2d00da2612d678d7eef1b14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/agentscheduler/cache/cache.go:319-330 | pkg/scheduler/cache/cache.go:579-590 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/cache.go\u0060 and \u0060pkg/scheduler/cache/cache.go\u0060 as WHOLE FILES: this scan already matched 14 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. 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":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44398f9e769353d9b6ff5ed89cb352f4d1ec39470b3a711f0d51da143b8afae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/agentscheduler/cache/event_handlers.go:463-474 | pkg/scheduler/cache/event_handlers.go:861-872 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/event_handlers.go\u0060 and \u0060pkg/scheduler/cache/event_handlers.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 114 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 \u0060pkg/scheduler/cache/event_handlers.go:861\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/scheduler/cache/event_handlers.go:858\u0060 calls \u0060responsibleForNode\u0060 and \u0060pkg/agentscheduler/cache/event_handlers.go:462\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":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fc2e0b49b4871a2a1ff0a22fdc248243bcb9cf99d9abdf60b91f1dc9398645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/cli/job/list.go:182-193 | pkg/cli/vjobs/view.go:377-388 \u2014 before extracting anything, compare \u0060pkg/cli/job/list.go\u0060 and \u0060pkg/cli/vjobs/view.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 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 \u0060pkg/cli/job/list.go:182\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/cli/job/list.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de6c45ba91bfd00ce52620824ddf6f15918e8b96fc2e3f5b8c090c308bf8e6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/cli/util/util.go:100-111 | pkg/cli/util/util.go:129-140 \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":"pkg/cli/util/util.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e929d21debf74e67444999f8dd60978ad4043b08f41eeeabc037ada018daeede"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): pkg/controllers/apis/job_info.go:127-138 | pkg/controllers/apis/job_info.go:165-175 \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 \u0060pkg/controllers/apis/job_info.go:127\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":"pkg/controllers/apis/job_info.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65345c636b1887a6a8c665ba825e483e50641ea04902a0a4bf90323380f94c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/controllers/cronjob/cronjob_controller.go:98-109 | pkg/controllers/job/job_controller.go:218-229 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/cronjob/cronjob_controller.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a4f630ddcdbdcf6617c1cea1b03896ec6318ed1d92b11fc3e7a117ede27322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/scheduler/actions/preempt/preempt.go:198-209 | pkg/scheduler/actions/preempt/preempt.go:260-272 \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":"pkg/scheduler/actions/preempt/preempt.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"39de707026d0a8f7f812a669733e223fdac370957e429ebaae8dd5d37b96c343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/scheduler/api/cluster_info.go:53-64 | pkg/scheduler/cache/cache.go:1757-1768 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/api/cluster_info.go:53\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":"pkg/scheduler/api/cluster_info.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ac89b1cc4a1f18758a6a41bc6e29b38e1290df335e35e999b1f9fa807ee015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/scheduler/api/pod_info.go:85-96 | pkg/scheduler/api/pod_info.go:134-145 \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 \u0060pkg/scheduler/api/pod_info.go:85\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":"pkg/scheduler/api/pod_info.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"847e0bd8ffc0c582d6c8a74f34bf9d9fc533f251ce8b38d5932730020168d66d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/scheduler/plugins/capacity/capacity.go:664-675 | pkg/scheduler/plugins/proportion/proportion.go:343-354 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/plugins/capacity/capacity.go:664\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":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1e1a1b27ff747417539d8a1844c0bf73212c7ee7dd11d30d6821351e3b640a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/scheduler/plugins/fairshare/fairshare.go:424-435 | pkg/scheduler/plugins/fairshare/fairshare.go:443-454 \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":"pkg/scheduler/plugins/fairshare/fairshare.go"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4444fbfcd4481dad26e593a2e25489b1820145438cd08cd77fe91051b341840"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:431-442 | pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:550-561 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:563\u0060 calls \u0060Get\u0060 and \u0060pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:444\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":"pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f764c321b4208ff5653f113f96d67d2087dc4b4521fb9497c0f230569dd873"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/scheduler/plugins/predicates/predicates.go:333-344 | pkg/scheduler/plugins/predicates/predicates.go:360-371 \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 \u0060pkg/scheduler/plugins/predicates/predicates.go:333\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":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb293e6b9633bb27434ad09e104d335c2f0a9e3dbc6588153597bb8f4b2528e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/webhooks/admission/podgroups/mutate/mutate_podgroup.go:49-60 | pkg/webhooks/admission/podgroups/validate/validate_podgroup.go:49-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/webhooks/admission/podgroups/mutate/mutate_podgroup.go:49\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/podgroups/mutate/mutate_podgroup.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c789a33b913ca4f1044f27a041956e8c41ca7a8107f2de19c6872768f82fd69a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): pkg/cli/job/list.go:181-190 | pkg/cli/jobtemplate/list.go:100-110 | pkg/cli/vjobs/view.go:376-385 \u2014 before extracting anything, compare \u0060pkg/cli/job/list.go\u0060 and \u0060pkg/cli/vjobs/view.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 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":"pkg/cli/job/list.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ba005f03fe0a414c9624ddd084d0dbe2237e2942a77e1d2411a55a15d563f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): pkg/controllers/apis/job_info.go:126-136 | pkg/controllers/apis/job_info.go:164-173 | pkg/controllers/apis/job_info.go:205-214 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/apis/job_info.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a032324f49d887b2986fa6b8203a47e58c40327e376da27b305456ffcbc1f67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/agent-scheduler/app/options/options.go:100-110 | cmd/scheduler/app/options/options.go:193-203 \u2014 before extracting anything, compare \u0060cmd/agent-scheduler/app/options/options.go\u0060 and \u0060cmd/scheduler/app/options/options.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"cmd/agent-scheduler/app/options/options.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d92f90b7d4d2a1f3c2cf4d793169bae49ea7811e70f36ac75667aa38b0c98f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): pkg/agent/utils/pod/resources.go:54-64 | pkg/agent/utils/pod/resources.go:157-165 \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 \u0060pkg/agent/utils/pod/resources.go:54\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":"pkg/agent/utils/pod/resources.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"060384795d1f70f0ee963f18e4432958e78d03744ba78c135ba9416b1f3ede27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/agentscheduler/util.go:56-66 | pkg/scheduler/util.go:83-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/agentscheduler/util.go:56\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/agentscheduler/util.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d7cc3f5eb1a834b0265d4870dc4682dd702d5b52d1dbdaed68d5ce343a3125"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/controllers/job/job_controller_plugins.go:49-59 | pkg/controllers/job/job_controller_plugins.go:93-103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/controllers/job/job_controller_plugins.go:49\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":"pkg/controllers/job/job_controller_plugins.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa3346a23ddd2ed9776df3591f9de764c92a5540ec301ff49d2a748681d9730"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/controllers/jobflow/jobflow_controller.go:136-146 | pkg/controllers/jobtemplate/jobtemplate_controller.go:124-134 \u2014 \u0060pkg/controllers/jobflow/jobflow_controller.go\u0060 and \u0060pkg/controllers/jobtemplate/jobtemplate_controller.go\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 53 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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/jobflow_controller.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9d5a8a170565640ecf4c1d4d3b858fd28f052a12f8b8641ac657a731400126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/controllers/namespacequeue/namespacequeue_controller_handler.go:414-427 | pkg/webhooks/router/indexer.go:77-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/controllers/namespacequeue/namespacequeue_controller_handler.go:414\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":"pkg/controllers/namespacequeue/namespacequeue_controller_handler.go"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34b3ee5b40226ded9a4b2259f667c90ef076867f4331ea4c0f500975e9584b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/controllers/queue/state/open.go:32-42 | pkg/controllers/queue/state/unknown.go:32-42 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/controllers/queue/state/open.go:32\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/queue/state/open.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46ea36592b46fdaa9db8d4b7479a71bc1570b7ba591aba76112f5a27cfe2fc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/metriccollect/local/local_collector.go:92-102 | pkg/metriccollect/testing/fake_local_collector.go:62-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/metriccollect/local/local_collector.go:92\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"pkg/metriccollect/local/local_collector.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a877d219b94deb85f50014b3b53782e22b979b29ee8907edeba10dfdb56f854a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): pkg/scheduler/actions/allocate/allocate.go:288-298 | pkg/scheduler/actions/utils/simulate.go:182-191 \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":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e7946cb49da6f9415a0e12f57ef08cab733e88712e774e2bd2020599a70012"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/scheduler/api/hyper_node_info.go:376-386 | pkg/scheduler/api/hyper_node_info.go:697-707 \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":"pkg/scheduler/api/hyper_node_info.go"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88aa57c9dd3d4c502e3aef2ccf164af479cbe94254a5ef481f46cde54f3553b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/scheduler/framework/session_plugins.go:1169-1179 | pkg/scheduler/framework/session_plugins.go:1190-1200 \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 \u0060pkg/scheduler/framework/session_plugins.go:1169\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9790aeb689fad5403e4389c18ebb74ed99191d0d5fe5c659f6bf15ac089688af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/scheduler/plugins/capacity/capacity.go:1103-1115 | pkg/scheduler/plugins/proportion/proportion.go:100-112 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/plugins/capacity/capacity.go:1103\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":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"01526586bf04d9a75e5eeb55b3f898670423e2070682df582a11092ed38f643e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/webhooks/admission/queues/validate/validate_queue.go:676-686 | pkg/webhooks/admission/queues/validate/validate_queue.go:691-701 \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":"pkg/webhooks/admission/queues/validate/validate_queue.go"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f1eca3cae1289af43bcc72a14b92a09b95d7448a3ee1d076e0ec24f078c935"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/agent/utils/cgroup/cgroup.go:463-472 | pkg/agent/utils/cgroup/cgroup.go:482-491 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/agent/utils/cgroup/cgroup.go:492\u0060 calls \u0060getPodCgroupNameSuffix\u0060 and \u0060pkg/agent/utils/cgroup/cgroup.go:474\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":"pkg/agent/utils/cgroup/cgroup.go"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"0245977c7341d205d933e9b1103a2bb848824c361f490e47a4f0a3ecb304ea46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/agentscheduler/cache/event_handlers.go:354-363 | pkg/scheduler/cache/event_handlers.go:709-718 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/event_handlers.go\u0060 and \u0060pkg/scheduler/cache/event_handlers.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 114 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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/agentscheduler/cache/event_handlers.go:364\u0060 calls \u0060RemoveBindRecord\u0060 and \u0060pkg/scheduler/cache/event_handlers.go:720\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":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"57096e412cf20d5a49c4717d0f93a1c59d0651f2aefc6910ea83af4199388ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/agentscheduler/cache/event_handlers.go:406-415 | pkg/scheduler/cache/event_handlers.go:754-763 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/event_handlers.go\u0060 and \u0060pkg/scheduler/cache/event_handlers.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 114 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, \u0060pkg/scheduler/cache/event_handlers.go:764\u0060 calls \u0060DeepEqual\u0060, \u0060GetLabels\u0060, \u0060Add\u0060 and \u0060pkg/agentscheduler/cache/event_handlers.go:416\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":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"2585eb680f43734b40d44e939a0188a6b0757006f12bb6c8c14d797bf41bee08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/controllers/jobflow/jobflow_controller.go:113-125 | pkg/controllers/jobtemplate/jobtemplate_controller.go:102-114 \u2014 \u0060pkg/controllers/jobflow/jobflow_controller.go\u0060 and \u0060pkg/controllers/jobtemplate/jobtemplate_controller.go\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 53 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 \u0060pkg/controllers/jobflow/jobflow_controller.go:113\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":"pkg/controllers/jobflow/jobflow_controller.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cc41c4d39891e706b1ee37f6079137bdb5bb7a5b0ecc8feedf626b38bb8100"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/scheduler/api/devices/ascend/hami/device_info.go:433-442 | pkg/scheduler/api/devices/ascend/hami/device_info.go:583-592 \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 \u0060pkg/scheduler/api/devices/ascend/hami/device_info.go:433\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/hami/device_info.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae85f46338be535493bf6706955c7a43e9f64d265d73952582ce861186fed0d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/scheduler/api/devices/nvidia/vgpu/hamicore.go:47-56 | pkg/scheduler/api/devices/nvidia/vgpu/mig.go:82-91 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/api/devices/nvidia/vgpu/hamicore.go:47\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/scheduler/api/devices/nvidia/vgpu/hamicore.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae4a3ac1da1562ae1211ef0a5ae6e5a6795ea491dbd1c3538ea581ea31b5e60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/scheduler/api/devices/util.go:243-252 | pkg/scheduler/api/devices/util.go:260-269 \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 \u0060pkg/scheduler/api/devices/util.go:243\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":"pkg/scheduler/api/devices/util.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9c4d6997684b8bf467ce4aa55866c3c44b60ebe194c7c82e023e571f942a7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/scheduler/framework/session.go:697-706 | pkg/scheduler/framework/session_plugins.go:891-900 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/framework/session.go:697\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":"pkg/scheduler/framework/session.go"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f494c0439d8de9b1723086c950d450da9182ba672d637ed261a0f7f4edd37f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/scheduler/plugins/capacity/capacity.go:1117-1126 | pkg/scheduler/plugins/proportion/proportion.go:145-154 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/plugins/capacity/capacity.go:1117\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/scheduler/plugins/capacity/capacity.go:1128\u0060 calls \u0060addTaskDRAAllocated\u0060 and \u0060pkg/scheduler/plugins/proportion/proportion.go:155\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":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeeed668b0b201f0426fcb751ee36e2a0df39681c98b7509f6b411dddb150026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/scheduler/plugins/predicates/hintprovider/resource_fit_provider.go:125-134 | pkg/scheduler/plugins/predicates/hintprovider/resource_fit_provider.go:186-195 \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 \u0060pkg/scheduler/plugins/predicates/hintprovider/resource_fit_provider.go:125\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":"pkg/scheduler/plugins/predicates/hintprovider/resource_fit_provider.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe6a531a9e6930ea9fe20615422f7682b72e8d0b5db405777247bd130525cda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): pkg/webhooks/schema/schema.go:58-66 | pkg/webhooks/schema/schema.go:78-86 | pkg/webhooks/schema/schema.go:98-106 | pkg/webhooks/schema/schema.go:203-211 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/schema/schema.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"979f1e2f8cfe41af6408dbcad85e543ed83e9364c9d244a40b681b8d92cccdb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): pkg/controllers/queue/state/closing.go:36-44 | pkg/controllers/queue/state/open.go:36-44 | pkg/controllers/queue/state/unknown.go:36-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/controllers/queue/state/closing.go:36\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/queue/state/closing.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51c2cf408b1a596b23bf6194d337dd77fd5e43419ff64e79c66b43a2b512f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): pkg/scheduler/api/devices/util.go:230-238 | pkg/scheduler/api/devices/util.go:243-251 | pkg/scheduler/api/devices/util.go:260-268 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/scheduler/api/devices/util.go:241\u0060 calls \u0060ResourceName\u0060 and \u0060pkg/scheduler/api/devices/util.go:228\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":"pkg/scheduler/api/devices/util.go"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1d63d63471a88b39c4b5f0e5d1acba5c6869dd1fb3a59d5e14a69c1400fb17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): pkg/agentscheduler/cache/cache.go:229-237 | pkg/scheduler/cache/cache.go:254-261 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/cache.go\u0060 and \u0060pkg/scheduler/cache/cache.go\u0060 as WHOLE FILES: this scan already matched 14 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. 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 \u0060pkg/agentscheduler/cache/cache.go:229\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dbb4c3a939ed2707a09b5b7fcbe9c151d5f92d8de9e0dc5ae6e8ca7e3e857e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/agentscheduler/cache/cache.go:626-634 | pkg/scheduler/cache/cache.go:1113-1121 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/cache.go\u0060 and \u0060pkg/scheduler/cache/cache.go\u0060 as WHOLE FILES: this scan already matched 14 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. 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 \u0060pkg/agentscheduler/cache/cache.go:626\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":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"320f26283eaaf2015f6970ea414d215e95982c8c3223fa84c4389c98882e2820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/agentscheduler/cache/cache.go:946-954 | pkg/scheduler/cache/cache.go:1616-1624 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/cache.go\u0060 and \u0060pkg/scheduler/cache/cache.go\u0060 as WHOLE FILES: this scan already matched 14 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. 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 \u0060pkg/agentscheduler/cache/cache.go:946\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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3922ddfcc227b6104408d15525173eb12e51b6efd58a5131c82f60939a6054d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/cli/job/list.go:145-155 | pkg/cli/vjobs/view.go:334-344 \u2014 before extracting anything, compare \u0060pkg/cli/job/list.go\u0060 and \u0060pkg/cli/vjobs/view.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 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 \u0060pkg/cli/job/list.go:145\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":"pkg/cli/job/list.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e95a242d20f6288e776d1d66fb666a6898fb8af07ae9baf7d2aabee7589caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/controllers/garbagecollector/garbagecollector.go:102-110 | pkg/controllers/queue/queue_controller.go:183-192 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/controllers/garbagecollector/garbagecollector.go:102\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":"pkg/controllers/garbagecollector/garbagecollector.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2dae008319d8c0e822f51baaccda17e874aac5267c4785b23cc431bcb565b04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/controllers/job/plugins/distributed-framework/ray/ray.go:234-242 | pkg/controllers/job/plugins/svc/svc.go:222-230 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/controllers/job/plugins/distributed-framework/ray/ray.go:234\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":"pkg/controllers/job/plugins/distributed-framework/ray/ray.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4bc957c02687a5c580232740fd6c8afd1444e023b5e4b9ab36955e0ea84371"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/controllers/job/plugins/ssh/ssh.go:266-274 | pkg/controllers/job/plugins/svc/svc.go:316-324 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/controllers/job/plugins/ssh/ssh.go:266\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":"pkg/controllers/job/plugins/ssh/ssh.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf8399d61b9c236655b43c1d21dec726990e2db07f02b76c70841d24a4ee354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/scheduler/api/job_info.go:1026-1034 | pkg/scheduler/api/sub_job_info.go:249-257 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/scheduler/api/job_info.go:1037\u0060 calls \u0060WaitingTaskNum\u0060 and \u0060pkg/scheduler/api/sub_job_info.go:261\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":"pkg/scheduler/api/job_info.go"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d185487b46035999b4284d6a94939495f7956145b0b716418f70455476d9dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/scheduler/cache/event_handlers.go:1088-1096 | pkg/scheduler/cache/event_handlers.go:1130-1138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/scheduler/cache/event_handlers.go:1128\u0060 calls \u0060podGroupSchedulingInputsChanged\u0060 and \u0060pkg/scheduler/cache/event_handlers.go:1086\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":"pkg/scheduler/cache/event_handlers.go"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb96c6b22eb95a09f6e5694535fb2940b68630f7e8f376a19cc53da71f93e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/scheduler/plugins/drf/drf.go:406-414 | pkg/scheduler/plugins/drf/drf.go:437-445 \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 \u0060pkg/scheduler/plugins/drf/drf.go:406\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":"pkg/scheduler/plugins/drf/drf.go"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3de7f2441858b55dd92d7820d13cd269967d1a8c313de60b2994512b7625fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:356-364 | pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:370-378 \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 \u0060pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:356\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b71fe400dda157697abea319750b38e20b93330944cbea3ffb39bc6bb737268"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/scheduler/plugins/numaaware/numaaware.go:89-97 | pkg/scheduler/plugins/numaaware/numaaware.go:104-112 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"pkg/scheduler/plugins/numaaware/numaaware.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e15ff06e87acb95bcc8f4699e2ec7af0850d47ae8644f2a972e174e4b93339"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): pkg/controllers/cronjob/cronjob_controller.go:132-139 | pkg/controllers/garbagecollector/garbagecollector.go:102-110 | pkg/controllers/queue/queue_controller.go:183-192 \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 \u0060pkg/controllers/cronjob/cronjob_controller.go:132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/controllers/garbagecollector/garbagecollector.go:97\u0060 calls \u0060ShutDown\u0060, \u0060Infof\u0060 and \u0060pkg/controllers/cronjob/cronjob_controller.go:131\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":"pkg/controllers/cronjob/cronjob_controller.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3830822f15ecc692fe8590c36f23e064010ea70079b643322f9119e1519168c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): pkg/scheduler/plugins/capacity/capacity.go:1197-1204 | pkg/scheduler/plugins/capacity/capacity.go:1369-1376 | pkg/scheduler/plugins/proportion/proportion.go:273-280 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/plugins/capacity/capacity.go:1197\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":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c717680ad60d2b623bccaceac8a3342044525967af0ab8c0b9e478f713d45e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/agent/events/handlers/cpuburst/cpu_burst_linux.go:117-124 | pkg/agent/events/handlers/cpuburst/cpu_burst_linux.go:168-175 \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":"pkg/agent/events/handlers/cpuburst/cpu_burst_linux.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c1e844ed031e7c4cd4b114188eff5e7a1f36d33d850e17a90326f3630f77a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/agentscheduler/cache/dumper.go:45-54 | pkg/scheduler/cache/dumper.go:46-55 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/dumper.go\u0060 and \u0060pkg/scheduler/cache/dumper.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/dumper.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7459fcfd50837c07771bf0568d93eaeb4c377acca95ff1261e81e6c834c4e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/controllers/apis/job_info.go:144-151 | pkg/controllers/apis/job_info.go:185-192 \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 \u0060pkg/controllers/apis/job_info.go:144\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":"pkg/controllers/apis/job_info.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4452ea9db5f436852e8076756a12abb1aad1ad80890c2b89b74e0c565946de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/controllers/job/job_controller_plugins.go:31-38 | pkg/controllers/job/job_controller_plugins.go:74-81 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/controllers/job/job_controller_plugins.go:31\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":"pkg/controllers/job/job_controller_plugins.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79752e148ce7a6ca7f6604451f9827731da7ce02969bd29f1dad40be35e7b94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/controllers/job/plugins/svc/svc.go:247-254 | pkg/controllers/job/plugins/svc/svc.go:296-303 \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 \u0060pkg/controllers/job/plugins/svc/svc.go:247\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/controllers/job/plugins/svc/svc.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabdd01c6731df62973af31cf7101bf013b7f713fa4f98c97e9174717afe1f99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): pkg/controllers/podgroup/pg_controller_handler.go:79-87 | pkg/controllers/podgroup/pg_controller_handler.go:130-139 \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 \u0060pkg/controllers/podgroup/pg_controller_handler.go:79\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/controllers/podgroup/pg_controller_handler.go:77\u0060 calls \u0060V\u0060, \u0060Infof\u0060 and \u0060pkg/controllers/podgroup/pg_controller_handler.go:129\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":"pkg/controllers/podgroup/pg_controller_handler.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"743d494fcd05e7de221f996b450a5c73397789f098d9ffed438748725bf15278"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/scheduler/actions/gangpreempt/gangpreempt.go:190-197 | pkg/scheduler/actions/gangreclaim/gangreclaim.go:195-202 \u2014 \u0060pkg/scheduler/actions/gangpreempt/gangpreempt.go\u0060 and \u0060pkg/scheduler/actions/gangreclaim/gangreclaim.go\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 7 separate duplicated blocks between them, totalling at least 112 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 \u0060pkg/scheduler/actions/gangpreempt/gangpreempt.go:190\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":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2a44ab57a049e0455344f3ced3217d8b2df1e57cc7d1fe65cee399d9df3101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): pkg/scheduler/cache/cache.go:372-379 | pkg/scheduler/cache/cache.go:454-460 \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 \u0060pkg/scheduler/cache/cache.go:372\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":"pkg/scheduler/cache/cache.go"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"210c3e7ea900ef3dd21910cf967982205bd0689c200dcab70ece8500b26954cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): cmd/agent-scheduler/app/options/options.go:86-92 | cmd/controller-manager/app/options/options.go:111-117 | cmd/scheduler/app/options/options.go:175-181 \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":"cmd/agent-scheduler/app/options/options.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1b3aabd11526324ef158032ed5de093e83d31fdca4484ca3a09aad6eab186b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): cmd/agent-scheduler/app/server.go:87-93 | cmd/controller-manager/app/server.go:87-93 | cmd/scheduler/app/server.go:105-111 \u2014 before extracting anything, compare \u0060cmd/agent-scheduler/app/server.go\u0060 and \u0060cmd/controller-manager/app/server.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 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":"cmd/agent-scheduler/app/server.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7976bfe31bcdc27623bd4ee4af20b8b5abbdac2cd43266f18e78d84c1777508f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/webhook-manager/app/util.go:63-70 | cmd/webhook-manager/app/util.go:96-103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/webhook-manager/app/util.go:63\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":"cmd/webhook-manager/app/util.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf87bdcef5cd912a440ab68f2c4f0f3b62590f7edcdc1c8a6b4f402ebd3957d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/agentscheduler/cache/cache.go:463-469 | pkg/scheduler/cache/cache.go:779-785 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/cache.go\u0060 and \u0060pkg/scheduler/cache/cache.go\u0060 as WHOLE FILES: this scan already matched 14 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. 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 \u0060pkg/agentscheduler/cache/cache.go:463\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":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f872b46d886030b4e62b92421f44895242f27490217eea7ce6b7a56f7af4e47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20137 lines \u00D7 4): pkg/cli/job/list.go:168-168 | pkg/cli/job/list.go:172-178 | pkg/cli/vjobs/view.go:363-363 | pkg/cli/vjobs/view.go:367-373 \u2014 before extracting anything, compare \u0060pkg/cli/job/list.go\u0060 and \u0060pkg/cli/vjobs/view.go\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 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 \u0060pkg/cli/job/list.go:168\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":"pkg/cli/job/list.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2785d7b29cc73fc7cd67e7c027f1b1fa61814556cdfea1dd6c5bd1e9774fc929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/controllers/queue/state/closed.go:29-35 | pkg/controllers/queue/state/closing.go:29-35 \u2014 before extracting anything, compare \u0060pkg/controllers/queue/state/closed.go\u0060 and \u0060pkg/controllers/queue/state/closing.go\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060pkg/controllers/queue/state/closed.go:29\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":"pkg/controllers/queue/state/closed.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"40eae44e1485da33c1aaedf6f0f1c619d2068455c1bc81a842a01c9d8d0aab7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/networkqos/throttling/throttling.go:121-127 | pkg/networkqos/throttling/throttling.go:183-189 \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":"pkg/networkqos/throttling/throttling.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"404e0b39cb072c67dd42e98baea6254a2241619140dd75af6ce8a6008278e854"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/scheduler/api/devices/util.go:136-142 | pkg/scheduler/api/devices/util.go:173-179 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/api/devices/util.go:136\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":"pkg/scheduler/api/devices/util.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b67ae5ee6a93379823f5e25792bd757cab91346bc87c2a0cad84ee64cb1f034"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): pkg/webhooks/admission/podgroups/validate/validate_podgroup.go:100-108 | pkg/webhooks/admission/podgroups/validate/validate_podgroup.go:112-119 \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 \u0060pkg/webhooks/admission/podgroups/validate/validate_podgroup.go:100\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/webhooks/admission/podgroups/validate/validate_podgroup.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c739a0f70a57033c0ed95587a3038d4811c0f580eb21bcb095197d62d53887"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/agentscheduler/cache/cache.go:528-533 | pkg/scheduler/cache/cache.go:906-911 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/cache.go\u0060 and \u0060pkg/scheduler/cache/cache.go\u0060 as WHOLE FILES: this scan already matched 14 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. 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, \u0060pkg/agentscheduler/cache/cache.go:534\u0060 calls \u0060Shard\u0060, \u0060V1alpha1\u0060, \u0060NodeShards\u0060 and \u0060pkg/scheduler/cache/cache.go:912\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":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78e58e6bc412cafec0e3be2a9c3a04dcda1e05ef38dda2093b8866c23b6166e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/agentscheduler/cache/cache.go:564-569 | pkg/scheduler/cache/cache.go:979-984 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/cache.go\u0060 and \u0060pkg/scheduler/cache/cache.go\u0060 as WHOLE FILES: this scan already matched 14 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. 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":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"9158af7cfc18494ce3627299e6a7c4f74f1ff52194e0f88389c854f76c179bd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/agentscheduler/cache/event_handlers.go:375-382 | pkg/scheduler/cache/event_handlers.go:725-732 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/event_handlers.go\u0060 and \u0060pkg/scheduler/cache/event_handlers.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 114 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, \u0060pkg/agentscheduler/cache/event_handlers.go:385\u0060 calls \u0060MoveAllToActiveOrBackoffQueue\u0060, \u0060Background\u0060 and \u0060pkg/scheduler/cache/event_handlers.go:733\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":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"9704ce24f2db712fcdbecb61d0fffd68e0cf82fd907a2a31e0eddd973bda1e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/cli/vqueues/get.go:102-108 | pkg/cli/vqueues/get.go:141-147 \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 \u0060pkg/cli/vqueues/get.go:102\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":"pkg/cli/vqueues/get.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"72eca6f364f48708fee7b210a449b5222aa85e50be24e4f360e27b1e6dae472c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/scheduler/framework/util.go:67-73 | pkg/scheduler/framework/util.go:99-104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/util.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f066d034475bb5aa7740ab03e1b0f74c7205703152925028cf1eccc48dd46b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/scheduler/plugins/capacity/capacity.go:962-967 | pkg/scheduler/plugins/capacity/capacity.go:1000-1005 \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 \u0060pkg/scheduler/plugins/capacity/capacity.go:962\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":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7097175338737e7cf394c67d65218c8455b66fc15349f9d9878f6bbceff1b12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/scheduler/plugins/fairshare/persist.go:114-119 | pkg/scheduler/plugins/fairshare/persist.go:165-170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/plugins/fairshare/persist.go:114\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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/fairshare/persist.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1394596f1e9fd00f91a71ead617ff7902534632fa758f4176ba8d30222cee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/webhooks/admission/podgroups/mutate/mutate_podgroup.go:46-51 | pkg/webhooks/admission/queues/mutate/mutate_queue.go:46-51 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/webhooks/admission/podgroups/mutate/mutate_podgroup.go:46\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":"pkg/webhooks/admission/podgroups/mutate/mutate_podgroup.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7d318c6c48b29584aa410cb3c28bb60c969745273b5f196585d1b7826ccde2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): pkg/controllers/job/plugins/distributed-framework/hcclrank/hcclrank.go:60-65 | pkg/controllers/job/plugins/distributed-framework/mpi/mpi.go:67-72 | pkg/controllers/job/plugins/distributed-framework/pytorch/pytorch.go:89-94 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/controllers/job/plugins/distributed-framework/mpi/mpi.go:73\u0060 calls \u0060IntVar\u0060 and \u0060pkg/controllers/job/plugins/distributed-framework/hcclrank/hcclrank.go:66\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":"pkg/controllers/job/plugins/distributed-framework/hcclrank/hcclrank.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be2a7d6ee8484d2dc9daf70ed051928697a3f69557e6057c4c60ae4b840e9ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/controllers/job/job_controller.go:232-237 | pkg/controllers/queue/queue_controller.go:144-148 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/controllers/job/job_controller.go:232\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":"pkg/controllers/job/job_controller.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e38d1d1d460a6009e70ef6379c30e496b1dae247b7fc0b6fd72c0808baf94d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/controllers/job/job_controller_actions.go:421-425 | pkg/controllers/job/job_controller_actions.go:442-446 \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 \u0060pkg/controllers/job/job_controller_actions.go:421\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":"pkg/controllers/job/job_controller_actions.go"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac5dbd89d2278013ea2a8976aa4a853eadd654a2b31e77fca6140a4b166590c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/scheduler/plugins/nodeorder/nodeorder.go:274-278 | pkg/scheduler/plugins/nodeorder/nodeorder.go:293-297 \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 \u0060pkg/scheduler/plugins/nodeorder/nodeorder.go:274\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/nodeorder/nodeorder.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"0232b181da7a40882ff9bf24d5d431de6d19d998589b081e975090b9f246257d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/webhooks/admission/namespacequeues/validate/validate_namespacequeue.go:53-57 | pkg/webhooks/admission/queues/validate/validate_queue.go:60-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/webhooks/admission/namespacequeues/validate/validate_namespacequeue.go:53\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":"pkg/webhooks/admission/namespacequeues/validate/validate_namespacequeue.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5f61257300119da477cb3fee71eba476097750ae4ecde560108f6be26ff4e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): cmd/agent-scheduler/app/options/options.go:172-183 | cmd/controller-manager/app/options/options.go:203-214 | cmd/scheduler/app/options/options.go:271-282 | cmd/webhook-manager/app/options/options.go:156-167 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cmd/scheduler/app/options/options.go:286\u0060 calls \u0060Do\u0060 and \u0060cmd/agent-scheduler/app/options/options.go:187\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":"cmd/agent-scheduler/app/options/options.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac483ad5b952af1dd398490c2dd5e7229745b08a49a7236e81f26e4673afb3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): cmd/cli/job.go:79-92 | cmd/cli/jobflow.go:72-85 | cmd/cli/jobtemplate.go:72-85 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/cli/job.go:79\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":"cmd/cli/job.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18770eb49c45422181e7e886f9edaa8a8c6c1c7b71403ccf7307b0aa39b6ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/agentscheduler/cache/dumper.go:64-72 | pkg/scheduler/cache/dumper.go:65-73 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/dumper.go\u0060 and \u0060pkg/scheduler/cache/dumper.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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":"pkg/agentscheduler/cache/dumper.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a11ae39f0bef8e191b518a4105716a6b0be265a701c0acaaa975c46f358295c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): pkg/agentscheduler/cache/dumper.go:91-97 | pkg/scheduler/cache/dumper.go:100-106 | pkg/scheduler/cache/dumper.go:108-114 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/dumper.go\u0060 and \u0060pkg/scheduler/cache/dumper.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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":"pkg/agentscheduler/cache/dumper.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed701eebd83bee4fbcb0825086b185bb0e389cd26a74f9f75949e988b10d5a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/agentscheduler/cache/event_handlers.go:291-301 | pkg/scheduler/cache/event_handlers.go:669-679 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/event_handlers.go\u0060 and \u0060pkg/scheduler/cache/event_handlers.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 114 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":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c929a1418d16ba4102b186574e0b8b0c217334d1b2c8f6a8035d834bb4940fa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/agentscheduler/cache/event_handlers.go:477-484 | pkg/scheduler/cache/event_handlers.go:1767-1774 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/event_handlers.go\u0060 and \u0060pkg/scheduler/cache/event_handlers.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 114 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":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fd2c53d5953e21933672f2a856af4e115a716d00b4bf4ba5bcb68fa22fc5f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/agentscheduler/cache/event_handlers.go:487-494 | pkg/scheduler/cache/event_handlers.go:1777-1784 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/event_handlers.go\u0060 and \u0060pkg/scheduler/cache/event_handlers.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 114 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":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f5d9ec43f86ae629b33d83f2b32b081ea772cbbd84d0dfc46a7439702b2a3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/agentscheduler/cache/event_handlers.go:497-504 | pkg/scheduler/cache/event_handlers.go:1787-1794 \u2014 before extracting anything, compare \u0060pkg/agentscheduler/cache/event_handlers.go\u0060 and \u0060pkg/scheduler/cache/event_handlers.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 114 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":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"feffd72b1b8861d7d9e6ba461dd755a62c2bfe217a88a427da757704572aebbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/agentscheduler/cache/factory.go:55-63 | pkg/scheduler/cache/factory.go:55-63 \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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/factory.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de151825a8f47087df0308ac9985309b3974e9ec796e71d48e57d5db82e18e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/agentscheduler/util.go:68-76 | pkg/scheduler/util.go:95-103 \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":"pkg/agentscheduler/util.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad7b669513f392d9b65a3d9eb2ee1da0f79300923c809a2a877b5d4883d0aee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/cli/job/view.go:260-266 | pkg/cli/vjobs/view.go:293-299 \u2014 \u0060pkg/cli/job/view.go\u0060 and \u0060pkg/cli/vjobs/view.go\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 176 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":"pkg/cli/job/view.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"467c9218600f9b286ffa47eda8337c1aebfd936488ffd44c1e11595c0513f358"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/cli/jobflow/describe.go:125-134 | pkg/cli/jobtemplate/describe.go:125-134 \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":"pkg/cli/jobflow/describe.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4974aa80a49e254dd6135a6117b5e14998623a44f0769ec28115fd089a9752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/cli/jobflow/describe.go:136-144 | pkg/cli/jobtemplate/describe.go:136-144 \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":"pkg/cli/jobflow/describe.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4772048aadad70425ddd5f7cddcd9e269c68a02f84c110772dcd248e4ea5ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/cli/queue/get.go:44-48 | pkg/cli/vqueues/get.go:66-70 \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":"pkg/cli/queue/get.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d280efc5a739b185dd9762b0780563a68725a8017d3b3ddf8eb342dc7bf5d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/controllers/hypernode/discovery/label/label.go:452-462 | pkg/controllers/sharding/node_events.go:116-126 \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":"pkg/controllers/hypernode/discovery/label/label.go"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1571e9cd345dd0d37d782484688cf1ff0892c90a2c2caaf1b78311ab6e2d406"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/controllers/job/job_controller_util.go:335-344 | pkg/controllers/jobflow/jobflow_controller_util.go:37-46 \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":"pkg/controllers/job/job_controller_util.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ffa4907f4ef77616b79027762dcdb7c7a9ae2b08ea8e544681243692040984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/controllers/job/plugins/distributed-framework/hcclrank/hcclrank.go:91-100 | pkg/controllers/job/plugins/distributed-framework/pytorch/pytorch.go:128-137 \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":"pkg/controllers/job/plugins/distributed-framework/hcclrank/hcclrank.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c517d930a290e45ed51ba60c9c210675263d0c63047c337a14af083a85173380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): pkg/controllers/job/plugins/distributed-framework/mpi/mpi.go:191-197 | pkg/controllers/job/plugins/distributed-framework/pytorch/pytorch.go:367-373 | pkg/controllers/job/plugins/distributed-framework/tensorflow/tensorflow.go:132-140 | pkg/controllers/job/plugins/env/env.go:61-69 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/plugins/distributed-framework/mpi/mpi.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c15b0f3a3d84bb5ccf482e3191425e07f93680b77019b3dd39d5740b67a682"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): pkg/controllers/job/plugins/distributed-framework/mpi/mpi.go:199-205 | pkg/controllers/job/plugins/distributed-framework/pytorch/pytorch.go:375-381 | pkg/controllers/job/plugins/distributed-framework/tensorflow/tensorflow.go:142-148 | pkg/controllers/job/plugins/env/env.go:71-77 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/plugins/distributed-framework/mpi/mpi.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4993e011d1fae1d4ae56490bfd8f48a3c956b2a5068a75246e2ee7ced5d2564"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): pkg/controllers/sharding/policy/arguments.go:66-83 | pkg/scheduler/framework/arguments.go:111-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/policy/arguments.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"da012a1b8f2339c2aa815025705eead128e2a1432a33fccffb4f7ec34dbb3a80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/metriccollect/testing/fake_sub_collector_cpu.go:36-47 | pkg/metriccollect/testing/fake_sub_collector_memory.go:36-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/metriccollect/testing/fake_sub_collector_cpu.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c15392a4c76f6f4a25946e7b360ef72ee1043857bc21796f9c72ae15ad6b84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go:636-640 | pkg/scheduler/api/devices/nvidia/gpushare/share.go:184-189 \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":"pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"2318e599933b8fff37655cff318c9f5d79e6cf3d1022b79e8cde68753bbfbc68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/utils.go:157-162 | pkg/scheduler/plugins/deviceshare/devices/ascend/310p/vnpu/node.go:56-61 \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":"pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/utils.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c68c140c0febc491661b486daffc0179a77082a2e85387a6d22ba8db2069ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/scheduler/api/job_info.go:1043-1051 | pkg/scheduler/api/sub_job_info.go:261-269 \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, \u0060pkg/scheduler/api/sub_job_info.go:272\u0060 calls \u0060WaitingTaskNum\u0060 and \u0060pkg/scheduler/api/job_info.go:1053\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":"pkg/scheduler/api/job_info.go"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"389d111eb0b1f8b313626da5a12301d5f755e36befe5b20bc9b4272cc91f298f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/scheduler/api/job_info.go:1053-1061 | pkg/scheduler/api/sub_job_info.go:276-284 \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":"pkg/scheduler/api/job_info.go"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30705d2851de717f12deb68572293d4f6528646f26777e4f2a4abe5d631732b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/scheduler/api/job_info.go:1403-1409 | pkg/scheduler/api/sub_job_info.go:91-97 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8cfebf9c2ee975e6eb3f7a1c3fddd8b7e19f202c66000917af4880f10cdc8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/scheduler/metrics/source/metrics_client_elasticsearch.go:92-101 | pkg/scheduler/metrics/source/metrics_client_prometheus.go:48-57 \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":"pkg/scheduler/metrics/source/metrics_client_elasticsearch.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21b7436d0d48a2dfcd42ea8ce056a11ff3feb16a1118a7f560482ae9ac60b6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/scheduler/plugins/deviceshare/devices/ascend/310p/vnpu/score_policy.go:91-100 | pkg/scheduler/plugins/deviceshare/deviceshare.go:188-197 \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":"pkg/scheduler/plugins/deviceshare/devices/ascend/310p/vnpu/score_policy.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c92c9d2275b087859b63b7276f93da42e121c5551d6abe8c8482681181d5db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/scheduler/plugins/numaaware/policy/policy_best_effort.go:34-41 | pkg/scheduler/plugins/numaaware/policy/policy_restricted.go:34-41 \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":"pkg/scheduler/plugins/numaaware/policy/policy_best_effort.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb37c655968e27adb47dbc16a3f130d4bd708f3c69ad21b887055062899c0f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/scheduler/plugins/numaaware/provider/cpumanager/cpu_mng.go:47-54 | pkg/webhooks/admission/jobs/validate/admit_job.go:404-411 \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":"pkg/scheduler/plugins/numaaware/provider/cpumanager/cpu_mng.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"673279b8e2d311eb3338ec84d6218eea0ead19dc298807fc96bd51fc0c130874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/webhooks/admission/cronjobs/validate/admit_cronjob.go:44-54 | pkg/webhooks/admission/jobs/validate/admit_job.go:48-58 \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":"pkg/webhooks/admission/cronjobs/validate/admit_cronjob.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefe2186532f235a494b73186bf3c4f03068b399dbc888a5d58c562c07182200"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): pkg/agent/events/handlers/cpuqos/cpuqos_linux.go:46-54 | pkg/agent/events/handlers/cputhrottle/cpu_throttling.go:58-66 | pkg/agent/events/handlers/memoryqos/memoryqos_linux.go:47-55 \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 \u0060pkg/agent/events/handlers/cputhrottle/cpu_throttling.go: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. 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":"pkg/agent/events/handlers/cpuqos/cpuqos_linux.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1e884cab0429ff1408bf59fa28b07de9424f14181555f49e8d38267983a51e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/agent/utils/node/annotation.go:36-45 | pkg/agent/utils/node/label.go:26-35 \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":"pkg/agent/utils/node/annotation.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6492b6f04981ed4aad39afd7f148b33df9478fb0cbd13581cf63d92207645695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/agent/utils/node/annotation.go:47-56 | pkg/agent/utils/node/label.go:46-55 \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":"pkg/agent/utils/node/annotation.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3174a1d4ebc7b553a44f1d67733783ff159945d6b3a13ed80f8b34f9538124f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): pkg/cli/job/delete.go:41-45 | pkg/cli/job/resume.go:39-44 | pkg/cli/job/suspend.go:39-44 | pkg/cli/job/view.go:56-61 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/delete.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fe199449c3d026febdfefaf2cc8fd38c4e07cdea3cd80689f4737568831b43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): pkg/cli/vcancel/cancel.go:41-46 | pkg/cli/vresume/resume.go:39-44 | pkg/cli/vsuspend/suspend.go:39-44 \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":"pkg/cli/vcancel/cancel.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea39a5bc2a8afb37a5f7c9457467a02cc780111b362ba8736f6d262b0bd56974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): pkg/controllers/jobflow/jobflow_controller.go:158-177 | pkg/controllers/jobtemplate/jobtemplate_controller.go:146-165 \u2014 \u0060pkg/controllers/jobflow/jobflow_controller.go\u0060 and \u0060pkg/controllers/jobtemplate/jobtemplate_controller.go\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 53 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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/jobflow_controller.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81cd3427a18766c8df085d769d8276e4e2ea2b0bb7cf486771392de3ebf78b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/scheduler/framework/session.go:757-769 | pkg/scheduler/framework/session.go:799-812 \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 \u0060pkg/scheduler/framework/session.go:757\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":"pkg/scheduler/framework/session.go"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba54f61ecfeb7724fbf65f31157c75a97d8a86db062b1c3191ced7ee3315432"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/scheduler/plugins/extender/extender.go:251-262 | pkg/scheduler/plugins/extender/extender.go:272-283 \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 \u0060pkg/scheduler/plugins/extender/extender.go:251\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/scheduler/plugins/extender/extender.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ba51767a6d351891a904791b203bc6f99d7a9e9427bde0e4728383da1d91db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): pkg/scheduler/uthelper/helper.go:268-278 | pkg/scheduler/uthelper/helper.go:306-316 | pkg/scheduler/uthelper/helper.go:397-407 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/uthelper/helper.go:268\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":"pkg/scheduler/uthelper/helper.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bc5aead0b63a26f3c8480efd5d0cd0361ea44805bd78dc6d65c0b8f9fac5b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/scheduler/plugins/predicates/predicates.go:346-356 | pkg/scheduler/plugins/predicates/predicates.go:373-382 \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 \u0060pkg/scheduler/plugins/predicates/predicates.go:346\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e04dd4e303593c8a221539ae03f29be68866febcb0bca7437b86539fa647ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/scheduler/framework/statement.go:86-96 | pkg/scheduler/framework/statement.go:128-138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/framework/statement.go:86\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":"pkg/scheduler/framework/statement.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc574c8cd9743d46eb07564ab99b356e393d6f82aa37790e5bb4b5d2fb5e840a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/networkqos/cni/config.go:61-71 | pkg/networkqos/cni/config.go:108-118 \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":"pkg/networkqos/cni/config.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ecd1af1a5defbcf797de0c051542cbad09f4bccfaffbf40886c63e18ed37a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): pkg/controllers/garbagecollector/garbagecollector.go:102-110 | pkg/controllers/namespacequeue/namespacequeue_controller.go:190-199 | pkg/controllers/queue/queue_controller.go:183-192 \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 \u0060pkg/controllers/garbagecollector/garbagecollector.go:102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/controllers/queue/queue_controller.go:194\u0060 calls \u0060Until\u0060 and \u0060pkg/controllers/namespacequeue/namespacequeue_controller.go:201\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":"pkg/controllers/garbagecollector/garbagecollector.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"08509b1f0ab8d080a5f683d6c3e7945bdd2973e2553ee2f58ac774199d4c3873"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/controllers/namespacequeue/namespacequeue_controller_handler.go:201-210 | pkg/controllers/queue/queue_controller_handler.go:120-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/controllers/namespacequeue/namespacequeue_controller_handler.go:201\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":"pkg/controllers/namespacequeue/namespacequeue_controller_handler.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0f253e3b9a2e3477bdbb550f5b273edbdfc9c918f87db2c249e9d84cfa1902"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/controllers/namespacequeue/namespacequeue_controller_handler.go:310-319 | pkg/controllers/queue/queue_controller_handler.go:48-56 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/controllers/namespacequeue/namespacequeue_controller_handler.go:310\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":"pkg/controllers/namespacequeue/namespacequeue_controller_handler.go"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"6599064e0fb2e7fb4575762c1b34941c6430f96897eae68960d418f7a84a76a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/webhook-manager/app/util.go:51-59 | cmd/webhook-manager/app/util.go:84-92 \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 \u0060cmd/webhook-manager/app/util.go:51\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":"cmd/webhook-manager/app/util.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb117c8fbf39c28f37ddeeeffef9d6348bb20a6919f6a8fb55699d7c0c3085d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): pkg/controllers/jobflow/jobflow_controller.go:212-220 | pkg/controllers/jobtemplate/jobtemplate_controller.go:195-203 | pkg/controllers/queue/queue_controller.go:254-262 \u2014 \u0060pkg/controllers/jobflow/jobflow_controller.go\u0060 and \u0060pkg/controllers/jobtemplate/jobtemplate_controller.go\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 53 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 \u0060pkg/controllers/jobflow/jobflow_controller.go:212\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"pkg/controllers/jobflow/jobflow_controller.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde0470d017ffd078d664806d90f08a141840c67a5b22a5dcadcb01296172f98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): pkg/scheduler/plugins/capacity/capacity.go:949-957 | pkg/scheduler/plugins/capacity/capacity.go:987-995 | pkg/scheduler/plugins/proportion/proportion.go:504-512 | pkg/scheduler/plugins/proportion/proportion.go:525-533 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/plugins/capacity/capacity.go:949\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"9debaf7dcac1b30e59c42f0f7d83c5e39738877accc892adeadde7d732772451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): pkg/webhooks/admission/cronjobs/validate/admit_cronjob.go:60-68 | pkg/webhooks/admission/hypernodes/validate/admit_hypernode.go:40-48 | pkg/webhooks/admission/jobflows/validate/validate_jobflow.go:47-54 | pkg/webhooks/admission/jobs/validate/admit_job.go:64-72 | pkg/webhooks/admission/podgroups/validate/validate_podgroup.go:41-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/webhooks/admission/cronjobs/validate/admit_cronjob.go:60\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":"pkg/webhooks/admission/cronjobs/validate/admit_cronjob.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e655c2656c128f2b0a664e230a2c94b298047b10ae918d5758af5f5ced44f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/scheduler/actions/allocate/allocate.go:197-205 | pkg/scheduler/actions/backfill/backfill.go:149-157 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/actions/allocate/allocate.go:197\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":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9535e7fd09fcc62db17b1f3da4ce396eee7645d472383086b2377fb196d1a37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/scheduler/plugins/rescheduling/low_node_utilization.go:62-69 | pkg/scheduler/plugins/rescheduling/low_node_utilization.go:75-82 \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 \u0060pkg/scheduler/plugins/rescheduling/low_node_utilization.go:62\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":"pkg/scheduler/plugins/rescheduling/low_node_utilization.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd03ff646a5d55f7b21bf44df37083107648a68aa54ba315477466111e8d2820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/scheduler/framework/session.go:747-754 | pkg/scheduler/framework/session.go:789-796 \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 \u0060pkg/scheduler/framework/session.go:747\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":"pkg/scheduler/framework/session.go"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a63855b4fb030e76fbe157f528c4b4b4b089cb02d4be057e1a895e136270acb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/scheduler/plugins/drf/drf.go:393-400 | pkg/scheduler/plugins/drf/drf.go:424-431 \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 \u0060pkg/scheduler/plugins/drf/drf.go:393\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":"pkg/scheduler/plugins/drf/drf.go"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c72fbae2c74b2e1fa13c13133eff696143c3697ef8ae3604fecd1e313a0453d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/scheduler/framework/statement.go:227-233 | pkg/scheduler/framework/statement.go:351-358 \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 \u0060pkg/scheduler/framework/statement.go:227\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":"pkg/scheduler/framework/statement.go"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a52e9b3202a31fdb6b37bae8a8f7a8b74ad2a0222a9c94566bf4499b551cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/scheduler/plugins/capacity/capacity.go:941-948 | pkg/scheduler/plugins/proportion/proportion.go:496-503 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/plugins/capacity/capacity.go:941\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":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b64db686df2b648cd7e69493fcf7807624d4665c3725fc752f1f79906110f00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/controllers/hypernode/configmap_handler.go:71-78 | pkg/controllers/hypernode/configmap_handler.go:81-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/configmap_handler.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccf48433e35e12952cace861e5f40d556bde81c950bd6b2f76eb1467681c309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): pkg/scheduler/actions/backfill/backfill.go:143-149 | pkg/scheduler/actions/preempt/preempt.go:113-119 | pkg/scheduler/actions/reclaim/reclaim.go:73-79 \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 \u0060pkg/scheduler/actions/backfill/backfill.go:143\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":"pkg/scheduler/actions/backfill/backfill.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"079f500dc0b60d62c64efc1635613db544dda56b0d0dbf7fd92891c585bfe45e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:450-456 | pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:570-576 \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 \u0060pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:450\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":"pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2a13e883b552d511f92a731270b378c02a57bde4963e2415f162d573cc1c0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): pkg/webhooks/admission/queues/validate/validate_queue.go:677-683 | pkg/webhooks/admission/queues/validate/validate_queue.go:692-698 | pkg/webhooks/admission/queues/validate/validate_queue.go:745-751 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/webhooks/admission/queues/validate/validate_queue.go:677\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":"pkg/webhooks/admission/queues/validate/validate_queue.go"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9141f9d2b0acf2646259338e613eb63fb8ad41b90a49902e159e14229f734ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/scheduler/actions/preempt/preempt.go:391-397 | pkg/scheduler/actions/reclaim/reclaim.go:232-238 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/actions/preempt/preempt.go:391\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":"pkg/scheduler/actions/preempt/preempt.go"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fd9cc31a5b61817ecff74208f7cb3bc1de432ad473215079dcb45aaa23fbd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/agentscheduler/cache/cache.go:1195-1201 | pkg/scheduler/cache/shard_coordinator.go:127-132 \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":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b5e3f03be2c740a2aae93d9daa8e6179313fef7a6ab7611b54a741bd00655c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:326-331 | pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:341-347 \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 \u0060pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go:341\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. 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":"pkg/scheduler/plugins/network-topology-aware/network_topology_aware.go"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e368d8ccef2049013c80d63f5be2b6a1d7c4a434a1f1bc1af7a7bbceb14aaa0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/scheduler/plugins/tdm/tdm.go:166-171 | pkg/scheduler/plugins/usage/usage.go:329-334 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/plugins/tdm/tdm.go:166\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/scheduler/plugins/tdm/tdm.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4c028ca40c520e855862f85f4eadab61efcdd5b859ee40878f3823b36eb896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): pkg/controllers/podgroup/pg_controller_handler.go:223-228 | pkg/controllers/podgroup/pg_controller_handler.go:230-235 | pkg/controllers/podgroup/pg_controller_handler.go:237-242 \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":"pkg/controllers/podgroup/pg_controller_handler.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7752ec034915b1842dc339dbcd5d81778c35570731008069735d125ba7c0cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/scheduler/plugins/drf/drf.go:416-420 | pkg/scheduler/plugins/drf/drf.go:447-451 \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 \u0060pkg/scheduler/plugins/drf/drf.go:416\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":"pkg/scheduler/plugins/drf/drf.go"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"550b625088722b9c84a1cc5b6597094deab2ab26a0de8a53c66f5b35da603c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/scheduler/framework/statement.go:177-181 | pkg/scheduler/framework/statement.go:284-288 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/statement.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d704045f62e314c6faeaa892250d0d11524585abcd0678ce986f661ca36aa5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/scheduler/plugins/proportion/proportion.go:514-518 | pkg/scheduler/plugins/proportion/proportion.go:535-539 \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 \u0060pkg/scheduler/plugins/proportion/proportion.go:514\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":"pkg/scheduler/plugins/proportion/proportion.go"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ef529bd67e1671b6c4f1f693410d0dcb9308c367c03d6d6e2d6067412d0eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/controllers/job/plugins/svc/svc.go:222-226 | pkg/controllers/job/plugins/svc/svc.go:260-264 \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":"pkg/controllers/job/plugins/svc/svc.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c4f51029a96d31af6efdbcc74e6d07d1879308c14d5e89b7fa8b23d70375f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): pkg/agentscheduler/cache/cache.go:538-542 | pkg/agentscheduler/cache/cache_mock.go:135-139 | pkg/scheduler/cache/cache_mock.go:185-189 \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 \u0060pkg/agentscheduler/cache/cache.go:538\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":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbba73921c18f17138769fae7f68f299fbc306c38205d07dda6a77b60aa4bd18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/scheduler/actions/allocate/allocate.go:1252-1256 | pkg/scheduler/actions/allocate/allocate.go:1269-1273 \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 \u0060pkg/scheduler/actions/allocate/allocate.go:1252\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":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"25944c6d4df0017a575df32649bad6192611a2e1f7764217d1046e7dd5a39f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/scheduler/api/devices/nvidia/vgpu/metrics.go:104-110 | pkg/scheduler/api/devices/nvidia/vgpu/metrics.go:123-129 \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 \u0060pkg/scheduler/api/devices/nvidia/vgpu/metrics.go:104\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/scheduler/api/devices/nvidia/vgpu/metrics.go:121\u0060 calls \u0060DeleteLabelValues\u0060 and \u0060pkg/scheduler/api/devices/nvidia/vgpu/metrics.go:103\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":"pkg/scheduler/api/devices/nvidia/vgpu/metrics.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed02acfe0f22a8cad6bc4209b239b21c3a0415288d8162bf6d54a5b1a36fbeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/scheduler/cache/cache.go:605-609 | pkg/scheduler/cache/cache_mock.go:132-136 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/scheduler/cache/cache.go:605\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":"pkg/scheduler/cache/cache.go"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"50dc8ecd80d70f40566be980bf3277c8e8da6ca71d4b50794b63a74f3316db39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/scheduler/cache/cache.go:619-623 | pkg/scheduler/cache/cache_mock.go:146-150 \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, \u0060pkg/scheduler/cache/cache_mock.go:151\u0060 calls \u0060NewShardUpdateCoordinator\u0060 and \u0060pkg/scheduler/cache/cache.go:624\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":"pkg/scheduler/cache/cache.go"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0a19dc825658274d3ce9eddca675533881ad41d8def77ff0dabdcd4779da01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/scheduler/plugins/usage/usage.go:414-418 | pkg/scheduler/plugins/usage/usage.go:426-430 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/usage/usage.go"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"b657dd15f2bf65cdde10ddcecf4aedf8a6d5f2337f5146b9e489ed24716b8c5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): example/extender/extender.go:60-89 | example/extender/extender.go:91-124 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/extender/extender.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c5407cb6d41708534756b4c09a7c0119c35a2da98210d68e507f7c6ca0b409"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): pkg/scheduler/api/test_utils.go:48-71 | pkg/scheduler/util/test_utils.go:70-96 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"pkg/scheduler/api/test_utils.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a336f1505e8663afd1b78b9ff06bb6ef7017f1a1b89ddc03376ce30bb6b356"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/controllers/sharding/test_utils.go:197-208 | pkg/controllers/sharding/test_utils.go:210-217 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/test_utils.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9072cf32a30b58c19489b1a0deffbbd7a73de82802c2fe1f50aad71e795b9ca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/scheduler/util/test_utils.go:401-409 | pkg/scheduler/util/test_utils.go:412-420 \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":"pkg/scheduler/util/test_utils.go"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be982d7aed90b7677d78bf0f537c6d84cd6aeacd674e1168bf412ef741a950e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/scheduler/api/test_utils.go:35-46 | pkg/scheduler/util/test_utils.go:43-55 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/test_utils.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a52fcb59d60bae1739a94852b92d352a57c9ee1e342ac9db198bf02561c041"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/controllers/sharding/test_utils.go:221-225 | pkg/controllers/sharding/test_utils.go:293-297 \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":"pkg/controllers/sharding/test_utils.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f57e0801bc5a465850d6e8a8d60cd52ca4c6b1ee5c5a83f54f7fa14a81ca9d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Snapshot (LCOM4 5): Snapshot\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/util/k8s/snapshot.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"37816fa9c5b687b373df46eff75aa054723576b9aabe72bf0d4aca6146054f63"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: benchmark/testcases/util/constant.go: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/testcases/util/constant.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70beef0cad83d61863cb146096c6479e615faa2e408668fcb9c6f14b88cc3ac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: benchmark/testcases/util/util.go: 0.0% line coverage (0/169)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/testcases/util/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abd0d2b8baed3063cef05e4196566843958700c4c48ca2a5ede1dee1ff91b52"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/agent-scheduler/app/server.go: 0.0% line coverage (0/66)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/agent-scheduler/app/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"376b431e36f69eb6822e478a2b9850be7fa058ea4f959ae2073259595dba1ace"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/agent-scheduler/main.go: 0.0% line coverage (0/40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/agent-scheduler/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5400c79f40e2796abdc4a735c91a451541372cc1171752517437d3f136a393"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/agent/app/agent.go: 0.0% line coverage (0/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/agent/app/agent.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6d6346293585bc2e8b0de402018b4c33cf397ba9b75c94c37414e29a54cf09"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/agent/app/app.go: 0.0% line coverage (0/53)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/agent/app/app.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2e30b7d2c14124a6f2789573dd4e82894485f1dd4f3bf2562bbe227ceeadbe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/agent/app/options/options.go: 11.4% line coverage (4/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/agent/app/options/options.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db908fba4f3b1de1107c7bf7de1e8848f872215e848df5236bbeff15803fcd12"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/agent/main.go: 0.0% line coverage (0/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/agent/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a18c096778e558fcb558ee511dd544df833fbf4f5ed1724e29ca4fed7848b6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cli/job.go: 0.0% line coverage (0/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/job.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c4eb588926f50df86a3c4cd3958cba4361c5400a6d38c7473e701091a52fb9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cli/jobflow.go: 0.0% line coverage (0/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/jobflow.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ff0d5f72344bac663bc2ab76473acda35405c125b3aed019c9955e1212dc15"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cli/jobtemplate.go: 0.0% line coverage (0/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/jobtemplate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fc983ce0dc5d4c7bb069e9e85ea0e4869516be4313bcbb88d7f2f0be16a7dc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cli/pod.go: 0.0% line coverage (0/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/pod.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e83535cb13dcf7cea3cae5d2555b3fcad560c86e52a29d2aff12ab0e97940d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cli/queue.go: 0.0% line coverage (0/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/queue.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d724b6c7ce1975883d9d1fceb233ceb2a16cfe914552ba0637f17c1bd10bb408"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cli/util/util.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/util/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db471e6350477fea8fb64ba7b64acb1e2f115cc2d36c2bd574568db926e2021"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cli/vcancel/main.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/vcancel/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"971f9f3006bb5ab4677f4cbed4f55b72cf4615e304fbd6e48502370b8accfddd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cli/vcctl.go: 0.0% line coverage (0/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/vcctl.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df80a033ee6ac014452f7b183d8b5bfd5588a342fe5ff02efd13d8f537a3d6a3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cli/vjobs/main.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/vjobs/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e9998e7c2d963a374d9d5fe6d888e2b48e84536d1ff940420e735e71397177"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cli/vqueues/main.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/vqueues/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e3df45f2e24e153652a61230a6a1679915d01b1c6ca7e902a3aebd90902372"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cli/vresume/main.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/vresume/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91059f75219ac6a0998488da1a007b669b8dee129f1fbd8603aaec94830850bd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cli/vsub/main.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/vsub/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd8912af54c0f072eb23efb80ad93f326abeb5c4e4d21105ed87b2d13d56156"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/cli/vsuspend/main.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/vsuspend/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0b1fb936f7c25bfd4410ae81283f3c6f72f0bdd54dcc955951c849d06af1d1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/controller-manager/app/server.go: 12.2% line coverage (15/123)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/controller-manager/app/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28a7d4b156c1b62e87379e54563e00870c2532879f575bd8ba7c6cab59f0e09"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/controller-manager/main.go: 0.0% line coverage (0/53)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/controller-manager/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a36871efb31f7941c95a04ff74de22b594695ec36d3599a9b759a736b7fc1e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/hypernode-controller-manager/app/server.go: 16.9% line coverage (26/154)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/hypernode-controller-manager/app/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61783c83f69d93fffe4219cb0da9b01ec729ad47a817c0728cd49a0ec96a53de"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/hypernode-controller-manager/main.go: 0.0% line coverage (0/28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/hypernode-controller-manager/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec078c91989bc851b361545e8ab0c08a176b6ad405a4ce8fb7bd3d716693c1e6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/network-qos/main.go: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/network-qos/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c612822d593759bb1a8e51b89b38e8b5756b3d50381f6a6fafebaa1a56f288d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/network-qos/tools/root.go: 0.0% line coverage (0/25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/network-qos/tools/root.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d16f928343407ee542c710df7a3af1af24c36adc2059889664cf3f32e1a8d7f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/network-qos/tools/version.go: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/network-qos/tools/version.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8cd2f6162035cd129c79617024b9474d624888e837b79defe9bcea7e6bb4e6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/scheduler/app/server.go: 0.0% line coverage (0/97)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/scheduler/app/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5562907ffe0e23ba831457c37b7eb5058848a31825dda8e412514692d95c4fd6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/scheduler/main.go: 0.0% line coverage (0/40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/scheduler/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd154804d4068ec81ebf56ed02595ed159532fb3bc56df2325374d2ebef42809"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/webhook-manager/app/server.go: 0.0% line coverage (0/108)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/webhook-manager/app/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dc617940c9cd26dec761d5a438c03f4d6fe19f7f9a9aff138875156ccb1ec7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/webhook-manager/app/util.go: 0.0% line coverage (0/90)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/webhook-manager/app/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db25bf22a69a17bac7ae5f430f4958def16555fee6c9ab9413195ee443bee541"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/webhook-manager/main.go: 0.0% line coverage (0/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/webhook-manager/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0891318313ae4b32a1637d10c877cdf5b298525f871db62a25cabe17c09ca691"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: example/custom-plugin/magic.go: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/custom-plugin/magic.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f3fe6dfca03c04a1e0ddd57334e81610b75290df152ca8b90150274b791722"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: example/extender/extender.go: 0.0% line coverage (0/81)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/extender/extender.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db52cfc877a641d7d16b770c4db541cb44924e5539ef18a8afcfcf5b18a5f725"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: example/kubecon-2019-china/scripts/node-info.go: 0.0% line coverage (0/65)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/kubecon-2019-china/scripts/node-info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b888a8b9bfb0511d3f23f454f58ab91f53d50d149443a1023aaae30849f2421"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/config/source/configmap_source.go: 0.0% line coverage (0/81)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/config/source/configmap_source.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98c8eaa7bcdcd961215d199597533ca369c1e95f74d78eb8a897d294c628a02"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/config/source/file_source.go: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/config/source/file_source.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afc5aa604c91cc7dcdcf76e9b783a0deeb117444a15e9397088f441e96ee9aa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/events/eventsmgr.go: 0.0% line coverage (0/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/eventsmgr.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a76c7bb7e1ccba58b35cfb8628e2bea1127a768a2d24c1fbbb940ae1177cecc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/events/framework/events.go: 25.6% line coverage (11/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/framework/events.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32115477e10b0b548be838e3ef131a97c5e65544aeef89ece5a21bbf90681915"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/events/framework/factory.go: 20.9% line coverage (9/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/framework/factory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e08b2604ba4ce7cf7ba9c06e60b478ed09ed4ec058d3f8435123a4433fe4f4f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/events/handlers/cputhrottle/cpu_throttling.go: 48.0% line coverage (36/75)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/cputhrottle/cpu_throttling.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99956d1a11130f0f6a1b3f731633dc6a8a134d22d43d956f7c3683c97c1b73fb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/events/handlers/eviction/eviction.go: 44.9% line coverage (22/49)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/eviction/eviction.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9efc8925c563450caa9513b70f58af64abad997c74cce06836e7098362c56ab"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/events/handlers/networkqos/networkqos_linux.go: 43.9% line coverage (29/66)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/networkqos/networkqos_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94e64fa871e7a254a70f2f7fd5a97de631dde42420f3d6f6c5e9d03cc4fa6cf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/events/probes/nodemonitor/node_monitor.go: 49.2% line coverage (87/177)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/probes/nodemonitor/node_monitor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab77a128ca6c9792997aca36da69f669ea144b9b11ffa309b184f5df74a6243"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/events/probes/pods/pods.go: 0.0% line coverage (0/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/probes/pods/pods.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33d2fcab6439c52d877bb8e13833c3c083af6d7cf8bb040c0a1e9614abb402e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/healthcheck/healthcheck.go: 0.0% line coverage (0/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/healthcheck/healthcheck.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b3a6ef06825dd5b44977f3837ef724dfed263d3451fa5b610857ca19845df6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/oversubscription/policy/policy.go: 23.2% line coverage (13/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/oversubscription/policy/policy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"106a9881f584da1c32e25d92c025c2f6e58c7149bdc3a52b23e06785829c2a51"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/utils/cgroup/cgroup.go: 27.5% line coverage (75/273)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/cgroup/cgroup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c265e94abd230f769e70a43603ea7a3d509b0a76980c791bad23ad9a0ffb0f1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/utils/eviction/eviction.go: 0.0% line coverage (0/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/eviction/eviction.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7eafbbf948af5b8a6247104c42f162617cff9c5c51723414a12299deb487ece"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/utils/exec/exec.go: 23.5% line coverage (4/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/exec/exec.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd8ea8b2f88e4fc59c1177f4c126be3b0cae0b0a38cffb55e74019393871be4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/utils/node/annotation.go: 0.0% line coverage (0/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/node/annotation.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33128151c7a897ae19aa19c215e223506e47cd6d55bc4249bcc4a4a175ff4991"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/utils/node/patcher.go: 47.9% line coverage (34/71)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/node/patcher.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f21b2d4d59df347f70c7158b4b46c05508bc5b1436e44f63d09ff2e435767d5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/utils/node/resource.go: 36.7% line coverage (33/90)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/node/resource.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13796106949bbc822a56022c8fea7ba72b913cb1db059ed980a4244bfcfb4aa4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agent/utils/utils.go: 45.6% line coverage (47/103)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda22c6acec3e6e287409ea0e37de9f798a7f0a35d15d6687b81127b9b984030"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agentscheduler/actions/factory.go: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/actions/factory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7973150cb2f7f4048fad367b46087b888c2086c9b41d54abc758c69c576425"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agentscheduler/cache/cache.go: 28.8% line coverage (198/687)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a6295803806f985e80fcd3a82f831ccf4df8a657ac38681dfab9ad2666a826"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agentscheduler/cache/dumper.go: 0.0% line coverage (0/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/dumper.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c718a9bd053030436adf9ff9afa7bf5b67ce7d05b0f73ceafdf4d2ad0038f121"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agentscheduler/cache/event_handlers.go: 18.3% line coverage (58/317)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0586dd61998ba1d392a20660f247a5ee3e950f04f35eee35ecda5ce6114c9612"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agentscheduler/plugins/defaults.go: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/plugins/defaults.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7d4c4f9f770f7e805d5386155ab687ffba9aee40e2f25891ec9e22d64288e1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agentscheduler/scheduler.go: 28.7% line coverage (49/171)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/scheduler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"659569bf5d20ec5a7ccd109c40c53f2b9b8f23478f6ac96afb4ec481f9cd6307"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/agentscheduler/util.go: 0.0% line coverage (0/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cc897ff4a82aa6640587dc86b95a950a84bd3331798b0ee03a4b56f033b73a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cli/podgroup/podgroup.go: 16.7% line coverage (1/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/podgroup/podgroup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec382f1c27a18ad0ab451634a85af4d5cf662efa48b74a7c9f79f1415861c1a6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cli/vjobs/view.go: 0.0% line coverage (0/246)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/vjobs/view.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba8eed17866a15f89f7c1cdf8e61ba606841bc09fd969350519d156afde7fbb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cli/vqueues/get.go: 0.0% line coverage (0/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/vqueues/get.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3ee5865aae73e2e4a0331d283ccd6a85a7d52756336abdd0e64280ce0a7563"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cli/vsub/run.go: 0.0% line coverage (0/118)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/vsub/run.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb53af51e597ff4c2473e5a4d1d70758d8c67e6437ca03e3269909a5738357ff"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/config/config.go: 45.6% line coverage (31/68)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"637fdd6799415ddfbc12c84e10ea3975686c3bfd1b73ab11b2be203c0343491b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/controllers/garbagecollector/garbagecollector.go: 37.2% line coverage (61/164)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/garbagecollector/garbagecollector.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bcf3fdab5854e941dc96edcd1577d7d38d47f84d7f3a1ae665eda1d9c12823"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/controllers/job/job_controller_resync.go: 43.8% line coverage (21/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_resync.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"183d5ad53bb20bf0f25032a0a876855e84fe23b062501f866c78dda137aa606f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/controllers/jobflow/state/factory.go: 28.6% line coverage (2/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/state/factory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec0e3d3cec8878e6f87465fe7adb483e80f4c111407d2199bd6c56f66f55c0d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/controllers/jobflow/state/failed.go: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/state/failed.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be782870d9c4b689135e1756596c2124b39b17161589e8820ebf6a2d7bfac64"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/controllers/jobflow/state/succeed.go: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/state/succeed.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb1302e49653c3283456c92d8317dbad647e3b3f43c148b09c090b54e7b6fb4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/controllers/jobflow/state/terminating.go: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/state/terminating.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"726722d98e6cd35e720346ed67cb2e7f77f953d974e42be6e0b015ec67dfc4bf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/controllers/queue/queue_controller.go: 47.9% line coverage (80/167)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/queue/queue_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43eb7fe90dd767ce60c8a1bb21cce1e8747e03d08203fc4aadd997259b72f2f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/controllers/queue/queue_controller_action.go: 13.2% line coverage (27/205)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/queue/queue_controller_action.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"347915747c47fe7f5fd542ff1e1885e62b66f7823104778cb78b2133a52ce6b8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/controllers/queue/queue_controller_util.go: 0.0% line coverage (0/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/queue/queue_controller_util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e92b021f012cda07202e010f8eefd647a0a975d9ed98adeef136a1579c9d75b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/controllers/sharding/pod_events.go: 47.3% line coverage (26/55)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/pod_events.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07d7c6e14e47efc5310f322ef18c9e213313465f975b07769237a63c8ed32e8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/kube/config.go: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/kube/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a626f1d0a66250e876cd71978c98cfe0d813fa58b664a781544b53c66368e6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/metriccollect/local/cpu.go: 3.4% line coverage (5/148)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/metriccollect/local/cpu.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdda2f5e279e34fbe530adb86e939954aa3e7551e3b5eae72d65f3ab7939b88"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/metriccollect/local/memory.go: 4.9% line coverage (5/102)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/metriccollect/local/memory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e3c2a948b8a1979040355d243248571b374f73196ed10936e5d685fc15751d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/networkqos/tc/tc_linux.go: 0.0% line coverage (0/117)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/networkqos/tc/tc_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9a825199eed4e744c5522c09d20e9d33da0547a053a9e42539d3a6de4abe1e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/networkqos/utils/ebpf/map.go: 37.0% line coverage (27/73)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/networkqos/utils/ebpf/map.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5134e2924125d66e35fb1ebc9bdb79113d6a83faba6bf49bf1089b30643d2c1b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/actions/gangpreempt/gangpreempt.go: 38.6% line coverage (59/153)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffa2500f9b1b2a38fa5846f93c2220404c6a9fc72fcaae05dd978dc8fead6bf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/actions/gangreclaim/gangreclaim.go: 37.4% line coverage (61/163)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/gangreclaim/gangreclaim.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0399add28b0b1e6f94e4575294a35c6a1241ac51a77186c1533ef070e6d8f709"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/api/cluster_info.go: 0.0% line coverage (0/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/cluster_info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3590303e0f75b1ae3b7643c78d245485fbd39199b7c998b82efaedc4e9614f45"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/api/devices/ascend/hami/device_info.go: 42.6% line coverage (247/580)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/hami/device_info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc65ca3b21fc586d5712dca7da1a425ff747c446a0cf69220e94c1982861af6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_info.go: 39.8% line coverage (98/246)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b434d0a3df67d0ccffef6fa9dd73a82fe43b37e76c8ecd2a80c8e5704aec7d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go: 0.0% line coverage (0/445)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a877d19ae298ae6db11224489067c67c4440b0364b18475a66efc14702762014"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/utils.go: 2.5% line coverage (4/161)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf5a3c48a19366ff1ed6310736603271248ba54f3a02fc7157ec7591e73d4cf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/api/devices/device_info.go: 47.5% line coverage (28/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/device_info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1a54f02b79a79e7d317e6793c1df72f7dfba5e43d41a4fe5207e36657bdc85"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/api/devices/nvidia/gpushare/device_info.go: 49.4% line coverage (78/158)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/gpushare/device_info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ede362d49302d3514e7a8d8f13f6af730139668084ee2774b8eae20e8574c3a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/api/devices/nvidia/vgpu/device_info.go: 27.0% line coverage (64/237)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/device_info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"506a9db3a976c9008d5fe413652e3c047e2412bedda03434ef5b3c09a7871ea5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/api/devices/nvidia/vgpu/metrics.go: 20.0% line coverage (9/45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/metrics.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"508238ca8a378348604551e2d03e17e4f24f1a778a82ea1a792a11421205d5ed"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/api/devices/util.go: 38.0% line coverage (62/163)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dcb282daa7b572d6f5f9f406fa9fa7097dc82ef252a27f27e5ba48e22b0e2f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/api/silo_cluster_info.go: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/silo_cluster_info.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8095de766f99cd3b8dc1e7505dd22c1692e341fc95258ada51ca79f876a791d8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/cache/dumper.go: 0.0% line coverage (0/68)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/dumper.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac411ecd9b670aaa495e9a9ba13939aaa75379fd45e03196930e802e01c144e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/cache/event_handlers.go: 44.3% line coverage (524/1182). 7 more line(s) were executed in some of the 3 runs of the suite and not in others, so they are not counted as covered."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/event_handlers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c046d0d0805f2899297164ea8f6260b79c5f32a43ecb74634297d9547369ba"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/cache/util.go: 44.4% line coverage (48/108)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7240517b84047fd097848df745d1ec38588780a50c5fc845578b7dcd257bf48"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/framework/mock_gen/action_and_plugin.go: 44.8% line coverage (26/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/mock_gen/action_and_plugin.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce10d0bfd6b75e62a7a326bf6bc0ba5a3b016f15359503c29aa58b0bdc6aaf18"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/framework/util.go: 47.1% line coverage (56/119)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2e7d38f69f74c3c4d97e6af298488994b4beb5ec59eefb78bb592703be04cc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/gate/schedulinggate.go: 0.0% line coverage (0/45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/gate/schedulinggate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dce3ca857bd4acaa3114d75fcc12e8d820a076b275bef9fee5570b9c73b76be"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/metrics/job.go: 16.7% line coverage (4/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/metrics/job.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17d16e44a8e84dc89aac8508bcc4e681c309872eba4f907f1977f8480be3047"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/metrics/namespace.go: 25.0% line coverage (2/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/metrics/namespace.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d380a7fc4cc1833b8d34dd982d0ff99c91515acc6c9addde04cbd31180074d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/metrics/source/metrics_client.go: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/metrics/source/metrics_client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9346e5484d651cda5142acf94e401aeafb9b2cdbb26a57aad03fa6d02d484f8e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/metrics/source/metrics_client_prometheus.go: 0.0% line coverage (0/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/metrics/source/metrics_client_prometheus.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3b8c9d128f6fcbcda890258ec2cd313de889604af15cc5cb3c98ae0251449f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/metrics/source/metrics_client_prometheus_adapt.go: 0.0% line coverage (0/40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/metrics/source/metrics_client_prometheus_adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fed5a4f276e144194ca3656ba9a5c2cd107c2329425760e8ee8a141d3ec7dc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/deviceshare/devices/ascend/310p/vnpu/init_policy.go: 0.0% line coverage (0/588)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/devices/ascend/310p/vnpu/init_policy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44f1f4ee3dd5ad6c2817c5b63371ac8cb8e8a93366d6cfa74a4e79028e69768"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/deviceshare/devices/ascend/310p/vnpu/node.go: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/devices/ascend/310p/vnpu/node.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c454880473b8393fb807d5f1e0b4594880f7fa3e5355dcb1400c45293d6dfdc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/deviceshare/devices/ascend/310p/vnpu/score_policy.go: 0.0% line coverage (0/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/devices/ascend/310p/vnpu/score_policy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c35de7179ead03c970688d4f9d3de3b5da72e6c273193e6c6c556e1eec74ca"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/deviceshare/deviceshare.go: 24.3% line coverage (42/173)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/deviceshare.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19b0084308082e2c6e7e538dbff32492960865b82fd04723a2d64dea203bd62"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/deviceshare/gpuexclusive.go: 18.3% line coverage (67/367)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/gpuexclusive.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbf3f6cdc83f5725506bdf4d9db21ada91eb709529267fa9d390788639ad58c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/extender/extender.go: 15.4% line coverage (38/246)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/extender/extender.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72c6d771ed4d4bf8e0387d0311ab746c1b82592608fdf526da69e4fb90880ed"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/numaaware/numaaware.go: 27.5% line coverage (47/171)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/numaaware/numaaware.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd80565dc4ef67eab13744b6dfaedb0789d0e9648cd681760db6b5e3ed7a6962"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/numaaware/policy/factory.go: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/numaaware/policy/factory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17431b5aad71e094f97ffa79bc2292064c1e90f9d8391005902cf634759ce8e6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/predicates/cache.go: 0.0% line coverage (0/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/predicates/cache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d1bd613ed86cb2440d62b5e0883188a67571b599f3ef51582522c453a08462"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/rescheduling/low_node_utilization.go: 0.0% line coverage (0/121)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/rescheduling/low_node_utilization.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff9a37ba92d7f26ea4d470b617ae92c2195738b994c156592697ce21938f2b6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/rescheduling/node_utilization_util.go: 0.0% line coverage (0/122)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/rescheduling/node_utilization_util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10bb3fc773868be9b80e42ebff39b41086096135312879b567ca2339984485f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/rescheduling/rescheduling.go: 6.8% line coverage (6/88)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/rescheduling/rescheduling.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9e746552b8e72f84ebf424c19b6d4c3d383bef0e51f1d41d9adef6dcba9f40"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/rescheduling/rescheduling_util.go: 25.0% line coverage (2/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/rescheduling/rescheduling_util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2e4c74ddd46d57a82f7b46ea5e2af6794c7d9e712d257f89918decac05b7b1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/task-topology/bucket.go: 0.0% line coverage (0/41)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/task-topology/bucket.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef1d5451948ceb1d4e7172861b94d34e5aa572584f1f61f328f8efe1244bcff"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/task-topology/manager.go: 0.0% line coverage (0/208)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/task-topology/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b497edb29a28ad9ddcbbb45fd8182ff2d825711f5fd05e378da761a07a49d9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/task-topology/topology.go: 30.4% line coverage (68/224)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/task-topology/topology.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81824f41050e641291bcd643e70aefd7921fd5cada1298720cb45a3c28a0686"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/task-topology/util.go: 0.0% line coverage (0/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/task-topology/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"798dc1309ec3376fa1cb36b30cbb03659eedbd5c9dce7c9669fa4bdcfd9ae735"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/plugins/util/nodelock/nodelock.go: 48.9% line coverage (46/94)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/util/nodelock/nodelock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"245d5678616f3912e8baaf66898b4563a0479c6e7d910d8fd6a8849d8c8b0d96"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/scheduler.go: 0.0% line coverage (0/136)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/scheduler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3e65abf768dafcb5cee71627f29966e0e56f56238bd5fa443995c5ec7c55b4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/scheduler/util/assert/assert.go: 35.7% line coverage (5/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/util/assert/assert.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bdf3c28f8cd17b153460fcab7eeb35e5857f5a1e4ab44599c0080694036852"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/schedulercommon/cache/initial_event_registration.go: 23.5% line coverage (4/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/schedulercommon/cache/initial_event_registration.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bcdf0de356d1fc882a63c18279c40ede836bb4114d7164c8fa002a7935fe75"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/signals/signal.go: 0.0% line coverage (0/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/signals/signal.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd4edc1f9752aa834705533e3e9079dd469c1eeaa347eb130b2f259dc856c91"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/util/socket.go: 0.0% line coverage (0/113)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/util/socket.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb1e29f205447f33b84271750e5a3eb6d36353c040c050441d5aabf27fe5ddb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/version/version.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/version/version.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f154b1414b6d2e9160ff950031736095bfe7a2f878660b6a2c367fa18405d37"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/webhooks/admission/jobs/mutate/mutate_job.go: 23.4% line coverage (30/128)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/jobs/mutate/mutate_job.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"683721ea5fe997bbd37beb4faf5862d176ea34e06de04bcabbbc44b719cb327f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/webhooks/admission/podgroups/mutate/mutate_podgroup.go: 37.8% line coverage (17/45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/podgroups/mutate/mutate_podgroup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcc3e9592ecb8f13badfcf9e1b2e6fd575c646e7b5cfcf21cd34972d2680225"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/webhooks/admission/pods/mutate/mutate_pod.go: 49.6% line coverage (61/123)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/pods/mutate/mutate_pod.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"470931cba55cf6060db79a26a78fbc26ca0dac103080f798ca24e04fa023ba60"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/webhooks/admission/pods/validate/admit_pod.go: 7.7% line coverage (5/65)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/pods/validate/admit_pod.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c99e593aacc5e8be868a3f985944cd1635f22cfc6485758ef4628a0954ce80a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/webhooks/config/config.go: 0.0% line coverage (0/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/config/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb1f5112b1606aa2ffe496579d127a5691425890b08c9506bda36a2b4462742"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/webhooks/router/server.go: 0.0% line coverage (0/44)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/router/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd598c7ceb738128de514e661b0db610f03fb0a66c93ad2942235ab6b5036fa4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/webhooks/schema/schema.go: 25.6% line coverage (32/125)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/schema/schema.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac6b258efec8e9b00831418779c7d84dae848520c03ea92469853f8af29c7c7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: third_party/kube-apiserver-audit-exporter/cmd/kube-apiserver-audit-exporter/main.go: 0.0% line coverage (0/53)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"third_party/kube-apiserver-audit-exporter/cmd/kube-apiserver-audit-exporter/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebdb78adca3a5c4d109b433620de7e296cb831495137376f08329f56fbe8917"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: third_party/kube-apiserver-audit-exporter/exporter/exporter.go: 0.0% line coverage (0/105)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"third_party/kube-apiserver-audit-exporter/exporter/exporter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6594838e5603cdeb063fef1e1000db33baa158b3fa40c4607bc95d97ebb6b15f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: third_party/kube-apiserver-audit-exporter/exporter/metrics.go: 0.0% line coverage (0/144)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"third_party/kube-apiserver-audit-exporter/exporter/metrics.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced4dea4abcd008459939ea6331c89dbf64b32a918ed45365ba3fec70e3290bc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: third_party/kube-apiserver-audit-exporter/exporter/model.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"third_party/kube-apiserver-audit-exporter/exporter/model.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2e36c81bad6de34f465519c7ef7cee0e01946227f4fba7ace890b7f9c1e21c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: third_party/kube-apiserver-audit-exporter/exporter/utils.go: 0.0% line coverage (0/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"third_party/kube-apiserver-audit-exporter/exporter/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c1e9e7814601bc4d2f9fc9c291889d80365ef32e0fd997699f85217442172d"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: pkg/controllers/hypernode/discovery/manager.go: 2 line(s) (425-426) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/discovery/manager.go"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e53202b1febb8235e2c8d06b9bab2f6cf5cc0dcf675d7a6552e0491955556c"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: pkg/controllers/hypernode/discovery/ufm/ufm.go: 5 line(s) (208-210, 245-246) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/discovery/ufm/ufm.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6af0f61929452ef5fd6aa2c3e9ceed00f70c195390365a6d86b0cbca556df65"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: pkg/scheduler/actions/preempt/preempt.go: 2 line(s) (118-119) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/preempt/preempt.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa286873da6a03cdeb6c9ba26698b92bb89b01dacead0a50b37a55555bda550e"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: pkg/scheduler/cache/cache.go: 8 line(s) (965-966, 1390-1391, 1408-1411) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/cache.go"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeca84e7dece1af9b984dade71188ec7546dda0bea8460ea3f30b7aa4f699651"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: pkg/scheduler/cache/event_handlers.go: 7 line(s) (304-306, 566-569) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/event_handlers.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"714f04c73a239025fd81202e072554201832e346f51eebac6be08d4ac912d398"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: pkg/scheduler/plugins/fairshare/fairshare.go: 3 line(s) (370-372) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/fairshare/fairshare.go"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a928d5d342c04f7f385efd7bbb5787c868d6025e013986dbd6c6aeb4d694c12"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: pkg/scheduler/plugins/priority/priority.go: 2 line(s) (79-80) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/priority/priority.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"476b1babd6f4a983f6948a7299b1ee67def950fed4e0ee3ffeb54293949b8164"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: pkg/scheduler/uthelper/helper.go: 5 line(s) (249-250, 309, 349-350) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/uthelper/helper.go"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6d6fa37f209026ad8cbb8c25dc7b391c282a192845246e497afa2e4e5d5449"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: third_party/kubernetes/pkg/scheduler/backend/queue/backoff_queue.go: 10 line(s) (159, 164-166, 169, 172-173, 179, 181-182) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"third_party/kubernetes/pkg/scheduler/backend/queue/backoff_queue.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cde00d66ecd7104378428b2112c6b8a905ab3c10b0bb0e16ae572c046ae880"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: third_party/kubernetes/pkg/scheduler/backend/queue/scheduling_queue.go: 2 line(s) (405-406) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"third_party/kubernetes/pkg/scheduler/backend/queue/scheduling_queue.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c85baa3dedf7edd5e31839c969902f9f7d8bd8512c01932a0311c69b4f8c27"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: .::volcano.sh/volcano/pkg/scheduler/actions/allocate.TestAllocateWithDRA: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dc1e98bbfb2dac4a706d76d757a66f111fc2448df04a1c8c2740f1563a0e4fd9"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: .::volcano.sh/volcano/pkg/scheduler/actions/allocate.TestAllocateWithDRA/DRA-only_gang_waits_when_only_one_device_is_available: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9e38a763d23b17122ca69a139c6c9512062e40b28ea7ead1f68b73de056fac49"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: .::volcano.sh/volcano/pkg/scheduler/actions/preempt.TestPreempt: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6ef4da03475a9e470ccd71ce9b9fce618bd0c9e857373e41f715cb460acbfca1"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: .::volcano.sh/volcano/pkg/scheduler/actions/preempt.TestPreempt/preemptor_with_CPU_and_DRA_can_evict_an_ordinary-request_pod_in_the_same_job: Passed 2\u00D7, failed 1\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ef0b5ced4b7284c8c8df190042b8d9a66db5555064bc092864fd7e8bad0463a4"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/google/shlex: Direct dependency \u0060github.com/google/shlex\u0060 is required at \u0060v0.0.0-20191202100458-e7afc7fbc510\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2019-12-02, 7 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/google/shlex\u0060 and has not moved this requirement in 7 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/google/shlex\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"393f56a0f4acccb36553d9860d5e0c6e212b1104845cd37f996783fc5836e24c"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0db2dd32f2a189dfbb9c86faa53fe2b43721ebe0b37b1c709a37ac776e4f833"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/scheduler/plugins/capacity/capacity.go: pkg/scheduler/plugins/capacity/capacity.go changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 139 in capacityPlugin.OnSessionOpen at line 442. 3 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:33:44 \u002B08:00\u0027 --until=\u00272026-11-16 19:33:44 \u002B08:00\u0027 --full-history --no-merges -- pkg/scheduler/plugins/capacity/capacity.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cef26a5e5341c2e968ab5e5be9cee244b6a9040f56b6d2d1e70080111ac408"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/scheduler/actions/allocate/allocate.go: pkg/scheduler/actions/allocate/allocate.go changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in Action.allocateResourcesForTasks at line 933. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:33:44 \u002B08:00\u0027 --until=\u00272026-11-16 19:33:44 \u002B08:00\u0027 --full-history --no-merges -- pkg/scheduler/actions/allocate/allocate.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b390731be8a2a351108117ed6829bb26409174e8efc183a71faf5817b16f66"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/scheduler/plugins/predicates/predicates.go: pkg/scheduler/plugins/predicates/predicates.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in PredicatesPlugin.OnSessionOpen at line 206. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:33:44 \u002B08:00\u0027 --until=\u00272026-11-16 19:33:44 \u002B08:00\u0027 --full-history --no-merges -- pkg/scheduler/plugins/predicates/predicates.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a1130626b68ca0a11413f46ca06450e9a7ce501eae9fc1b590dc2c7a1407b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/scheduler/cache/cache.go: pkg/scheduler/cache/cache.go changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in SchedulerCache.addEventHandler at line 685. 1 of those changes was a fix/bug commit, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:33:44 \u002B08:00\u0027 --until=\u00272026-11-16 19:33:44 \u002B08:00\u0027 --full-history --no-merges -- pkg/scheduler/cache/cache.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/cache.go"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96109e67ac9250ea13add60d3671b43c228d8a1168c6b448cefd2672d5b91fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/scheduler/framework/session.go: pkg/scheduler/framework/session.go changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in framework.openSession at line 184. 3 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:33:44 \u002B08:00\u0027 --until=\u00272026-11-16 19:33:44 \u002B08:00\u0027 --full-history --no-merges -- pkg/scheduler/framework/session.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4020436f2d52ed4ef205bd7803913deb263abdc9f0f428cf2229913a7fc4c6d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/scheduler/actions/backfill/backfill.go: pkg/scheduler/actions/backfill/backfill.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Action.pickUpPendingTasks at line 137. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:33:44 \u002B08:00\u0027 --until=\u00272026-11-16 19:33:44 \u002B08:00\u0027 --full-history --no-merges -- pkg/scheduler/actions/backfill/backfill.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/backfill/backfill.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b573042432626db41e790311bdeb855416e1df646461dbed5185369dcb29c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/controllers/job/job_controller_actions.go: pkg/controllers/job/job_controller_actions.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in jobcontroller.syncJob at line 394. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:33:44 \u002B08:00\u0027 --until=\u00272026-11-16 19:33:44 \u002B08:00\u0027 --full-history --no-merges -- pkg/controllers/job/job_controller_actions.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_actions.go"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"28db6d067810e6ffc2182a010ab38b35e71ead459d2b0d69ab7c678bb8e3b479"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/scheduler/actions/utils/simulate.go: pkg/scheduler/actions/utils/simulate.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in utils.BuildNominationPlanInDomain at line 40. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:33:44 \u002B08:00\u0027 --until=\u00272026-11-16 19:33:44 \u002B08:00\u0027 --full-history --no-merges -- pkg/scheduler/actions/utils/simulate.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/utils/simulate.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff15ca99901943fcd07fd6b96705f4a036d2aa90fde27833bb178c14cc31181"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/scheduler/unschedulable/cache.go: pkg/scheduler/unschedulable/cache.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in JobCache.Record at line 130. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:33:44 \u002B08:00\u0027 --until=\u00272026-11-16 19:33:44 \u002B08:00\u0027 --full-history --no-merges -- pkg/scheduler/unschedulable/cache.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/unschedulable/cache.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d22468f27fd824d7e5f572dd9c40892d44596f61d68f4906508833de85cfb0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/scheduler/util/predicate_helper.go: pkg/scheduler/util/predicate_helper.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in predicateHelper.PredicateNodes at line 45. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:33:44 \u002B08:00\u0027 --until=\u00272026-11-16 19:33:44 \u002B08:00\u0027 --full-history --no-merges -- pkg/scheduler/util/predicate_helper.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/util/predicate_helper.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8890eb7f5cc1f23297c6332a06523c97d3aebcf54c8013fba5995107e2a4747d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/webhook-manager/app/server.go: cmd/webhook-manager/app/server.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in app.Run at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:33:44 \u002B08:00\u0027 --until=\u00272026-11-16 19:33:44 \u002B08:00\u0027 --full-history --no-merges -- cmd/webhook-manager/app/server.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/webhook-manager/app/server.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e809293dfe0ca2825fcfddf0632cadd50696c2b31746c8fb40e91775122a47"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/controllers/job/job_controller.go: pkg/controllers/job/job_controller.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in jobcontroller.AddDelayActionForJob at line 502. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 19:33:44 \u002B08:00\u0027 --until=\u00272026-11-16 19:33:44 \u002B08:00\u0027 --full-history --no-merges -- pkg/controllers/job/job_controller.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller.go"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"3096614b499f2401f6e14f9d8448e026f703232e6367b9cbc46e30d8f0235644"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 8 significant file(s) lose their only recent owner: pkg/scheduler/unschedulable/cache.go, pkg/scheduler/unschedulable/hint.go, pkg/scheduler/plugins/util/resourcefit/resourcefit.go, pkg/scheduler/plugins/predicates/hintprovider/resource_fit_provider.go, benchmark/testcases/util/util.go, pkg/scheduler/unschedulable/registry.go, pkg/agentscheduler/metrics/metrics.go, pkg/webhooks/router/server.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cae3f4286549e90d9cfe3cf51cbd8675497f62d81c67bdcef31d3c744c271f49"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 4 significant file(s) lose their only recent owner: pkg/controllers/hypernode/discovery/manager.go, cmd/hypernode-controller-manager/app/server.go, cmd/hypernode-controller-manager/app/options/options.go, pkg/controllers/job/job_controller_resync.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ba15f98c60f27ae456b533f59109fe68020673778c42be9721d45b8c15eac1f3"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 8 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (22 single-owned of 340 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 340 of the 764 production source files in this repository met that bar). They are anonymized user #3 (2 file(s)), anonymized user #4 (2 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)), anonymized user #8 (1 file(s)) (\u002B2 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: pkg/scheduler/plugins/fairshare/persist.go, pkg/scheduler/metrics/namespace.go, pkg/scheduler/api/devices/device_info.go, pkg/webhooks/config/config.go, pkg/cli/jobflow/describe.go, pkg/scheduler/gate/schedulinggate.go, pkg/controllers/job/plugins/svc/svc.go, pkg/controllers/job/plugins/distributed-framework/tensorflow/tensorflow.go (\u002B2 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(k82cn): check Job\u0027s Condition instead of PodGroup\u0027s event. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/util/job.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e3c7b3c551f1e10c0f193da568b68dfbf33bf6f82df37e1bc48ce5f55569d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(k82cn): check Job\u0027s conditions instead of PodGroup\u0027s event. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/util/job.go"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5531ab6395214ed346238ff973fa7bc4757b08d5dfbdd9196850e63af048b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This may not be available/writable on all images. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/schedulingbase/volume_binding.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e35fa273e921b7416a1062b212041470c030238abf21dc36f95803985992b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: hostname may not be the best option \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/schedulingbase/volume_binding.go"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae05d8fb60d56c2bce7540b3b3c817f4d1649ae26a358e3a3fe9f1dd9ca40018"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: it is a bug : the job status is pending but podgroup status is running \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/schedulingaction/reclaim.go"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f45972d056222de34cd982627316a60cfac3ec0c6f1ab5dc71b05031fd12a4c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: skip running -\u003E completing for the github CI pool performance \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/jobseq/job_error_handling.go"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fe3a53942ec88518487278bae4d6c240b89d7d9b04866a6375ed746e1f98ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check others \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/jobp/job_scale_up_down.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"787a858701fe2c7c69f458db2b53e787784591229b0dc81dd7dc28a274cccdd8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check others \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/jobp/job_scale_up_down.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d45d143c54dac589df6ce596b688db353e82e4584071bb5cbe2ec7ed297078"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check others \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/jobp/job_scale_up_down.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1055cec01ffdba5245039c8fcd104f1c60617c414a77e45f107d384067b4c32"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO extend this to unknown resources with a client pool \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"staging/src/volcano.sh/apis/pkg/client/informers/externalversions/generic.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"64035b91983f3e9bff7941ec245a0eeb487c6875c069bad8aea27ccca3705e40"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Enable this configuration when dependOn supports coexistence with the gang plugin \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/jobs/mutate/mutate_job.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d13b91b9696c4f6ffe3f936ac188cfa6ec25e6a4d28c35f35cc9f0b1ae95fea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (k82cn): Enable eCache for performance improvement. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/util/predicate_helper.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd8a849d38a09b1a2db646f694406d1356e55850a2c08d295fb95811ef02b19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: QueueWrapper is inherited from https://github.com/volcano-sh/volcano/pull/4315, but this PR is not yet completed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/util/test_utils.go"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c24375e61de6260ad070c528602893332ba479a5f38288463e03640ab83669"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo support other selector method \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/uthelper/helper.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0b027f52eb24cfc9beeb5b9bd5a575df23ff315454935250936ad6e2f30ceb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: It is just for lowNodeUtilization now, which should be abstracted as a common function. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/rescheduling/node_utilization_util.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d98214468fb604818bcd1b5e0b845e38213b305b8d4ca275149a452b9a2fd6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(k82cn): how to handle fragment issues? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/proportion/proportion.go"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6e738ebac4c45760dd025f18b6ce0097b98bfa20259ac92d0f1e831406ef3d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Need to unify the plugins in nodeorder to predicates. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"258d5d9cb2efd98b75751a9c19b8e976b1d73c39a24e4c2988dbc2e94ee3c410"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add more predicates, k8s.io/kubernetes/pkg/scheduler/framework/plugins/legacy_registry.go \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/predicates/predicates.go"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed87e772e324693f0634a2b0e758c3da9ce48240b1cc67ab689b2f6ba082c89"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: if allow 1 more job to be inqueue beyond overcommit-factor, large job may be inqueue and create pods \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/overcommit/overcommit.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f87b73d728183e259785457b8bd6fbb47879746f4e8d8e36ce3a8f99d952b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(k82cn): Support preempt/reclaim batch job. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/gang/gang.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4395f836d31e2f4a761c356014c0709d75d7e951288287f3fc239aa4ef3e20e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: If the Job is gang-unschedulable due to scheduling gates \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/gang/gang.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"34023b4efbaa8950b6b6aac514946da0b3e1f3d6598398530937853cc8a2cfa3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we should use a separate plugin for devices, and separate them from predicates and nodeOrder plugin. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/deviceshare.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bb125abcaad1973e87bbc4a4258ac853d9d6f0afb903e3aa57cb184117cb3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should we skip pod unschedulable event if pod group is unschedulable due to gates to avoid printing too many messages? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/cache.go"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9e8ff333ca78bcc4affe851c334bae5e93fd15284fa18fa3d51cf35c046daf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // @Lily922 TODO: support counting shared volumes. Currently, if two different pods use the same attachable volume \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/event_handlers.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79fea135e61eeabcef7a4650563c478733c4deb278348b7ef9f72a588f76592"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // @Lily922 TODO: support Inline volumes. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/event_handlers.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3a8ad63e9350749bee5ddd5ade561d43a168a225e1d41d274539a1074bf460"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // @Lily922 TODO: support non-CSI volumes and migrating pvc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/event_handlers.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4b7effadfa4ff91522df99afd3d08d465862e4eb6fa31acf452476ace5acb9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jinzhej): clean up expire Tasks. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/interface.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4163b1deb9cb9042bd5621a9746d219edc411c7ff73e87f3d66db93540158c09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jinzhej): clean up expire Tasks. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/interface.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aec71d3f53983ac0d727e65c514d3f44cfa20d37abb09d6a5e030f18a3d75b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: abstract an interface to mock for ut. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/hyper_node_info.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af78951c7ea43d0a1033f9aaf887052a234f40e82efac9ba7c386acfc5005c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should also read from given field in volcano job spec \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85f4eaa4d0b8eee7dc456fa4c5a5e683adcc3e2b64c3b0477a6249c1d3074da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: job contains subJob policy does not supports the strategies below \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/job_info.go"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b2f4825de5da0597210568f3f9d63f1574b9fd00493b75eede0e494fa8d13b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo handle collision \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/sub_job_info.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52700285bb8055a9847e96f7a66ff4e69143a10f4971026986577ba22f99a7f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO current Idx cannot use, because EncodeContainerDevices method not encode this filed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/device_info.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8152532e40cd095837c7e32fdb9958ee94b35be1e32792249815a3e7bf0250e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Worksheet is empty while allocate may still have eligible pending (e.g. SchGated / \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/utils/simulate.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e04e22ad4df653af78ba1f6cb9fb2ebbaa792d3c08a6e42a9a9fc0dba3660e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Currently, jobs containing networkTopology do not support preemption. Related issue: https://github.com/volcano-sh/volcano/issues/4374"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/preempt/preempt.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7659c03b66eeb28d8dc9fd706b3083c8af1f25c4af6be4242c1a4b1941c29d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider the PDB violation here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/preempt/preempt.go"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adcc0015dd008817c55237f8b48e54b0793d3f62437d9b46fe0b913b4b8e3cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider exposing score functions to plugins in the future \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/preempt/preempt.go"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5f623454f34f6f8c03eab64f0c35e41bc43dff36afd717c5c0ee527b7223fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (k82cn): When backfill, it\u0027s also need to balance between Queues. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/backfill/backfill.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf0e5a211ec3fc3d80c9141951b8e29600230cb7554b277a95b2bda09911a5b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (k82cn): backfill for other case. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/backfill/backfill.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f0f1001182a2092a7dbee023ddb79ff0cf3b304d56f8d0e5b992b1608c3f44"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: In the future, we may need to unify the logic of network topology-aware scheduling and normal scheduling. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fc3c1e4b4db5f07963c8e206e232d715b99aaf81cd8da458abb79b9209ce5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: the per-task check sequence overlaps with allocateResourcesForTasks\u0027s \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffe87c50fda563596d633f1a30ac9fa57da928f733d2ae6814450987bebe1c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Need to add PostFilter extension point implementation here. For example, the DRA plugin includes the PostFilter extension point, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc405b1bf1c21b7fde55180d6e810b04fd05ff6410c66c947f10cc7c762980e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //Todo The update operation of JobFlow is reserved for possible future use. The current update operation on JobFlow will not affect the JobFlow process \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/jobflow_controller_handler.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d06dd18a0a0b4133f48290b79c82bd27cb137d628fffe9e032f97c3ac2945d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dongjiang1989) Modify it when the if condition judgment is implemented \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/state/pending.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a0d99eef16f707fe358f45138f867e39cf7f71d7e18770ffa42a5b474ff5be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dongjiang199) Modify it when the if condition judgment is implemented \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/state/running.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3a824ef46bae1fd9ae9c47bfbf6afafe259c343aabc44b8a217daeb25e53d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: optimize this call it only when scale up/down \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_actions.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"199e4aa88bdcc778cc5a2cb23ffa5e822684a2dc18592a5c6473d181dd204375"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check VolumeClaim must be set if VolumeClaimName is empty \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_actions.go"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a442b60b20f3e82d2bfd72f8d2beaf4421f1b3782a9249d7a4fc47799675ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(k82cn): if failed to add job, the cache should be refresh \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_handler.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d43a96d660eae71f043908a8e6710c8a06117f48237683e4a02a0f73fb1dfeb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: currently only one container pod is supported by volcano \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_handler.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65b62cc031007f28f62f80c1742a0567262a3e892a49ed5b4e6cc1acdbe5380"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(k82cn): add handler for PodGroup unschedulable event. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_handler.go"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00378423eae3f240c69f61c1a8cba92541699c383f2983ef9f704865216fa2d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(k82cn): The splitter and the prefix of env should be configurable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/plugins/svc/svc.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab372f2228649e8de19a692d3af5007ce7bed9a34beeeb7e01a7a70bf3151aaf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(k82cn): The splitter and the prefix of env should be configurable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/plugins/svc/svc.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f309fcadff9a1503995daa517bc6ee0dc76da979699a3c35bb164b29bd2dac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: currently a container using a Secret as a subPath volume mount will not receive Secret updates. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/plugins/ssh/ssh.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf8abe1b09096d1562d3ac3e173403636e0f45c7248b634052636c9c4b2e2ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Only trigger handler when networkTopologyDiscovery config changed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/configmap_handler.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b2f62ceb472b7065e640ea1c33923a1ec842b2b8f1af726caddf485155310f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Only restart changed discoverers. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/discovery/manager.go"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac4c95ea9ce45202b15718b7dc54c9d773072b77ccdfa7c15d8fae1260011b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: \u589E\u52A0\u9ED8\u8BA4\u503C \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/cronjob/cronjob_controller_test.go"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f526e9c89c7cb22a6a420a4a54b1852931489905812bac4936e378863c7e0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Call OnCycleStart for all plugins \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/scheduler.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"794969720d0c89a36a908b32ca45604733398450574285a01bd5f430eeaed14b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Call OnCycleEnd for all plugins \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/scheduler.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb3e71489f83642cbe6ddc6ee0fa64a051a8d4f6b1a46a40e9a657bb16c4572"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: k8smetrics is inited here to resolve startup NPE because backkoff queue rely on k8s metrics. This line need be removed if metrics depdendency issue is fixed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/metrics/metrics.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e39ddd50a4df247f941cf9b9beee4d56038625e95d784d2fbef16b05ef8eebb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement QueueingHint and set these failed plugins in queuedPodInfo. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/framework/framework.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7922530d9a6a321a60e54f19e5018dc8d810d113a867def22dfe62a74a4ce6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: abstract common field and functions for volcano and agent scheduler, so each scheduler only depend on common part and customized part \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdbabcc22aea905c161fcae0f81c7dab8b1c51ea0dea75a68cd0e606113e645"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do we need to also add a separate lock for Nodes cache? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76698af1cf27ec86aed0961390dce4017031e0dd31c41d002e9a30dddffcf4b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add agent scheduler cache \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd427f86e0ce3b0d03c5c1c28653c7cfc7578295a43e9740d7b5ede02b90c9d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // UpdateTaskStatus TODO: refer to update task status \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"532669d3c22cae18942fc4ff5551d4a423b2fd4fd0180ff7486580913767e3da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check the pod allocated status in cache \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"220a8c147d0c0f057511a4ed2fa34bc33543abeb77bc8fef2f64466e427ae8d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO ignore the update event if pod is allocated in cache but not present in NodeName \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7f666d5eb09ffa59ae5d87de22aed3546040ce9864d6667237702eb1f1969e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO need to refactoring \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6086164634f9b62e9ba956e2bb245e628064e17df8a36fe3368da1349ecf781d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We may need to add a preCheckForNode function to filter nodes before moving pods \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc26ead82cb0136e5cd8c33db04069a153aedd73e254ab16baf317ca8fcabf7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We may need to add a preCheckForNode function to filter nodes before moving pods \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"357bc59c54a424eaead396b1931f1de2ed8e26ec59ef7316fedf7f309ae88d0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: these default values can be overwritten by config file or command line args \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/util.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c150a25758c9acc261bb9ca2d00e8bdd69ce7165c76fc813fbc48edd4b14aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check is pod allocatable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/actions/allocate/allocate.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"539b9140f02139e60554f4f8e74015d362a8dfaa63befae6bbf3ad50d1a80539"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support init containers. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/pod/resources.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30d88eb9fbd85c19d22c9de3bab4a9adff2f7143e39654c6d547fc39737fcf1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add more pods eviction sort policy. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/node/resource.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf2bf1abc4d606ba7d33b636fbe45ee854a151cc9f0ae4367433aec17f12299"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this more fine-grained, only when new setting is a higher watermark should we reset. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/probes/nodemonitor/node_monitor.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5613a67aad98f43b748af9c290a67fee60e692f742021b1ebf7a98bf2381dc2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: set in node config \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/probes/nodemonitor/node_monitor.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f99ea991029ab918c67b532115ed4973fa7fad80211e79613cda06d6f12fb49"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: adapt feature gate MemoryQoS: https://kubernetes.io/blog/2023/05/05/qos-memory-resources/"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/memoryqosv2/memoryqosv2_linux.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"506c2672baa74914d9941a9b5c7c3ed1a04130d669e6b4000b121e971a1a1591"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement file source. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/config/source/file_source.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab4ebc898e61afdaa5732c867a8faac06e012755a15a19322fc0dda55c3beb4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add user agent for different controllers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/controller-manager/app/server.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4346ce432fd15b6f282e096952cfba6067832de401d396f0beb7e0633f81d43e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: get cgroup driver dynamically \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/agent/app/agent.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59494c341419aff94b39e868c4f9c1e09a51b4c637cebba39230517d516bb19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: put in configMap. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/agent/app/options/options.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"617fb1f76518a40068765062e009f9f2d90c15df26e370debb08b82d90a0eff1"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Decision section: docs/design/evictablefn-evolution-for-gang-eviction.md has no Decision section (a heading such as \u0060## Decision\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/design/evictablefn-evolution-for-gang-eviction.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9679a4e3755cb70962135a219a7b60e22d55c9e0c29eddab36f62e0f4df6ec71"}},{"ruleId":"D20","level":"note","message":{"text":"ADR considers only one option: \u0060docs/design/resource-strategy-fit-scheduling.md:257\u0060 lists one option, one sub-heading, so the record shows no choice being made. List the alternatives that were rejected and why, or remove the section."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/design/resource-strategy-fit-scheduling.md"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb81da3f6fbf9beb60f9150faab9dd595637e22857c53141d27f3de618ffd29"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060CgroupCpuSubsystem\u0060 spells \u0060Cpu\u0060 where 93 names in the project spell it \u0060CPU\u0060: 93 of 95 names in project volcano.sh/volcano spell the token \u0060CPU\u0060 (93 of 95; unit: names in project volcano.sh/volcano containing \u0060CPU\u0060). Peers: VolcanoAgentOptions.ExtendResourceCPUName (cmd/agent/app/options/options.go:74); apis.NodeOverSubscriptionCPUKey (pkg/agent/apis/types.go:30); apis.PodEvictedOverSubscriptionCPUHighWaterMarkKey (pkg/agent/apis/types.go:49); apis.PodEvictedOverSubscriptionCPULowWaterMarkKey (pkg/agent/apis/types.go:55); apis.PodEvictedCPUHighWaterMarkKey (pkg/agent/apis/types.go:61). Rename to \u0060CgroupCPUSubsystem\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/cgroup/cgroup.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef206df2a48f2a6c2fddaf3afee4521375ebb9aaea423ed20098b42c2581edd"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060JobUid\u0060 spells \u0060Uid\u0060 where 24 names in the project spell it \u0060UID\u0060: 24 of 25 names in project volcano.sh/volcano spell the token \u0060UID\u0060 (24 of 25; unit: names in project volcano.sh/volcano containing \u0060UID\u0060). Peers: CgroupManager.GetPodCgroupPath(podUID) (pkg/agent/utils/cgroup/cgroup.go:91); CgroupManagerImpl.GetPodCgroupPath(podUID) (pkg/agent/utils/cgroup/cgroup.go:481); cgroup.getPodCgroupNameSuffix(podUID) (pkg/agent/utils/cgroup/cgroup.go:596); PodScheduleResult.ScheduleCycleUID (pkg/agentscheduler/api/types.go:49); Framework.GetCycleState(taskUID) (pkg/agentscheduler/framework/framework.go:117). Rename to \u0060JobUID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/apis/request.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffc7d931d4e70f33c7f58edb9d32c13f8234b840d1fb4da4563441ceb5fc174"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getCpuNumPerChip\u0060 spells \u0060Cpu\u0060 where 93 names in the project spell it \u0060CPU\u0060: 93 of 95 names in project volcano.sh/volcano spell the token \u0060CPU\u0060 (93 of 95; unit: names in project volcano.sh/volcano containing \u0060CPU\u0060). Peers: VolcanoAgentOptions.ExtendResourceCPUName (cmd/agent/app/options/options.go:74); apis.NodeOverSubscriptionCPUKey (pkg/agent/apis/types.go:30); apis.PodEvictedOverSubscriptionCPUHighWaterMarkKey (pkg/agent/apis/types.go:49); apis.PodEvictedOverSubscriptionCPULowWaterMarkKey (pkg/agent/apis/types.go:55); apis.PodEvictedCPUHighWaterMarkKey (pkg/agent/apis/types.go:61). Rename to \u0060getCPUNumPerChip\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/devices/ascend/310p/vnpu/init_policy.go"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbf44f7235d58b9cfc2ee24b2008543e6f9d8605865e2df3b646f557a5b9060"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060GetChipKindFromNpuNode\u0060 spells \u0060Npu\u0060 where 17 names in the project spell it \u0060NPU\u0060: 17 of 18 names in project volcano.sh/volcano spell the token \u0060NPU\u0060 (17 of 18; unit: names in project volcano.sh/volcano containing \u0060NPU\u0060). Peers: vnpu.NewNPUDevices (pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_info.go:42); NPUDevices.CheckNodeNPUByPod (pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go:402); NPUDevices.CheckNodeNPUByDyPod (pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go:414); NPUDevices.BuildNPUTopologyAnnotations (pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go:529); vnpu.AddNPUAllocationPatch (pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go:642). Rename to \u0060GetChipKindFromNPUNode\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/devices/ascend/310p/vnpu/init_policy.go"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b4f6760f7e28f59569c6637cc0683f93f47eb5465a36d4e9f98c2449b4bae2"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060jobflow.PrintJobFlowDetail\u0060 takes no context.Context; its 5 sibling operations take one: 5 of 6 fallible operations of \u0060package jobflow\u0060 take a \u0060ctx context.Context\u0060 (5 of 6). Siblings: jobflow.CreateJobFlow (pkg/cli/jobflow/create.go:51); jobflow.DeleteJobFlow (pkg/cli/jobflow/delete.go:58); jobflow.DescribeJobFlow (pkg/cli/jobflow/describe.go:57); jobflow.GetJobFlow (pkg/cli/jobflow/get.go:52); jobflow.ListJobFlow (pkg/cli/jobflow/list.go:65). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobflow/describe.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09b9791714b217eaeb166fd865d1b8ccf5838f8809afac3aeff609e9df76ef2"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060jobtemplate.PrintJobTemplateDetail\u0060 takes no context.Context; its 5 sibling operations take one: 5 of 6 fallible operations of \u0060package jobtemplate\u0060 take a \u0060ctx context.Context\u0060 (5 of 6). Siblings: jobtemplate.CreateJobTemplate (pkg/cli/jobtemplate/create.go:51); jobtemplate.DeleteJobTemplate (pkg/cli/jobtemplate/delete.go:58); jobtemplate.DescribeJobTemplate (pkg/cli/jobtemplate/describe.go:57); jobtemplate.GetJobTemplate (pkg/cli/jobtemplate/get.go:52); jobtemplate.ListJobTemplate (pkg/cli/jobtemplate/list.go:56). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobtemplate/describe.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bf9d44be8b84c3cb5c35a9f5eeefb160ec4db3e3f62c5f5b397cf4d46a2c19"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060framework.OpenSession\u0060 takes functional options (\u0060opts ...Option\u0060) where its 3 sibling constructors take a config struct: 3 of 4 constructors of \u0060package framework\u0060 that take options take a config struct (3 of 4). Siblings: framework.NewJobUpdater (pkg/scheduler/framework/job_updater.go:47); framework.NewPodLister (pkg/scheduler/framework/util.go:66); framework.NewPodListerFromNode (pkg/scheduler/framework/util.go:98). Take a config struct, like the package\u0027s other constructors. [rule A7]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/framework.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"35321b02db1ab19aaa46cae99a0d194d92a7801a0dbf6104a4fdb6c874baf261"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060Framework.ListPlugins\u0060 returns a map (\u0060map[K]V\u0060) where its 3 siblings return a slice (\u0060[]T\u0060): 3 of 4 collection-returning members of \u0060Framework\u0060 return a slice (\u0060[]T\u0060) (3 of 4). Siblings: Framework.RunScorePlugins (pkg/scheduler/plugins/util/k8s/framework.go:160); Framework.Extenders (pkg/scheduler/plugins/util/k8s/framework.go:204); Framework.VolcanoNodeInfos (pkg/scheduler/plugins/util/k8s/framework.go:249). Return a slice (\u0060[]T\u0060). [rule A4]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/util/k8s/framework.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9836754672e1978d7c1cc3d356ee3450dcdb92f254de6eb8a158fb31d72a9565"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060util.CalculateNumOfFeasibleNodesToFind\u0060 signals absence with a bare \u0060T\u0060 (the zero value when absent) where its 4 sibling single-key reads use a nil \u0060*T\u0060: 4 of 5 single-key reads of \u0060package util\u0060 return a nil \u0060*T\u0060 (4 of 5). Siblings: util.NewPredicateHelperWithFeasibleNodeTarget (pkg/scheduler/util/predicate_helper.go:166); util.NewFakeBinder (pkg/scheduler/util/test_utils.go:551); util.NewFakeEvictor (pkg/scheduler/util/test_utils.go:597); util.MakeQueue (pkg/scheduler/util/test_utils.go:669). Return a nil \u0060*T\u0060 like its siblings. [rule A5]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/util/scheduler_helper.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d28facf1fefd9c9e5b6737b24dd0600e319ff54cf6982c1d504fd33c815a8f"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060util.BuildPodWithResourceClaim\u0060 takes (ns, name) where its 8 siblings take (name, ns): 8 of 9 members of \u0060package util\u0060 with these two same-typed parameters take them in the order (name, ns) (8 of 9). Siblings: util.BuildPodGroup (pkg/scheduler/util/test_utils.go:343); util.BuildPodGroupWithSubGroupPolicy (pkg/scheduler/util/test_utils.go:388); util.BuildPodGroupWithNetWorkTopologies (pkg/scheduler/util/test_utils.go:401); util.BuildPodGroupUsingNetWorkTopologiesWithTierName (pkg/scheduler/util/test_utils.go:412); util.BuildPodGroupWithMinResources (pkg/scheduler/util/test_utils.go:423). Reorder to (name, ns); both are the same type, so the compiler cannot catch a swapped call. [rule A3]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/util/test_utils.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"035f5a12977b372e47d5e4bfc031edc1e2d1d71ccd349e6ebf1f7506160976ed"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (88332 LoC, 742 module-visible types across 244 directories) overshoots its size bounds. 1 of 2 build unit(s) (Go) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go.mod"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39784e8a78933b908507d20b4610b78a7f819ed418525c8adae26ae57410589"}},{"ruleId":"D27","level":"note","message":{"text":"Scattered collaborators: 68 % of calls cross a namespace and only 38 % of collaborators are co-located \u2014 group each feature\u0027s code into a vertical slice so a call\u0027s collaborators sit together."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5aad4a4530bac3928d3a065a664be89d023ecfc865f9bf79ac05754b3bffe322"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c040bd138d7f21e2decf67329e4c3c135220050896da088746992c844ebed56f"},"properties":{"commitSha":"91e94ae75083316e14d7ecd529860849f5fa41b8"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a73719c61c8e353044beee640e49cb137d47d9ca8c80abb12a868dd9c09acee6"},"properties":{"commitSha":"1b7cf747712e8d68a4e86c74e4a8e37a2b03cc97"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"720b26d51ff25f2b071d33097e949b2b80f98a9903889a6ef00ef463e252f460"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"56478d830462a9004bbbe3ad9713cd739677b31487655835ab7e8997fe81a242"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b089e1f3fc9371d43aacceff95282a490ff7e390c639e5af751290b9dd9fb93a"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31f2804be2bc64303988587487968d79e7a2a87d3f8be498220a6b9772bed72c"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1f593b6e0f56d21065f36e615fe1db08fba1e467fb03b7c6a89836940dc48d4"},"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":"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":"5cb9431a9cd73419dac64f1d277911549a881808491086568e4c465b6c81fa6c"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1db623a4df85af0e762690111683bd41d115656d69aa3ba600e0e5e2f7e4f30f"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12aca98d8531952f1d6e88bfafedd434cb202fb94dbb00372c4be150b00fcc1b"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8380d0fa5957a917ced29603b4b5ab33db7643d5ec1ce6586d7d24c76452d89"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c249737e4cbd73004f45e1cceed38a0e4098a444ee9ebaa34ad8e14bffdc8233"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"859dbc1f7ad30dcd55c20670d9829c74f669a61647db16920de6cf391326f912"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"486b6fa4942bea2e54cbebcd25c1a2afdca0b02442ea18a059a46cef40a44766"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15d3655c706ed6d008fba2df88fb90fc476545474d173e0b57ea291f0980e6ba"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04f11f3ce56de16840af4e937959a97ebfa162ac85ef798f347bcb454c2b5150"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dae197b244f8c373554159a72f93a4bfa9cab4d5a9455a619a0f8abe58fb87ef"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e703b9ab33e80e82971cdb5d7420a02b6a0b69e97851a0b7ff583fe4eb52bd57"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91626e59c1937601749b4c9566350be8a17baea28db6f2ab3b2c0631e45d2408"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4391dee728f4dee4d661de3b09d9246295e9f688e25445afd618acedda31ca53"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c036191e7077e30b92d051e4f7d7976991a0e0cc37b4a11be34144689cef1add"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a184fff469dc58045f25b9ed82d0930e05c3e8e6a8b5f99408804f75d3cbf13"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d87de35070cee77b1285b4fb0c44e3ffbf93a26900c2c675f27dcb91d1b76f4"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c2b989baf426dd6602da17b158e44d247c0c749d59364d3a0f394c87022c45a"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80bee095ac5f4f3e193e428c9b8a95e7ed0a6b407fcc05db4634df2a1fb585a9"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"073a5572f07c0c4f71d2cf90b2070a6e8f9e89ccea88ee9e55ec741c4867c24c"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee7e8b837c7fbebdae1137aabf19fef4738a91c0c41fa71ea45640b4de1a3f3a"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd5699a6d620ce18557b3f62c0770a876f68d847cfdf1e1e7164ac6bb38fc526"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ffe48ce55392160ecc9d96bbc459e54e89316fa4f838504ed58cb7183586de6d"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d663d4ce357b84a782b23e6938bce284ccd2f21b4965cff4902f87cd1e9485b5"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e5ae10c64f929a744d3a45287ba6a0240fe3e73533841cf24908820a014d66ca"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c46dde2d1b18f65cfecd5ac4dcf3e9da33856b47947b9dd1e2517c2bd584f92"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ecfc3ffa259d96795d7ca1a69677bb699d30f228539d09ef464a4ae3aeb4514f"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7695f2860af298246b98361c6a97ea625478ca2a46ee4cc6887116ec546516db"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ecb3b81cdac3563e0c073c109d85bf4c0a04677a8d85fd58feb0d42f0d10593e"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bfd2f9b862f1fb162792b6ec089ce19279b0ea20eb0063c7019479097f3f6eda"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06e27e49653dd05e64ce15df32875de8525034ee8b34026ddf618382dff905be"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9270ab9417d9b16e3fb5960b50201ccbaedfc3e94cd0b5ed0a1af8725e487e60"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f6030e24ae83ed61a1cf1a75471ae27cb76b4145593c0d1554bd886710370a0"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41d43b98fba7fe2595c534b9912227bde141037be3c8ad05d4e3ac36cb21d0c6"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5481fa266b081421479e04bdb1e3f2f1b2055f297b7c411a84ffa02eda8cf6ff"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c1ef1a4b4caef08b5f78fd771bfe3f0ae39cd2fd51d5dcc453eedefb0aae118"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc3436647cb443f043714db0c6293477f1ccd3c5013871c4c7d55cd970f2c791"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4460ea246c7cdc3bbcf95b9ae536d3a5cfe4b883a7848e18dd37e3b60b11daf8"},"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":"fc60eb1f86cb18e213aa835d8c93c01741d4a6d1626d35be24865fa0b4d8d1b1"},"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":"624e06f305dd3ec906bdc174a1746d29fde03c2d1699966b0efcedfbf4acc345"},"taxa":[{"id":"CWE-242","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":"314f25af526d79aa1a04ae8611a0ebe6d68a5ab2673be3cb2a8c94475b4d6c7f"},"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":"00d05e2a4e78cc6018f5437bc4535345694e72a0e341dd9bfa0df12edfc12f8c"},"taxa":[{"id":"CWE-242","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":"515487a450aee63f5544ab500f902f928ea5062fcf4644e57a01f61db3aa16be"},"taxa":[{"id":"CWE-242","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":"fdcf68a6d1111a444a9ed0904d1a1920ed176856e4807b4f734b21c62d258e60"},"taxa":[{"id":"CWE-242","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":"08525a47e60e9bcca5698fb629d66200c5b3c2c0dd01e066218e94fc94089fb9"},"taxa":[{"id":"CWE-242","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":"2e3929fd24d593f8aa5a3fcf960c325c49c065f98d7a9a3adf3de7f568eb5ff9"},"taxa":[{"id":"CWE-242","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":"d065db00409702a79a1f23844248e3b8a778879175216a38d0fbb785c78d21d3"},"taxa":[{"id":"CWE-242","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":"04450f9b8a34d346f93a8b93fdd21065b1c36ab0f27073d4a590e7ee8658c438"},"taxa":[{"id":"CWE-242","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":"491e195eea2becf79209f6611ab5646e6f9c25e55a1f5bb9ce8c989cf7480b3f"},"taxa":[{"id":"CWE-242","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":"bc6583443fd363c74f34d387e2d1c80f5b45eae4905792f09d7941e57abe7a2c"},"taxa":[{"id":"CWE-242","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":"7e7b07b76798204e148244cfd50e68a8643d8360c04344c8e528bdd6787cff51"},"taxa":[{"id":"CWE-242","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":"1dfd9c6bafb060fc9cb91964312bfdd113b1a5b06c7110663d7e9702f437bbbe"},"taxa":[{"id":"CWE-242","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":"64fe23a4d677833253aef380da172fa954d72de7967519376f063ef76e7e34fb"},"taxa":[{"id":"CWE-242","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":"d87805dabd73edc2d34b547a1d83da144278049aa06306f7e2ddc1893562e57e"},"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":"f2aef226c02dd44fabca053ce6544e377c44452847c33b2123989a9ef850f5e6"},"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":"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":"10d0d3e5420da08b82b9645b3f31111a2e4d986ec47f3979d6122587dbdf750e"},"properties":{"dependency":{"package":"google.golang.org/grpc","version":"1.82.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-6348","GO-2026-6441","GO-2026-6443"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2cd4437b7be35d57a4cdd45425982677203e5498a05982ba428a10fd3ba9aee"},"properties":{"dependency":{"package":"stdlib","version":"1.26.0","advisory":"GO-2026-4599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27137","BIT-golang-2026-27138","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33810","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-4600","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4866","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"production","file":"cmd/hypernode-controller-manager/app/options/options.go","line":80,"symbol":"net.ResolveTCPAddr"}}}},{"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":"4fb550065b6b4ed6062cedd9841caadb4b525927b5fb3fe39a65d7b919c48c69"},"properties":{"dependency":{"package":"github.com/cilium/ebpf","version":"0.17.3","advisory":"GO-2026-6238","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c9c7154a9d80981a2f1da0fd0aa2e12a4e104a4411624a7aabc5ce2dd45d848"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.56.0","advisory":"GO-2026-5932","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b511a4b07bf070f210ef463f11e75c0c1d7091994e3d2270c9c0b430c427ac06"},"properties":{"dependency":{"package":"k8s.io/kubernetes","version":"1.37.1","advisory":"GO-2025-3521","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2025-3547"],"reachability":{"kind":"production","file":"pkg/agent/utils/eviction/eviction.go","line":30}}}},{"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":"fe34912cc1022f16defa9aa7f34d659541f4568862a4f10eaff5ff953cbf17be"},"properties":{"dependency":{"package":"github.com/klauspost/compress","version":"1.19.2","advisory":"GO-2026-6865","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e1f124563eade100812240ef50cedffab1d0cc4645c129ead6641c1c2ef5b7f"},"properties":{"dependency":{"package":"github.com/google/cel-go","version":"0.29.2","advisory":"GO-2026-6094","aliases":["[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d69bfafbca7dcae46af8155a5e64a0a2740742205936946b295032bf806ccc9"},"properties":{"dependency":{"package":"go.etcd.io/etcd/client/pkg/v3","version":"3.7.0","advisory":"GO-2026-6107","aliases":["BIT-etcd-2026-73500","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a859f1fe485f52c587222c5e5690bdd9a679a96161f86bc451bef0dd5c04bbc6"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc","version":"1.44.0","advisory":"GO-2026-6505","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3fa4213a07ab096fd5f175a47f48ab0e53f0f9c2ca907df1cc1bf4d3eebffa6"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/sdk","version":"1.45.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1363c7d332816688412da1973a8a1a915e6d99001fe4ceabb3dd999fc8abff5"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/trace","version":"1.45.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d03f2a180b6c44b09157108557612e48c9e72436d9219e099dc51e18f53d4553"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.58.0","advisory":"GO-2026-6603","aliases":["BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78669","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"836eacb043bfbc9bc79d84d38d0728018f276afae947529fbbd3b4f86567883e"},"properties":{"dependency":{"package":"stdlib","version":"1.26.0","advisory":"GO-2026-4599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27137","BIT-golang-2026-27138","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33810","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-4600","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4866","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"production","file":"staging/src/volcano.sh/apis/pkg/apis/helpers/helpers.go","line":212,"symbol":"net.Listen"}}}},{"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":"1289aed2775bd43b1a9d722e5224bdaded92dea329fc2a5292fa9862be7e00d0"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/trace","version":"1.44.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb7c61937d7723f7bc963a1204abd73ac5b63df01d8d921ef686f28948d7f663"},"properties":{"dependency":{"package":"golang.org/x/mod","version":"0.37.0","advisory":"GO-2026-6179","aliases":["BIT-golang-2026-56864","BIT-golang-2026-56865","[CVE redacted]","[CVE redacted]","GO-2026-6180"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1e195f68a9e3c9dcd624d081f3bcb9ec0c91a425601d0bc3c0b62bea76303e1"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.57.0","advisory":"GO-2026-6603","aliases":["BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78669","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3207871f18a9da7765763e3a62e7af49160da15c1601bee11eba0713abe3d13"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.40.0","advisory":"GO-2026-6629","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"031ebc390ef1d18bdfe0354eb05e38effb09a31ae0dce73cb538ccbb81c4f42b"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70bd4a77350bedd4576635c8fabede8f381631ea48d9e091c5dfd5e4f81cfd28"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d415847e5559ebad8c75e264e159a9c65714fe2f94d3c689f02cbe8442c95c2d"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7596987955397b03e1583e80e9a4f7f6d2edf090138d18c891bb11591b96933d"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81273e812e45d5dffebe15afa036e53dbdcd78803450931bcb339f29db3a89aa"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78a4837d698315e22da134b4f72048d8cd1dab666881b2d169415dc592799deb"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1877878a59ae8b167c5f09374c2f3fe0cfa0df6e82c59430441cbd389dbe026"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26f99a4ba8aed91f031b9c075ab33b63503540d736e5ea67b8ecef034c4e1594"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88a1d5ca38541ed2f837ffa0a36e9a28b63e25996728825e3206a54ea7bb1480"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b598a944417220b73a9d7c5c2302e641cb2b269aa87cc808f13b771eb2258064"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2115a3b7878e322d574dfc5fdd55396cc8608353cd2524fa340283915262ce9f"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0df993ccbfd76f49f6eec973beaefa312665947330ed704cc6288ea075744988"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30fa9a45ccf319149bce4243229fdd2cc0af2729c668a3f75a953c6a9727b47b"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5d430b8fecf51b8ab70a0071997fd509e86562017616beeee430e1dacb9c30d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3e7b20fb08a48f732daf25fb63d6888d912459ab5b32be019aa70528ffa30a8"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f88cc49f54ff4a69a6622263d4e515dde6aafe97fc8194be8bcf6988473d3020"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb8aabe6229c6b2dfefd204745ef57dd176e4c7605d1db0bf83cddb6d674b1b6"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d83831a4108a7a7c5ec97a9d3c05d6aa3aebafc629e1017c2b74832ffa994708"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9bc41e903d2feac2b07d8e3a77ec7db47b74c55b10cd511a91a036e6fa38d155"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ac103dd9b98ab4556b495526f768676ee55601564c2c2510f833839c078deac"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"69da10c2cd774b60deb77920ca529d69c7d12a6394d94ec1f41fe3e379aa852c"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"105d6804bb89bceb9f5863a8b5b6f4162799e5e123a493234723083d78b8e255"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e2952aed6489efd59ecab1a21e7071d0e5b401ad822655fbb0f5a1c47e5b2aa"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71a8134790d8154ae0c6101174c6d3a6756dead04d42a284c3b2e845fe3c4be0"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05269fe30ae398f976d7adf92ccf32e33119c7c251d7102680ba54874b9f486b"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0dc544a79a7762ac2f8fad76fedfd4f777527cdbadf05e12e58633caf807f52d"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"455da19d6c7c1c56b083fb4ea325cec6d19fd06460bb135e709505327d5b9a05"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e819c0a19873b6d7c1e88693d3bb622001881ae365c67df5f23e786cf70087e"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"266be54371aae791511c1b5c8fe438d6a759126e0b96eb86ad670aa273d29a05"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6225eb1c2ec657bbe2003d8d3d7f9a2484e0608c01b250d9a636db9d2ca6605"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e135fb341cd0637d577e8b58b92525a949fe34a1a1424e6589f8487001cc453"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c63838103a12438f3dd388860935f6ed77f206f0a6ad22cbeee99858324ddcb8"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3d182b5bce0d594cc15051b6f675b34af4be2b28b0083b0e4d6d58a90a5f833"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"273fb75ad7072188b9eb49f0f3512fb96d5f3bd82ebc8370af1ed2afb823976e"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8adc9b0dc2cb8c01cd623ef6b00acd4f9182aa55f2590aaf677d8d28032712b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef212c2c938e8c5a855a34c88fbf72047475ae0812a5927c36f710ddf3bb285f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39ba412d3efc6066221570a48ff00ae71264090a4422b2eabf6e15d450740b1c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e0ed92a1f80bc0b2a21dfb02650d9db7d1cdb732a8c797cf1d3cabc7e33be67"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33bb2d482e52ea8900577255a1fc6c2203341510e8e7b97c7e365b333befa436"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49b77c9e4103d764f2c306c8457117d17b9d18b5642cab0c7409eeafa7329dfd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d9c11174bd62ac39a09edd48e238ff581952d2e44ad9393521de1e3da74b4b11"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bda34d8235cf9984c162caf752206fd0bac70f89c8fb6510b9db164459c9f4ba"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24f6bb1c6b7adce778ba5eb2e7781edb13e8fe57bad550be6a3094b14ac17f68"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12bfbe5fa19e2c1bdace703841fe539bedf5489cb6a440630f75d7c84b36ab4c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f53c1bdaeb10d699875976e711d61575581bc3347057bae539cc868c75d3d58e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9773cf0a31cf51017e6b29ae6566d6888c5c957b5c9bd891b677ffa0c1a61457"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c7935c1adf443da40ae17725b85778cb8251b61fbf25774431e1abb354fa084"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c504fb2db80812e4582855033c3ee03428d7a17bb51bc19eafabca83ee39870"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a783e514a53c8cecd53fedc6b7107beefb0d70e73ee0725e839e630448300862"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"420c49f8cdf36c540535a48a2d31d0137c88a29db38b6ba52ac1a3124a4b7843"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2217372b4c635bf1a6191eb9702e9456ee24bc4e1634b3455ba39201d7421c1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc6de8a24b6db485ed2be3fb203977bf19ccc77a64b460e7eae0d54135a662b9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f0acd46421cd98a99b31e508b0e089347d1a5d6d36437dee824647cf2c4ddf34"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8a464e5b4bb1cf84f275d7cfba43d62dd3db485d0e96dc32ef011cbfaf91789"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe891b143aaec21aecab4059d16a81987cd097c0eb6d2ae6d4eb583e285e561e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1750201b83f374a842714bac0c4e9ec8fb8b53a9cebe9b1c32d4450756d5967"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38fa1f1b0499f086be828feccdf25a03609581250896288aab398fff60c775aa"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ffef4501d230b3c40b9b7500156e46ff50be5dcd6c7975e767ed8f3e3c4a50e7"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"33ae26eea2b2128a49d8d3c07ab022d155a2c2a365c09d682e2d0ad3cf516289"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"00a2e1f907c17793aa4bb2612b7d24f1ee5b0fa278492c61f4ece6af270b3910"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0823ffc6ddc323da4a89319d5dfe6697a56887e10fc738e821983fb7df4343a7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9920c9f07f3f2a2de09cbea7b1c634fe6c89b0e5954405a6ffd65fb761a938c7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb0b3e4f5fb18aa53ef9357a418ac63344704bffd129d8e483f6e639ca251c42"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d735e719d5f673cc08ccfeaa046469d1b975caf7a1e8f7b67cafe4e42ad408d0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ade872d4b7d4cf3698dbc35442dba7d40b6c97281904a7bca5eef6b3ee09bf8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1776e5e0c17c951a47d0f629369a1c3170d27fc47bd12433fd6fb3997e94eb6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"394e80eb35a70b581b79ead92936ff726ac76cc8247e39c6a40296acb6418795"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31f6e7bee5120308305ad16c1cd8cf4e528f040b461a38fd2799ca2e75618577"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8ca7308198511b307c3c6ca82a342ae021dbb82e373d24654c232d761d59d0e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f885239992a31932cd162f650c9d1873941a1e0960a87cc76a6cd3c7bcbd3106"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"99f31b0d782b62da740876f6f3e8a41eca41874816d632a0ccc53380719afc02"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"187c2ef8d96985fcc7cb8a92e170c0b238b420a41eed9adf3aa1c2d04073c6b6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a97c1de80d15aea51ef88de0008b50e1ba6d365c6011e5da11e719e2eaccd917"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1636852beaad510a17dc51c019978099661bc896e3518bff90461ca9273d3dba"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfb1a29738297b76e3bbb6c0cd1342f3b2389e6e1a4932788d8c0fb7a5d76ae0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f59e41c35f7d02a5bddb3d88cc500e7c54912028a4febbdc561a4d3821efcf93"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48912f0803c14d5a0a770d6847300d538dccc470e5720c1122d48fa4efc82ecd"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd616809671576cd357240232c00bbd5c7a16599e6db2c5946f4aff760b177d0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"593e8488a8d3bccf2aa458e83b3bb45fb702aff5523d3f0dbdd842a09d0320c9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fde7971df61155545b79eb1f96742152acaf507b59c7d3c164704964dd61ba9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1e282b9bb73788db4ee933b80c4754c0cdd308f76e7470d5008a0a0c4774507"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1bef0f3f7dd92b3a0a900e75ce52ed22ee72f1f8c07b462d20322436cb8e174"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29a628fd04876fcdcc5dccd2aa2bd144b639a945debac1983e1f99b91cb99519"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b80e5315e0eb2b536b2c58af8eb8c30c87b1becad09a5c8f89dd9d44bf2929a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ffbbf7a72d81ce98aea29ce49e841d72fa2146e17241f536c53c2d045841f86"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"adbe6c7745bed6dafe3b2e02fa375a132816eaa8603b901a4880493bbe77044c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb3b07858dcff77d6e527b98172099335606107069b7a38047f3679d42e26f72"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11e8aaf7f3c4f6e1dd700c1dcfbc10b671fd7f95058bdb79ee48273a625a9abc"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c821f8c33f141599af2fcdd548f9a8a8493a57e804a7bb6f9ef9047b35b54e0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dafa1ca0cb10c4c60b4e0731d2d53fe80a74dd35758ecd66ce81b4090034508e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c76a1a019d96458f7e6a4d67711b3f317c4c90554deefedb10eeefe0c187c0e5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83d45ea0eaaa6ce37db56a33e67b841e1e84817c12fc7ef86d0c5f7c0e7da66a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b5a464c7c44d2e8afa3be36100d4cf5fbc6f1e50447a60c3a8c3078bb3aaf30"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d05e50ccc5c67ce99a82c10c2a38334be9b37dd80acdfa0533f78547e58d8670"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4e0a197797fb5da2e528816f0008cda2cb113b1ba0294721b5a05bfe8dbb0781"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"edd437ad5e35266ed0b4a07d4d4e492177e07cc4c13ca8cc063e591745616c49"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"143c9bf6e476b8f84aff34932b297f0e34aad77c4cab4a9e9d369e02f60efee4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e22750ec7de769c98f3a9085a3a2ecee47b14edf60c3167aa67218f528186c62"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d083df5520a204491c9235a8488a05599dd7ffb3c72b92159f7477b6de320712"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1141fba8074025895b3ae4288967245c2a12ec7cbb964a8a9feda5ccd70d0bc1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0cde882b4b632def98017418008b20c38e7f006d783ace362dba3c87c29eccff"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d03909c16ada6149fcc5dce092abe9af8b94f22880f3d63ca2184c2eeea0c60"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a8fa7bca001875eeb5aadcc9789cc56ac81fcfec1873259667fe07dcfcc62ee"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7f3fa4a5e35f776944cc69164c56c96ab6db1b50bea7c3d12f0bee8c8c2f3b4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f3d39af89a35eb4fa89fcf1eafc4fe714928d48b132c5655b0e33460498daa3"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a90e76bd409d46b4dcd371df94beb7dc2930b0fbcb9ee14482c6a104231e2a5d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cab1548ce70e341b15f2e63a22266d31e39e53fb6bac3faf8444fdd73caed3e7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4cf042ff4bf77b8ff3001bf5008b795d1be80d8f3546607735a784d7cfbf042a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3e09420c9704bb584c3e939495e08f1b9ce4d9eabb21159f72139e976b6fea7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4bba8e99b158cb6f48aa3b5f32e88fab96037516c2cf6831e4d135ad94a51405"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"079a5640c8187f00901bd6635094474d2b7269015e367277031fb3cd5f3b9662"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c7102f6e36d38ca05b756b5c37173601497d01d0b82e2a9c1006ae8f671da1da"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9b0321570f8683ea2092c07f038790dd45f230dc72a1ecee6a76d606ec4abaf"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75c826f6563d6920ab96500e6d692c8914bb2d1196935ae5471d54b616131c87"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b76f76016ed76450de997e16f9c4ce17fb82f93a8c0fe1849e6619c65010d18"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41d1e933adfa94ef5ad9ad56f7258d7a1d5c6e38514cb58ef3b74e51642068a8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4c8cfeb000065ad411656af14d3397626739a157b50246a4a10d5ffb94e0c287"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b82a2f81887f2d1f775b0cb04c19eae22ecb678de49f311a42cccb7d442c7e8d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"887fd81ea70f2e810ca0cf434f5770989284266519b43fbddabf5144782901a7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"023c773b0107a78e07aab0ffcb603d95a67d27ee54446ed4333b4175ada976bf"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0a769ded7a5622303089183cf37aac3150facb8b87bc84a8c15b033a0986cbc1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3286b52fd7747719cd896b1326f763df6705f98b059e232dac7a84b8918a5bef"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67fa34467cd9472cab79ab5394416e00940679cdc2664a804171078cbeca2535"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9b1028f60ac431819b140231b6e3d0c002db5f4dc569dc9f3bcced9eb42697b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9fbf05ba8b354ed801e22e5949c9e1e93fa25e60bb12895ffc97ed50c721df8c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78e9940ff64759553b5ee8c982e6d0efac2d8b2eabe8d5107971aa655ef17093"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0938ea8f24269bb2ed08748e0f0a608b04e6cc5df878e92d6b9c13fbbc430ca3"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"413ee1ffa51f6bdea9f6574ad4316b9aa94b6d9ed05903e1471e8a67fdf42d9e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d8853dda6f54a7216df3ef7608e87b82f0387e5354bb67cd5d8367fb594593e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf8766e20afc344909bb6e5e9cfcf4f762ff7667e5b1b9a272662d399d37dc5d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9add228795f30290c036b11a5fd73aabb76d89c56f3116cd57bea4253db08dbd"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43cb42312204ddf133fac59de6694561f8e0ea21dab07717b041cd7a1c403a63"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22522c8e8d368de2ea760bd862649812e5797d87a08687ed74326f4bd51653f5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9b7688754741b4332cc87a50c07ecdd450c2bb89e8163bce5d7a375eda25234"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"948f811f1791b8082c563d6987269189bc21805937ac3e6ec0a0dfcad2271955"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57d0f9029389f0cbc78fb12c2ecf43f9bd7954c4b023164e5b768638003e1daa"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c86484d10a80e9e1d5738cbadbaba24dc2ee7dd744d6148c4a2a855aab0d1443"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28afa04056e7c0092ae65737a305f80ed97a7e359a62f07d099dea07ea6b954e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d40c7cc31b5c4593ea17ecca97de4562b740efe0180a10882bd61d8d552b132"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ac933cdd14f4b4eae1c52da85ac566d3d3777659ac47a57f4f6bcef772bdccf"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f9544e10d778a31a7e25df7afa6914314eb2887cbd6e6245e1803436af79a9e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09a37f5ee79f571b51e9a9e2e91fc48204448e1b89b3ec559c03ef3fb678c936"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e147b8a58c569e4e07a0ce807fb4843f1d99bec0cd6f13e3a08fd33e50dd4bc6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a6975d39a1c63a344d52a131814ea62b42198cb61a00ce4e047f9a7fd391efa"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e8a0c35decb00c23f7ef853adae4db31d872041a0346868b1c1a7efe9720031"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf5d1631abd250030b5504d021a7dee455b437c75d1dde7e9fb0d571f68813f8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee856759efaae0a5145a3eb1593050faccd61b2adb21e62dd7c1c949a918ea20"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63f133b415284091ea048bb9b9d4d4ed0219263a890f390f87653d6623d8b0c5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0ae1dc95aa3be75f0cc885e570ad6f4947234a5816c2383324035404f1b979b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f7d7a0f9cddb2f83a82f92c4a911b105716b2a2b731b8d34585134457e4ef460"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce2bb34c14deb92a7700cb9b6623a0b1001ad626a6e6c4e2667ff85ab137559d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa72849f7239a7774cd962566643d9fccf38ebb2a24e2d05fbe489d7cd086625"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"afc494f9c0ddfc9a6797c7976f0c8f148af4d1433e393c16d0dc6cbb791c224a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d2a2f2fe6967682fb4efab97a21f971ac20a29efec19ad185326b9722f6af75"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66b0c86124f1e985cfb44faf1ac54d22e8555f1f815cf57f4b4371005c0560c9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74b1c21a739aa951eb35fd5636085d459e1ecdd7ba7cb824f3b821258436f7ba"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18777b1325bf8a6d4cd9b9f7430d0be3f1db34b26ffae90b81c91f992af0773e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0264072a8aef02f9f5af703f0d5c393322c7d0a495a3d4538e7f6ea7f00aade"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57f3454ca614f6fec5bfd172e11b36ce79cbd564a4e0951647ed12ffac71c596"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e440077ac06236e7726029823896b01795d8b6b59464d6d798e90dfe216ad9cb"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c7a2c0b4f32a3223e68552c79c6c5c69d37833e218121f3e9134d4199ef3962"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a0b1c6d29ba7248318865f2a7f99dfc7b88625c128a83370fa0f050fc96dee3e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fbe298b9c21b976dcf84eddb69e7080ad02c9fed90cf171e1fe7f5a34a484ce"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95bbf8cbd61e77afc4bf690af4bf2ab90ca03c4a742b58104e29025fd6dbdf33"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83eb1d0cd0c686a0d3d0335fdd5464ec6842c9d78395ab36d145bd7f0af26778"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a9a01a234a966f312a2959542f3fcb422c3667b22d39fb40bde14e12f5a1e32"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"51090d5f11163c6336a3b063a103aef713efe655c6ba15815adceee1fa96ac25"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d12902eb82010b66294471baa9f5866656692988147076c9c49769a65be76305"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"484d026f19d91a2d45b688cf7150f2a6f152dc5265015f1dd063b95756c028d4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc8d738115fb1c0e45cd70f937d5e5d06bcc08c602258564bf8de237c7cbe75a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e37062b127c9f0df9fcb219d4a33cce2ba985d0c7b7fbd960f9b81f9772e780"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f5217df0bf6e6a0d03148c9164b571dc738e0a6f181678b754cc57fdd5b2277"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0d18ba448a2f99f954d87390f3c08864247c4fe52a7eb0597f245191542fb94"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28aea1dfd320ebd51b7da7b9c8d54b45f5339021978882f607f2ac468fbdc589"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce08f2bf636e8e415d04f99822230bfe01f85023d41b2325e8a14bd422142674"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a26476298675c978c9a5ca12c5437649951c3be72e3e1b94f775a77d02d71bf"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ca96dfd305305ac3a2cc5767c7c711e6999ab78e50c3183c6a997177649c35d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b3f7fd3db910821eb0b766af0261ab69599b59beae11eddfd1f34b4740d871d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8501d36e11537eaf62b37b4aa0ac3dee8082702ab3d1e40e344bc0fb4b6c8198"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da5b226225a3ce93f9d5151f3e359b001911627b0c07940c56d4ed09fb6d9056"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"282acce9ea3747f4ba4355bb324469180056d9c9b8b9d61a5d6655de16d185dc"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66b6122dc387d97cbec0b82c93ff8753fefccbd3a2d6a413276ee00302d1893d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b30191953f7df2de48dff27f0c6f7168fd1ef59a2f0e0b792243a6671006b8fd"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3bf35f4bd38261a5364dd3f9ee2499849ae95d7fb72fa6c63e9906ed5621dff"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"518765552e5003c64ed22253e0fee252e08a358b0d9b1ecb53a70b5b80f11046"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6504abeb88ab443009226970db83e599f926c82815426fe54b34ea9dd2e62d81"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53bd8150df00361f7e9bac10b15a5e2321b24dd8fa44b4d15db4d46b148a13b1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"994984e7a774d35687a394b7120aa4218f1606392fbeef849cd8e916b85462fe"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e140f347c61652d7315403edd35d09e0061bda2c5c9b7882988495f40ce6e03c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2143f1fa46f4682f6fcbe6f61b24894edc17409970c365bb715be4c4e21888e6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e97541226ccb543ef4c7f048597d2e0f6766671f480454220dfa2ad4b8c1aafe"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88a425f0a0a699917fba4ae0202e32dbd33a096203957afe804fa22447e34381"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"857671ed4ef5e3285e6114d143b7da2e6fdd3aea3ec33689363e0aef4db20041"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1ec11b7a155237d8360b410bcef805cae31302bc00d656a0e5a4abe3a1785f0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb44319264568257f849633c5ca4891a2b1ee7b5979687a816569ee9706c2ccb"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd2884f51ecfd325059b9eec8eb634db2f38edb144657575116612d9434c2b35"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"912a2232ddd0081de275222cd1c18b8c3c9c721e371b613ba7502d384472888c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"575d1ab52c76f2ef70a3feb36ab9a8f339eb8d3e69e4cc850a14311a34ee0078"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b5c49325157516eeb11a4eb6bb07b641b30fea0a13fae9471683442b78413d1f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"640ae9130cdaa3c62069be248839c3a83c318e44e503d6ec843ec8b91e64e5b1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc123e52ca36666d8261f6ac8110684d0b471e86e8c144221d680cddc8e18447"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12f2ced3015e5a198a0cf284c3d9b546a0cf4c8d7859f6d35d6e03ed51d3e6d3"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce87209f50e6a64304e68161cf950db09dbad43ed93f7cfdb803aedac5b47cd7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf4f8e370f0d4e755f5b3286e02dbfa323825b27517e26ee9576c2c57edf2566"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b33cbb332dd41e2d984b32fa533f654d11ee52e1fdfc23d76aaad44b27fd4c6f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4832cdfb0f5e90207fe560eee76d6f7822915fbc2306a18dbc89a13f97d77f6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e865ea812eab70b18078e121e218f42a4f5f0dc4a6278756f6dc42d79448fd2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e266024135c982901f94ef64ba7ab3e95074a0147e1cf2b9b9ee6d541a77a806"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5eafb7067cb0ca998772b39004c7dc36da8a8c50bc5d6c4a604733c6db4fe5af"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"995a0ddc23d7be4b48c79c279b70ce3a80bd955f353a08b64d58845ec780d13d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"234caaf9692f2fc189a8cb85c47090c894fc080fd92c23b3f399097805ebeeeb"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f56ccfbffbcac7fde072812dbf5d92e7a755a661711b02a44371efff13184451"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd358656e6724b66c2f92d1c135008556bd5d8baa67a8f43f24ce895d759e971"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"824c483b6f2e884ea61868d35efd09720a7f6f4dd3ba345308b2a5cddbbed843"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"20f24ef3bf945247633695d2ee25f1ea3600c39df470f2791dc6c0ebbb70f2ac"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"692cf7cf05691414cc2dbfe46726f9bb947e489421e31bbc71b9547e40728865"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"310cfbc04cd0f9fc745871b5412e19ed9a9bb473355c1691a10cd7c656656b4a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3bad3727a4a09cbacb72789cd4c257a9bdd2ea2b3bbcfc1dff0fe4a791d1f905"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08706ef1bbd11d841a5232a8499ab11c62cf837dba56cc9ea0d9875e6960f3be"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f03c8f47ba546e98aff287c9fbebedfd20b8b4152cb07153b43703d998c04e3"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aaf6e8f4876b19861017d4e8d2295c0cfd5d146efae76ffdac51b5ec7e686fbc"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d0af5ceb002af51eefc3cfd6c5da820bcc56cde5dff551c4f843fe5de7696e9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6cfd31a2b65a7ab4a0cfc360d1b604901e320239101ffbf871dcc69b9a3612c5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f0e94b4bda0acd0b14a231b9e977de5d90f71545560502a2ae63fbf79fba5ae"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5db7f74ca9320be0f2c40ff401f511ec1eebe32cac9d98d5aeb0adb74eb9b8e5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f330861b4f9bafddb31b130dbb691e5c793a52c65c72c4346d37310f9d2519af"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e2ef35e52a0cca23c42c8cefba03402a38b26b35e1ae51913f531e5a74abefd"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c9c38c2e3e85d2f677ff57189cf1c44f9f190b4773bc9cc8b0c343a7887d21a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3238f7a926b1efbed68031d0bdba41708dc22ef69b570e303e5c46c2aa8a752"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a92a216badc75889d27d11b9afcb3f331f56591cbcdc4aadcc29506babfecb20"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2987e5e2645c382aac0a147dc426c42013d7a06bf0165f3d122e7db1848638a1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e4cb7781277099f5497c6d7c22d86f27e6b2660b6709e070f3447a495b85d12"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee8e241e1066a396bb2c18f28a49d44e1f2d26b2e3db47e16809d587b3688a97"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"821dbe52cdce413b6d71f102567dd5c0acf1c682a2f8a637a489fc20836ec2de"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0437e4d6ce3f5b36ba65c4e7c1601a4d7db0df9ba8538b8b073d5206c928c99b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef3c2bd9e0ad04d3be3a0816fefd67bcddadf9dfbb113c526eddb6f143390bae"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13016a8992a6fdfc8302fdda15ebf070e95abdfc6a9856e44f1750e38e67705c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"323580b34a42f168c051a0a82f08aeec2cc4cc7e61b077cb8672a57519a53bee"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d265ea2803aeb061d46cf740b3ddfd2f09725ed41352babbbc1d48a34958e3c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f12f7681dcb14b0bfb328c71b1288d22576e87287a89620a6945e43a3d9ce810"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73bcca9a22f4137acff0be9341ba1032e9be82532aa49071aabc79e39e3edbc1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"192ff15d322cae0827cc5332b39b15cf07c81850dcfffcefa2ce8fd4bbdcaca4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21dfa4d6783764909b6a90b60b561396400732e5b1ef0eebc335e40a1f4be4c9"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5861eb3e731182fddc67d7fb45b667779a4c853e72b0f25bf9cc3fb897e2300a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48e54ffc03f7de65a117de3088d56149187ef506639df286eafe54542e8fed78"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c7cca9a9c8a1614ab5b8dfe39b70e62ff69a84dc03d375b4c684da9cd73c0e07"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c02102d446a28acda88157ddc5c2af3b31519aef8097d402e011c8f9ed75c49"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ccafe7b012b49b4472d8c2775f28ff776d4e3ec72b8b3993e8cd0f1ab255b166"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a7703760369e806ab3afb98f62c480a23baf39abad5d917bbe1c2931eb3fdf2"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22939ae456c0b4826fec6555070ee81a2366d84980cdc175a4d09cc130820bf4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d64f12700190e8a864797acd68135db4dbb6cb27ae62e0458f2c44f044c8c1bd"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"917d8bf2ed4a359ee59e1a53ca8972377ec0bf2516390d4e0c853d1635e08e7b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f68f82c3f505c6024337b275e3f4c8e27dd80ab67209d75b9bd5892eff6f3330"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7d34d4ee73810dbe5b0dff861bedc806b3716807f12385be35d779a42ea345f"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"08af924c9895121f1f51d893342664a942402f14136837a53eca12f5f037dd0c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"253002566b565a7963275a6692f85926467488a165e98a443020a83a12c4fa12"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ce028212a3c60e13b5ce9c488e83109f107507a63d06539cf78fc410f2264a0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d94891b3238e1d3c0e171066fd58fee38f122044c5be7379fdf29f90378191af"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"665235adab735355478b39c246f10e6d339af9e1194b615b79fb613bb8a196f5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"977c193a7b604512c5a342771405772dcdd9a014ceca4cb42d2fecbf5a46c387"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"434ddfaf5dd238b538a7cc14e25b86961acde6b35f3fffbbd751e4cb14b11de3"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"c3a1e1d58d902b9857e4bf22a5129838ce282a0982091c3438229e7607a8eb52"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c12d2da4f7db1593248b6378e86f016e4ea242fbe4ca0d542f424c4f47f114a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5ea6dec5681e3a730cf148a6ef41a4741354079a7bc6afe494e6876b8d1bd0b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43033bc154b21065a50428ed9bd7e09ff41d1261cd759dcd7548229d552aac2c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f98788fe93e4fdf4a495378cd95ecc68c2f94fcce2143eb7315c1987c43d157"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6020e42afe712666f0727912ff3bcdeddc191fa3b84f4b3727eaec5162eafd2"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2cb1af46293c715faf0be23813fe8c38aeaf4cc65a048e74504ef0e346ba1b6b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d3d9920c2dba84de4da3f4078660ad1109f96a8e7a64906784359df1777b5b4"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"51059ee71ec54471bd65b2eab07852d88d0f88087131eaf86d8657e17fec3280"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fee8ae5fcddf30b978441c8996809c4b70bf72de6ef7cc8b3d8ef4736749c7f3"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a7236814a4bca8f5e38fbffd6b17332f591f8ce35f5a0a6b9a571531e80cc46d"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32a772d0104a47e151a5760196291fd7e3e83fb9ed06bea61d996677d2ffd413"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef3a066e77be1f6489260fa455216354348520c65d3ebe8d73e4f8aa2d05d1cc"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"953c728c5a7386c4ffc69a555fd755a2d304ad290ab4810e003258b018440b62"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"563907a9f09fb1a9f51f867d2e7de5c1cac0138d31259f1f338027387715fbba"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a94a07ae7186effb56111400a5f9b1b1b094e6513db308f7ea7274dbb542052"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ee2bd545e15b3814f36a20789519618c3fb333ef09d9741fdcbedc9d8291c03"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c4ad97eb3637f7cc79cede1f7f27485fdd083439605673c096c22f5023b2ca5"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f7131c87eae404c1780102b6d10118b2f56c11f3b62bb31129f0e4aff8f9d0fd"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53b6a7eb1e0bdbb3ffdb1fcc2115e9f3fc22e40f13f5180313efc1ad1febecac"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3093eb86c2ec4fe25499c9f2da5936b436491a86947a883f8b12942d9d4e9c10"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"51024f44d2d1ee9a3c03a6c9f6227ce4ca417a221ecbc63c2af66237045f5cd0"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34915bace28c912559ea65a92b92e8928cf09979d9cc864af156bd6a6f328d1d"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e21c7c84e89c48b5ea436144e1b0308860a95eb0b62978e69ea7247f3e36b0e"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"730158c7fdab3b3dc6ee542e5886a43953d95f583df9edc9f5cf92549d9a886c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b223fe56d8d2d1a91368de6901f1f077c6cebefe3fb20ec4a389b38cc3e499cf"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"abcca585f2b00e5a82739f90f44862346eb525e2e437931d36c90a74f466597f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83e58c6b07df7998cbdc3f29b98dcd1b6090c89cc64c9b7dbac66d9c3d27b5d6"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec3d2275d616f160cf18d89819c69ba14cc74c96191b109e43f4a7f9e0ef2181"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ba383a0f7021d509029071b847717cdf055a90cd36a9fde76ff84351700cab6"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb93adffafd2bbbdca7a97b933d6604fb5bb300935f99a923b3d5137774c1218"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a653c2c76c05b46bd4913c69d59908fce58d217cc9bd2ce75555b50c94c2660b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7bea247caa849143a095c6706ec6f3c0a84cb6b25f6ac44eed4d6c1d994e2e59"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb8cf4d352700385fab4e0b268393153a6e7edec4363ad29cdd8803e4c02a9a7"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"feaec9bf49f6212aa3abdec9df345a4bb40f9e45f8055335896f82f6b93e693a"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12ca1ce52e96cbf7768d25a716d10c53ed7410c66d2446a3c8c049484ecac561"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01a013c28412550e90fc979c0e33579bb9e225ebfb5c58b8ea4e0f5f77cd1f73"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20639be77f169ae9ddbfe95cf80d82df63775127e2b3a8e1713fe1a851a9be46"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ba4d58797b1fcc1d6366414f6b8591a3280447d627580b905683c0ddf1ddae9"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1150ad65a230d8daea819fd13a6cef1c266bb53fe9bb25d7b9650470334c6241"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac99071d3460b9f63bc79159cffad931d12aa24a085a542e94de070169b0ae1e"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33b79b890b09bde7bb3eda519bfb44e093e388c4ecdc5e508e73710aada24f0b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e182f327461f79de74f7eb3800d03f67b46bb400d634490aa655c27a3ffcdfb"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"351b3b067819fe8f0769e8e4ef36c9be3cbc6b12eb605622b10334a062ce1d45"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c52fb73393acf3663221b1d33e2631dfd02c60cb099fde42b89cbbaffd351f06"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"949a29eafc04a124130179b35b06baa10e327257647e80d5b8b4a526ea5243ff"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df39281b4ab30503228ebaa700b0309509fcd1c68fdf63a83ec897dba6d964c2"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e30ab7bdb948c027ff1151eeb9e0c188a375e1dcdc101c9615f59b88a089303b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38dab88d3b432e5572dea38e78b2ef9d65c0a2569e0afcf095234250154e0717"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ade795c115ca205a785993b13aaede48504546ba3ca92312c73887f5e2390c6f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"505fa462b7465f1b04637410497899717f715358ae8668c3e8e4ea826e75a009"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a237e6faf859fecc695d84652ff6367c9151f0b7c604cfaa5817b4a3970f2088"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf44cafd92050884cb5f2281271a568239aa35f12bd60a3a241742229755629b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4af1a600879a384e727ba3b91ad0295beb278309cd1f713acddcfa7a2d488140"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e2242b0dc07fa97319286431eeb8c48eb37d4fce7fd237b0f7ec2e80ee7714d8"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ca64dc05832bf166546586f0bc89a37dc9d8f5b959011ea0d0e8311fee63ab5"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9a8a28ccf19a9678c6f91391e7bdc645199a24dd13752d029067e800e8320c5"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bdccc9a099be09892a74576853d3442a6767df9144b4f412eba5b7cf5f81cc3e"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa40e42fc09fa61c693021ed2c99d54b20ee7b82a2fa00fcca93992b9a4a4ac1"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09be8055e8f396fa195f3e57d3aac91fd96d77c5ff8308cf29fd1e4b809fc576"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5e4663480594f015a45081a22871ecf3612f3871f2da9325e6026695b57b181"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c73781648fb05ffdd28d760e39cf70029311ab6230c34845512d76cad3b1cfc0"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd98f736c0fb671eea4598e14de3e5e919fe0695b086291a04a561da57356121"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d14dae9ffef72050803f3642b16aa752b5087f8aeb0be5f0a85d7a2f9d17aebe"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9df3d228dd6f2daccc4c8477bc66a9a84a4ede6521d8c95402876cbd1e829494"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0f43ca9d0bc499ba2b1ee580f3de85f9550444a68021dde397a04209df22b9d4"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"868f7d577243839be538f47f41de9a814d61a69cc1035b483346545a24070736"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf47d5ba8732dbe156056af8bc27e41ec9423e5542139ec9d341bb261923c3eb"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2dc1c3e3a053964041ca1442e57a2cb4975a36ac6f7cadcaadbeb3267d9bab7e"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"119eb76390eac4ba946db1237c85fea8f7b9288f733842450765b344fb8eea25"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e008dad391bee3c57beed85b8895da5f0da963ea68de9ba1dbd53e131857a8e"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"caef7dc6997c7720d43852dd5c790665f05dd3278f9b2270204c870d92b8f5c4"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad93a7b11f3c28f25811e8c431e57a122e5f5d520a5c5dcf8f6a25c6cd4a1327"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cceb6035222d4372b522ea0298440782ec8f0d468928b4b8182ead6ab4b138f1"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46a9ec2bbdef0a81c4e8a05f35d60494f9f8ba2415d1b1fa915d2cb343d9cb57"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"485ff4f7781232a5b63c33362b33397828640469a3e4912954349d27b75318c3"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83ac2fc0f2cb6234b2d0df3d290e0775169d79bfc077605d297b56e586fc2f28"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e53e75f05927428261f15bb19b7322c730dd89026c99df04201081eb9b2fea2"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f693440b0f0f03e8703f63e6a2cab0ccc10dfb3844304f2dc0131085966cce5b"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c50365d4856d39b455b6cabe6114ce6415754a37ddd1d3ae6c130237560ad3e0"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b16d44c4de3b978cfc61a42adf1953ab558bb71ea3e010a8827cefdfec4e82d"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"577398ae34fee5a09c6a5eff09cbaec6dfa231e10ff5422e4db897f646f8359e"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"045eedb2de93123307e3c969fc523b145f313e7fa884417641f79fc06cb5a59c"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"972d52eccc133c223bee848b0e79a803a858f341feac1d5d47ae8f5868111176"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de349e2065b0087e9a86a6babbee84bc5cc452c5ff8203f838b96a4c533ab472"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e54abc6560291dd79080b34c31a1331da7f588c139aaca79b8b7babe18b42afb"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b53b518c533b44b32c92326c39e8cc51bdb3fbc3154a49f665f49133bf60258"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54061a675722cf6f90415559a9f33a2743856b916cf34e4875bcae941f69a587"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4796f14edb62906efaeec86b9844a62450aa352dc9c8e36eb51e40c55c8b30c4"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45c858d641bb2159619a99813b440e6e4825d5aab21d23b931e991ffc6406878"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"26f21b522b22a370a7446c14ebadb0994cba365eadbb2574fc9dcfb9174acea3"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cab21e9a89631609cf902c0b6d09059c75524a1cd7ec745ad8bc267f99853845"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81b506806d7682447d89a318e4002e2a7695428c15653137733cbae05664b3d5"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0556f284571441d2c5c67cc2000a459509174ab7865c295f98de70ea872da203"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13a5654627e68759e327a6f0137bb75eae8ded3245383f6f0c611accf26115ac"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a825440bd557addff97dbd05e63a6795f392158270e578ad01736088c9200d2"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd674ffbdb66034f54200353a05a832940fafa01cb71dd99af12217fd7c11103"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"25ac4a25e7361bdb0345718fc4df7b6742b09a3ac40cfa2026dd638f0a7c548d"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"74cf2393595f754e58756af6d728e0f30af7f779be90b083b8275c2db1457f4d"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a4d1c624b25f1e537738fafe8e376227e323b218a6a5bec5cc1cd27e4d48b5b"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bdabfa9f0dcc28e30bfd0443e7fc66b26556c262036df427919cb1a6a06e120b"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"624de5ea2217498232ed3fac3b4dc31db0243e39531a5019b5aede634effe02c"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ba65b0538c54941be07f4765a724db681c2357dafbbf8eb4c4335054587e2c1"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1499fa9f3625db5271415c0b78e91b3cf8ed6c1447adbb425939228dd0ed0662"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba1f9c2e8ccd90193e1b9ee14e4e399636b625879ac775b1af7088c23e556335"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07c6f26073273ea0ab08eaa49684a868eb14792c92b1ce93bee649c9ff9d4409"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ee6f470772db1bd505ab7baf22ac26a05991131dde3d182b025933b169d7066"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2cc8106fdd6486f66cce23ed02fa79f3f566dbf9441777fff695e75359be8c0a"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70c057a2995d372d0b4fc3917ceb61a4aa97d48a5eca1214a3bb1f4929e6e001"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84559113cbe7434119de6fc69e20f6a0a52ab2418657b124501ae718466c5dca"}},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 174 of 341 significant files have no living knowledge, while the repository is still being changed at a low rate (168 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 174 separate risks. Counted over 341 of the 764 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":"pkg/scheduler/plugins/deviceshare/devices/ascend/310p/vnpu/init_policy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9094beec03cfee4c8b72a37df42586114e4593b64e9c5db1b1c174a3f015c9c"}},{"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":"pkg/controllers/sharding/sharding_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d071205bd498f076c13b544ad36ae9d5a7257bb9cd1a4599df25910733091b5e"}},{"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":"pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/device_manage.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6680ab2c7b21e3d58e178f13eeb1d4aa8f5897625d89b80dbde6d45079dddd5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/drf/drf.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a5461d02e8955ab66b46b28b3780db53f0f42d0f1ca0f357964f5edc2620e0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/cgroup/cgroup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9428d2a453315c6c48fd9523559a937154585c643f248245aa89ade062649f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/cronjob/cronjob_controller_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b3d0d8b4bd264e329ec1b018628abdc097425e16d74d605ba47cade1fa1c54"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffe939872c19d9ed834102f616b76867be22ae723b5f446e16938ac42c471b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/type.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f778abb384de73801eda034e1bccb4e4f7a8bcbef99c2cb561a66aace1add9a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/extender/extender.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8de02961eefe4749b49c96f4ae6d2ac91004de894908d00ba795d3da47abe3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/vjobs/view.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5ea62ede354ece2569242335593aaa2cc96ff5094a2c4c6c210ae20fa8e6f2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/util/scheduler_helper.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7301e8386caf3e53e30ac7933f4751dd761a9f37c13bd5e162cf8ef72ad10e6f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/cronjob/cronjob_controller_util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e746f166621b13eb30a42be44069ec82eaac52505389390816888405fdb07a39"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/test_utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84440e12618454de3b6e5c876de5bd38dd36b5f01f15ba06e1755e50175538be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/sharding_manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19582ffcaa21056f9f2424ae3202d10d188e345fa06b3a6f219d644cdc6ca434"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/actions/allocate/allocate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e2da68f3211fab22c2a26b92ad77fe67cac5324853e6518b6476074dfee01b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/cronjob/cronjob_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"660d409527fa856609e702de93115be7e3bfee6192cab3f03da95f72bc1e9c9c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/tdm/tdm.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"959f623a405b95b0e7dc6f9dc7d22a7a0ab67f2b771a796be07465b31822f96e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/jobflow_controller_action.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff7de1caaf96a2d0223f4953ad202a47c0dcc5cb5e0cbd8ae76f8b6ea620e0e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/view.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b631374b6fb1d0b38231fdb917ad996f0c9839aa0ce71025a8413b04d8b1fb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/controller-manager/app/options/options.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84859bb0300924dd1e0644134ec98c8151be4a34fa0d5a97db6806c61712d50c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/numaaware/numaaware.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cba019a43b964639e0bb2d354eadc2fb198e230a475194a51561058ed738c7e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/queue/queue_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46c72159d0f1e60c2e5d0c9e342e0c17cb92e60db25e7d819920385cd9ac1fe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/task-topology/manager.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46e585caa7343132d07999ec5a049d2be413f1c0159c15c26f905e8b59f483f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/garbagecollector/garbagecollector.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28019a4043cc0eb54b18d7cf5757b1273d6559ea47256162663d43cd3beac705"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/task-topology/topology.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"376f9e025d512a060488df0be4f671266f212b79e24a380dd035c6b821b69f55"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"staging/src/volcano.sh/apis/pkg/apis/helpers/helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af80c4028fefc0756a1327f9c35da833cf01f18ccf562ff55bea12e1bae9e08"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/plugins/distributed-framework/ray/ray.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d77844d1d83d481be18f07ec840dac98b53bddc8f982ae9aaa1fd78c7be426"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/colocationconfig/colocation_config_controller_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d478df6e560e117ca070d7841cb503d208805e45c4c82d2d7417ebd36d18b2ef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/probes/nodemonitor/node_monitor.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33c15d5c2633aab54c7b7ab188d56a7dafd5d52d5e49e55072ab1c4f2ff7601"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/rescheduling/node_utilization_util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce15e527e80c1d26324546ad0ae2a38c437124bab80f81abbee4d83ef8811a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/shard_coordinator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe62527bee99222e493658a50ed2201f7d101c531e281f03f1d41e3f3f4cb17"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"staging/src/volcano.sh/apis/pkg/apis/datadependency/v1alpha1/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74eaeb5471108b3abab2386d62a672d6d9498883cbadfa10178e6e8767a7587"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/config/configmgr.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a43c374af56168e1ba36c633e45affd36d11bc725334bfd04d9e32722c53730"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/networkqos/networkqos.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82af0ac205ae008f2e0629b1e987ee07572e41009f92022a158ad9d1408af92d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/schema/schema.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47385b396a147b98fd220f894f4f6edffd15dfabc45eec9e3190b8247b44fc04"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/util/socket.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6eb248e3461b75c88989ef99c4008a73df42dafecaa4b47a3ad5050f3be133"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/binpack/binpack.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"871cee1826154869ee98c354ed28a9de441024ee5c6002f84ebb0b34c90c28e2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/jobs/validate/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10d671bc3d225b6c8c35edb6d6e277a001e17e5d47dc3315990daaf1cb5e4f6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/plugins/ssh/ssh.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"437235a7b79eada0d4f9ae4fe5d094d9142f563c3ade35ebd485290a9373e733"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/jobs/mutate/mutate_job.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab63e818af7633ab1586366b558ac573b080d345cc8e70453c6d8f9fce1020f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5b4656815c20f9326debd6af898492441c98be7a848a9d84f3360eb3415f75"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"staging/src/volcano.sh/apis/pkg/apis/flow/v1alpha1/jobflow_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"428cf9ce3524f372a5fb26a107c3fcd4a6b3d0cf4ebbc00c6790aa0f12467090"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/networkqos/throttling/throttling.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ec0babd26c59afefe4cbfaf60afac19d5a6ef12bfe31c8349b8d11320ac85c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/numaaware/provider/cpumanager/cpu_mng.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"936bbedfbfa7d9e6b6a0c72dc4cf14a7fa6774270f6a9fbbe9d18b3063069194"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/jobflow_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a4d05c6b20baba04c2683da4fe873be8d20550d1632cc97458bbff5a7b5ce8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/util/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e8c6939aa93b356abdfa07c1cf954bddb07db0945be1b0abc032e96d4e3fde"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/controller-manager/app/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c11cf58da827a33cb9080b52c97f5295f7d66ef687b156136c66289b52290f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6e59767199e2231fa4a2991c2497abaaf9f2c3a14029a2f9bcad542fb3e8a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/webhook-manager/app/options/options.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d131f862ea32dba2802f42f385f90096ff3bfe6655260f56c0dbc0b7be35d95f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/config/utils/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe0c32f1953a83c74cb901666f7b7bd612ba7708a5ea7645d33574fd29f7934"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/cpuburst/cpu_burst_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27958aacd1203968534f9cb65961ef8d2d3c0f2393bfdd6d048ae0b967b7430"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobtemplate/jobtemplate_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6288867d2f892a227a208df01a6f74061f12a77afbd7a72feffc183643d5601a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/config/api/validate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1296c234171da60b97a311faed00c0cc31f5b4f4fe4f18039c4fc37babad6e1f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/rescheduling/low_node_utilization.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2500d93af50ac8e575aaa06c24503a6cb4d0a55c209d4c61c50e3f3a6c09bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/memoryqosv2/memoryqosv2_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5bbbfabd92b9b985fac495e5bd2cde423dcfc0c0a0daf1371c5fdd3fd15dc2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/node_events.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76025c316de079cffbbea02103321dda6c36546f92ee4effccdb2e6e8af7753c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/list.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bba954e9bb44a8ac2daac362f2707096f100a7ce4db46d70709246a5df278b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"staging/src/volcano.sh/apis/pkg/apis/topology/v1alpha1/hypernode_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e726059a82a6f7ac251dcd8be3b3e9a649f757982e464397c8c855194040551"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/numaaware/policy/policy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fc81a78a87a85c96057ce42f875f404c04cfd1519e93e2e2148dbb89b9005e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5288ebcb853ce4206d7bd5a9b9cfd37afac6aa5be24c984e5bc0ceedb087ab5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/metriccollect/local/cpu.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e823d4a69c8d7b4284b8d5467b1f1a24d322b6e4840c9a383bec25e84a362d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/webhook-manager/app/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9915fd2fb297a5ebd51bcad87dbf608a23038cdb5de02b372b2551a584964403"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/vsub/run.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25a61030c1095b88604c03e1af507fe124f7b4f5b124688aef169137b23d126"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/shard_coordinator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"941cbdf4a9fc32f8086390867fe4be2632a5b63f3ede818cc5d569d8273a3afe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/numaaware/provider/cpumanager/cpu_assignment.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7914c57acff00ffeab5a66c7737cf67e82bcda0b5a0cf65ff608282f506fbda"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/priority/priority.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d479a0bf041183ee13e5842428cd0eed121a3285ce938bd82dffad3128285b9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/cache_mock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcca135ee84ab600358bc0dcf8dc6f71aa785af8e7c5bd488a760f29ea27bab3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/networkqos/tc/tc_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"629857040387b422ca8177155d280410155188d594aaf1e6b60df30379d9dd6b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/rescheduling/rescheduling.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6aeed6e3352f0d6b43ba216f6460dfacab13d4f022929c89c0520e85d931dd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/podgroup/pg_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eb37f315e39e9ef162671b0103e4b5eb99e22aabd33fe2e1a54f0bde96f457"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/metriccollect/local/memory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dd496480ab764033a8d4308ef05f0581b5f361e562aa53580ebdb4675d2bef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/config/api/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84565f8d14a276273f43040d789730800c54586f6f5f1a91e4da8afc8e2f4bc4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/config/source/configmap_source.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b97c1f6b35a2ba2cda60241ccacd0030a79d62ea3a4be9f3b88b91a256852bb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/agent/app/options/options.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c740f252060e4cc7c1425c7548e9dd97d4391c4e82bb158bed95c70e2f8deef"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/overcommit/overcommit.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"967127ebf07373e3716ef3348e7480f33e1f21e5565cee9772f7222d29d7d6b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/binder.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd40610c74deef35e57b5ec4896331679215e23a9bdd325f28ed18bc86d439bb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/cgroup/memory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1aecc141d4103325797f8d5df43f3a2b57363d9c83df7c5c920e5d265955814"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/apis/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"835828c0631ce85d6bde15e6c299e10ac3168e15c718638a766120afd7c15e3e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/node_utilization.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"506d88314c2659c62e8922a917d48deeb331ecd47cf0f845a3c3f8210bb1fac8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/node/patcher.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c10eaed6f53bbebe5f7a0dcc0d202fccbec4283941ae398cf690f64b3aef360"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/metrics.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52412b9159ef1597e452267ddecd0b487148e5c557382c10954498c7918a455"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/node/node.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddfea7f4afaa077bf9505fcfa0fd566e5f916bc261b677df2bb3dd657ee9816"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/network-qos/cni/cni.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be2ed75f7de0abbe9f917dd1fbd390d204a37d00d2e84d8f780081a49d2964a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"staging/src/volcano.sh/apis/pkg/apis/nodeinfo/v1alpha1/numatopo_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74c5ce14c9f383bb55bc23ed64d4285af0f91d18fa39599b96dea35ec5e4f19"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/probes/noderesources/resource_calculator.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03ecb976dd6a96ac3647a44a49a6daa0a77eef53f6a1f961542473da5da2e46"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/features/feature_gate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ad62df469f5281058f408a017e205148ccaf6b83f2b4f5fa1a9db965dfa72d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/conf/scheduler_conf.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc27a3b185fd7b0d18bc21a3255822d143e637c34078cafdf185bc6874a8f18"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/node/resource.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8624cbf9f6f5cb130ef1a8f8a2556976b293fbf44616a08d9a81b6e1ad1a0e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/test_utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe846fa24b7ca0a78d196c78ba83e832780700427be0e53a58dd37d8325aa505"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/oversubscription/policy/extend/extend.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3575ff3d817d57e724f3860357e18f9d6d8e633abc36cd17b57be0cd9a0436"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/run.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b395c4d9cc2ebec253a724842f65a8224b70d15f1bb19b52018b76a3cdb367e7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/interface.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2a832ed54427a3a44b8c83e26fd503d5019f118d687782a8f61e91429236b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/oversubscription/policy/policy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0010ea4c2a24bb1ea85ccf6480bec298f98d59d4524c36d6041923fca9f555c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/oversubscription/resource_reporter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"456e149efed9c0c75d599e3fa8a7bd60fb9f714867ffd22f0a99305f174511c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/util/nodelock/nodelock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1d3639dfa69db598663ab1f24fb0bef1ff5cbf92187c6099b49ab7b2c40af4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6933d5a8b350e6067c7425838e108cef7c4cadbdf550c120e171e58322fb6e4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/pdb/pdb.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df088e77d36ae35aa27474cc99b99209ea4641ce578eb6d39accf33286facf3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/sla/sla.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abf1e0a90559e397f0c5dbd651720024c21693dc2a556306ea171da05696ccc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/config/vgpu.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c63bc34b8771eb76ef65f5c55356d76ca7eb01d8c5f4b14937c035f42033361"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/queue/queue_controller_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a90a4474d76e4776753844ddc581647d4e8dd9f8be2a762eba8fe3d29c749b4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/metrics/source/metrics_client_elasticsearch.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b630d803aebdd97da4bbff6f1385704389e14a302d5bd73c3e765e60f1281c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/cronjob/injection.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4da249634daccd3a6cd8286cd87e9f26eff7570fb3a679c67a4a07fd92254c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/networkqos/networkqos_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"554ff5d365fa8f8e66145e0e196e70f5bd9c1efaf5b546f6af7e053bfe9630d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/agent-scheduler/app/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"118962639b07920f9ec4fba5fe036f3e8620bc3aaf486f7e93ecc63915df3043"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobflow/list.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cced04fe05db24f68ae6f0c74ebbf4d55bdc57c05ce7485f49de5863559f1b4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/network-qos/tools/prepare.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb76d3f8de370a5fd6faddfeaef7f37ac27b98840bddae0b1a1abfdb6947435"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/factory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5cc8dc2d91ed517a5b758bf77967dbaa06f70e38fc69dc0693abcc62c48452"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/dumper.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbedfa1c1d11f04ff6e3d178460aff8ae5e2d5cec1b489b00254a9fa0be36aac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"staging/src/volcano.sh/apis/pkg/apis/config/v1alpha1/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d81b310f7539b4a3b4a37b6491ecc6a072cc13387c16b12c4a3e16bbda2bc74"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/networkqos/utils/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"090cf7d2c780e46214b7fdbec0b7e7bace7d2f20ca441cfd3d14ac8978e25b13"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/sharding_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc7a045f44ea62dc3ceb92afa8cee223fa1a0b6ee1b953ad926de5d60d2fbb4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/cputhrottle/cpu_throttling.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58dc33ddae6cd3e3f822911422dfc72014e23024a7b5edc58881303002c917e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/hypernode_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b59629ba18b23260ac6bd9bc58a5778e6d1c89d93855c0ad38b5cb2d26b93d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/queues/mutate/mutate_queue.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca46483fd94f4f60f318e90b39c278257fb749c9ab1bb1f9e6f1fb9a4cd89a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/hypernodes/validate/admit_hypernode.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa4da67122df07defe13964c230acb66660cffed4a1ac97ba050fdfa388a04f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/metrics/source/metrics_client_prometheus.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39033f801300cb008bcc89ca0faf31a97b99c2ad53870b8809e35a0d5a4fb27d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/eventsmgr.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2158882d17c821d645a192ab7ffcd7581374e4b71e403ddf7fd757d1fb3eb2c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/state/running.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"950d3c14109fa3e1f40fe3af7ce1ca6b22628cdfc22f75c1fefcaac010b003da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/vqueues/get.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db083fc045699c40608ca688933342cf165142cde307e270ad02779925b97e24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/resourceusage/resource_usage_getter.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c03adb300f591ff321f26fc4ab9de040186f9242f3c28d07b5465a0959d5b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/queue/list.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c5ce0b2e8d14f135428a9bbb82eaa05f8525d4336f51d3f9477841f9e3b7f4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller_plugins.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a47f23ec3fce6009e2078c4ca2673baccc7ed3205ba9853131db4c2b35e379"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/resourcequota/resourcequota.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cef38cfed16ed94d1a8e378fe0887ccd9cedca1d70d17367da18c0f4c60ae6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/networkqos/utils/ebpf/map.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b039807ff0f2a433587d83f482073172378059369c43098cf228711ae6b485"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/cdp/cdp.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36bb835e6a4acf2bcfa017d07662c8b601727f59a5b684db5a77608a26fbcbd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb8e256bb5cc4ab65cdc536b27002ef1521973723ae3bb0ca64049e5fbcf032"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/colocationconfig/colocation_config_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d47457289ad6eba399d625515595b71a51b930d0e2c180eac973c97fa03d60"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobtemplate/delete.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad95bc18a03388fdad149dc4524301daa717aacea44916e3c3a531b59dd95a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/configmap_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82a14635b87e552d6218153b676b1ab7b8e217fc3c3ebeac1ac031cdfe0dfc4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/agent/app/app.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a10c947aa98eeb09173e73d3406e969c9aaff2aca1c6475ab767ace9c5b577"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"staging/src/volcano.sh/apis/pkg/apis/scheduling/v1beta1/labels.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fe3f785ea7f8f3e132f87fa84b713a56c712fbd89b0607da7b67b082d36bbd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/networkqos/api/ebpf_map.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0448422ef711d0393bac9c48cad04e28c8a22d202c0c827a0424a4423209f660"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/pod_events.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7870993684335162ae4f4f5a18068a8639ba4e1f6207542ea4c74ecaffe04797"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/eviction/eviction.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39dd95075b648bb36fffd99f85d7362117897ce432e1367ec20fce17257ab24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/numaaware/policy/factory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1516800a0e56c1b2597b3b711f77518249c872a38b0baddd5c2191ade90bbff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/eviction/eviction.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f5e9b6f19d73605d33548d7fa1905dd0b7e4c41280efdbfd0d75a35d458034"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/task-topology/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ceb88fc732f3d64f392ab00706497958378bf999dc95f936af2e2b9d2a09a7e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/podgroups/mutate/mutate_podgroup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b927cc8dc726e647dd2d3fb0a8ba751c85eae562bb3f8172d6603293aaf585a9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobflow/delete.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"437dc9d49a300d036b98949cabd732a1d7f7cbcf0df124b648a11a471d8b3376"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/jobflows/validate/validate_jobflow.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6a568662dcc8e330081517490d4e4311e9a21970f4820f929fb7e366e99048"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobtemplate/list.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66212c28a9f6d313fafaeb0f96a37686a2d2e3a072e9be71c3b150eb6d20473"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/agent/app/agent.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29eceb134dd71aa78daa801338a15d6e5f486ae0e4e761d32d9a22863ec28c7b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobflow/get.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67f015869dbdcc282277cf71c671b44c4480efe9e67560b604a3a75a999f316"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"staging/src/volcano.sh/apis/pkg/apis/shard/v1alpha1/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f19292e159c356496fd2213baa41a001f4fdc8acb5d202a47b2021bb1f51abf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/api/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3444667398faa909617d86b73b4bbc36b3aef012281cbc8f5db545f224ee65"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/state/factory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bb09f52353bff9a793d7b565bb3b14e9ea9e1c4b28c06e4bc2342b7470dcd1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/testing/pod.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b578564e30a80d1a4b277bcfe5dae378393495ab38822470cf21e621c6d31ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/metriccollect/local/local_collector.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e926c4229d811304545c3a84cee4580cd0791ba6d173a6e6d58b3a7da27899"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/dumper.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc95293a87a4499b841792216d83a758bc638991556374d16e0de63fa900e916"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/queue/get.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06aa07e8ff968ac79c6b7546cc25c934d859c16f99121d6d330454c15863425f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/enqueue/enqueue.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"101edb68e62225bbcc77ccdf19cd1d7d5cfd81e374c77aa05e1cdfa2d9137740"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/jobflow_controller_handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f152fb1f8427347697fcf8ef11363ef4b5ea0ab14c3c3270369b309049c3fb9d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6815daa4fde1826b992bad73dc45d8b4b0d367eb9c2d7e2678c11956bff6c2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/queue/operate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b6fa8d152d453f858ca82f32035ec92186eb38684630b1fc860f02e25dfc99"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/plugins.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1be09c4f62153bfc283493b22f8177b2a69696ad5a00d7832cb412a7010d66b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobtemplate/get.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8953ea5609aaedd13d94f7455384c14879e44d80f43de4f09d7e217dd8322b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/deviceshare/devices/ascend/310p/vnpu/score_policy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d680ecf94332a098855400383aadf62034f33f56a97a44ec97ffd8a685c2e5dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/policy/interface.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e243cce3fd77088940dec1607ec195021a783db08cf8600109b0417433104608"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"staging/src/volcano.sh/apis/pkg/apis/bus/v1alpha1/actions.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37cdb5b80d0083f7ffcdd5cfe507a3b3821a22791610f5670cb88b9a7444054"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobtemplate/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"535a47203a9ed0a24d7a393fe935994eb7a2c2283182df0c3fe56d199f969a43"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/util/priority_queue.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1843f154f879c057dba9504c0951669b853821e4cb97e2de1e5b8c6a742e28"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/config/generic.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd71b66ad86322b0234a963bf216535a60d09ec2c28a7d1c7bed527c71aa2cca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/jobflow/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29df2bb936d8dd4a8daa4ef55e948514a87b3f88abf3a11efd055067ad7f7c49"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_dra_queue_status.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b087cd8af3a3a4a2f34353a18a6c71594c72e9e106e5fca7ec4503d779296bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/framework/factory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6db5f2707bb83d1d1c5fc29c3f93947fa410c4f02ba78acbac1095d50c5878a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/network-qos/tools/get.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a310ff96fc24ab0b9357a3b6c1c818e93957c920a227e2da76e351372a62d2e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/network-qos/tools/reset.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a6226ce81e56a855050b1613c367b30a199fedc82fc40e11f7ab333f4e8707"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/framework/events.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77e3418d6888538a8208beaf415db8e665b3f211b993b7ad46450a028873712"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/extender/argument.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbdc090f97d8d909e9a73c2f41132cce283208fb518288430f244821cab5021"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/conformance/conformance.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"135ceb9272f0fb1cbb3b5f5fbd2e7ef961acbc2d75dcb202d94680078991ecce"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/task-topology/bucket.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"840e94d187e59c30986d422ee22ba4e9209ac62aa610360cb185369e8f73ff32"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/job.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef6fc36cebc19308f8a01880983d5d388d6fbdf1b255340b568798397b84c91"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cli/jobtemplate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"360e5ae97cd708c4549cb02ca697df39a189e492ae11e67c98a4c86d0522c10f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/events/handlers/memoryqos/memoryqos_linux.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27356f2483e50a8e7ef9905b385dc4008b9dc7c217dbfefec908ea98655e3a16"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: main.go \u2194 schema.go: \u0060cmd/webhook-manager/main.go\u0060 (context cmd) and \u0060pkg/webhooks/schema/schema.go\u0060 (context pkg) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060c28099cd\u0060 feat: add NamespaceQueue admission webhook support; \u0060b82a72ed\u0060 add jobflow flow dag validate; \u00607e044592\u0060 feat(webhook): add pg admission \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/webhook-manager/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed394e5642ae32522a931b14e0629314565545c3aa4b4177a80d3bc4363bae6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: session_plugins.go \u2194 defaults.go: \u0060pkg/scheduler/framework/session_plugins.go\u0060 and \u0060pkg/scheduler/plugins/defaults.go\u0060 change together 72% of the time (13 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u0060a33af068\u0060 adapt latest api changes from PodBunch to SubGroup; \u0060816e5d28\u0060 allocate action adaptation for podBunch networkTopology scheduling; \u0060ba7df254\u0060 Add network-topology-aware plugin and hyperNode score callback \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session_plugins.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d9603cf2cd6209d0a346249fe28f2327e984025e4e5316d08efed0bf6a4c57"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: session.go \u2194 defaults.go: \u0060pkg/scheduler/framework/session.go\u0060 and \u0060pkg/scheduler/plugins/defaults.go\u0060 change together 61% of the time (11 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060a33af068\u0060 adapt latest api changes from PodBunch to SubGroup; \u0060816e5d28\u0060 allocate action adaptation for podBunch networkTopology scheduling; \u0060ba7df254\u0060 Add network-topology-aware plugin and hyperNode score callback \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19548caeb1f636620cd385a48cb77b740d8ef04808e0971196173c352ec2a9cc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: helpers.go \u2194 factory.go: \u0060pkg/controllers/job/helpers/helpers.go\u0060 and \u0060pkg/controllers/job/plugins/factory.go\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060e07ce437\u0060 add hcclrank job plugin; \u0060197e284f\u0060 Add tensorflow plugins; \u00605ecbd079\u0060 updated with proper decsriptions \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/helpers/helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43f2176a280342dc338de0cd108af0e33ced114af75bcedeee1a2eb1191aea4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: cache_mock.go \u2194 event_handlers.go: \u0060pkg/scheduler/cache/cache_mock.go\u0060 and \u0060pkg/scheduler/cache/event_handlers.go\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006036ee3c1d\u0060 cache: recover from PVC-informer race in addPod; \u0060a8edb8f0\u0060 scheduler: adapt cache and plugins for Kubernetes 1.36; \u00606275b05c\u0060 scheduler: support DRA queue quota accounting \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/cache_mock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb6d4819363fbb7e02add6ec48f040350fd2b132db3265ef35faf45a2d488f3"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"695705543c28ad2c94ad02faf9478ad08dcb85dc147169cf6e9249183f46b446"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D40","level":"note","message":{"text":"No network policy: No Kubernetes NetworkPolicy (or Cilium policy) found. Without one, every pod can talk to every other pod and reach out to the internet by default. Add a default-deny policy and open only the flows you need."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"295828650a2aaa1b03ae9b32ae6843a0c38011e5a70b1926442c4fa7187de5f0"}},{"ruleId":"D41","level":"note","message":{"text":"No seccomp profile: The workload runs a container with no seccomp profile in force (neither RuntimeDefault nor a Localhost profile, on the container or the pod), so Kubernetes runs it Unconfined. Seccomp blocks the syscalls a container never needs, shrinking the kernel attack surface a container escape would use."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/volcano-monitoring.yaml"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1468e4e20fb7c4aeaea06dbc2418dc65d456cf74c350ba229a42b1f76a1bdb60"}},{"ruleId":"D41","level":"note","message":{"text":"No seccomp profile: The workload runs a container with no seccomp profile in force (neither RuntimeDefault nor a Localhost profile, on the container or the pod), so Kubernetes runs it Unconfined. Seccomp blocks the syscalls a container never needs, shrinking the kernel attack surface a container escape would use."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/volcano-monitoring.yaml"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1fac794704009c6d6ad7e7191f8f1f881d857a18b7119ced23fcad5ed080e8"}},{"ruleId":"D41","level":"note","message":{"text":"No seccomp profile: The workload runs a container with no seccomp profile in force (neither RuntimeDefault nor a Localhost profile, on the container or the pod), so Kubernetes runs it Unconfined. Seccomp blocks the syscalls a container never needs, shrinking the kernel attack surface a container escape would use."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"installer/volcano-monitoring.yaml"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"7058fc05e1cdde7bec40eaaf9b44a464ab2f38fcdf666fb81245c26e707a0b01"}},{"ruleId":"D42","level":"note","message":{"text":"No runtime threat detection: No runtime threat-detection engine (Tetragon TracingPolicy / Falco) is committed. These observe process, file and network activity in-kernel and can alert or kill on malicious behaviour a static scan cannot catch."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"aade9827a37dfc7ee064f80a997f47b5d11e31bc09704e26b9252bef00aa0c58"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful package: main: Package \u0060main\u0060 serves requests (net/http handlers run on a goroutine per request, and every one sees the same package variables and captured values) but writes that shared state outside any lock (snapshot; e.g. \u0060snapshot\u0060 in \u0060onSessionOpen\u0060 at line 46). Unsynchronised concurrent writes are a data race in Go: an update is lost or a value tears, and a concurrent map write aborts the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example/extender/extender.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ca59b8e6215f2e7b875f58495fc97b932292fe3e6a180556c01555859c1eb9"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Cache (24 methods): \u0060Cache\u0060 declares 24 methods: \u0060Run\u0060, \u0060Snapshot\u0060, \u0060WaitForCacheSync\u0060, \u0060AddBindTask\u0060, \u0060RecordCandidateNodesInBinder\u0060, \u0060RemoveCandidateNodesFromBinder\u0060, \u0060Client\u0060, \u0060VCClient\u0060, \u0060ClientConfig\u0060, \u0060UpdateSchedulerNumaInfo\u0060, \u0060SharedInformerFactory\u0060, \u0060VCSharedInformerFactory\u0060, \u0060SetMetricsConf\u0060, \u0060EventRecorder\u0060, \u0060RegisterBinder\u0060, \u0060SharedDRAManager\u0060, \u0060UpdateSnapshot\u0060, \u0060TaskUnschedulable\u0060, \u0060EnqueueScheduleResult\u0060, \u0060SchedulingQueue\u0060, \u0060GetTaskInfo\u0060, \u0060UpdateNodeShardStatus\u0060, \u0060OnWorkerStartSchedulingCycle\u0060, \u0060OnWorkerEndSchedulingCycle\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agentscheduler/cache/interface.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"107465fde3bd610349e5f4c3588b9f9cf6a0c1662503c710e804a1a0f885ff0f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Cache (23 methods): \u0060Cache\u0060 declares 23 methods: \u0060Run\u0060, \u0060Snapshot\u0060, \u0060WaitForCacheSync\u0060, \u0060AddBindTask\u0060, \u0060BindPodGroup\u0060, \u0060Evict\u0060, \u0060RecordJobStatusEvent\u0060, \u0060UpdateJobStatus\u0060, \u0060UpdateQueueStatus\u0060, \u0060Client\u0060, \u0060VCClient\u0060, \u0060ClientConfig\u0060, \u0060AddUnassignedNumaPods\u0060, \u0060SharedInformerFactory\u0060, \u0060SetMetricsConf\u0060, \u0060GetMetricsConf\u0060, \u0060EventRecorder\u0060, \u0060RegisterBinder\u0060, \u0060SharedDRAManager\u0060, \u0060IsJobTerminated\u0060, \u0060UpdateNodeShardStatus\u0060, \u0060OnSessionOpen\u0060, \u0060OnSessionClose\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/interface.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8198ffaee69d5d9510b816f8f57dcf59cfbd2cda005e6d2cdad8a727fdd7afc"}},{"ruleId":"M2","level":"note","message":{"text":"ADRs not easily discoverable: 15 ADR-shaped document(s) detected by content \u2014 \u0060docs/design/agent-cgroup-v2-adaptation.md\u0060, \u0060docs/design/capacity-dra-support.md\u0060, \u0060docs/design/distributed-framework-plugins.md\u0060, \u0060docs/design/evictablefn-evolution-for-gang-eviction.md\u0060, \u0060docs/design/extender.md\u0060, \u0060docs/design/gang-aware-eviction-design.md\u0060, \u0060docs/design/group-topology-affinity.md\u0060, \u0060docs/design/hyperNode-auto-discovery.md\u0060, \u0060docs/design/hypernode-controller-standalone.md\u0060, \u0060docs/design/namespace-queue.md\u0060, \u0060docs/design/numa-aware.md\u0060, \u0060docs/design/queue-scoped-overcommit.md\u0060, \u0060docs/design/resource-strategy-fit-scheduling.md\u0060, \u0060docs/design/scheduling-gates-queue-admission.md\u0060, \u0060docs/design/unschedulable-job-cache.md\u0060. They are not under a conventional ADR folder (docs/adr/) and are not named NNNN-title.md, and this check found them by their decision signature rather than by where they live \u2014 so a reader who does not already know these paths has no route to them. Detected by content signature only: records kept outside the repository, or written without a Status/Decision/Consequences shape, are not visible to this check and are not counted here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ea921cf64dae701abd877090b3279ff10d03c2e3250e26c8c299d7c5665e0d3f"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: benchmark/README.md names Go 1.24 or later, but go.mod:3 requires \u0060go 1.26.0\u0060 (the lowest of 2 declarations): the code does not build on Go 1.24. 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":"benchmark/README.md"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed123552409c5311afc070baa3d21b0aa2900f764674bd96b686341f5b625a74"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: Deployment is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever reaches the release trigger goes to production unreviewed, so a mistaken merge or tag is live before anyone can stop it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/release.yaml"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060commonutil.HasNamespaceQueuePrefix(reference) \u0026\u0026 !utilfeature.DefaultFeatureGate.Enabled(features.NamespaceQueue)\u0060 appears character-identically in 2 files \u2014 pkg/scheduler/cache/util.go, pkg/webhooks/util/queue_reference.go. 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":"pkg/scheduler/cache/util.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"82edee55475c17dbeb520efcb54c8b2228a19229d944525c75252970f7cd28ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060controllerRef.APIVersion == gvk.GroupVersion().String() \u0026\u0026 controllerRef.Kind == gvk.Kind\u0060 appears character-identically in 2 files \u2014 pkg/controllers/job/job_controller_util.go, pkg/controllers/jobflow/jobflow_controller_util.go. 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":"pkg/controllers/job/job_controller_util.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91e5a25bd7308d78569472943b55a045dfaea481126e63414cec55df0234f8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 !apierrors.IsNotFound(err)\u0060 appears character-identically in 4 files \u2014 pkg/controllers/colocationconfig/colocation_config_controller_handler.go, pkg/controllers/job/job_controller_actions.go, pkg/controllers/job/job_controller_resync.go, pkg/controllers/podgroup/pg_controller_handler.go. 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":"pkg/controllers/colocationconfig/colocation_config_controller_handler.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d36114e50549944c2bd121b9ae072c3274dff152fa8958d3c772eb811a6d334"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err == nil \u0026\u0026 resolvedParentRef == parentRef\u0060 appears character-identically in 2 files \u2014 pkg/webhooks/admission/namespacequeues/validate/validate_namespacequeue.go, pkg/webhooks/router/indexer.go. 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":"pkg/webhooks/admission/namespacequeues/validate/validate_namespacequeue.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa94051c0f0edfcbed0b4c91450081b278ee8b630bb3750a4ebce6c23e867c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err == nil \u0026\u0026 threads \u003E 0 \u0026\u0026 threads \u003C= math.MaxUint32\u0060 appears character-identically in 2 files \u2014 pkg/agentscheduler/cache/cache_mock.go, pkg/scheduler/cache/cache_mock.go. 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":"pkg/agentscheduler/cache/cache_mock.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a100b9fa8c2ad7e14f2a1f6198fb0b3b228010883b02d29590167afa23a4635a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errors.Is(err, cilliumbpf.ErrKeyNotExist) || os.IsNotExist(err)\u0060 appears character-identically in 5 files \u2014 cmd/network-qos/cni/cni.go, cmd/network-qos/tools/get.go, cmd/network-qos/tools/reset.go, cmd/network-qos/tools/status.go. 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":"cmd/network-qos/cni/cni.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"592f90f3d5a37eda8da0dc306bc5e423fda43498dd6f64974e9e629401f7e26a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fitErrors != nil \u0026\u0026 ssn.RejectionTrackingEnabled()\u0060 appears character-identically in 2 files \u2014 pkg/scheduler/actions/allocate/allocate.go, pkg/scheduler/actions/backfill/backfill.go. 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":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdace858ae41c72c47eb45c6e81f848aa8abb43dba28fda180f354ea0dcf0805"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060gpushare.GpuSharingEnable || gpushare.GpuNumberEnable\u0060 appears character-identically in 2 files \u2014 pkg/scheduler/api/node_info.go, pkg/scheduler/plugins/deviceshare/deviceshare.go. 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":"pkg/scheduler/api/node_info.go"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"9976503d9dea737658c89ca89f81559fa506e3b180b1eab97bb065d0e3c14421"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060index \u003C 0 || index \u003E= (nodeSelectorLabelLen-1)\u0060 appears character-identically in 2 files \u2014 pkg/agentscheduler/cache/cache.go, pkg/scheduler/cache/cache.go. 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":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5065636594ec07ea334d0b28b451b59ba212464e0c2a6059781d5815b403b8c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060job.ContainsHardTopology() || job.ContainsHardPodGroupAntiAffinity()\u0060 appears character-identically in 2 files \u2014 pkg/scheduler/actions/allocate/allocate.go, pkg/scheduler/actions/utils/simulate.go. 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":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"296e275efcad5cfbc181c6202f1500b9a4e09f86f2dd3aa88f984792acc61bc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060job.PodGroup.Status.Phase == scheduling.PodGroupRunning \u0026\u0026 job.PodGroup.Spec.MinResources != nil \u0026\u0026 int32(util.CalculateAllocatedTaskNum(job\u2026\u0060 appears character-identically in 3 files \u2014 pkg/scheduler/plugins/capacity/capacity.go, pkg/scheduler/plugins/overcommit/overcommit.go, pkg/scheduler/plugins/proportion/proportion.go. 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":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8edf54f7921f957c27f87ac95efeae7b8537692c61e3d1a002b5d6f79025bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(domainNodes) == 0 || len(pendingTasks) == 0\u0060 appears character-identically in 2 files \u2014 pkg/scheduler/actions/gangpreempt/gangpreempt.go, pkg/scheduler/actions/gangreclaim/gangreclaim.go. 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":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaeb2906e5a3db90f889659bc3d77fe8b10e40b569aab47bd5ad55da1ff53542"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(selector.LabelMatch.MatchLabels) == 0 \u0026\u0026 len(selector.LabelMatch.MatchExpressions) == 0\u0060 appears character-identically in 2 files \u2014 pkg/scheduler/api/hyper_node_info.go, pkg/util/hypernode/member_selector.go. 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":"pkg/scheduler/api/hyper_node_info.go"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fda6f5792f4d34f456a1505588b9e5d415747b9c86c4cd885550b64033d8e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(status.FailedJobs) \u003E 0 || len(status.TerminatedJobs) \u003E 0\u0060 appears character-identically in 2 files \u2014 pkg/controllers/jobflow/state/pending.go, pkg/controllers/jobflow/state/running.go. 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":"pkg/controllers/jobflow/state/pending.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b022ee6f2b948558e86721661dd475c09032725e44ac6096744a84b23e01f8d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060networkTopology != nil \u0026\u0026 networkTopology.HighestTierAllowed != nil \u0026\u0026 networkTopology.HighestTierName != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 pkg/webhooks/admission/jobs/validate/admit_job.go, pkg/webhooks/admission/podgroups/validate/validate_podgroup.go. 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":"pkg/webhooks/admission/jobs/validate/admit_job.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ae2f4b64fdce77390d971a1edce517c3a4f6ad934da2ed32c6854da749d74b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060oldPod.Spec.NodeName == \u0022\u0022 \u0026\u0026 newPod.Spec.NodeName != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 pkg/controllers/sharding/pod_events.go, pkg/scheduler/cache/event_handlers.go. 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":"pkg/controllers/sharding/pod_events.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15d618f49b19e59d8fa618bcb3656c40c31b1e84a4ddf00c897dc5ef32669f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.ServerOpts != nil \u0026\u0026 len(options.ServerOpts.NodeSelector) \u003E 0\u0060 appears character-identically in 2 files \u2014 pkg/agentscheduler/cache/cache_mock.go, pkg/scheduler/cache/cache_mock.go. 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":"pkg/agentscheduler/cache/cache_mock.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"822a8b01db96d1e0455e70332870724a3abc69b90843fd019e01ac9e532dc552"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.ServerOpts != nil \u0026\u0026 options.ServerOpts.EnableCSIStorage\u0060 appears character-identically in 2 files \u2014 pkg/agentscheduler/cache/cache.go, pkg/scheduler/cache/cache.go. 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":"pkg/agentscheduler/cache/cache.go"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b613403ac94e54800f4fbeaae6f4bb7154270551eb583486d2ac806fa1c5a65"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.ServerOpts != nil \u0026\u0026 options.ServerOpts.NodeWorkerThreads \u003E 0\u0060 appears character-identically in 2 files \u2014 pkg/agentscheduler/cache/cache_mock.go, pkg/scheduler/cache/cache_mock.go. 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":"pkg/agentscheduler/cache/cache_mock.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"41193829ae4e26d5b9e995f359d64053e2766223e3838b40d4a5697dc14919c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pod.Status.Phase == v1.PodSucceeded || pod.Status.Phase == v1.PodFailed\u0060 appears character-identically in 2 files \u2014 pkg/scheduler/api/devices/nvidia/gpushare/share.go, pkg/scheduler/plugins/predicates/hintprovider/resource_fit_provider.go. 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":"pkg/scheduler/api/devices/nvidia/gpushare/share.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2dd0ea5453e5d2582a001b78e35fed4dfeb8e74b12376921736b670472a56b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060queue.Spec.Parent != \u0022\u0022 \u0026\u0026 queue.Spec.Parent != \u0022root\u0022\u0060 appears character-identically in 2 files \u2014 pkg/controllers/queue/queue_controller_action.go, pkg/webhooks/admission/queues/validate/validate_queue.go. 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":"pkg/controllers/queue/queue_controller_action.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef52cca242e6cca563b2285aea58a9cd84bd39e4b2470b2118892e5825151ea0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.CaCertFile != \u0022\u0022 \u0026\u0026 s.CertFile != \u0022\u0022 \u0026\u0026 s.KeyFile != \u0022\u0022\u0060 appears character-identically in 3 files \u2014 cmd/agent-scheduler/main.go, cmd/controller-manager/main.go, cmd/scheduler/main.go. 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":"cmd/agent-scheduler/main.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"845225f8dd4b0b7ce6d62789c2c4980b185bcea25bd1a50b1ab6836ae4ed7540"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sc.allocatedPodInCache(newPod) \u0026\u0026 newPod.Spec.NodeName == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 pkg/agentscheduler/cache/event_handlers.go, pkg/scheduler/cache/event_handlers.go. 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":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"633875b600d95382af815aae2808b64b7a42e02647e88388f2afdb0f777e8ce2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shardingMode == commonutil.SoftShardingMode \u0026\u0026 !ssn.NodesInShard.Has(n.Name)\u0060 appears character-identically in 2 files \u2014 pkg/scheduler/actions/allocate/allocate.go, pkg/scheduler/actions/utils/simulate.go. 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":"pkg/scheduler/actions/allocate/allocate.go"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9135b5139d63d8773c3003ce6027f6fc84eaec464ab58182e2ef2f56283761b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status == schedulingapi.Succeeded || status == schedulingapi.Failed\u0060 appears character-identically in 2 files \u2014 pkg/agentscheduler/cache/event_handlers.go, pkg/scheduler/cache/event_handlers.go. 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":"pkg/agentscheduler/cache/event_handlers.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fea31f3fec25fa58d5f5a67b06f029ccc9721a19ac72a9a6c0dfd2c5780d440"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status.Terminating != 0 || status.Pending != 0 || status.Running != 0\u0060 appears character-identically in 3 files \u2014 pkg/controllers/job/state/aborting.go, pkg/controllers/job/state/completing.go, pkg/controllers/job/state/terminating.go. 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":"pkg/controllers/job/state/aborting.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"402e3238ab412d7630f9573010288720e7878e15be1063896fbb0c68648416a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060statusSets.ContainsUnschedulable() || statusSets.ContainsUnschedulableAndUnresolvable() || statusSets.ContainsErrorSkipOrWait()\u0060 appears character-identically in 2 files \u2014 pkg/agentscheduler/actions/allocate/allocate.go, pkg/scheduler/framework/session.go. 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":"pkg/agentscheduler/actions/allocate/allocate.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c775f5253f43c7555f474ea676020474b8ff19a09cae0ae52bcbe0a89a9f2647"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060taskOnNode.Status != api.Running || !taskOnNode.Preemptable\u0060 appears character-identically in 2 files \u2014 pkg/scheduler/actions/gangreclaim/gangreclaim.go, pkg/scheduler/actions/reclaim/reclaim.go. 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":"pkg/scheduler/actions/gangreclaim/gangreclaim.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b266945e505ec3c4e37b080159c35b870719ea633c08cceead936c887b2c0d69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060term.TopologyTier != nil \u0026\u0026 term.TopologyTierName != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 pkg/scheduler/api/topology_affinity_info.go, pkg/webhooks/admission/podgroups/validate/validate_podgroup.go. 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":"pkg/scheduler/api/topology_affinity_info.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0e0d3fa5d4f0f94ca7ca3ce99de3bb934eebc582488b5c494b06f845fdfea1"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 0/2 functions that make a cancellable request (net/http, net.Dial) accept a context.Context or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a cancelled request, a shutdown, an expired deadline. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it (\u0060http.NewRequestWithContext\u0060, \u0060DialContext\u0060); where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"faab330444baf00d50193f250b5c9b514f84cdca16c24014ef3776329847910c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: send: \u0060send\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/extender/extender.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dfdbd954563ee857423c8a5fd7f7f31fc300167fa3d0483a884295a157ab9b"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: fetchUFMData: \u0060fetchUFMData\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/discovery/ufm/ufm.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec255468e2d80bb55e1d05c75d29eb8b603ffe23fe04dca2c104f45ca9e8bb1f"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: \u0060index\u0060 is the result of a search that answers -1 when nothing is found, and \u0060mySchedulerPodName[0:index]\u0060 uses it as a bound with no test of \u0060index\u0060 in between. When the search misses, the bound is -1 and the access panics with \u0060slice bounds out of range\u0060. Test \u0060index \u003C 0\u0060 (or use \u0060strings.Cut\u0060) before using it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/util.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7634be585868eaccdfff3bc61c3194d44c1819df0b2318dcc78d49fdcbf5f4b"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: \u0060%len(potentialNodes)\u0060 divides by the length of \u0060potentialNodes\u0060, and nothing before it checks that \u0060potentialNodes\u0060 is non-empty. An empty \u0060potentialNodes\u0060 makes this an integer division by zero, which panics. Test \u0060len(potentialNodes) == 0\u0060 first and return early."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/actions/preempt/preempt.go"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e328ff58df55142e6b4524decc7c71c748e34ba021fc3082d69d66ff7d6381"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"staging/src/volcano.sh/apis/pkg/apis/utils/utils.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2f280199889e00efef7a88a8c5f737b5845c6907f136871ba512c34919268e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/webhooks/router/indexer.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefa3c28ae7e68d9a5eeef3ef0595ff0ea60987d90f546edb83b5849c86b3ffd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/webhooks/router/queue_reference.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb58722653b5605d28ed02b4a3a5a50f020109393dd9646a601c84126fb92a53"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060router.RegisterAdmission(service)\u0060 returns an error, and the statement drops it: when \u0060router.RegisterAdmission\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := router.RegisterAdmission(service); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/queues/validate/validate_queue.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d697c082a2bf0d7edc43a3dce80e2f13b6b6dd95b573f2122a248e96dd789d97"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/webhooks/admission/queues/validate/validate_queue.go"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"1021d3b5b2a656387f94c64b8de337862c14af4617597a3cd072d16534238bc4"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060router.RegisterAdmission(service)\u0060 returns an error, and the statement drops it: when \u0060router.RegisterAdmission\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := router.RegisterAdmission(service); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/queues/mutate/mutate_queue.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f999ec1854a8c50db6dd466c490bf616684b0f3761311a7c717766acc65fdb23"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060router.RegisterAdmission(service)\u0060 returns an error, and the statement drops it: when \u0060router.RegisterAdmission\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := router.RegisterAdmission(service); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/podgroups/validate/validate_podgroup.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"975d6be2492b23797e8cbf25b8ec4d882e35d953d909371d7ba26f836fdb1a71"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060router.RegisterAdmission(service)\u0060 returns an error, and the statement drops it: when \u0060router.RegisterAdmission\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := router.RegisterAdmission(service); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/podgroups/mutate/mutate_podgroup.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee265e3ffaef1fb2a4bc5767409a06543bc999aace29cc860ce2b1451e0e223d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060router.RegisterAdmission(service)\u0060 returns an error, and the statement drops it: when \u0060router.RegisterAdmission\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := router.RegisterAdmission(service); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/namespacequeues/validate/validate_namespacequeue.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb7c8c742705accf15b44349e57d56f31c6ab2ed9bcdf398928abc533d14bda"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060router.RegisterAdmission(service)\u0060 returns an error, and the statement drops it: when \u0060router.RegisterAdmission\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := router.RegisterAdmission(service); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/jobs/validate/admit_job.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb26ea85ff82f62aaa74841a66ab9d0e30fb10d407bc1ef24b56614c93dd969f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060router.RegisterAdmission(service)\u0060 returns an error, and the statement drops it: when \u0060router.RegisterAdmission\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := router.RegisterAdmission(service); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/jobs/mutate/mutate_job.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f5f4192be0f1b1efeb1c00952eb64df331e7c4a42fe85ce04e7b5edaa28e44"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060patchBytes, _ = createPatch(job)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060patchBytes\u0060 as if the call succeeded. When \u0060createPatch\u0060 fails, \u0060patchBytes\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060patchBytes\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/jobs/mutate/mutate_job.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"443c7b5f1143fa9bbb3669141b8eba6455122c9fe38f1ebde408ee20b61cd129"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060router.RegisterAdmission(service)\u0060 returns an error, and the statement drops it: when \u0060router.RegisterAdmission\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := router.RegisterAdmission(service); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/jobflows/validate/validate_jobflow.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec883cd82e7588775b0480d9bd170aee01a1b3249118334bad93905781fa1a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060router.RegisterAdmission(service)\u0060 returns an error, and the statement drops it: when \u0060router.RegisterAdmission\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := router.RegisterAdmission(service); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/hypernodes/validate/admit_hypernode.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"32061183d4bb2c87e71dc5d6bc84423ac72c0b44ae424ef9bc05b1a3fa9d2d30"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060router.RegisterAdmission(service)\u0060 returns an error, and the statement drops it: when \u0060router.RegisterAdmission\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := router.RegisterAdmission(service); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/webhooks/admission/cronjobs/validate/admit_cronjob.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e2fb967a6cbf9642032956b569a95c013fe1f2f955987dc7607b90319008f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := cron.ParseStandard(spec.Schedule); err != nil\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":"pkg/webhooks/admission/cronjobs/validate/admit_cronjob.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"b303b0933309d4ef50c681d099a5489063ed064705ce847ef7fec44fe71e0b59"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := time.LoadLocation(*spec.TimeZone); err != nil\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":"pkg/webhooks/admission/cronjobs/validate/admit_cronjob.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7204b07b36c3e402a1a2f8efed9fb6ca796c234f07ff12aa35d6622aaa4f5346"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/util/socket.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a342e6878f4394d16cc9d6f3cbf32d4d3520743a59796ca21009d2955421389"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err = serveOnListener(listener, mux); err != nil\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":"pkg/util/socket.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ed95a020e51527e159a6e397e7a2605d971d05699fd82af1ab55ac2f782853"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/scheduler/plugins/pdb/pdb.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d32bd7f7b4e1971b70a7cfbf07d7762aec98f4dc8ebd870c3176439acf2a6bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060reserved, _ = takeByTopology(cputopo, cputopo.CPUDetails.CPUs(), numReservedCPUs)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060reserved\u0060 as if the call succeeded. When \u0060takeByTopology\u0060 fails, \u0060reserved\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060reserved\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/numaaware/provider/cpumanager/cpu_mng.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2185b146635881a28a723909a353e23d97e1b00de4f7a24b14ca6030b76952e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060reserved, _ = takeByTopology(cputopo, cputopo.CPUDetails.CPUs(), numReservedCPUs)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060reserved\u0060 as if the call succeeded. When \u0060takeByTopology\u0060 fails, \u0060reserved\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060reserved\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/numaaware/provider/cpumanager/cpu_mng.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce35e908d5156e0eba72dad4dc2b0e9d480658d24f99e60848d525b4dbd70aec"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060fweight, _ := strconv.ParseFloat(weights[i], 64)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060fweight\u0060 as if the call succeeded. When \u0060strconv.ParseFloat\u0060 fails, \u0060fweight\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060fweight\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/drf/drf.go"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb02955d2a3f911e25b35f7ce6fe2c4f83f797c5a3cc672970b2248fad22cc7f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/scheduler/plugins/capacity/capacity.go"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a50af435dffa1d917527e519ed8b6162b972402687d8b3344a7572df76d12e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060cpuUsage, _ := strconv.ParseFloat(value[0], 64)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060cpuUsage\u0060 as if the call succeeded. When \u0060strconv.ParseFloat\u0060 fails, \u0060cpuUsage\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060cpuUsage\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/metrics/source/metrics_client_prometheus.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9eeb983d0c26410b45fcf7490471d1c5d61e164bf555d9cec652265c196356"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060memUsage, _ := strconv.ParseFloat(value[0], 64)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060memUsage\u0060 as if the call succeeded. When \u0060strconv.ParseFloat\u0060 fails, \u0060memUsage\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060memUsage\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/metrics/source/metrics_client_prometheus.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f83b749fbfa52b03c6447267431657a155be0022444d5067214deff3915abdb"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060ssn.cache.AddUnassignedNumaPods(allocatedSets)\u0060 returns an error, and the statement drops it: when \u0060ssn.cache.AddUnassignedNumaPods\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := ssn.cache.AddUnassignedNumaPods(allocatedSets); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/framework/session.go"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0367e2f43c13971cc317330cbb8601b3434e372518e754253898450cbe52743"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060cpuID, _ := strconv.Atoi(key)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060cpuID\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060cpuID\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060cpuID\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/event_handlers.go"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7b6029be81a2286cab32ac507cf8ee4a61d15be2e8a28e6895ecce1f17dc65"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060sc.addNumaInfo(ss)\u0060 returns an error, and the statement drops it: when \u0060sc.addNumaInfo\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := sc.addNumaInfo(ss); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/event_handlers.go"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"be01ef71d71bd3c839381837902cbf32a79a94b298eda4ca21c534b88576ff85"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060sc.addNumaInfo(ss)\u0060 returns an error, and the statement drops it: when \u0060sc.addNumaInfo\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := sc.addNumaInfo(ss); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/event_handlers.go"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"95874ff4d7ec6ca1048c563a00e4986871e43b2963e2256cc498bff171ac14c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060sc.UpdateNodeShardStatus(nodeShardName)\u0060 returns an error, and the statement drops it: when \u0060sc.UpdateNodeShardStatus\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := sc.UpdateNodeShardStatus(nodeShardName); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/shard_coordinator.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d0847495b90efc6fec3488a4294c7349f6636ca53082b127a4c26ca592593a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060sc.UpdateNodeShardStatus(nodeShardName)\u0060 returns an error, and the statement drops it: when \u0060sc.UpdateNodeShardStatus\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := sc.UpdateNodeShardStatus(nodeShardName); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/cache/shard_coordinator.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd78a4be88e77fcab3d8778ed0501211a03342f549b2e0083805e21666f2354a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/scheduler/cache/util.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b803cb55b117d588c0025d3502357e6c592cf4d6e95ab34cc48af2bdd73504ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060devmem, _ := strconv.ParseInt(tmpstr[2], 10, 32)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060devmem\u0060 as if the call succeeded. When \u0060strconv.ParseInt\u0060 fails, \u0060devmem\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060devmem\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/device_info.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcc9e62f5457d771ec5f6d9009a0d8049666d5e840889dc15b1f27dd5a17304"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060devcores, _ := strconv.ParseInt(tmpstr[3], 10, 32)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060devcores\u0060 as if the call succeeded. When \u0060strconv.ParseInt\u0060 fails, \u0060devcores\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060devcores\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/device_info.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46fbbde34328722d6b4ccd73fd2bdf9f3e6a484a13fa9bdc8e9442ef8d79d77"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060nodelock.UseClient(kubeClient)\u0060 returns an error, and the statement drops it: when \u0060nodelock.UseClient\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := nodelock.UseClient(kubeClient); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/device_info.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"db757bc0ad4c64af4adf76b2f3abddc6b34617fa3ec39281bae6deea95201a05"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060count, _ := strconv.Atoi(items[1])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060count\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060count\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060count\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/utils.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de518f63bdb1bed5ef2fe8af9a02c6f5d8ffb58e6edf6aa06c6d008046312ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060devmem, _ := strconv.Atoi(items[2])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060devmem\u0060 as if the call succeeded. When \u0060strconv.Atoi\u0060 fails, \u0060devmem\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060devmem\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/utils.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab81b5b2f4fb17ca2b660d05a8892daee19db64bb4c2fec7d511d5220f558369"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060health, _ := strconv.ParseBool(items[4])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060health\u0060 as if the call succeeded. When \u0060strconv.ParseBool\u0060 fails, \u0060health\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060health\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/vgpu/utils.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"553999da303705641f2cd168f74c7ce5e1cfabf859d30c056ff1c7b99e243ca9"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060nodelock.UseClient(kubeClient)\u0060 returns an error, and the statement drops it: when \u0060nodelock.UseClient\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := nodelock.UseClient(kubeClient); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/nvidia/gpushare/device_info.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5287e967273b5583458bf4c9e5a90bef85c0c8bc465546eec6afa0dc8eb858"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/scheduler/api/devices/ascend/mindcluster/ascend310p/vnpu/utils.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"839ccd83ff7789a6e42f5ebc4cc85da66e90a8f249755e867a44be1ad80704e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060ads.SubResourceUsage(dev, cono_dev.Usedcores, cono_dev.Usedmem)\u0060 returns an error, and the statement drops it: when \u0060ads.SubResourceUsage\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := ads.SubResourceUsage(dev, cono_dev.Usedcores, cono_dev.Usedmem); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/hami/device_info.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"096af1a6c535b3df907bd7c712dfd9e2693e0bc49a531a755967e1b1758efc8d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060ads.SubResourceUsage(dev, usage.Usedcores, usage.Usedmem)\u0060 returns an error, and the statement drops it: when \u0060ads.SubResourceUsage\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := ads.SubResourceUsage(dev, usage.Usedcores, usage.Usedmem); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/hami/device_info.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"51207ec2141d8c30e039541a42df9db5ec1c5ee816e841f2193e78b55722949f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060ads.AddResourceUsage(dev, cono_dev.Usedcores, cono_dev.Usedmem)\u0060 returns an error, and the statement drops it: when \u0060ads.AddResourceUsage\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := ads.AddResourceUsage(dev, cono_dev.Usedcores, cono_dev.Usedmem); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/hami/device_info.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d0994a68217b35f066783b049ee746ec3a1c2284f1735709b1c7ebd72ee455"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/scheduler/api/devices/ascend/hami/device_info.go"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec2048310dc01238c78936ba46072159d744f70bbd1dc79062877dc04ba1cac"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060nodelock.UseClient(kubeClient)\u0060 returns an error, and the statement drops it: when \u0060nodelock.UseClient\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := nodelock.UseClient(kubeClient); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/api/devices/ascend/hami/device_info.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2695bf3a06c9047decb445d55de3431a3f15fba064194302444e707e27753cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/scheduler/api/devices/ascend/hami/device_info.go"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"457c8ee60757132af80af108899feae4e45823f0762fd22c5b139675b016004e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := ssn.PrePredicateFn(task); err != nil\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":"pkg/scheduler/actions/utils/simulate.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"53eabb884dbc37065f09b4da196a53ef283cc58447f190460a2f83af1d9c0ed2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := stmt.RecoverOperations(plan); err != nil\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":"pkg/scheduler/actions/gangreclaim/gangreclaim.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e7c647bd4b3c447aad9435d5b2614becba9f6726f8356be336ec90c9198217"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := stmt.RecoverOperations(plan); err != nil\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":"pkg/scheduler/actions/gangpreempt/gangpreempt.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e020af8fc9817790ad79dd27893789236ff08db81960d5a0156da8f4448ba4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/metriccollect/local/memory.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"572b2b826d13658b341d455cf1bb2d48f2da06c2e14297ec6408cf0036ace3f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/metriccollect/local/memory.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"60eb40105cb243e473c8b26d39d12d42b0a0b53579d39685639456c41c1f51ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060framework.RegisterController(\u0026ShardingController{})\u0060 returns an error, and the statement drops it: when \u0060framework.RegisterController\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := framework.RegisterController(\u0026ShardingController{}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/sharding/sharding_controller.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"430714d69d42515e78a19b63fd729b15ba0312079d934b04059e9f4a5273679c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060framework.RegisterController(\u0026queuecontroller{})\u0060 returns an error, and the statement drops it: when \u0060framework.RegisterController\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := framework.RegisterController(\u0026queuecontroller{}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/queue/queue_controller.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"391c4b57448e3c77a9d42a085eea6d2465007a10dcba02c931efdf2bbce69602"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060key, _ := cache.MetaNamespaceKeyFunc(obj)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060key\u0060 as if the call succeeded. When \u0060cache.MetaNamespaceKeyFunc\u0060 fails, \u0060key\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060key\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/queue/queue_controller_handler.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1683cda8b80ce14d62cef9fe457fed5e1cd2366fff669ce6d35825f30afb1708"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060key, _ := cache.DeletionHandlingMetaNamespaceKeyFunc(obj)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060key\u0060 as if the call succeeded. When \u0060cache.DeletionHandlingMetaNamespaceKeyFunc\u0060 fails, \u0060key\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060key\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/queue/queue_controller_handler.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd188c69d89e53d9d6078d7b80b935efa06ed83f5b5b41cd6dc621ce3054dde"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060framework.RegisterController(\u0026pgcontroller{})\u0060 returns an error, and the statement drops it: when \u0060framework.RegisterController\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := framework.RegisterController(\u0026pgcontroller{}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/podgroup/pg_controller.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f637a84029af43727d7d9d823ec6f3b3e12e20715a17eef8a3cf9e047716a99"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060framework.RegisterController(\u0026namespaceQueueController{})\u0060 returns an error, and the statement drops it: when \u0060framework.RegisterController\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := framework.RegisterController(\u0026namespaceQueueController{}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/namespacequeue/namespacequeue_controller.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad99754b2a5f3ab793720179989b9f463f663f342bf880995b349ca65d6a47f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/controllers/namespacequeue/namespacequeue_controller_handler.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e834b7773e7c3bbdd23be4a5c6b647dc6e5f7a26b1598469587bebbb4b137bf5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/controllers/namespacequeue/namespacequeue_controller_handler.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"566500d60a0dee76a641216eda69d88ebeb47e96b7a592d0f55b8fec5002ac31"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/controllers/namespacequeue/namespacequeue_controller_validation.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b70a9ec71b8f231817821b2b805565fb4a379b4291ba939a633aef429ab0acf"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060framework.RegisterController(\u0026jobtemplatecontroller{})\u0060 returns an error, and the statement drops it: when \u0060framework.RegisterController\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := framework.RegisterController(\u0026jobtemplatecontroller{}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobtemplate/jobtemplate_controller.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a66af66a132318908160426bdbbab52e5f3bc377f7f83c0de89683c960d96e3"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060framework.RegisterController(\u0026jobflowcontroller{})\u0060 returns an error, and the statement drops it: when \u0060framework.RegisterController\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := framework.RegisterController(\u0026jobflowcontroller{}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/jobflow_controller.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9178966743e33d70667216e83c962c95e7fe28bbffbf9ef407a46657b21ffdc5"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060oldJobFlow, ok := oldObj.(*jobflowv1alpha1.JobFlow)\u0060 failed on this branch, so \u0060oldJobFlow\u0060 is the zero value of \u0060*jobflowv1alpha1.JobFlow\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060oldObj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/jobflow_controller_handler.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"452f81762b75dd9a7dc96f71c3248840e51aa9f215bab23cfafae1150a1e69d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060newJobFlow, ok := newObj.(*jobflowv1alpha1.JobFlow)\u0060 failed on this branch, so \u0060newJobFlow\u0060 is the zero value of \u0060*jobflowv1alpha1.JobFlow\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060newObj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/jobflow/jobflow_controller_handler.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d638641181c3d9efa715f1f8b2f34f76e242bfabd343b69bad73b5efe156885a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060framework.RegisterController(\u0026jobcontroller{})\u0060 returns an error, and the statement drops it: when \u0060framework.RegisterController\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := framework.RegisterController(\u0026jobcontroller{}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"80da07a9be3f89de84b7abe36244ef7dc96442cbdb90ec7beb81170ab72d683d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060cc.absentJobUIDs.Add(identity, struct{}{})\u0060 returns an error, and the statement drops it: when \u0060cc.absentJobUIDs.Add\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := cc.absentJobUIDs.Add(identity, struct{}{}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/job/job_controller.go"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01d80800373a049ad2ea86385dcbf93c56c66f06f17116df6f3dc007b2283be"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060framework.RegisterController(NewController())\u0060 returns an error, and the statement drops it: when \u0060framework.RegisterController\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := framework.RegisterController(NewController()); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/hypernode_controller.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"30eeb3549c818166f2ac1e76e7d85e7faf9904ba08549a7d6cab81c7ee312060"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060discoverer, _ := newLabelDiscoverer(cfg, api.DiscovererOptions{ KubeClient: kubeClient, VolcanoClient: vcClient, NodeInformer: informerFactory.Core().V1().Nodes(), HyperNodeInformer: vcInformerFactory.Topology().V1alpha1().HyperNodes(), }, informerFactory, vcInformerFactory)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060discoverer\u0060 as if the call succeeded. When \u0060newLabelDiscoverer\u0060 fails, \u0060discoverer\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060discoverer\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/hypernode/discovery/label/label.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0841c822e14c724f95ad4f61c9c80fda6819b0db50f93f67b9ca6c9a27d5841c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060framework.RegisterController(\u0026gccontroller{})\u0060 returns an error, and the statement drops it: when \u0060framework.RegisterController\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := framework.RegisterController(\u0026gccontroller{}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/garbagecollector/garbagecollector.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"30629e6476e13bb950ee9caa9c5f95093974f4c5c93369226129c19c8c6dccd0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060framework.RegisterController(\u0026cronjobcontroller{})\u0060 returns an error, and the statement drops it: when \u0060framework.RegisterController\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := framework.RegisterController(\u0026cronjobcontroller{}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/cronjob/cronjob_controller.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd84f426b62708ba94272b8543a32803f9ad76af469c46411e38cbc50f29ad78"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := time.LoadLocation(*cj.Spec.TimeZone); err != nil\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":"pkg/controllers/cronjob/cronjob_controller_util.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8d853234db611bddca679bdeef2d5c70f61471ee3d32ab88b3edfd52f04f6c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (an error-returning call as a bare statement): \u0060framework.RegisterController(\u0026colocationConfigController{})\u0060 returns an error, and the statement drops it: when \u0060framework.RegisterController\u0060 fails nothing records it and the code after it runs as if it had succeeded. Check it (\u0060if err := framework.RegisterController(\u0026colocationConfigController{}); err != nil { \u2026 }\u0060) and return or log it with what was being done, or assign it to \u0060_\u0060 with a comment saying why the failure cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/controllers/colocationconfig/colocation_config_controller.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bc3af85c86abcd7474c8f3adea2c53402bbd2069c264942f838f6bd7e1c91d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(oldData), \u0026oldOptions); err != nil\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":"pkg/controllers/colocationconfig/colocation_config_controller_handler.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd91663d978a5d6a133d4be32fcafc2b4822bdd47d78b4159d356856001ec17"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/controllers/cache/cache.go"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"c828a6ab018e381898aa02ed523166f9db195077a8128598352126389e56df28"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060label, _ := json.Marshal(job.Labels)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060label\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060label\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060label\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/vjobs/view.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb444f87b9f742e6225aae9480af282df03039baa105ae0a1b20fe7526e147ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060annotation, _ := json.Marshal(job.Annotations)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060annotation\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060annotation\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060annotation\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/vjobs/view.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ec9a37d5bab9fa1b417d9e3ffde95235f8bb25c0a5b30e3c761f452e4b2a61"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060gotOutput, _ := io.ReadAll(r)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060gotOutput\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060gotOutput\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060gotOutput\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/util/util.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a606766a03b714b207bd21aecfb572eda9399aa84850ccbf4b691f06389890"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060label, _ := json.Marshal(job.Labels)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060label\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060label\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060label\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/view.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9124d3a706afcfaeb4384a8b39e7c3263d03f8d495f2ea865c678e4ab5e934"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060annotation, _ := json.Marshal(job.Annotations)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060annotation\u0060 as if the call succeeded. When \u0060json.Marshal\u0060 fails, \u0060annotation\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060annotation\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cli/job/view.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"744a460c0dc095cd74eec08682f789b0ffe46aaf242de2031c0011524a705e54"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/agentscheduler/cache/util.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d9f4839a985470bf663ce62f6be8a61c37c5ba8c1a33c837511339aa5db550"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/agent/utils/version/compare.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c74375451c5731b019f3c173b2684ec2bf92f1f186138c9a340afa9eaaa3eb7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/agent/utils/version/compare.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2075a680fa433c1010a35135588525f99b911bbddd809b69262e8d487f772d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\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":"pkg/agent/utils/cgroup/cgroup.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6de5f5311ed5680c0ce05cd253c8ea27a14d0a33a4eb5a5a2bf59fff4887190"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060parseKubeletConfig\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/agent/utils/cgroup/cgroup.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2dcf65c83c0ef2a7b5936c76c87a1cdc77df718b634f1874c4fa1181cc781c6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060OnSessionOpen\u0060 turns a non-nil \u0060err\u0060 into \u0060return api.HyperNodeGradientResult{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. 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 \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scheduler/plugins/group-topology-affinity/group_topology_affinity.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"deca27a493d7dc136b1ec6fc0033de169342e1a9a6b4884108a496f7e3990d2d"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-242","guid":"5c147e5c-be37-b051-9928-764ef5a8f3d3","name":"CWE-242","shortDescription":{"text":"CWE-242"},"helpUri":"https://cwe.mitre.org/data/definitions/242.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-252","guid":"78915dc5-e486-f858-bc3c-aa570ad9010d","name":"Unchecked Return Value","shortDescription":{"text":"Unchecked Return Value"},"helpUri":"https://cwe.mitre.org/data/definitions/252.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-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-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-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)","shortDescription":{"text":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)"},"helpUri":"https://cwe.mitre.org/data/definitions/338.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.html"},{"id":"CWE-391","guid":"d9ef5687-8d79-9b51-b509-b83411fbcdc3","name":"Unchecked Error Condition","shortDescription":{"text":"Unchecked Error Condition"},"helpUri":"https://cwe.mitre.org/data/definitions/391.html"},{"id":"CWE-476","guid":"df404eaf-4a12-445c-9306-241412f65220","name":"NULL Pointer Dereference","shortDescription":{"text":"NULL Pointer Dereference"},"helpUri":"https://cwe.mitre.org/data/definitions/476.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-703","guid":"fa730aa9-95e4-845e-83fa-8169f2cf339e","name":"Improper Check or Handling of Exceptional Conditions","shortDescription":{"text":"Improper Check or Handling of Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/703.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":455,"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."]}]}