{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"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":"AXA1","name":"Runtime unauthenticated reachability","shortDescription":{"text":"Runtime unauthenticated reachability"},"helpUri":"https://codehealth.canine.dev/dimensions/AXA1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXH1","name":"Runtime security headers","shortDescription":{"text":"Runtime security headers"},"helpUri":"https://codehealth.canine.dev/dimensions/AXH1"},{"id":"AXI1","name":"Runtime container hardening","shortDescription":{"text":"Runtime container hardening"},"helpUri":"https://codehealth.canine.dev/dimensions/AXI1"},{"id":"AXO1","name":"Runtime API surface","shortDescription":{"text":"Runtime API surface"},"helpUri":"https://codehealth.canine.dev/dimensions/AXO1"},{"id":"AXR1","name":"Runtime accessibility (rendered)","shortDescription":{"text":"Runtime accessibility (rendered)"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"AXS1","name":"Runtime exposed surface","shortDescription":{"text":"Runtime exposed surface"},"helpUri":"https://codehealth.canine.dev/dimensions/AXS1"},{"id":"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"infographic_template.html.renderAll (cyclomatic 166): infographic_template.html.renderAll has cyclomatic complexity 166 (threshold 15). Of this number, 134 points are the body\u0027s own statements and 32 belong to 8 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":"skills/developers/migrate-to-rust/references/infographic_template.html"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"122cd3570332ad2003e17b4d07b79281c9ede43ec3dd0647513df0c858def610"}},{"ruleId":"D1","level":"warning","message":{"text":"package_ai_pack.plan_update (cyclomatic 141): package_ai_pack.plan_update has cyclomatic complexity 141 (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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"323daf36d97045b89794eefad364200c2b4505a61318618ec95cb3d4aef6824d"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_on_device.main (cyclomatic 106): benchmark_on_device.main has cyclomatic complexity 106 (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":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c24218fe71d5b8f3230cff4ccea84ec511c5fd79f5e6e5099eb857d11616b9"}},{"ruleId":"D1","level":"warning","message":{"text":"package_ai_pack.check_integration (cyclomatic 103): package_ai_pack.check_integration has cyclomatic complexity 103 (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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":2782}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3f654971feed1d04d6f13a9033d8511c1e275704795eb3219ecd556a8fd5bf"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_mcp_openapi.validate_mcp_spec (cyclomatic 100): validate_mcp_openapi.validate_mcp_spec has cyclomatic complexity 100 (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":"skills/cloud/api-gateway-mcp-server/scripts/validate_mcp_openapi.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"090fe29701c994674fda27658a64ef7aa5105bab9197e646301d1db6c7739847"}},{"ruleId":"D1","level":"warning","message":{"text":"compile_model.run_colab_compile (cyclomatic 99): compile_model.run_colab_compile has cyclomatic complexity 99 (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":"skills/platform-devices/litert-google-tensor/scripts/compile_model.py"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db0af44f682c5b8f21c8f587dd530e23c2189e622ccbc2a71f3e55708e6b569"}},{"ruleId":"D1","level":"warning","message":{"text":"extraction_stats_template.analyze_zip_archive (cyclomatic 94): extraction_stats_template.analyze_zip_archive has cyclomatic complexity 94 (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":"skills/cloud/bigquery-migration-metadata-extractor/assets/extraction_stats_template.py"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"6338c939d0fad589b53700a25cdcc7478cdacff929fb92436b6a836eadc9d790"}},{"ruleId":"D1","level":"warning","message":{"text":"compile_model.main (cyclomatic 77): compile_model.main has cyclomatic complexity 77 (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":"skills/platform-devices/litert-google-tensor/scripts/compile_model.py"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"f663899f174c977c385b93590148153b4632935ab952098de006a56a4904c749"}},{"ruleId":"D1","level":"warning","message":{"text":"release_radar.main (cyclomatic 54): release_radar.main 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":"skills/cloud/google-cloud-release-radar/scripts/release_radar.py"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"2436606dfd9a4006ac83f1c50835172595c906f74f271729aacd20e67e95ea58"}},{"ruleId":"D1","level":"warning","message":{"text":"dbt_translator.preprocess_metadata (cyclomatic 52): dbt_translator.preprocess_metadata has cyclomatic complexity 52 (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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcb320e20fdad58791107ba6fba690a380e78b42130e3a5fe167b77e46b7846"}},{"ruleId":"D1","level":"warning","message":{"text":"manage_workload_updates.resolve_workload_and_update_names (cyclomatic 51): manage_workload_updates.resolve_workload_and_update_names has cyclomatic complexity 51 (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":"skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60986219716798a7029d7e01fa5d81f9d4822060b8483637d2afc32689da9a5"}},{"ruleId":"D1","level":"warning","message":{"text":"python_embedded_sql_migrator_template.safe_reinject_into_python (cyclomatic 50): python_embedded_sql_migrator_template.safe_reinject_into_python 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":"skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e355b1933195ed902cdc08391158e40e35faedd7c9372ff9ccea85d33a2f80e"}},{"ruleId":"D1","level":"warning","message":{"text":"waste.compute_extraneous_spend (cyclomatic 49): waste.compute_extraneous_spend has cyclomatic complexity 49 (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":"skills/cloud/cloud-logging-finops/scripts/waste.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb30a5244b583908857ec451c2c11fcbe08b6d6d73df14c32398c67e1f74152f"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_params.validate_create_params (cyclomatic 47): validate_params.validate_create_params has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assured-workloads-basics/scripts/validate_params.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ca914f19378f7ed7123797ff1c7aa606f133078853ebc110507867f4efef01"}},{"ruleId":"D1","level":"warning","message":{"text":"agreement.main (cyclomatic 45): agreement.main has cyclomatic complexity 45 (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":"skills/cloud/agent-platform-autorater-customization/scripts/agreement.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b04df4653e067cf755a5ce2b4d842de1875428a517971973831329a801efe3"}},{"ruleId":"D1","level":"warning","message":{"text":"db_output_match_analyzer.analyze_output_matches (cyclomatic 43): db_output_match_analyzer.analyze_output_matches has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assuredworkloads-frameworks-navigator/scripts/db_output_match_analyzer.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"6149b4246b77462ef160ccca9c390f94c5c3deb8fd0910a912262417e534252b"}},{"ruleId":"D1","level":"warning","message":{"text":"telemetry.analyze_directory (cyclomatic 43): telemetry.analyze_directory has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/developers/migrate-to-rust/scripts/telemetry.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dea154745a1c760de100b634dfe70a89f870e7ea2b0a5583c95838d80d56cc"}},{"ruleId":"D1","level":"warning","message":{"text":"dbt_translator.run_bulk_translation (cyclomatic 42): dbt_translator.run_bulk_translation has cyclomatic complexity 42 (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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":1819}}}],"partialFingerprints":{"codehealthFindingId/v1":"a098acc3d85b1db309dcba5c0e72ba6f29b8debefff89205ff9415cc58f51a7b"}},{"ruleId":"D1","level":"warning","message":{"text":"report_template.html.hydrateDashboard (cyclomatic 40): report_template.html.hydrateDashboard has cyclomatic complexity 40 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 2 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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7af93be7eeb54bd866b96655645979594d4c939e2846e9be959e77a504bf86"}},{"ruleId":"D1","level":"warning","message":{"text":"extraction_stats_template._parse_dumper_telemetry (cyclomatic 39): extraction_stats_template._parse_dumper_telemetry has cyclomatic complexity 39 (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":"skills/cloud/bigquery-migration-metadata-extractor/assets/extraction_stats_template.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5a19b84307a3239e68a69e5d600d10aff02a63a31ffa621da1392125e89c33"}},{"ruleId":"D1","level":"warning","message":{"text":"telemetry.compute_derived_metrics (cyclomatic 39): telemetry.compute_derived_metrics has cyclomatic complexity 39 (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":"skills/developers/migrate-to-rust/scripts/telemetry.py"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1de7c3dc1b03e381394a33cf2ac1dc34b73af9648382de372229bed50b4a9bd"}},{"ruleId":"D1","level":"warning","message":{"text":"upgrade_policy.upgrade_policy (cyclomatic 38): upgrade_policy.upgrade_policy has cyclomatic complexity 38 (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":"skills/cloud/cloud-armor-crs-rule-upgrader/scripts/upgrade_policy.py"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62a11d1196681914556bbafcb02947789667d1f2dbb1b6ef3b15e135e805164"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_yaral_rule.mask_literals_and_comments (cyclomatic 34): validate_yaral_rule.mask_literals_and_comments has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/secops-detection-engineering/scripts/validate_yaral_rule.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adafc32e5685497c079a8cd00b5fad84b245d626b67a8923aaea590a9433b37"}},{"ruleId":"D1","level":"warning","message":{"text":"report_template.html.renderDailyServiceChart (cyclomatic 34): report_template.html.renderDailyServiceChart has cyclomatic complexity 34 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 18 belong to 7 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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef9df7e62941f0d146776ba30843de8f9a175e330c1f0c18d0da1b6da1dd6dc"}},{"ruleId":"D1","level":"warning","message":{"text":"python_embedded_sql_migrator_template.postprocess (cyclomatic 32): python_embedded_sql_migrator_template.postprocess 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":"skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4f0abe97b435f13e03e651305bbd863331dcec374f6c4f92237badaea6ad92"}},{"ruleId":"D1","level":"warning","message":{"text":"dbt_translator.transform_config_block (cyclomatic 32): dbt_translator.transform_config_block 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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3db038e3c2f0eb0175133b186c6cee6fdbe94da030ea1686b578118551defd"}},{"ruleId":"D1","level":"warning","message":{"text":"report_template.html.renderTrendChart (cyclomatic 31): report_template.html.renderTrendChart has cyclomatic complexity 31 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 14 belong to 3 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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"670f41ea16dfaf1373a19d9c7d16d18488100b3a085a2daec0fc7e12a4cd0f19"}},{"ruleId":"D1","level":"warning","message":{"text":"report_template.html.renderDailySeverityChart (cyclomatic 31): report_template.html.renderDailySeverityChart has cyclomatic complexity 31 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 13 belong to 7 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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc5070fac37c53f49954f676c1faef05057d6859f319aea0ca0b0d4568f76e7"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_params.validate_apply_update_params (cyclomatic 30): validate_params.validate_apply_update_params 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":"skills/cloud/assured-workloads-basics/scripts/validate_params.py"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c3e9d5dbba2ce90f25a7f3eadad74fc1593349e3aa0b50ebca23a360cef340"}},{"ruleId":"D1","level":"warning","message":{"text":"config_utils.extract_alert_policies (cyclomatic 29): config_utils.extract_alert_policies 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":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd7aa933908ec6d19607dd92bdcac93e580e0c8f91723afceb8335c44f5b5a1"}},{"ruleId":"D1","level":"warning","message":{"text":"extraction_stats_template.format_stats_report (cyclomatic 29): extraction_stats_template.format_stats_report 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":"skills/cloud/bigquery-migration-metadata-extractor/assets/extraction_stats_template.py"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56a1689e60f71ff776d00b03431636229ec023e8b43ce41b42ca09b3c138d5b"}},{"ruleId":"D1","level":"warning","message":{"text":"config_utils.extract_alert_policies (cyclomatic 29): config_utils.extract_alert_policies 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":"skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f79e0a00d058345206c8bc26bf1f10c3bfca1afda9814d5f3d35af200964f3b"}},{"ruleId":"D1","level":"warning","message":{"text":"report_template.html.renderOptimizationActions (cyclomatic 29): report_template.html.renderOptimizationActions has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 5 of the 29 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 2964, 2962). 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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":2948}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1236d18ecb50521d2f19f3853f309582d2c279d873a6bc504e834996049f340"}},{"ruleId":"D1","level":"warning","message":{"text":"trace_searcher.distill_trace (cyclomatic 28): trace_searcher.distill_trace 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":"skills/cloud/cloud-trace-querying/scripts/search_traces/src/trace_searcher.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2a144c159946fa68a427e59774b782ba881376a5ce1051cd6955e41619ac91"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_yaral_rule.validate_single_rule (cyclomatic 28): validate_yaral_rule.validate_single_rule 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":"skills/cloud/secops-detection-engineering/scripts/validate_yaral_rule.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0241f6ff17516c7039ccdfe4d83611aeb1676b70f90ddb11b15a48043ca7bc"}},{"ruleId":"D1","level":"warning","message":{"text":"check_quota_metrics.main (cyclomatic 26): check_quota_metrics.main has cyclomatic complexity 26 (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":"skills/cloud/api-gateway-backend-security-and-rate-limiting/scripts/check_quota_metrics.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"439f974e0a0c59cb515f8d962fc0f8f780f74e59ba78b2e34a51acf23776214b"}},{"ruleId":"D1","level":"warning","message":{"text":"manage_workload_updates.execute_manage_workload_updates (cyclomatic 26): manage_workload_updates.execute_manage_workload_updates has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e5fa5e7473a6931182f8013247c151d62f39cb631998382b49602a93a8f790"}},{"ruleId":"D1","level":"warning","message":{"text":"textproto_util.dict_to_widget (cyclomatic 26): textproto_util.dict_to_widget has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-monitoring-chart-generation/scripts/textproto_util.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5005d3b1a54947911722838416d1444bb491f24c4f0ec8b728f2c83874fbc89b"}},{"ruleId":"D1","level":"warning","message":{"text":"package_ai_pack.update_doc_values (cyclomatic 26): package_ai_pack.update_doc_values has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":2323}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f7b6f5e17eb45677edf5d7af8dd04c9200edc393002b9775412388ac2d7a3d"}},{"ruleId":"D1","level":"warning","message":{"text":"report_template.html.renderSampleCard (cyclomatic 26): report_template.html.renderSampleCard has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5b282daa597d03efe56ffffb90b5d5cd52bd56c889254f6b4522783e1f8f31"}},{"ruleId":"D1","level":"warning","message":{"text":"compile_check.check (cyclomatic 25): compile_check.check 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":"skills/cloud/apigee-agent-gateway-governance/scripts/compile_check.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee408a95d37bc05b0ac4ed8c04d383a0902d91c7c05f85c35965b121d00eb03"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluate_control_rules.evaluate_telemetry (cyclomatic 25): evaluate_control_rules.evaluate_telemetry 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":"skills/cloud/assuredworkloads-environment-assessor/scripts/evaluate_control_rules.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55a6a862934c33f8a81a899a13b0eec2ad74a1c25aa357a6fd7ac3038d93776"}},{"ruleId":"D1","level":"warning","message":{"text":"bq_loader_template.run_loader (cyclomatic 24): bq_loader_template.run_loader 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":"skills/cloud/bigquery-migration-data-loader/assets/bq_loader_template.py"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2a5b731925071dca75ce4311156b6a03b57b0be31b01a9884cf9b5b7ac576b"}},{"ruleId":"D1","level":"warning","message":{"text":"release_radar.resolve_catalog_matches (cyclomatic 24): release_radar.resolve_catalog_matches 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":"skills/cloud/google-cloud-release-radar/scripts/release_radar.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c888a03398153b5ca6c11924e9c0d14e0c2b8b1b6e19029a40596830388e7313"}},{"ruleId":"D1","level":"warning","message":{"text":"release_radar.fetch_feed_entries (cyclomatic 24): release_radar.fetch_feed_entries has cyclomatic complexity 24 (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":"skills/cloud/google-cloud-release-radar/scripts/release_radar.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73398e14bc2744d2e7f74b6ecff591de0e05a885d310656c3735eaa9943acc0"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_on_device.analyze_tile_pass (cyclomatic 24): benchmark_on_device.analyze_tile_pass 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":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"a496ffcf26e3c7d11450ac3b506f158b35ff6afb2f9fc7763eb10553db5fd3fa"}},{"ruleId":"D1","level":"warning","message":{"text":"install_and_verify.verify (cyclomatic 24): install_and_verify.verify has cyclomatic complexity 24 (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":"skills/platform-devices/litert-google-tensor/scripts/install_and_verify.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c4d04503b86e37c1af9f5eec958151e844d83083f11bab3aafff584adacb80"}},{"ruleId":"D1","level":"warning","message":{"text":"report_template.html.selectService (cyclomatic 24): report_template.html.selectService has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 2313, 2279). 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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"9392a8daf212894ad61d07136d81a673edc093a2174f6b5bcc35bfd0769edc41"}},{"ruleId":"D1","level":"warning","message":{"text":"build_review_page.main (cyclomatic 23): build_review_page.main has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-autorater-customization/scripts/build_review_page.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17426acee76fd80754b31e672c8c3f80675a508322f800d2add2eecd36c542c"}},{"ruleId":"D1","level":"warning","message":{"text":"collect_logging_data.collect_data (cyclomatic 23): collect_logging_data.collect_data has cyclomatic complexity 23 (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":"skills/cloud/cloud-logging-finops/scripts/collect_logging_data.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9b8d245690e28fc9cd7d5518e2a797803bf6104861986758be8b75b9b3fc10"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_chart.validate_widget (cyclomatic 23): validate_chart.validate_widget 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":"skills/cloud/cloud-monitoring-chart-generation/scripts/validate_chart.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddda7c33049dd48a32a4c9598beadea2819e400beb0ff012e05994a3c8417875"}},{"ruleId":"D1","level":"warning","message":{"text":"dbt_translator.discover_dbt_resources (cyclomatic 23): dbt_translator.discover_dbt_resources 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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"785f0d88770fe77906fa34c01d4545bb8776c3a11ca52f6f520ce3a46825e51d"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_on_device.analyze_power_pass (cyclomatic 23): benchmark_on_device.analyze_power_pass has cyclomatic complexity 23 (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":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"b717a329ede3252738c03480d9900745775f49439b9cd1a8ee804d5bf9137921"}},{"ruleId":"D1","level":"warning","message":{"text":"package_ai_pack.check_inputs (cyclomatic 23): package_ai_pack.check_inputs 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"544e6d9902cab25d778e4262476b3b045c6263e273c9359b169e8094138a6944"}},{"ruleId":"D1","level":"warning","message":{"text":"package_ai_pack.locate_cpu_models (cyclomatic 23): package_ai_pack.locate_cpu_models 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e9e50fed2f42541a05de2da319e1fb985bf463d0f4d2bad27eab2447441a2f"}},{"ruleId":"D1","level":"warning","message":{"text":"extraction_stats_template._read_bigquery_tables_jsonl (cyclomatic 22): extraction_stats_template._read_bigquery_tables_jsonl has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/bigquery-migration-metadata-extractor/assets/extraction_stats_template.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"236b0e23a64abb0378c1706c745aea151d913ce8c0081dee8a9f0267a6e54814"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_on_device.markdown_table (cyclomatic 22): benchmark_on_device.markdown_table has cyclomatic complexity 22 (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":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"944529c2e7468939ab964bb8a68bca234bfb3cf9ef90db7496a5216b31ec513c"}},{"ruleId":"D1","level":"warning","message":{"text":"SQLExtractor.visit_Call (cyclomatic 21): SQLExtractor.visit_Call 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":"skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e589e2d37ec2e7168b083c0e5020446b07ccfb2c51fc40e10f889ea2bad316"}},{"ruleId":"D1","level":"warning","message":{"text":"discover_metric_schema.main (cyclomatic 21): discover_metric_schema.main 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":"skills/cloud/cloud-monitoring-alert-configuration/scripts/discover_metric_schema.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"3125c4d38310f3a29c43340fbd4616e5882811498e67b8fa96cc4bfd06ddbcaa"}},{"ruleId":"D1","level":"warning","message":{"text":"report_template.html.renderServicePies (cyclomatic 21): report_template.html.renderServicePies 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 9 function literals inside it that branch (lines 2138, 2160, 2204, \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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4e220726586855a44682a1e23fd2c476f48293d202476ff3b11cf6d905c34d"}},{"ruleId":"D1","level":"warning","message":{"text":"prepare_dataset.convert_to_jsonl (cyclomatic 20): prepare_dataset.convert_to_jsonl 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":"skills/cloud/agent-platform-tuning/scripts/prepare_dataset.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e5db1a41a76a55050d824837c105148d52018f500ed4ed76584640d707825c"}},{"ruleId":"D1","level":"warning","message":{"text":"bq_loader_template._parse_config_yamls (cyclomatic 20): bq_loader_template._parse_config_yamls 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":"skills/cloud/bigquery-migration-data-loader/assets/bq_loader_template.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf102ff7bd36101d622ad0560a5c9e064aa2ee08039cf777be5ba7594821639b"}},{"ruleId":"D1","level":"warning","message":{"text":"dbt_translator.translate_cast_suffixes (cyclomatic 20): dbt_translator.translate_cast_suffixes 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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c518a29556d48ee51b0a409843661049347967b930236606f9620666373b6f68"}},{"ruleId":"D1","level":"warning","message":{"text":"dbt_translator.sanitize_json_extractions (cyclomatic 20): dbt_translator.sanitize_json_extractions 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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"b024130fdb70fbc25c90092fc1bbec8c30f9a24901b7198decd0886d6458b809"}},{"ruleId":"D1","level":"warning","message":{"text":"diagnose_lib.check_port_allowed (cyclomatic 20): diagnose_lib.check_port_allowed 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":"skills/cloud/google-cloud-filestore-log-troubleshooting/scripts/diagnose_lib.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7ccfcf2c9a4483fcb3ca5ea79108fe8bf37c84a90414b339359c9e76e7208f"}},{"ruleId":"D1","level":"warning","message":{"text":"report_template.html.renderSeverityPies (cyclomatic 20): report_template.html.renderSeverityPies has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 1887, 1906, 1942, \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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"be868074b08a3920b8e54e235803585131f366c1c6008bbc4410160d47809e84"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_params.validate_kms_and_resource_settings (cyclomatic 19): validate_params.validate_kms_and_resource_settings 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":"skills/cloud/assured-workloads-basics/scripts/validate_params.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"9473dba136b5e1506bc67ed42037b9abbd7b62237d123d7a42ba2bb4b8ad1916"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_workload_payload.load_allowed_frameworks_and_regimes (cyclomatic 19): validate_workload_payload.load_allowed_frameworks_and_regimes 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":"skills/cloud/assuredworkloads-environment-assessor/scripts/validate_workload_payload.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fcca1a5f31a61db0b17842dd4bf1dbb61efe45db973b5880611692d816bbba"}},{"ruleId":"D1","level":"warning","message":{"text":"upgrade_policy._clean_opt_out_structure (cyclomatic 19): upgrade_policy._clean_opt_out_structure 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":"skills/cloud/cloud-armor-crs-rule-upgrader/scripts/upgrade_policy.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc98aa37429a49f1603d5313721914bd4de8c5eb74ffc7c0c1b9df1c448fdab0"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_chart.main (cyclomatic 19): validate_chart.main 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":"skills/cloud/cloud-monitoring-chart-generation/scripts/validate_chart.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"294e34190a429dc02ac087dcc08bcdd612fa7d05aa15db7ad1ed0c1977b5e2b3"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_on_device.parse_benchmark_log (cyclomatic 19): benchmark_on_device.parse_benchmark_log 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":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e89cb3e8fd342c8caabe5897ebe460abc58b62d3436dc3d7f7921a7d882061"}},{"ruleId":"D1","level":"warning","message":{"text":"package_ai_pack.verify_package (cyclomatic 19): package_ai_pack.verify_package 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"821420dc96347f0ac0aab3f37a564b06e7cdce26912666a9da69c90aa85e149f"}},{"ruleId":"D1","level":"warning","message":{"text":"package_ai_pack.verify_update (cyclomatic 19): package_ai_pack.verify_update 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":2276}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e7fadc0bf4b02ec4a306a9f235c22a164ce398b538f0e506469ddf55188b2b"}},{"ruleId":"D1","level":"warning","message":{"text":"gather_agent_info.main (cyclomatic 18): gather_agent_info.main 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":"skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5143fdca0fc24e02bda4d5119424f7f230a70e530ea5eaee52fe1b9669c824b"}},{"ruleId":"D1","level":"warning","message":{"text":"Linter._check_security (cyclomatic 18): Linter._check_security 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":"skills/cloud/api-gateway-troubleshooting/scripts/lint_openapi_for_gateway.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"651ad21286b99db6da3dff7acfd986d86507777f66c512f64e27d7f2f7744f47"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluate_control_rules.parse_framework_org_policy_spec (cyclomatic 18): evaluate_control_rules.parse_framework_org_policy_spec 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":"skills/cloud/assuredworkloads-environment-assessor/scripts/evaluate_control_rules.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"148775548e363bfe8cee06d1204afd33e348deb6fb717afc51643e1c34600a9d"}},{"ruleId":"D1","level":"warning","message":{"text":"bq_loader_template._scan_sql_segments (cyclomatic 18): bq_loader_template._scan_sql_segments 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":"skills/cloud/bigquery-migration-data-loader/assets/bq_loader_template.py"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4df4b154f3baa25d978e811a72768f551a6d598dbfedeee6f47a8033e0815a"}},{"ruleId":"D1","level":"warning","message":{"text":"python_embedded_sql_migrator_template.preprocess (cyclomatic 18): python_embedded_sql_migrator_template.preprocess 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":"skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"817cb2c525e5467e8b515740d77f4e2cbfbc1da2df46e1904726f2e0b274148f"}},{"ruleId":"D1","level":"warning","message":{"text":"gather_agent_info.main (cyclomatic 18): gather_agent_info.main 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":"skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3d3721046eca113e80e193f81718b7135cd711d9aac23495bbc4610a005164"}},{"ruleId":"D1","level":"warning","message":{"text":"discover_metric_schema.validate_promql_against_schema (cyclomatic 18): discover_metric_schema.validate_promql_against_schema 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":"skills/cloud/cloud-monitoring-alert-configuration/scripts/discover_metric_schema.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e662a2c1c5bfd938960ac8b4c594d6a0f0702f89b967ec3add435a058ca31d53"}},{"ruleId":"D1","level":"warning","message":{"text":"HCLScanner.extract_alert_policies (cyclomatic 18): HCLScanner.extract_alert_policies 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":"skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e189b5b0ee354a9e98144167d2de1a770706cc753940036a34e51eb613d24fbe"}},{"ruleId":"D1","level":"warning","message":{"text":"HCLScanner.extract_alert_policies (cyclomatic 18): HCLScanner.extract_alert_policies 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":"skills/cloud/gke-alert-configuration/scripts/validate_config.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6d67a7fe38e599e0d11fbf9f14558143f6da3a64a739bf7da1db2cb02dbdc2"}},{"ruleId":"D1","level":"warning","message":{"text":"package_ai_pack.build_update (cyclomatic 18): package_ai_pack.build_update 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":2438}}}],"partialFingerprints":{"codehealthFindingId/v1":"044baf7e946cc77e78af70212fd384d93f4599bc58d3913c4f1e668485af59bc"}},{"ruleId":"D1","level":"warning","message":{"text":"report_template.html.renderExtraneousSpend (cyclomatic 18): report_template.html.renderExtraneousSpend has cyclomatic complexity 18 (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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":2732}}}],"partialFingerprints":{"codehealthFindingId/v1":"51199d3680969f58aaeb1b619559ca33c514a5d3445baf442b65dccf43797693"}},{"ruleId":"D1","level":"warning","message":{"text":"render_agent_data.render (cyclomatic 17): render_agent_data.render 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":"skills/cloud/agent-platform-autorater-customization/scripts/render_agent_data.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f361361b176d839f702474e215cbd15b6ed5d32983d102c55846fecf286628"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_dataset._validate_agent_data (cyclomatic 17): validate_dataset._validate_agent_data 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":"skills/cloud/agent-platform-eval-flywheel/scripts/validate_dataset.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"775ca9ff1d5b38c48d37cdd89f7134f31d9f428fadff713a62a6c9bdb3450506"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_dataset._validate_eval_case (cyclomatic 17): validate_dataset._validate_eval_case 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":"skills/cloud/agent-platform-eval-flywheel/scripts/validate_dataset.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1033fdcda2251789d2206264122bd85c2aad7123e811318e64c8652bc3cb8ead"}},{"ruleId":"D1","level":"warning","message":{"text":"diagnose_error.diagnose_error (cyclomatic 17): diagnose_error.diagnose_error 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":"skills/cloud/assured-workloads-basics/scripts/diagnose_error.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28a7f10122cc6ccb3bfba270b3d1a7b42ce860f35337c59975ea8edb31fd14c"}},{"ruleId":"D1","level":"warning","message":{"text":"bq_loader_template._scan_relation_views (cyclomatic 17): bq_loader_template._scan_relation_views 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":"skills/cloud/bigquery-migration-data-loader/assets/bq_loader_template.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"234d3b9973ca193243c9942403090ab3df43ab0b36baa254f3e8923f9ddde5fc"}},{"ruleId":"D1","level":"warning","message":{"text":"upgrade_policy.main (cyclomatic 17): upgrade_policy.main 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":"skills/cloud/cloud-armor-crs-rule-upgrader/scripts/upgrade_policy.py"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5947fac6f786143c279188788bf9fccca3a418f13f01d2c64f538a7128ed3208"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregations.get_monthly_aggregations (cyclomatic 17): aggregations.get_monthly_aggregations 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":"skills/cloud/cloud-logging-finops/scripts/aggregations.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8316a7a6d9d14563e6c69e9c0d97630484f675b8db848f2357373b3b8882ef"}},{"ruleId":"D1","level":"warning","message":{"text":"analytics.fetch_logging_api_samples (cyclomatic 17): analytics.fetch_logging_api_samples 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":"skills/cloud/cloud-logging-finops/scripts/analytics.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"078b9a83979b437944117e5c8a906657415f4cf50274fdd7f32fa18caf854f07"}},{"ruleId":"D1","level":"warning","message":{"text":"dbt_translator.translate_interval_expressions (cyclomatic 17): dbt_translator.translate_interval_expressions 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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1303c489d52549280bc18727f76c97c38b7315315852a189f3c591cfe31cd99c"}},{"ruleId":"D1","level":"warning","message":{"text":"diagnose_lib.format_single_report (cyclomatic 17): diagnose_lib.format_single_report 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":"skills/cloud/google-cloud-filestore-log-troubleshooting/scripts/diagnose_lib.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc6a6716bef02155fe68729ea0a859725ad6e736d8a3a6e57026a303450474d"}},{"ruleId":"D1","level":"warning","message":{"text":"main.search_files (cyclomatic 17): main.search_files 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":"skills/cloud/google-cloud-filestore-nfs-browser/scripts/bridge_server/main.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2ce9e64b014d82e7d38c18f2b474ff80140004ea1a521894be0128919fc7ec"}},{"ruleId":"D1","level":"warning","message":{"text":"build_review_page.render_trajectory (cyclomatic 16): build_review_page.render_trajectory 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":"skills/cloud/agent-platform-autorater-customization/scripts/build_review_page.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b134db251f5a7268c157b1468c9fa6a66f7beb11348d10b111575aca76cf02d"}},{"ruleId":"D1","level":"warning","message":{"text":"exclusion_rules.generate_exclusion_candidates (cyclomatic 16): exclusion_rules.generate_exclusion_candidates 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":"skills/cloud/cloud-logging-finops/scripts/exclusion_rules.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b87be9ba5dd727479219a87c4dfb2d267fd0599f82e30f864827548d408c37"}},{"ruleId":"D1","level":"warning","message":{"text":"verify_claim.evaluate_check (cyclomatic 16): verify_claim.evaluate_check 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":"skills/cloud/cloud-logging-finops/scripts/verify_claim.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d89c1fb4044cd89dbc46313e53776db8ce42a5c603db2e8c8c7b9134786d6f"}},{"ruleId":"D1","level":"warning","message":{"text":"assemble_widget_proto.assemble_widget_textproto (cyclomatic 16): assemble_widget_proto.assemble_widget_textproto 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":"skills/cloud/cloud-monitoring-chart-generation/scripts/assemble_widget_proto.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e44d39e55c09fc5237a9096d093383d0e3b4206c5735701ace16275b670f4dc"}},{"ruleId":"D1","level":"warning","message":{"text":"compute_labels.compute_widget_title (cyclomatic 16): compute_labels.compute_widget_title 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":"skills/cloud/cloud-monitoring-chart-generation/scripts/compute_labels.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6820c7128055bab36229b67777becd367f0fa082a0b56e2f56cd03b4e681b96"}},{"ruleId":"D1","level":"warning","message":{"text":"compute_labels.main (cyclomatic 16): compute_labels.main 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":"skills/cloud/cloud-monitoring-chart-generation/scripts/compute_labels.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c38cce6fcba458f47d4d9440199debf3a6cf98191acb13c5f4f61b50c3a7c2b"}},{"ruleId":"D1","level":"warning","message":{"text":"trace_searcher.search_traces (cyclomatic 16): trace_searcher.search_traces 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":"skills/cloud/cloud-trace-querying/scripts/search_traces/src/trace_searcher.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e18903044a2259f550d9d490e53bbe0fe16784de071dee408b8113d0a47714"}},{"ruleId":"D1","level":"warning","message":{"text":"release_radar.enrich_sparse_entry (cyclomatic 16): release_radar.enrich_sparse_entry 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":"skills/cloud/google-cloud-release-radar/scripts/release_radar.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"19eae912bf2e117fa69e3ddf9a190951905c8526b26d63068e8b41fbc4122792"}},{"ruleId":"D1","level":"warning","message":{"text":"debug_workload._format_entry (cyclomatic 16): debug_workload._format_entry 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":"skills/cloud/pathways-workload/scripts/debug_workload.py"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff8e13a7ece536b511f16a4a1b79cbf7296bc68b27a1a1be91353e8b3d43276"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_on_device.versions_summary (cyclomatic 16): benchmark_on_device.versions_summary 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":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f733cd4e2226fabd6ae3e58390987ccfdd6dda60849fa952c7f41e5abcc6fe"}},{"ruleId":"D1","level":"warning","message":{"text":"check_compiled.main (cyclomatic 16): check_compiled.main 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":"skills/platform-devices/litert-google-tensor/scripts/check_compiled.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4da9bdf0625adc31961c6976fc5bcdb6b4f78322e1d4e887747f3f6770b37f"}},{"ruleId":"D1","level":"warning","message":{"text":"package_ai_pack.read_catalog (cyclomatic 16): package_ai_pack.read_catalog 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d48b3040b19abfd321538512528c830e115117009ae677547b64ddac41f774"}},{"ruleId":"D1","level":"warning","message":{"text":"package_ai_pack.compare_io (cyclomatic 16): package_ai_pack.compare_io 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":2196}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf85adc672e3320c61c0d2e6ab15a53d6dfc850deb01c5bc3e7b39fc8680661f"}},{"ruleId":"D1","level":"warning","message":{"text":"package_ai_pack.main (cyclomatic 16): package_ai_pack.main 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":3470}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0d05a3944be0c8f2cc523d31ce55a7bf1a5e3b538bd6684c5aae6c18885a23"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_mcp_openapi.validate_mcp_spec (cognitive 224): validate_mcp_openapi.validate_mcp_spec has cognitive complexity 224 (threshold 15). Drivers by points: if/else 59 (172 pts), boolean chains 29, loops 7 (18 pts), ternaries 2 (5 pts) (nesting depth added 127). 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":"skills/cloud/api-gateway-mcp-server/scripts/validate_mcp_openapi.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4305913cc0e85ef4cc175e8d3d640df99cbb69e1a2275455225ae8a6998eac87"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.plan_update (cognitive 214): package_ai_pack.plan_update has cognitive complexity 214 (threshold 15). Drivers by points: if/else 85 (135 pts), boolean chains 31, loops 20 (26 pts), ternaries 12 (22 pts) (nesting depth added 66). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e43f9bfad81571de7d421926795ec3d4f4466bd63101679769d52b56d44f9ce"}},{"ruleId":"D2","level":"warning","message":{"text":"infographic_template.html.renderAll (cognitive 162): infographic_template.html.renderAll has cognitive complexity 162 (threshold 15). Drivers by points: boolean chains 71, if/else 45 (51 pts), ternaries 26 (40 pts) (nesting depth added 20). Of this number, 135 points are the body\u0027s own statements and 27 belong to 8 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":"skills/developers/migrate-to-rust/references/infographic_template.html"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f462e5907bef2ad75c536d557016e31c1a17157ff62d67ebaacf8b8c415e84"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.check_integration (cognitive 152): package_ai_pack.check_integration has cognitive complexity 152 (threshold 15). Drivers by points: if/else 72 (90 pts), ternaries 20 (35 pts), boolean chains 22, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":2782}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1a733fda437358e572cefcd797b045d43a36a7785c09f1e0d7ff1c9cc1bd01"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_on_device.main (cognitive 150): benchmark_on_device.main has cognitive complexity 150 (threshold 15). Drivers by points: if/else 65 (105 pts), boolean chains 24, ternaries 12 (13 pts), error handling 4 (5 pts), loops 2 (3 pts) (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"74679bca16a8b40c83a490964a1cd8ab24fa6fc7e6b3cf019b76c5d1e6202045"}},{"ruleId":"D2","level":"warning","message":{"text":"compile_model.run_colab_compile (cognitive 132): compile_model.run_colab_compile has cognitive complexity 132 (threshold 15). Drivers by points: if/else 44 (63 pts), boolean chains 35, error handling 11 (23 pts), loops 8 (11 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/compile_model.py"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"06646e52dc8213472c05543bbfdccd66aedcc53462b5a368cbb2b4d24a3cc661"}},{"ruleId":"D2","level":"warning","message":{"text":"extraction_stats_template.analyze_zip_archive (cognitive 127): extraction_stats_template.analyze_zip_archive has cognitive complexity 127 (threshold 15). Drivers by points: if/else 44 (77 pts), boolean chains 35, loops 13 (14 pts), error handling 1 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/bigquery-migration-metadata-extractor/assets/extraction_stats_template.py"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25dc517b22cf813848bbb64f9e4c63890ca0bcc68e705a2857c9d68e589df31"}},{"ruleId":"D2","level":"warning","message":{"text":"telemetry.analyze_directory (cognitive 118): telemetry.analyze_directory has cognitive complexity 118 (threshold 15). Drivers by points: if/else 26 (94 pts), ternaries 10 (11 pts), loops 3 (6 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 74). 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":"skills/developers/migrate-to-rust/scripts/telemetry.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb21ae4fb148b50d2dbf2c9815e52eea1c3cc8c098fb86f06b6f0400451f76f"}},{"ruleId":"D2","level":"warning","message":{"text":"manage_workload_updates.resolve_workload_and_update_names (cognitive 112): manage_workload_updates.resolve_workload_and_update_names has cognitive complexity 112 (threshold 15). Drivers by points: if/else 38 (96 pts), boolean chains 13, loops 2 (3 pts) (nesting depth added 59). 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":"skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54285f2e03ca4c080856b089484a679d40a52ad21555cb9879e400bd27e90b9"}},{"ruleId":"D2","level":"warning","message":{"text":"dbt_translator.preprocess_metadata (cognitive 112): dbt_translator.preprocess_metadata has cognitive complexity 112 (threshold 15). Drivers by points: if/else 24 (73 pts), loops 9 (21 pts), boolean chains 15, ternaries 1 (3 pts) (nesting depth added 63). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e99b4b47716c4b590439bf3f0da06b1c610a00118e3ca53d6346d5e098fb13c"}},{"ruleId":"D2","level":"warning","message":{"text":"extraction_stats_template._parse_dumper_telemetry (cognitive 104): extraction_stats_template._parse_dumper_telemetry has cognitive complexity 104 (threshold 15). Drivers by points: if/else 23 (79 pts), loops 5 (12 pts), boolean chains 6, ternaries 1 (4 pts), error handling 1 (3 pts) (nesting depth added 68). 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":"skills/cloud/bigquery-migration-metadata-extractor/assets/extraction_stats_template.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2701a9c5611974e076429d4df3e58d80c63774f45cf4c707bc1e9c7685e495"}},{"ruleId":"D2","level":"warning","message":{"text":"compile_model.main (cognitive 102): compile_model.main has cognitive complexity 102 (threshold 15). Drivers by points: if/else 38 (52 pts), ternaries 15 (21 pts), boolean chains 15, loops 4 (8 pts), error handling 6 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/compile_model.py"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ea091e6951ca2d7937025c4803f838f6445eb7afe9caf378511a9051d31903"}},{"ruleId":"D2","level":"warning","message":{"text":"release_radar.main (cognitive 97): release_radar.main has cognitive complexity 97 (threshold 15). Drivers by points: if/else 39 (69 pts), loops 7 (13 pts), ternaries 5 (11 pts), boolean chains 4 (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/google-cloud-release-radar/scripts/release_radar.py"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b993b4d0fa7b79dd61ab0271ca0581228c5fe55d27590617e03942e0a7fc990"}},{"ruleId":"D2","level":"warning","message":{"text":"python_embedded_sql_migrator_template.postprocess (cognitive 96): python_embedded_sql_migrator_template.postprocess has cognitive complexity 96 (threshold 15). Drivers by points: if/else 18 (69 pts), loops 7 (19 pts), boolean chains 7, ternaries 1 (nesting depth added 63). 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":"skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afe6e407828fba5e991d3f8b4a8c599b267139159da7853b826e3c92f71516f"}},{"ruleId":"D2","level":"warning","message":{"text":"dbt_translator.run_bulk_translation (cognitive 92): dbt_translator.run_bulk_translation has cognitive complexity 92 (threshold 15). Drivers by points: if/else 28 (69 pts), loops 8 (16 pts), boolean chains 6, ternaries 1 (nesting depth added 49). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":1819}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51ecf10abfa3aff474f2e9b61efe9855108cf856421c99d0c8c1910a27b8259"}},{"ruleId":"D2","level":"warning","message":{"text":"python_embedded_sql_migrator_template.safe_reinject_into_python (cognitive 88): python_embedded_sql_migrator_template.safe_reinject_into_python has cognitive complexity 88 (threshold 15). Drivers by points: if/else 28 (63 pts), ternaries 3 (11 pts), boolean chains 9, loops 2 (5 pts) (nesting depth added 46). 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":"skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"c056dd87a06b1458b69c272111eb0e099546d2b741fb5c66a82144ffeaa85c5b"}},{"ruleId":"D2","level":"warning","message":{"text":"agreement.main (cognitive 86): agreement.main has cognitive complexity 86 (threshold 15). Drivers by points: if/else 14 (41 pts), boolean chains 17, loops 8 (15 pts), ternaries 5 (13 pts) (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-autorater-customization/scripts/agreement.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77a188d392d4bb41bb6aa1ff016343bbf63cc767c8659633d46321cc497a5d0"}},{"ruleId":"D2","level":"warning","message":{"text":"upgrade_policy.upgrade_policy (cognitive 83): upgrade_policy.upgrade_policy has cognitive complexity 83 (threshold 15). Drivers by points: if/else 25 (64 pts), loops 4 (8 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 45). 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":"skills/cloud/cloud-armor-crs-rule-upgrader/scripts/upgrade_policy.py"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c292711f9d1a8a711fda85990cb722b9943372ab96d686f6f46d4620cce56fe"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_yaral_rule.mask_literals_and_comments (cognitive 80): validate_yaral_rule.mask_literals_and_comments has cognitive complexity 80 (threshold 15). Drivers by points: if/else 16 (53 pts), loops 6 (16 pts), boolean chains 11 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/secops-detection-engineering/scripts/validate_yaral_rule.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d69313b8c9ab102f38e9ced5fdb97c56ac69e6c51d4ac3c036ddf7a7677e4c"}},{"ruleId":"D2","level":"warning","message":{"text":"config_utils.extract_alert_policies (cognitive 75): config_utils.extract_alert_policies has cognitive complexity 75 (threshold 15). Drivers by points: if/else 13 (44 pts), loops 11 (26 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1095a60b8c85f6bd834093a266fe11f5d1ef0cfd73ebdb962b1dc98fd13729"}},{"ruleId":"D2","level":"warning","message":{"text":"config_utils.extract_alert_policies (cognitive 75): config_utils.extract_alert_policies has cognitive complexity 75 (threshold 15). Drivers by points: if/else 13 (44 pts), loops 11 (26 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e04e8d3c4215801e8ba96a35317c984c8702ed90d3bf52745bf1592b09a2d2e"}},{"ruleId":"D2","level":"warning","message":{"text":"db_output_match_analyzer.analyze_output_matches (cognitive 74): db_output_match_analyzer.analyze_output_matches has cognitive complexity 74 (threshold 15). Drivers by points: if/else 17 (37 pts), boolean chains 14, ternaries 3 (12 pts), loops 8 (11 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assuredworkloads-frameworks-navigator/scripts/db_output_match_analyzer.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"2612bc7b7eab9adbf55d6697ebc785443a2cf4f1937fdc67457b6f8460111472"}},{"ruleId":"D2","level":"warning","message":{"text":"dbt_translator.discover_dbt_resources (cognitive 72): dbt_translator.discover_dbt_resources has cognitive complexity 72 (threshold 15). Drivers by points: if/else 10 (45 pts), loops 4 (16 pts), boolean chains 6, error handling 1 (4 pts), ternaries 1 (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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d13472ab99f833e0e7e0bd2dde85d962e8a0f3963aae10dc3e0469e4029470"}},{"ruleId":"D2","level":"warning","message":{"text":"telemetry.compute_derived_metrics (cognitive 66): telemetry.compute_derived_metrics has cognitive complexity 66 (threshold 15). Drivers by points: if/else 26 (29 pts), ternaries 10 (22 pts), boolean chains 14, loops 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":"skills/developers/migrate-to-rust/scripts/telemetry.py"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"09633d53f820c0f745c8d449d66dec8c7122d9afc29e9d422fcb5ee0d33cd17f"}},{"ruleId":"D2","level":"warning","message":{"text":"report_template.html.hydrateDashboard (cognitive 65): report_template.html.hydrateDashboard has cognitive complexity 65 (threshold 15). Drivers by points: if/else 31 (50 pts), ternaries 6 (9 pts), boolean chains 6 (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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e0a3a4fde5f2798448131a8f14e17539e3baa5d1e6e3431f732b27888fe984"}},{"ruleId":"D2","level":"warning","message":{"text":"waste.compute_extraneous_spend (cognitive 64): waste.compute_extraneous_spend has cognitive complexity 64 (threshold 15). Drivers by points: if/else 23 (35 pts), boolean chains 15, loops 6 (8 pts), ternaries 5 (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":"skills/cloud/cloud-logging-finops/scripts/waste.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4c0f6cc111d6ddf4f5e55a67fc361fa2d378a044027827444966522607c504"}},{"ruleId":"D2","level":"warning","message":{"text":"extraction_stats_template.format_stats_report (cognitive 62): extraction_stats_template.format_stats_report has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 7 (24 pts), if/else 11 (23 pts), boolean chains 8, loops 3 (7 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":"skills/cloud/bigquery-migration-metadata-extractor/assets/extraction_stats_template.py"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e4914fd35a4928a5ea91f710af290474956c6ceb6cac24e85b63e680ae3cd5"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_params.validate_create_params (cognitive 57): validate_params.validate_create_params has cognitive complexity 57 (threshold 15). Drivers by points: if/else 36 (48 pts), boolean chains 7, ternaries 1 (2 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":"skills/cloud/assured-workloads-basics/scripts/validate_params.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabc4d5633b55865e87b2930d19c00142ac2c6bd52be5e16be756f44d05c3820"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_params.validate_apply_update_params (cognitive 56): validate_params.validate_apply_update_params has cognitive complexity 56 (threshold 15). Drivers by points: if/else 21 (41 pts), boolean chains 6, ternaries 3 (6 pts), loops 2 (3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assured-workloads-basics/scripts/validate_params.py"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2ca2de4b4da28f3a1debed1a79e81a98dd4093c16bd74255ac75ae507a895a"}},{"ruleId":"D2","level":"warning","message":{"text":"dbt_translator.transform_config_block (cognitive 56): dbt_translator.transform_config_block has cognitive complexity 56 (threshold 15). Drivers by points: if/else 24 (41 pts), loops 5 (10 pts), boolean chains 4, error handling 1 (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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2338a6c4d14a668a4d2a75378ed73d421177674e0bea513f3161e56af1dd256"}},{"ruleId":"D2","level":"warning","message":{"text":"upgrade_policy._clean_opt_out_structure (cognitive 53): upgrade_policy._clean_opt_out_structure has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (44 pts), loops 3 (8 pts), boolean chains 1 (nesting depth added 33). 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":"skills/cloud/cloud-armor-crs-rule-upgrader/scripts/upgrade_policy.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1d6bf44a095edfb19b799cded5748d06b764077915dff9164bb2f9625a9579"}},{"ruleId":"D2","level":"warning","message":{"text":"textproto_util.dict_to_widget (cognitive 50): textproto_util.dict_to_widget has cognitive complexity 50 (threshold 15). Drivers by points: if/else 21 (45 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-monitoring-chart-generation/scripts/textproto_util.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cf75a94c590bbb3862f17839b29c399cca543ea7e935bb3105c69aa2a72cda"}},{"ruleId":"D2","level":"warning","message":{"text":"compile_check.check (cognitive 49): compile_check.check has cognitive complexity 49 (threshold 15). Drivers by points: if/else 13 (30 pts), loops 11 (19 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/apigee-agent-gateway-governance/scripts/compile_check.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"552a830d744cb05991b51d6277c4b38a9ae3b8fedfbe93be705164d05cdb1be9"}},{"ruleId":"D2","level":"warning","message":{"text":"main.search_files (cognitive 48): main.search_files has cognitive complexity 48 (threshold 15). Drivers by points: if/else 12 (34 pts), loops 3 (7 pts), error handling 2 (6 pts), boolean chains 1 (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":"skills/cloud/google-cloud-filestore-nfs-browser/scripts/bridge_server/main.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee8b8125435c58cd0c2ce2bdea2cc17d0a3e210b5fe6f0f77e0899b4750b560"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_yaral_rule.validate_single_rule (cognitive 47): validate_yaral_rule.validate_single_rule has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (35 pts), boolean chains 6, loops 3 (4 pts), ternaries 1 (2 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":"skills/cloud/secops-detection-engineering/scripts/validate_yaral_rule.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84b338869676dc275408181e809ec3bd51e503dde71fe68f9f2e6f7fdbd5ce2"}},{"ruleId":"D2","level":"warning","message":{"text":"trace_searcher.distill_trace (cognitive 46): trace_searcher.distill_trace has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 10, error handling 2 (6 pts), loops 2 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-trace-querying/scripts/search_traces/src/trace_searcher.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e829d7c642134c3f164094d35499f620145682586f137e21e44d1b3ba6f099c"}},{"ruleId":"D2","level":"warning","message":{"text":"discover_metric_schema.validate_promql_against_schema (cognitive 43): discover_metric_schema.validate_promql_against_schema has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (36 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-monitoring-alert-configuration/scripts/discover_metric_schema.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae268d9ebadd134ab08f840f6f346707e34b26f7b9b89e3569b1f7bbbc79ad67"}},{"ruleId":"D2","level":"warning","message":{"text":"dbt_translator.translate_cast_suffixes (cognitive 42): dbt_translator.translate_cast_suffixes has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (33 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b936ce83c2df9ea0f069b6b4b9b152d497ec54f2a33019d806a0c842b714bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.check_inputs (cognitive 42): package_ai_pack.check_inputs has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (37 pts), boolean chains 4, 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e0df40d75da6d7756165a01a849b14b7d13943afb2e205fccb7d1e58836324"}},{"ruleId":"D2","level":"warning","message":{"text":"HCLScanner.extract_alert_policies (cognitive 41): HCLScanner.extract_alert_policies has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (28 pts), loops 5 (10 pts), ternaries 1 (2 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":"skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"da62bd490df762bcfced016e9013797344f5f6c1b4fb6bb9835216f5544d464c"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_chart.validate_widget (cognitive 41): validate_chart.validate_widget has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (34 pts), boolean chains 3, error handling 1 (2 pts), loops 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":"skills/cloud/cloud-monitoring-chart-generation/scripts/validate_chart.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"471d73f13978e49cde770f90bfed0428ff3ab49fe80e7a7c178f08df72456360"}},{"ruleId":"D2","level":"warning","message":{"text":"HCLScanner.extract_alert_policies (cognitive 41): HCLScanner.extract_alert_policies has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (28 pts), loops 5 (10 pts), ternaries 1 (2 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":"skills/cloud/gke-alert-configuration/scripts/validate_config.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db04823f2a104a0192db66287fa40c11a0f1eabf6fecf5b1d57c5ae215355d5"}},{"ruleId":"D2","level":"warning","message":{"text":"release_radar.resolve_catalog_matches (cognitive 41): release_radar.resolve_catalog_matches has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 5 (10 pts), boolean chains 8 (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":"skills/cloud/google-cloud-release-radar/scripts/release_radar.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e310c77fcf31adcba806376747737146e74b27f759688fd9df5b4f4e95d3277"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_control_rules.evaluate_telemetry (cognitive 40): evaluate_control_rules.evaluate_telemetry has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (22 pts), ternaries 5 (8 pts), loops 4 (6 pts), boolean chains 4 (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":"skills/cloud/assuredworkloads-environment-assessor/scripts/evaluate_control_rules.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f874897bc2fb083977db7d96709446e633c753503ffaba8c00d39c501c25b34"}},{"ruleId":"D2","level":"warning","message":{"text":"build_review_page.main (cognitive 39): build_review_page.main has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 4 (13 pts), if/else 7 (12 pts), boolean chains 7, loops 5 (7 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":"skills/cloud/agent-platform-autorater-customization/scripts/build_review_page.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cb658602232ca67c7ca68faf7062433d98c42ad83d77e95262f5bcff79bf12"}},{"ruleId":"D2","level":"warning","message":{"text":"python_embedded_sql_migrator_template.preprocess (cognitive 39): python_embedded_sql_migrator_template.preprocess has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 7 (14 pts), error handling 1 (4 pts), ternaries 2 (4 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"895516debc8660755e570971ebf13cd9fd2f6e5275a530ede24c65acb207ee0e"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.locate_cpu_models (cognitive 39): package_ai_pack.locate_cpu_models has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 4 (8 pts), ternaries 4 (7 pts), boolean chains 4 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d36304cd3e5cdb8575d795f61a48b1ca3d707e672eb3c80a25d79f942c3cc3"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.update_doc_values (cognitive 39): package_ai_pack.update_doc_values has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 10 (13 pts), boolean chains 6, 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":2323}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da0fba9a6231dabcbb0badd6e8091dcb2a394d1265e0b4052fd51bb484bc506"}},{"ruleId":"D2","level":"warning","message":{"text":"bq_loader_template.list_and_read_sql_files (cognitive 37): bq_loader_template.list_and_read_sql_files has cognitive complexity 37 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 3 (13 pts), loops 3 (10 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/bigquery-migration-data-loader/assets/bq_loader_template.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79c91c35b657db27502a4b151382a56ba92adcb3e8d755061ff1ba8acde6d9b"}},{"ruleId":"D2","level":"warning","message":{"text":"bq_loader_template._parse_config_yamls (cognitive 37): bq_loader_template._parse_config_yamls has cognitive complexity 37 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 4 (12 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (3 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":"skills/cloud/bigquery-migration-data-loader/assets/bq_loader_template.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"719dec71af48585495149581b351ae8b4e22cdedc82bdc8165e58dc81ac2888e"}},{"ruleId":"D2","level":"warning","message":{"text":"Linter._check_security (cognitive 36): Linter._check_security has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 4 (8 pts), boolean chains 3, ternaries 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":"skills/cloud/api-gateway-troubleshooting/scripts/lint_openapi_for_gateway.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ea42cbdca460123f2857efdb81181535ade6c9fce23aedb3433832af78146c"}},{"ruleId":"D2","level":"warning","message":{"text":"manage_workload_updates.execute_manage_workload_updates (cognitive 36): manage_workload_updates.execute_manage_workload_updates has cognitive complexity 36 (threshold 15). Drivers by points: if/else 19 (28 pts), boolean chains 4, loops 2 (3 pts), ternaries 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":"skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8a17312823f2b6602eca590e1eaf5437d4085fe1f6c95fce7405d5cf07e5a6"}},{"ruleId":"D2","level":"warning","message":{"text":"bq_loader_template.run_loader (cognitive 36): bq_loader_template.run_loader has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 4 (7 pts), boolean chains 6, error handling 2 (6 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":"skills/cloud/bigquery-migration-data-loader/assets/bq_loader_template.py"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3b773cb025cb0fcede5fc494bfb3fae66e5694e4a11fafd35753abd66714fb"}},{"ruleId":"D2","level":"warning","message":{"text":"discover_metric_schema.main (cognitive 36): discover_metric_schema.main has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 6 (12 pts), ternaries 1 (4 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":"skills/cloud/cloud-monitoring-alert-configuration/scripts/discover_metric_schema.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"52656c6616eadd0dea5b0391f2d09924a61617086fa1dd9c0fe689891456c643"}},{"ruleId":"D2","level":"warning","message":{"text":"dbt_translator.sanitize_json_extractions (cognitive 35): dbt_translator.sanitize_json_extractions has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 5 (7 pts), boolean chains 2 (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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dc68ada3b69c67da20335d29a304dff14c9dbbe3fedff1c0185b039503dae3"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_control_rules.parse_framework_org_policy_spec (cognitive 34): evaluate_control_rules.parse_framework_org_policy_spec has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 5 (11 pts), ternaries 2 (4 pts), boolean chains 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":"skills/cloud/assuredworkloads-environment-assessor/scripts/evaluate_control_rules.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e7e67407aa917c30a093af0f441614b36800eec8021b0b58b487a36fc2ea97"}},{"ruleId":"D2","level":"warning","message":{"text":"diagnose_lib.check_port_allowed (cognitive 34): diagnose_lib.check_port_allowed has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 8, error handling 2 (6 pts), loops 2 (4 pts), ternaries 1 (2 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":"skills/cloud/google-cloud-filestore-log-troubleshooting/scripts/diagnose_lib.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3deb2fb58adf78474d05d3fc032e255f4e37782ea0508dc4906bf7948155e5a4"}},{"ruleId":"D2","level":"warning","message":{"text":"render_agent_data.render (cognitive 33): render_agent_data.render has cognitive complexity 33 (threshold 15). Drivers by points: if/else 4 (18 pts), loops 3 (6 pts), boolean chains 5, ternaries 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":"skills/cloud/agent-platform-autorater-customization/scripts/render_agent_data.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94c230e3a7f4d4236877ea80e60e4ac999dfd70eb4702c396954538e8317ad8"}},{"ruleId":"D2","level":"warning","message":{"text":"bq_loader_template._scan_sql_segments (cognitive 33): bq_loader_template._scan_sql_segments has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 5 (17 pts), loops 3 (7 pts), if/else 4 (6 pts), boolean chains 3 (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":"skills/cloud/bigquery-migration-data-loader/assets/bq_loader_template.py"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ee7f6abd29d454a7d7fb722b1f36c1c60c0753f6b23baed531a7c2c60f3b39"}},{"ruleId":"D2","level":"warning","message":{"text":"extraction_stats_template._read_bigquery_tables_jsonl (cognitive 33): extraction_stats_template._read_bigquery_tables_jsonl has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 9, loops 2 (3 pts), error handling 1 (2 pts), ternaries 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":"skills/cloud/bigquery-migration-metadata-extractor/assets/extraction_stats_template.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce91ef2ab61ce020a1249a26bd88a8a7ab3b08b71f561621377216a43bb167b6"}},{"ruleId":"D2","level":"warning","message":{"text":"check_quota_metrics.extract_limited_metrics (cognitive 32): check_quota_metrics.extract_limited_metrics has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 2 (8 pts), boolean chains 2 (nesting depth added 20). 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":"skills/cloud/api-gateway-backend-security-and-rate-limiting/scripts/check_quota_metrics.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17ec2c3747e6277ed124846607d3bc9c511a733c3122dea78b81887ccda0d72"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_workload_payload.load_allowed_frameworks_and_regimes (cognitive 32): validate_workload_payload.load_allowed_frameworks_and_regimes has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 3 (6 pts), ternaries 1 (2 pts), boolean chains 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":"skills/cloud/assuredworkloads-environment-assessor/scripts/validate_workload_payload.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c718d344af21e96fb0ddaa2b20160f6d322a92fd6a63a83c8de2f97860cb8fed"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregations.get_monthly_aggregations (cognitive 32): aggregations.get_monthly_aggregations has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 7 (14 pts), if/else 5 (9 pts), loops 5 (9 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":"skills/cloud/cloud-logging-finops/scripts/aggregations.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76ae77b162f02f4f4f8d7705861c5b7fb9355b1e0a8c6565ed183db63b74b54"}},{"ruleId":"D2","level":"warning","message":{"text":"assemble_widget_proto.assemble_widget_textproto (cognitive 31): assemble_widget_proto.assemble_widget_textproto has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 1 (3 pts), boolean chains 2, ternaries 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":"skills/cloud/cloud-monitoring-chart-generation/scripts/assemble_widget_proto.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6bd3338c5f7edc941857ae980ccda3d1e51ccd19987903e44df73bad45739a"}},{"ruleId":"D2","level":"warning","message":{"text":"dbt_translator.translate_interval_expressions (cognitive 31): dbt_translator.translate_interval_expressions has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 2 (3 pts), boolean chains 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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a2c2f43b55eaa5ab4632cafe5156b727d2ddd6c0a4a8c9c741186baf637258"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.compare_io (cognitive 31): package_ai_pack.compare_io has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 4 (7 pts), ternaries 2 (5 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":2196}}}],"partialFingerprints":{"codehealthFindingId/v1":"752978cf9bf79590d946f34fa5bdc595456c141d558e3be197549eec3f8ce055"}},{"ruleId":"D2","level":"warning","message":{"text":"report_template.html.renderDailyServiceChart (cognitive 31): report_template.html.renderDailyServiceChart has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 10 (16 pts), if/else 8, boolean chains 6, loops 1 (nesting depth added 6). Most of this is not in the body itself: 9 of the 31 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 2065, 2057, 1990, \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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f6618ead0a85fd113fa15fad2c5e5841c8bc94c8c5b18745093731d2ee2691"}},{"ruleId":"D2","level":"warning","message":{"text":"report_template.html.renderSampleCard (cognitive 31): report_template.html.renderSampleCard has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 9 (11 pts), boolean chains 9 (nesting depth added 5). 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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7806ab0a0235423e8cebd1ecdd0c96adfb613bf8c237700da6ebf04d5980ac8"}},{"ruleId":"D2","level":"warning","message":{"text":"bq_loader_template._scan_relation_views (cognitive 30): bq_loader_template._scan_relation_views has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/bigquery-migration-data-loader/assets/bq_loader_template.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cec8a5351786ad10aa2b63abd0e64745877ccc5ae62d20a487ed855ca0e6e9"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_chart.main (cognitive 30): validate_chart.main has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 5 (9 pts), error handling 3 (5 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":"skills/cloud/cloud-monitoring-chart-generation/scripts/validate_chart.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"43344353b105bee766de03b0192a5ea34fbe699303a046c5a21a997d509e18b5"}},{"ruleId":"D2","level":"warning","message":{"text":"diagnose_lib.format_single_report (cognitive 30): diagnose_lib.format_single_report has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 5 (9 pts), ternaries 2, 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":"skills/cloud/google-cloud-filestore-log-troubleshooting/scripts/diagnose_lib.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"8748b5ccdf4d0ca45bc7e3448ef70a5e56d99e5c733d5e168bf79fa59ff6b4d9"}},{"ruleId":"D2","level":"warning","message":{"text":"report_template.html.selectService (cognitive 30): report_template.html.selectService has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 11, if/else 8 (11 pts), ternaries 3 (8 pts) (nesting depth added 8). Most of this is not in the body itself: 5 of the 30 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 2313, 2279). 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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"2273121ffa7966af2072beba9c8c98659cda5c1ccbea3a41f9db2b04cdaedc02"}},{"ruleId":"D2","level":"warning","message":{"text":"run_metrics.collect (cognitive 29): run_metrics.collect has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 3 (12 pts), loops 4 (10 pts), boolean chains 5, if/else 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":"skills/cloud/agent-platform-autorater-customization/scripts/run_metrics.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f71a51482d525522edea5ec7433ca5db5e530452b873518b05eaa931cacd4a"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect_results._case_rows (cognitive 29): inspect_results._case_rows has cognitive complexity 29 (threshold 15). Drivers by points: if/else 2 (8 pts), ternaries 2 (8 pts), boolean chains 7, 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":"skills/cloud/agent-platform-eval-flywheel/scripts/inspect_results.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21ec6f78ae3d804292656c532dad47116fa482d5a2d8e97495631d35682b732"}},{"ruleId":"D2","level":"warning","message":{"text":"collect_logging_data.collect_data (cognitive 29): collect_logging_data.collect_data has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (16 pts), loops 3 (6 pts), ternaries 4, error handling 1 (2 pts), boolean chains 1 (nesting depth added 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":"skills/cloud/cloud-logging-finops/scripts/collect_logging_data.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7ff5d289fc1d50aebfa8f4b012f865c6910dcf8c2ffea91b12813811ca8243"}},{"ruleId":"D2","level":"warning","message":{"text":"textproto_util.tokenize_textproto (cognitive 29): textproto_util.tokenize_textproto has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 4 (9 pts), boolean chains 4 (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":"skills/cloud/cloud-monitoring-chart-generation/scripts/textproto_util.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"922dad1c4b694ad11cd65c1eca3f2fe8b8e64fc4510be50454289a4be4adaeec"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_on_device.parse_benchmark_log (cognitive 29): benchmark_on_device.parse_benchmark_log has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 3, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"a122b0f24b8953a9c7c56adf2653525db4a8a9bdffccd7ed0fbe441f62d8f733"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLExtractor.visit_Call (cognitive 28): SQLExtractor.visit_Call has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6, loops 1 (2 pts), ternaries 1 (2 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":"skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf571da68f87230813285b9c44f844f736f5472cf2a1252a28744a50001adfd2"}},{"ruleId":"D2","level":"warning","message":{"text":"verify_claim.evaluate_check (cognitive 28): verify_claim.evaluate_check has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 4 (12 pts), boolean chains 3, error handling 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":"skills/cloud/cloud-logging-finops/scripts/verify_claim.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"302c47c8481b75d23b801bebaa52fccb0d3117888ac59382b101152aba944faa"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_params.validate_kms_and_resource_settings (cognitive 27): validate_params.validate_kms_and_resource_settings has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 3, loops 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":"skills/cloud/assured-workloads-basics/scripts/validate_params.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a96937e5ed781c2fdb1c2c79911595e2c9ab64ff93ab98564e56690161bd870"}},{"ruleId":"D2","level":"warning","message":{"text":"main.list_tree (cognitive 27): main.list_tree has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (7 pts), ternaries 1 (2 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":"skills/cloud/google-cloud-filestore-nfs-browser/scripts/bridge_server/main.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"208bd158e1b99e2c8f6577a22db8e4005dcbb15cdf3c891c8b562d72c96e65cc"}},{"ruleId":"D2","level":"warning","message":{"text":"report_template.html.renderDailySeverityChart (cognitive 27): report_template.html.renderDailySeverityChart has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 8, ternaries 5 (8 pts), loops 1 (nesting depth added 4). Most of this is not in the body itself: 13 of the 27 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 1837, 1829, 1762, \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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"9724ce88cdfe3a9fcb29d838e1c621d65b412dcdcf33e9d8f9f921447abbc20c"}},{"ruleId":"D2","level":"warning","message":{"text":"check_quota_metrics.main (cognitive 26): check_quota_metrics.main has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (8 pts), loops 4, ternaries 3, error handling 1 (nesting depth added 1). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/api-gateway-backend-security-and-rate-limiting/scripts/check_quota_metrics.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2aef462175879e0b63a2d9cf39db915e775b55a308ec4db880ff60ca9c4aa1"}},{"ruleId":"D2","level":"warning","message":{"text":"upgrade_policy.main (cognitive 26): upgrade_policy.main has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 1 (4 pts), boolean chains 2, error handling 2, 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":"skills/cloud/cloud-armor-crs-rule-upgrader/scripts/upgrade_policy.py"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b60d64ee1290fe5c086e3d866818f479c647175be9841d60285881c82679bd"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_on_device.analyze_tile_pass (cognitive 26): benchmark_on_device.analyze_tile_pass has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 8, ternaries 2 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d59abe96e083ea8091ce5b2c6402b7202790ff1ebd26d20fccb3c81148967b"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_on_device.analyze_power_pass (cognitive 26): benchmark_on_device.analyze_power_pass has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 8, ternaries 1 (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":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"39524f08d70d1b01647b49fd803d410acd1f69a44b6a30236ad6e325c3c2b334"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.verify_update (cognitive 26): package_ai_pack.verify_update has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 5, ternaries 2 (3 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":2276}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a6e5dffe4b2122b3d1deef897962b3f78de89a92f5c6db33ee00faac39b9b8"}},{"ruleId":"D2","level":"warning","message":{"text":"report_template.html.renderOptimizationActions (cognitive 26): report_template.html.renderOptimizationActions has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 10, ternaries 9, if/else 7. Most of this is not in the body itself: 4 of the 26 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 2964, 2962). 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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":2948}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a01ff7c45a07a6eb3e428169f60275fea58e882fa5760f36d5745c4dd4b57d"}},{"ruleId":"D2","level":"warning","message":{"text":"gather_agent_info.main (cognitive 25): gather_agent_info.main has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (23 pts), ternaries 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":"skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bff3b9dcbd1d926c8cd3dc564d0c86c67c6395b1365ba4086fde982f83b1e43"}},{"ruleId":"D2","level":"warning","message":{"text":"run_metrics.main (cognitive 25): run_metrics.main has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (8 pts), boolean chains 3, ternaries 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":"skills/cloud/agent-platform-autorater-customization/scripts/run_metrics.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bde809461e087b52b1835bdc1c8599384faa1d3ab7e28e19e1825fc393917d9"}},{"ruleId":"D2","level":"warning","message":{"text":"gather_agent_info.main (cognitive 25): gather_agent_info.main has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (23 pts), ternaries 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":"skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"7852e5190fc2f289be096ec3bf706544a71f12fad0f66f660402845a90e77d14"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.inspect_project (cognitive 25): package_ai_pack.inspect_project has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (4 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52fabcfc3cc7aa00d45a1f5b2a687166f94c39302284264a1e3b0a3ebba6264"}},{"ruleId":"D2","level":"warning","message":{"text":"prepare_dataset.convert_to_jsonl (cognitive 24): prepare_dataset.convert_to_jsonl has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (19 pts), error handling 2, boolean chains 1, loops 1, ternaries 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":"skills/cloud/agent-platform-tuning/scripts/prepare_dataset.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9621a64f798d08923a97a388d66a06c0324d1a4f99a137f84671d10488edcf"}},{"ruleId":"D2","level":"warning","message":{"text":"upgrade_policy.transform_preconfigured_waf_config (cognitive 24): upgrade_policy.transform_preconfigured_waf_config has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (4 pts), boolean chains 3, ternaries 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":"skills/cloud/cloud-armor-crs-rule-upgrader/scripts/upgrade_policy.py"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee21a78a40cb129f11301ffbee443b2a97b45dba77e240dd2c6ef23d153d4c55"}},{"ruleId":"D2","level":"warning","message":{"text":"textproto_util.parse_textproto_tokens (cognitive 24): textproto_util.parse_textproto_tokens has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 3, 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":"skills/cloud/cloud-monitoring-chart-generation/scripts/textproto_util.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a559d15aa5558d8395ee9760fd0914e9bd8328674016aad45c85eb3f4263ec0"}},{"ruleId":"D2","level":"warning","message":{"text":"main.read_file (cognitive 24): main.read_file has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (4 pts), ternaries 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":"skills/cloud/google-cloud-filestore-nfs-browser/scripts/bridge_server/main.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b79c46613e022a2039d76d6b1800b0f15eedad3b8df15c53a0f0cc30972901"}},{"ruleId":"D2","level":"warning","message":{"text":"release_radar.fetch_feed_entries (cognitive 24): release_radar.fetch_feed_entries has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (8 pts), loops 2 (3 pts), error handling 1 (nesting depth added 5). 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":"skills/cloud/google-cloud-release-radar/scripts/release_radar.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af36a2f95944c2769078f0c307856401310e4068870c6a985c09e4855d5efa8"}},{"ruleId":"D2","level":"warning","message":{"text":"install_and_verify.verify (cognitive 24): install_and_verify.verify has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11, boolean chains 7, ternaries 6. 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":"skills/platform-devices/litert-google-tensor/scripts/install_and_verify.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28ce403742568800d083b33cc430b65d6ebe0ecfa078befd821c1f84c61853b"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.scan_model (cognitive 24): package_ai_pack.scan_model has cognitive complexity 24 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 4 (8 pts), boolean chains 6, ternaries 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c1ce912e77eabec6f2fe01c28f4b5de2370ef29477aed26d140206a8564b25"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_dataset._validate_eval_case (cognitive 23): validate_dataset._validate_eval_case has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-eval-flywheel/scripts/validate_dataset.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"49412214b8bf252466b45cea969a440a4931481efbac73c392a9abe62dd9dd0c"}},{"ruleId":"D2","level":"warning","message":{"text":"db_resources_loader.fetch_and_filter_db_resources (cognitive 23): db_resources_loader.fetch_and_filter_db_resources has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (5 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":"skills/cloud/assuredworkloads-frameworks-navigator/scripts/db_resources_loader.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f58a3890c6427d1ef1f11b855c0875505037316222e5483e02bc4987fee06b"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_promql.main (cognitive 23): validate_promql.main has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 3 (7 pts), error handling 1 (2 pts), ternaries 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":"skills/cloud/cloud-monitoring-promql-query/scripts/validate_promql.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"036b575dcb38cfdb28fdf214b22de241a473b3df702e27973815a95c2aa8d8f8"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.build_update (cognitive 23): package_ai_pack.build_update has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 4, 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":2438}}}],"partialFingerprints":{"codehealthFindingId/v1":"65abb76ebd7f72fb1526c234cd53d4807a256aa5684289daf26409b9fd2010b9"}},{"ruleId":"D2","level":"warning","message":{"text":"analyze_traffic.main (cognitive 22): analyze_traffic.main has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 4 (7 pts), boolean chains 4 (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":"skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f676f25e23e5e7ee3d4e5c434c4b41cc710cd77b9a55182de37b5b44c161cb"}},{"ruleId":"D2","level":"warning","message":{"text":"build_review_page.render_trajectory (cognitive 22): build_review_page.render_trajectory has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 7, loops 3 (6 pts), ternaries 1 (5 pts), if/else 1 (4 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":"skills/cloud/agent-platform-autorater-customization/scripts/build_review_page.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"da982ee0a981400f46bae60a2774e3fd6fbdec0cc06d7d4a2d82acb70dfb2f4a"}},{"ruleId":"D2","level":"warning","message":{"text":"prepare_dataset._validate_example (cognitive 22): prepare_dataset._validate_example has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (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":"skills/cloud/agent-platform-tuning/scripts/prepare_dataset.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d99a9c521cfaad7ab3695f8ab4944e1b9bf6b76e4fd63da0e105196e67ae3b"}},{"ruleId":"D2","level":"warning","message":{"text":"fetch_terraform_template._output_files (cognitive 22): fetch_terraform_template._output_files has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 1 (4 pts), loops 2 (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":"skills/cloud/application-design-center-design-deploy/scripts/fetch_terraform_template.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e826c76a27f6fe92b018f43bf0523b71cec336067d17c37797fca2dc057dd911"}},{"ruleId":"D2","level":"warning","message":{"text":"diagnose_error.diagnose_error (cognitive 22): diagnose_error.diagnose_error has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, loops 2, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assured-workloads-basics/scripts/diagnose_error.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91e5f5e3b1d48bc7141d30ad4133069057ee952a586462bd6a2eb5eb2f32f24"}},{"ruleId":"D2","level":"warning","message":{"text":"db_output_match_analyzer._validate_cc_parameters (cognitive 22): db_output_match_analyzer._validate_cc_parameters has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 2 (6 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assuredworkloads-frameworks-navigator/scripts/db_output_match_analyzer.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"460370dc670e8f9ef0d1c7b5404a1796b9d6c5191b24f44b6ea5feb511967686"}},{"ruleId":"D2","level":"warning","message":{"text":"analytics.fetch_logging_api_samples (cognitive 22): analytics.fetch_logging_api_samples has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, loops 3 (5 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/scripts/analytics.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6df19e3eae0711a4b283a8bab969acb5a150d5a68dcb655d373a07e3f99ac35"}},{"ruleId":"D2","level":"warning","message":{"text":"analyze_traffic.main (cognitive 22): analyze_traffic.main has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 4 (7 pts), boolean chains 4 (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":"skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ed8c467c77d45a5520b1660f2bd6209a683c395cf496c21bb70ca5b02b1ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"trace_searcher.search_traces (cognitive 22): trace_searcher.search_traces has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 6 (8 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-trace-querying/scripts/search_traces/src/trace_searcher.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"379c41aa7b8e0adc2081f66c7a8250408bda5f13821796b148c7597d57508608"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_on_device.markdown_table (cognitive 22): benchmark_on_device.markdown_table has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 15, if/else 3 (4 pts), ternaries 2, loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9dd0b8516c040e74637af8f8a3fe77da6a39e53ff99a906f7fdcddeae643c6"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.verify_package (cognitive 22): package_ai_pack.verify_package has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, ternaries 3, loops 2, error handling 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a43bc7699b4a913650f5535575989ce79ef49be20240b372835a39d092f862c"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack._mini_toml (cognitive 22): package_ai_pack._mini_toml has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (8 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0e9d15f3eb217a94575b0b0793d6096cb103e38fea9b2b71ccfa587e5d197e"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.main (cognitive 22): package_ai_pack.main has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (15 pts), error handling 3 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":3470}}}],"partialFingerprints":{"codehealthFindingId/v1":"c133cf9871598aeec866bbdbe60503299d7f97785d9a37e562a00df69c1678f9"}},{"ruleId":"D2","level":"warning","message":{"text":"report_template.html.renderTrendChart (cognitive 22): report_template.html.renderTrendChart has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 5 (7 pts), boolean chains 5, loops 1 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 6 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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"246cc8180804bc6c7bec8fab1b84f709dda346cb17ef3e079855bb0cecc8898b"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_dataset._validate_agent_data (cognitive 21): validate_dataset._validate_agent_data has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (6 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":"skills/cloud/agent-platform-eval-flywheel/scripts/validate_dataset.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a97d8ec4060b0cb3be95ff4c59c35067cab4dd274bc5f05d0ec38cb79518af"}},{"ruleId":"D2","level":"warning","message":{"text":"check_quota_metrics.extract_quota_metrics (cognitive 21): check_quota_metrics.extract_quota_metrics has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (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":"skills/cloud/api-gateway-backend-security-and-rate-limiting/scripts/check_quota_metrics.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c325ee0502f6d3b36379c0e1eabcfd0f0c43184466053dc10c767113b5fa7b55"}},{"ruleId":"D2","level":"warning","message":{"text":"manage_workload_updates._apply_single_update_and_poll (cognitive 21): manage_workload_updates._apply_single_update_and_poll has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21bcb2a8e953ef6926cb8180cf90d3fdba1a24507c3fd24adcfca3d6a174193"}},{"ruleId":"D2","level":"warning","message":{"text":"actions.merge_actions (cognitive 21): actions.merge_actions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3, loops 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":"skills/cloud/cloud-logging-finops/scripts/actions.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cedeabc69de00fb343f76506926f37a71c1f9dc5b3a1988a585fcce3eb3282d"}},{"ruleId":"D2","level":"warning","message":{"text":"billing.resolve_billing_source (cognitive 21): billing.resolve_billing_source has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 5, error handling 1 (3 pts), loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/scripts/billing.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b226094db9d1976818450cff2265a446dab49aff14e321b6451c8104d540aa"}},{"ruleId":"D2","level":"warning","message":{"text":"exclusion_rules.generate_exclusion_candidates (cognitive 21): exclusion_rules.generate_exclusion_candidates has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, ternaries 1 (2 pts), 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":"skills/cloud/cloud-logging-finops/scripts/exclusion_rules.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b97b3d5b47f5ec9ccc3659122fdde48b65a3f485543a84cf8a6ac82f5738461"}},{"ruleId":"D2","level":"warning","message":{"text":"check_compiled.main (cognitive 21): check_compiled.main has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, ternaries 1 (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":"skills/platform-devices/litert-google-tensor/scripts/check_compiled.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fa58245da19599f2ad78a0bcc4f1486f576265e3429df4ce814b770fee3230"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.detect_runtime (cognitive 21): package_ai_pack.detect_runtime has cognitive complexity 21 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 3 (9 pts) (nesting depth added 12). 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2a3708b155db2fdac49302267f810689e99d9de42b8e54ac6a39fbfffc05ea"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_config.validate_directory_tf_files (cognitive 20): validate_config.validate_directory_tf_files has cognitive complexity 20 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 2 (5 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 10). 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":"skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a54fb61e600d63f9da95bc661e36f6d4880018ea4afdcadcbff9c5ce837bfe9"}},{"ruleId":"D2","level":"warning","message":{"text":"compute_labels.compute_widget_title (cognitive 20): compute_labels.compute_widget_title has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, ternaries 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":"skills/cloud/cloud-monitoring-chart-generation/scripts/compute_labels.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c67bc3f4e8e14b432663aa7ea7a6a572bf6292ebc273efedc5661108f75a19"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_config.validate_directory_tf_files (cognitive 20): validate_config.validate_directory_tf_files has cognitive complexity 20 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 2 (5 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 10). 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":"skills/cloud/gke-alert-configuration/scripts/validate_config.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0f2f5c034e489cbb720e4367c853da1b68d8b7b9dae09f32225e8dd6bd7a8e"}},{"ruleId":"D2","level":"warning","message":{"text":"workload_restarts.main (cognitive 20): workload_restarts.main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (6 pts), error handling 2, 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":"skills/cloud/managed-airflow-recommendations/scripts/workload_restarts.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2c36b36aad62c4b3d0910dc7f4149d225dcaf44c49f76c38aa269321f644b5"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_yaral_rule.extract_rules (cognitive 20): validate_yaral_rule.extract_rules has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (5 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":"skills/cloud/secops-detection-engineering/scripts/validate_yaral_rule.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fca7d44f2618c15ee47c72b11e226ac2466c99c1b31826f46253df73a02d2a6"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.find_packs (cognitive 20): package_ai_pack.find_packs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (6 pts), ternaries 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f564360263f4cefb80c126d05c91fbc755a8ffc4da95e486ef4165c0d771111"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.read_catalog (cognitive 20): package_ai_pack.read_catalog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, ternaries 1 (3 pts), error handling 2, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"538feda308875e4c5d2f153fdb8a667c0822c7e7123c5eb424486e1c243eee6a"}},{"ruleId":"D2","level":"warning","message":{"text":"check_quota_metrics._fetch_live_config_metrics (cognitive 19): check_quota_metrics._fetch_live_config_metrics has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, 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":"skills/cloud/api-gateway-backend-security-and-rate-limiting/scripts/check_quota_metrics.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e37bcd3f174219b45583b512d560998096a61d92b7e0f1d7d0228b09c0c8533"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregations.project_month (cognitive 19): aggregations.project_month has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 3 (6 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/scripts/aggregations.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3f8f3252f08430788e7130be966384935c7fbae7c36d33cd5727c4fdf1e984"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_config.validate_plan_file (cognitive 19): validate_config.validate_plan_file has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (4 pts), boolean chains 2, error handling 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":"skills/cloud/gke-alert-configuration/scripts/validate_config.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1021c2c25b59c3148206cde2933aaa49e8b3e24bab3af3363f23aa495f0bef27"}},{"ruleId":"D2","level":"warning","message":{"text":"report_template.html.renderServicePies (cognitive 19): report_template.html.renderServicePies has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (9 pts), if/else 6, boolean chains 4 (nesting depth added 1). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 2138, 2160, 2204, \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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff70da789e723a650e3d59f5e3d689362dc10c405c13939698197de015aa7009"}},{"ruleId":"D2","level":"warning","message":{"text":"config_utils.lint_query (cognitive 18): config_utils.lint_query 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). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b55fd7eba1ddf484e8cd08eb01343657202146694d5ebe13e64ec58345a588"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_control_rules.is_location_allowed (cognitive 18): evaluate_control_rules.is_location_allowed has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 2, ternaries 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":"skills/cloud/assuredworkloads-environment-assessor/scripts/evaluate_control_rules.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d41b98ab6dd26df35a40d1d32809ba43bf82dc8ad7316cd807938fec1631894"}},{"ruleId":"D2","level":"warning","message":{"text":"db_output_match_analyzer._resolve_parent_builtin_frameworks (cognitive 18): db_output_match_analyzer._resolve_parent_builtin_frameworks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (4 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":"skills/cloud/assuredworkloads-frameworks-navigator/scripts/db_output_match_analyzer.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"52722bd2296ee73ff3f38ca14798007d444bb61c119cc71e89a13c09ef92f9e5"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregations._compute_sample_coverage (cognitive 18): aggregations._compute_sample_coverage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/scripts/aggregations.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"65278bf2e6a60b218931ee5595797926f166e45663c2bda9a99ae5185199e41a"}},{"ruleId":"D2","level":"warning","message":{"text":"config_utils.lint_query (cognitive 18): config_utils.lint_query 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). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7c188cf7e99c4128af64daee9d207a60968e9861668136f896afb6948b3d2e"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_config.main (cognitive 18): validate_config.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 3 (8 pts), error handling 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":"skills/cloud/gke-alert-configuration/scripts/validate_config.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b0db785ed6f3d2edb0e9a26064d6653693282bc09a4eab8c6888e4d4a0c0e0"}},{"ruleId":"D2","level":"warning","message":{"text":"quick_diagnose._apply_remediations (cognitive 18): quick_diagnose._apply_remediations has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 2 (5 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":"skills/cloud/google-cloud-filestore-log-troubleshooting/scripts/quick_diagnose.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"52aa57d101d80121c24a85fd0273ef009164584db450c10df79b6919d32c7203"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_on_device.resolve_dispatch_lib (cognitive 18): benchmark_on_device.resolve_dispatch_lib has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 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":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9317dfd39e66f93b751fd252bc9019e1541351ae5b49bcb790ccc3d78fc2c7"}},{"ruleId":"D2","level":"warning","message":{"text":"install_and_verify.find_app_module (cognitive 18): install_and_verify.find_app_module has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (6 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":"skills/platform-devices/litert-google-tensor/scripts/install_and_verify.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d30f4361b528c7dedee75ad6969e1ffc6698d6a9f6ccc237dcfcdfb8178e41f"}},{"ruleId":"D2","level":"warning","message":{"text":"report_template.html.renderSeverityPies (cognitive 18): report_template.html.renderSeverityPies has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 5. Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 1887, 1906, 1942, \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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20c81730fc0822578c1b0f035a2a683ae0ee98a135f2ee1576f6b79ba8517e8"}},{"ruleId":"D2","level":"warning","message":{"text":"list_trace_scope_table_names.main (cognitive 17): list_trace_scope_table_names.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 4 (6 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c4b80a7c2903f77b8b73e0be0588a6a8aaaee5cfa02989b411ab82ddc06c6d"}},{"ruleId":"D2","level":"warning","message":{"text":"scan_duplicates.validate_directory_tf_files (cognitive 17): scan_duplicates.validate_directory_tf_files has cognitive complexity 17 (threshold 15). Drivers by points: if/else 2 (5 pts), loops 4 (5 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6f4b68e78dd5cd2a5ca566b41afcbad7caccf57eadafb1b16e68c1e1064a43"}},{"ruleId":"D2","level":"warning","message":{"text":"parse_adk_traces.main (cognitive 17): parse_adk_traces.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 1 (2 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":"skills/cloud/agent-platform-eval-flywheel/scripts/parse_adk_traces.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"1560089eccd39c4790586bd9377ffa8996fd47979edf87f57a51657c78d04f7b"}},{"ruleId":"D2","level":"warning","message":{"text":"Linter.lint_file (cognitive 17): Linter.lint_file has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, loops 3 (4 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":"skills/cloud/api-gateway-troubleshooting/scripts/lint_openapi_for_gateway.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"664b49a124f5e41e39a03620016ee934d0047e4b8bc9cf553737d4c140b7f332"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_params.validate_update_params (cognitive 17): validate_params.validate_update_params has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 1 (2 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":"skills/cloud/assured-workloads-basics/scripts/validate_params.py"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39e9d6a9840b3223859158cab7649df24ff6e1c1037fc9fcfd76634f5b7bd39"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_control_rules.get_target_asset_types (cognitive 17): evaluate_control_rules.get_target_asset_types has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (5 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":"skills/cloud/assuredworkloads-environment-assessor/scripts/evaluate_control_rules.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c6930ddb8f2991ae33240af3056a74221340013913f3ccf8bb00c7581a12e5"}},{"ruleId":"D2","level":"warning","message":{"text":"extraction_stats_template.discover_zip_sources (cognitive 17): extraction_stats_template.discover_zip_sources has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, 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":"skills/cloud/bigquery-migration-metadata-extractor/assets/extraction_stats_template.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dbc0b920e4ced20d901930ba8015da0f8d807a4ab07391e6709b25b7e6b401"}},{"ruleId":"D2","level":"warning","message":{"text":"upgrade_policy.generate_gcloud_commands (cognitive 17): upgrade_policy.generate_gcloud_commands has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 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":"skills/cloud/cloud-armor-crs-rule-upgrader/scripts/upgrade_policy.py"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"b661515c9929358380d4600199e766117547a4e8d9881803d8c0f0636d0e26e7"}},{"ruleId":"D2","level":"warning","message":{"text":"inventory.fetch_flow_log_configs (cognitive 17): inventory.fetch_flow_log_configs has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (9 pts), boolean chains 4, if/else 1 (4 pts) (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/scripts/inventory.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb35842adb3335786f26b8cc49624032556c4b7db66858750a6b7ca24129d73"}},{"ruleId":"D2","level":"warning","message":{"text":"verify_claim.render (cognitive 17): verify_claim.render has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 3 (6 pts), ternaries 1 (4 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":"skills/cloud/cloud-logging-finops/scripts/verify_claim.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d9ae103f37ed4b45ab02f4be793ed4866b70eee24a7306e14a4ff26303d74b"}},{"ruleId":"D2","level":"warning","message":{"text":"list_trace_scope_table_names.main (cognitive 17): list_trace_scope_table_names.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 4 (6 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_trace_scope_table_names.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb0e837a9b89c8e8eaf97c1ba3bc5be32ed3eeac0b23382e1fd1c52435e2119"}},{"ruleId":"D2","level":"warning","message":{"text":"scan_duplicates.validate_directory_tf_files (cognitive 17): scan_duplicates.validate_directory_tf_files has cognitive complexity 17 (threshold 15). Drivers by points: if/else 2 (5 pts), loops 4 (5 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/scan_duplicates.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a9f686b498d04bf9c662ba0bb1afdfd550fa77ff19849ba2308de52afa2b7d"}},{"ruleId":"D2","level":"warning","message":{"text":"release_radar.enrich_sparse_entry (cognitive 17): release_radar.enrich_sparse_entry has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, error handling 2, loops 1, ternaries 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":"skills/cloud/google-cloud-release-radar/scripts/release_radar.py"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"216b1c2b0f45c1987715837b2110bd066a86f5cada0f5e59b81dcb112cb473e1"}},{"ruleId":"D2","level":"warning","message":{"text":"least_privileged_role.find_least_privileged_role (cognitive 17): least_privileged_role.find_least_privileged_role has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (6 pts), boolean chains 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":"skills/cloud/iam-helper-for-troubleshooting/scripts/least_privileged_role.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb2d35fbc9f39ae27a5ca32c97597e043e5637b6d61a3e86983ad2a0fc84168"}},{"ruleId":"D2","level":"warning","message":{"text":"environment_health.main (cognitive 17): environment_health.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (6 pts), error handling 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":"skills/cloud/managed-airflow-recommendations/scripts/environment_health.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f700cacdd2ad8e7a6cd969d957037a2cc26ab50dd3d59996a613ea0c77b1d3"}},{"ruleId":"D2","level":"warning","message":{"text":"install_and_verify.wait_for_result (cognitive 17): install_and_verify.wait_for_result has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), error handling 1 (5 pts), loops 2 (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":"skills/platform-devices/litert-google-tensor/scripts/install_and_verify.py"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"2884a5ff4c3d53b9158f79d636be22eb0174dab817420b0b285dc141ac2cdd51"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.plugin_version (cognitive 17): package_ai_pack.plugin_version 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":2718}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d400c674a7d5dc1cf5e89b696e4b03f1c9664563cde38aaebaeb52f5423f555"}},{"ruleId":"D2","level":"warning","message":{"text":"report_template.html.renderExtraneousSpend (cognitive 17): report_template.html.renderExtraneousSpend has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, ternaries 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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":2732}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bfef40a9566966681dd9a07b2f01936eacca3b816ee360a58bd9a5e2b0ba42"}},{"ruleId":"D2","level":"warning","message":{"text":"gather_agent_info.find_agent_via_cais (cognitive 16): gather_agent_info.find_agent_via_cais has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (8 pts), if/else 3 (6 pts), error handling 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":"skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cadd8d21d5f4ba2c7bb68fad03733f439dad645a965febdbb1548a0b46b7c01"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_workload_payload.validate_v2_workload_payload (cognitive 16): validate_workload_payload.validate_v2_workload_payload 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":"skills/cloud/assuredworkloads-environment-assessor/scripts/validate_workload_payload.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9f5f1a6be41dd2fade386e7fed20e5570478c910ee4c38f69b27344733ca17"}},{"ruleId":"D2","level":"warning","message":{"text":"SQLExtractor._extract_joined_str (cognitive 16): SQLExtractor._extract_joined_str has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), ternaries 2 (4 pts), boolean chains 2, 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":"skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"9764797023040231550be20405d458e01bb04773200202e8ecababd50befd6ee"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregations.get_mom_patterns (cognitive 16): aggregations.get_mom_patterns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 2 (5 pts), loops 2 (3 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":"skills/cloud/cloud-logging-finops/scripts/aggregations.py"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2badc984b58c2e6deb9a336c8f78924c164943923b81b569e95f06c5bba492"}},{"ruleId":"D2","level":"warning","message":{"text":"pricing.build_price_book (cognitive 16): pricing.build_price_book has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 3 (5 pts), boolean chains 3, loops 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":"skills/cloud/cloud-logging-finops/scripts/pricing.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efd188398ee4867fb21228d1701b230e3af061a1c4e4f963a7d16cfa5194a34"}},{"ruleId":"D2","level":"warning","message":{"text":"gather_agent_info.find_agent_via_cais (cognitive 16): gather_agent_info.find_agent_via_cais has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (8 pts), if/else 3 (6 pts), error handling 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":"skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3e77a050a8f473c67146e87550732c456000fc98d2472dfecc4416675740c7"}},{"ruleId":"D2","level":"warning","message":{"text":"FilestoreAuditor.audit_instance (cognitive 16): FilestoreAuditor.audit_instance has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (6 pts), if/else 4 (5 pts), boolean chains 3, error handling 1, loops 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, 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":"skills/cloud/google-cloud-filestore-auditing/scripts/filestore_audit.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5aaf234f5ce024c628caf34585434000bd21a92829d4c7b1b1c5159f8958d5"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_on_device.versions_summary (cognitive 16): benchmark_on_device.versions_summary has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6 (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, 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":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d14f33043e45ede5cdb3f0e93d7f2ad93608c5fd75d9a2d323caea852dacc6"}},{"ruleId":"D2","level":"warning","message":{"text":"compile_model._resolve_sdk_input (cognitive 16): compile_model._resolve_sdk_input has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 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":"skills/platform-devices/litert-google-tensor/scripts/compile_model.py"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fa1a1d5475ef3aea88da0fb455f0c4070865ce0784545d44f76b887dd20e3f"}},{"ruleId":"D2","level":"warning","message":{"text":"package_ai_pack.app_module_for (cognitive 16): package_ai_pack.app_module_for has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, loops 2 (3 pts), ternaries 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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"47eebc33087cde039bbd7290e0291f5be8884d8b4611c5194b7c6ec5262057fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/package_ai_pack.py: FileTooLong \u2014 2883 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2383 over it, 5.77\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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d18ad818a3ed143700597022ad0549d39ae19367e02da2c6a315ce8587da51a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: infographic_template.html.renderAll: FunctionTooLong \u2014 renderAll runs 375 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 275 over it, 3.75\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":"skills/developers/migrate-to-rust/references/infographic_template.html"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"548f1063e607e5f77ebdfe0facc75b60356de1ddf14aaf67ba34d5a4c5688aac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/dbt_translator.py: FileTooLong \u2014 1661 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1161 over it, 3.32\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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"830535030bf0cb5d004da6f6f1b4b7911cc110b90fddaf7ba214b3fafcfa4de6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/benchmark_on_device.py: FileTooLong \u2014 1557 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1057 over it, 3.11\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":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9670ebbd489de2f7372c6cf5083cc787038f8ac09523fb01c29e512a32ba8441"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: assets/report_template.html: FileTooLong \u2014 1501 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1001 over it, 3.00\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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b6f3921d285f55e3f6e0ab67c65305bfbdb78f80b6534e868422b3c7c9f100"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/compile_model.py: FileTooLong \u2014 1442 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 942 over it, 2.88\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":"skills/platform-devices/litert-google-tensor/scripts/compile_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"051859ffec99b8737943214e15c5e99e4126f5317799a4284e3922323ebe3024"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/provenance.py: FileTooLong \u2014 1154 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 654 over it, 2.31\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":"skills/cloud/cloud-logging-finops/scripts/provenance.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acac10227d4509d57c2b22b39cab55622673e1e20d77bd18007cd07b85a5eea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/telemetry.py: FileTooLong \u2014 1047 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 547 over it, 2.09\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":"skills/developers/migrate-to-rust/scripts/telemetry.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"312a309a9cc48501f2d73feb320992afd1ba594392bc5eb5943f1b2b243a2a5a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/validate_params.py: FileTooLong \u2014 1030 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 530 over it, 2.06\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":"skills/cloud/assured-workloads-basics/scripts/validate_params.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fa761ab2cbcb414d0516416c035fd3e1ab3aa0f5fa4d91266a2ebb2ffef2dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: assets/extraction_stats_template.py: FileTooLong \u2014 941 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 441 over it, 1.88\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":"skills/cloud/bigquery-migration-metadata-extractor/assets/extraction_stats_template.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3b02dee8197e0274b9f3c1034d077e0fc9bcfd75223046a825a473c0bee79b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: assets/python_embedded_sql_migrator_template.py: FileTooLong \u2014 855 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 355 over it, 1.71\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":"skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac96435a3ee00c3e90e3d6992cfabbd8549ce25957bdee149194c08a9d3d11a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/release_radar.py: FileTooLong \u2014 816 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 316 over it, 1.63\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":"skills/cloud/google-cloud-release-radar/scripts/release_radar.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9a205be0609900443e761d953022d5694c96acdedc88121ddef345549f5493"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/debug_workload.py: FileTooLong \u2014 736 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 236 over it, 1.47\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":"skills/cloud/pathways-workload/scripts/debug_workload.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1105f22dac917d0ad0d41567ea8a24e80a5c6c3cbf8351ad98081f80c64dad17"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/upgrade_policy.py: FileTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 207 over it, 1.41\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":"skills/cloud/cloud-armor-crs-rule-upgrader/scripts/upgrade_policy.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d98e1fe362ff9a26081015f55fa986c3b9b50a60d882e291f9061a532d85d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: report_template.html.hydrateDashboard: FunctionTooLong \u2014 hydrateDashboard runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"75621ecdc4425696e7cbf574ca2cfc9b625acaa5d3f3b41c967804d5fdaf310b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: report_template.html.renderDailyServiceChart: FunctionTooLong \u2014 renderDailyServiceChart runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fba1e6d174f79c4e2060f5ca0240e35b0636bf20d488aca70e42ddde289523"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/manage_workload_updates.py: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 109 over it, 1.22\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":"skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f722b87bf7fbc7b420b3acef7071a96408c6de189b5341aaadafb7057e6ca4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: report_template.html.renderTrendChart: FunctionTooLong \u2014 renderTrendChart 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":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0002c0933843bd1c1c1c1fae956a618e348daaf1ff70c42299e2cd023dc702"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 68 shared lines): skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:183-319 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py:183-319 | skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py:89-189 | skills/cloud/gke-alert-configuration/scripts/validate_config.py:130-230 \u2014 These 4 members are variants of one another: a block of 68 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dc9ca34ca8ce62dcd69fb6c4265090d1a65b5c9bf9605c9cf6204ed4ad881f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 34 shared lines): skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py:27-91 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/scan_duplicates.py:31-95 | skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py:193-259 | skills/cloud/gke-alert-configuration/scripts/validate_config.py:317-380 \u2014 These 4 members are variants of one another: a block of 34 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5e583ec94b7b34878dfeb9765ce35b8bffe4899d2f9f151a3f461b102e7c65"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:76-95 | skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:99-116 | skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:120-137 | skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:141-158 | skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:223-240 | skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:244-264 | skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:268-286 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc56d9e3bfb408205fc4687d877ba92d2f4f8ad5dd5eae5f204b48bc8966460"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:23-34 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py:23-34 | skills/cloud/cloud-monitoring-alert-configuration/scripts/lint_promql.py:13-24 | skills/cloud/gke-alert-configuration/scripts/validate_config.py:37-48 \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":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83ad4e098eb207ffee2c1005eedc776d3acd036b2023134ce3f8ecbdaea888c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): skills/cloud/agent-platform-alert-configuration/scripts/lint_syntax.py:23-53 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/lint_syntax.py:26-56 | skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py:263-312 | skills/cloud/gke-alert-configuration/scripts/validate_config.py:384-445 \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":"skills/cloud/agent-platform-alert-configuration/scripts/lint_syntax.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf2043df0c709047079f0cbf903ddb90bcfeee2c26f4da8e43efc9d85ef89c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py:45-66 | skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py:46-64 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_log_scope_table_names.py:45-66 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_trace_scope_table_names.py:46-64 \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":"skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81dee8a8abca6fb42f6118936d320229d514fa281b36168afcbbd7a81809f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py:70-97 | skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py:68-98 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_log_scope_table_names.py:70-97 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_trace_scope_table_names.py:68-98 \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":"skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cba3f51b8d6160fb10931a8ab8edcaf0331df2d00b4e4fd6165a7635035967"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py:124-163 | skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py:102-147 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_log_scope_table_names.py:124-163 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_trace_scope_table_names.py:102-147 \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":"skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb26f3c56aefef5f06f370d1bb67cefdabf816851adba047803f65b0b203804"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): skills/cloud/cloud-trace-querying/scripts/fetch_entire_trace/src/main.py:28-59 | skills/cloud/cloud-trace-querying/scripts/fetch_related_logs/src/main.py:53-76 | skills/cloud/cloud-trace-querying/scripts/fetch_trace_span/src/main.py:48-85 | skills/cloud/cloud-trace-querying/scripts/search_traces/src/main.py:16-72 \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":"skills/cloud/cloud-trace-querying/scripts/fetch_entire_trace/src/main.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a1bae128dd38b10e2811a4a3fd19248a0684b7b0063c77b9cddddea90bae9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (95 corresponding lines): skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py:924-1018 | skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py:1044-1145 \u2014 These two members are one piece of code written twice and then edited apart: 95 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5fadaa22b53e73773ef5b62a72156c01c71a30491b507063dee958a8301b65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 122\u002B corresponding lines): skills/cloud/managed-airflow-recommendations/scripts/workload_cpu_usage.py:28-152 | skills/cloud/managed-airflow-recommendations/scripts/workload_disk_usage.py:28-152 | skills/cloud/managed-airflow-recommendations/scripts/workload_memory_usage.py:28-152 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 122 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":"skills/cloud/managed-airflow-recommendations/scripts/workload_cpu_usage.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5713f48e57afeb3ba10f9e3edc20ee6ff1b5f306eb0c411562cf23a7e4fb60e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (92 corresponding lines): skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py:207-298 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py:213-310 \u2014 These two members are one piece of code written twice and then edited apart: 92 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a87a44a20ea1457f02375487819a08e185587fbe7ed262202c77ccdc1e88f39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:119-179 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py:119-179 \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":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"487527959ace539875cd2c2eecab3f3f6d11936c078d9450dbf24bf3f75c0d6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:107-173 | skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:177-253 \u2014 These two members are one piece of code written twice and then edited apart: 67 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e491cb2786d8a8abec68d706e483e33a574ba889d9ea4197c4ccf645548516da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (115 corresponding lines): skills/cloud/managed-airflow-recommendations/scripts/environment_health.py:27-141 | skills/cloud/managed-airflow-recommendations/scripts/workload_restarts.py:28-144 \u2014 These two members are one piece of code written twice and then edited apart: 115 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/managed-airflow-recommendations/scripts/environment_health.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a5ab87cccbeeb5c1adb1dc6147ec3aea237b23118c17d811e5ee52e4cc6533"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): skills/cloud/api-gateway-backend-security-and-rate-limiting/scripts/check_quota_metrics.py:78-99 | skills/cloud/api-gateway-backend-security-and-rate-limiting/scripts/check_quota_metrics.py:103-126 \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":"skills/cloud/api-gateway-backend-security-and-rate-limiting/scripts/check_quota_metrics.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f71edd9bb7af839e8141cf37d2ad679dcd5e6df19dce72c31ce6161ee21f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py:755-778 | skills/cloud/assured-workloads-basics/scripts/restrict_allowed_resources.py:386-406 \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":"skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c32cf80849229c6a2a5882dd117f3726e676a516ea3518e053d36758de2e1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): skills/cloud/api-gateway-mcp-server/scripts/validate_mcp_openapi.py:57-78 | skills/cloud/api-gateway-openapi-spec-authoring/scripts/validate_apigw_openapi.py:196-232 \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":"skills/cloud/api-gateway-mcp-server/scripts/validate_mcp_openapi.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b8b2f23d7145282d8f39c964837910ace776d67d32605799f8a62d6d5d85ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py:95-116 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/scan_duplicates.py:99-123 \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":"skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b02ebe633f310de7114c2c73474412b4df96a0278b880957564bd94249cf58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 16\u002B corresponding lines): skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:259-281 | skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:312-328 | skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:332-347 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py:263-287 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py:318-337 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py:341-359 \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":"skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"892a56b51142488ef73f578c988919491d5119f3ab3cc67e4c6d7b214a188f9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): skills/cloud/cloud-trace-querying/scripts/fetch_related_logs/src/observability_scopes.py:27-43 | skills/cloud/cloud-trace-querying/scripts/fetch_related_logs/src/observability_scopes.py:49-62 \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":"skills/cloud/cloud-trace-querying/scripts/fetch_related_logs/src/observability_scopes.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"363b241b216db0fe154d741110808c43ce740580f126f518b77300264ef94132"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): skills/cloud/cloud-logging-finops/scripts/monitoring.py:363-377 | skills/cloud/cloud-logging-finops/scripts/monitoring.py:396-406 \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":"skills/cloud/cloud-logging-finops/scripts/monitoring.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"e421a418daed1aed20a95e91ef300522c57e5eabca121ad0cf7089e443379d42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py:1534-1562 | skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py:1566-1586 \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":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"b436e4b0f4f652510823f8d172f89f2b499b2915f037229c8de21c6b51ef85cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): skills/cloud/agent-platform-inference/scripts/gemini_openai_sdk.py:9-13 | skills/cloud/agent-platform-inference/scripts/openmaas_openai_sdk.py:9-11 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-inference/scripts/gemini_openai_sdk.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21116a5316b7e906414af3c4e3eee8f9b072fd937f4bc5bf441bc12f63eef90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): skills/cloud/agent-platform-autorater-customization/scripts/build_review_page.py:57-60 | skills/cloud/agent-platform-autorater-customization/scripts/render_agent_data.py:25-28 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-autorater-customization/scripts/build_review_page.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a7e93aab62aa38fd65cdaeeb5e80b8c003f004b2e08b1d049924d86471a7aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (115 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:358-472 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py:370-484 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 322 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 \u0060skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:358\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":"skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"61596e44896d91a7c4f7611adc7be6f8305ecfea46034549c24a440b98fa0d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (100 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py:302-401 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py:314-413 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 300 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":"skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66a9307d0c50e8467813f56fb06001bbb2694538c2cdac5a6d62079e3c27b18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (96 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py:71-166 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py:77-172 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 300 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ed17cb16e29614d69c3f2ccf3565bc97afea22357028d34713746c5bbfe855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py:220-298 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py:232-310 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 300 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py:227\u0060 calls \u0060CredentialsMissingError\u0060 and \u0060skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py:218\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":"skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1e85e8f8fb466c8bdff96e8261af2fc7423be4fb648c6a1b20644c3842635c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (76 lines \u00D7 3): skills/cloud/managed-airflow-recommendations/scripts/workload_cpu_usage.py:77-152 | skills/cloud/managed-airflow-recommendations/scripts/workload_disk_usage.py:77-152 | skills/cloud/managed-airflow-recommendations/scripts/workload_memory_usage.py:77-152 \u2014 before extracting anything, compare \u0060skills/cloud/managed-airflow-recommendations/scripts/workload_cpu_usage.py\u0060 and \u0060skills/cloud/managed-airflow-recommendations/scripts/workload_disk_usage.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060skills/cloud/managed-airflow-recommendations/scripts/workload_cpu_usage.py:77\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":"skills/cloud/managed-airflow-recommendations/scripts/workload_cpu_usage.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fe086210140f317b6044a5efa304801716e637f49eb372170304ba49ee507c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (76 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/create_online_monitor.py:72-147 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/create_online_monitor.py:72-147 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/create_online_monitor.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/create_online_monitor.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/create_online_monitor.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd587152af05485bb922176ce8e5a47139c29e73b1cc3d9aeac735e4b93753ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:256-319 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py:256-319 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 292 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 \u0060skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:256\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":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a9e70dfb00ab2c013878bed7071b374643b0e9749a183c3013f96d0c46a2e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57\u201359 lines \u00D7 2): skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py:201-259 | skills/cloud/gke-alert-configuration/scripts/validate_config.py:324-380 \u2014 before extracting anything, compare \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py\u0060 and \u0060skills/cloud/gke-alert-configuration/scripts/validate_config.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 255 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db5903b9bba9718aadcf41c55b1cb0f3c03901f901bdffbd5102ff593876be4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py:35-91 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/scan_duplicates.py:39-95 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/scan_duplicates.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"68328f30569c29d209a60ff2e8dcb3a8bc28a349c291d74b529550d31fe83ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 4): skills/cloud/managed-airflow-recommendations/scripts/workload_cpu_usage.py:32-87 | skills/cloud/managed-airflow-recommendations/scripts/workload_disk_usage.py:32-87 | skills/cloud/managed-airflow-recommendations/scripts/workload_memory_usage.py:32-87 | skills/cloud/managed-airflow-recommendations/scripts/workload_restarts.py:32-87 \u2014 before extracting anything, compare \u0060skills/cloud/managed-airflow-recommendations/scripts/workload_cpu_usage.py\u0060 and \u0060skills/cloud/managed-airflow-recommendations/scripts/workload_disk_usage.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060skills/cloud/managed-airflow-recommendations/scripts/workload_cpu_usage.py:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/managed-airflow-recommendations/scripts/workload_cpu_usage.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa73d5813b83c17ede323e460535084361dda9b54b73227076f228e2546e62d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/check_telemetry.py:123-178 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/check_telemetry.py:123-178 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/check_telemetry.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/check_telemetry.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 139 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":"skills/cloud/agent-platform-alert-configuration/scripts/check_telemetry.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f762c65854cb6c22b9b3f5165a6acf644cb6ec96461d7e521f5928265fa80d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:68-121 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py:72-125 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 322 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8862bd9efab902bf61350e27d1563b2884da3420b6f6671246afa9fcbba9b497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:129-179 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py:129-179 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 292 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb42f2750da2d2aa35ac8063e0e88576ead1ef6a803799367da964ec8880cdba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/check_telemetry.py:32-77 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/check_telemetry.py:32-77 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/check_telemetry.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/check_telemetry.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 139 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/check_telemetry.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce22b47741eab604cda8b607e03e46c72649e59c1ab0bbbcacd86a133c784624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py:102-147 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_trace_scope_table_names.py:102-147 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_trace_scope_table_names.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 131 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":"skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5231ddeeb0077ad767e055be5e24c29022d6a796de25adc8810590bb10894aa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 4): skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:183-227 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py:183-227 | skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py:89-133 | skills/cloud/gke-alert-configuration/scripts/validate_config.py:130-174 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 292 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 \u0060skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:183\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, \u0060skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:230\u0060 calls \u0060search\u0060, \u0060group\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py:136\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":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1de6b467ccea59f2ae6908c4328a09a62edb350ee650a2e4808120ba3aa07bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py:124-163 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_log_scope_table_names.py:124-163 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_log_scope_table_names.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 142 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":"skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fdaedddd50e5b849dbb7e31cce9539948b7640e99f81e5a892fd8f234ffaa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:124-162 | skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:193-230 \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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"74958d774f1dc0df38528d95443eaaf08e2e7bf2c4b5b19c255497b2dc218844"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/check_telemetry.py:83-119 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/check_telemetry.py:83-119 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/check_telemetry.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/check_telemetry.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 139 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/check_telemetry.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fd607da12f457a77e53fde15a179305cd71e231c636842c9f1c0f8081369ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:82-115 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py:82-115 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 292 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"601b007e7be6f953583c39539583b618347f1446883ec5781bdf64e0d1115181"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:162-195 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py:166-199 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 322 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8b56410d84c9631c7d6f89954cc80c91658e78fa55dd97f822a335dd999013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/create_online_monitor.py:151-183 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/create_online_monitor.py:151-183 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/create_online_monitor.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/create_online_monitor.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 136 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":"skills/cloud/agent-platform-alert-configuration/scripts/create_online_monitor.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"58433d81035f424ddf0f43170dd4f8807f0d6ec40c56634c7f7a4a937eb514db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py:158-189 | skills/cloud/gke-alert-configuration/scripts/validate_config.py:199-230 \u2014 before extracting anything, compare \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py\u0060 and \u0060skills/cloud/gke-alert-configuration/scripts/validate_config.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 255 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"63976f4809f93b140dd8b72a530dcf527d244b5e87c88bb246b1e74d758888cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py:68-98 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_trace_scope_table_names.py:68-98 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_trace_scope_table_names.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 131 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbd5ed8b386b16df235f700d7c11b8a06ccc77fce2733b30514b74a80173742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:127-156 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py:131-160 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 322 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c0b4504cce2d1b51f620e7972df2145e7e65cd451f6fa6854ec835ebb1691a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): skills/cloud/application-design-center-design-deploy/scripts/fetch_terraform_template.py:74-102 | skills/cloud/application-design-center-design-deploy/scripts/fetch_terraform_template.py:145-174 \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 \u0060skills/cloud/application-design-center-design-deploy/scripts/fetch_terraform_template.py:145\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. 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":"skills/cloud/application-design-center-design-deploy/scripts/fetch_terraform_template.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ba84baf006f30ca86c0a9d92796c51eee127b55daf7091da8a9810ae34fd0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py:90-118 | skills/cloud/assured-workloads-basics/scripts/validate_params.py:1308-1336 \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":"skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c128b367c22806c35fb42b6d358f81fb43bc3e693fc09de212114f4ebc9fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201328 lines \u00D7 4): skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:247-269 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py:247-269 | skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py:149-176 | skills/cloud/gke-alert-configuration/scripts/validate_config.py:190-217 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 292 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 \u0060skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:247\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":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83198c0749b39aea0e26267351c32f6ed1b4e21d0fa604afea721f97be438c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py:70-97 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_log_scope_table_names.py:70-97 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_log_scope_table_names.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4b666a7a3e24e03703c2694c4d0dc8f3709a272a61a8041390608fc9f557d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/create_online_monitor.py:37-63 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/create_online_monitor.py:37-63 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/create_online_monitor.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/create_online_monitor.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 136 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/create_online_monitor.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b437841417aa5a4c6905615600f2159df0e5e08af484cdf0326ab904a00a282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 2): skills/cloud/managed-airflow-recommendations/scripts/dag_parsing_stats.py:36-62 | skills/cloud/managed-airflow-recommendations/scripts/environment_health.py:54-78 \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 \u0060skills/cloud/managed-airflow-recommendations/scripts/dag_parsing_stats.py:36\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/managed-airflow-recommendations/scripts/dag_parsing_stats.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6931d8b6232c8ab6d155a26535ed846a1a499a77f8141df5428c379733397ad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/lint_syntax.py:23-48 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/lint_syntax.py:26-51 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/lint_syntax.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/lint_syntax.py\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/lint_syntax.py:22\u0060 calls \u0060insert\u0060, \u0060dirname\u0060, \u0060abspath\u0060 and \u0060skills/cloud/agent-platform-alert-configuration/scripts/lint_syntax.py:19\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":"skills/cloud/agent-platform-alert-configuration/scripts/lint_syntax.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"52956823ffebc1adcb55596b8a00acc9a1540c588ddb37878492a5443fbc836d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): skills/cloud/assured-workloads-basics/scripts/diagnose_error.py:223-248 | skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py:263-288 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assured-workloads-basics/scripts/diagnose_error.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d2afd33b33c1ecfb041b15c2053c46dca6d8b32cf2f12d1e486d9f9a1420ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py:175-199 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py:181-205 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 300 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea0af7179ddfe10d3d5e7e4b8faf4aa39160ba0f77760264bf4dc38591b1d1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py:288-312 | skills/cloud/gke-alert-configuration/scripts/validate_config.py:421-445 \u2014 before extracting anything, compare \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py\u0060 and \u0060skills/cloud/gke-alert-configuration/scripts/validate_config.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 255 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":"skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"e598fa5ac7c4e6de1ada497ea2909ddac0e8fde892a2c19e2137d59322e1f2b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:621-643 | skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:673-693 \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 \u0060skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:621\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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43f0ddb2a7eb835828583b961a06f5de020e6cdf5f09fce4960e8260d17b16c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:287-308 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py:293-314 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 322 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c535158bf3784e7cf72016d18ddf1fa513a111261bda30e1fc227fe6f7f21b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:58-78 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py:58-78 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 292 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"63725e9269f1c831d38c2e1952c95749c763779ae233584a2a615f3291f3a490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:119-138 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py:119-138 | skills/cloud/cloud-monitoring-alert-configuration/scripts/lint_promql.py:28-46 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 292 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 \u0060skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:119\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":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"47eaa6784b16fde7ca2a781a4c7597e20e143ea7e35278a34063a04d1f7fe841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py:101-120 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_log_scope_table_names.py:101-120 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_log_scope_table_names.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 142 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef960b936df19825ff251f665b82c36f16e120bb6b348b4de1737cccc2182f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py:97-116 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/scan_duplicates.py:104-123 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/scan_duplicates.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 113 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 \u0060skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3732a888a3b87a6eeb608508623e53accf66399f33e878b23c2dc0f211e96a88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py:61-80 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/scan_duplicates.py:65-84 | skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py:231-249 | skills/cloud/gke-alert-configuration/scripts/validate_config.py:352-370 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/scan_duplicates.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 113 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 \u0060skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py:61\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":"skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ab95dc078a875236d6212f2d43d7a333d4c981aabe8f6e2df44c8c3ec1b7b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py:743-766 | skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:2083-2101 | skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:2368-2389 \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 \u0060skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py:743\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":"skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07844760afa807475af6771cd6bc7a0c5df8d0ecb69d2d7546bae9bce2bfa0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py:268-286 | skills/cloud/gke-alert-configuration/scripts/validate_config.py:394-412 \u2014 before extracting anything, compare \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py\u0060 and \u0060skills/cloud/gke-alert-configuration/scripts/validate_config.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 255 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 \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py: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":"skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49d87d701822837cfbefff043b71ea6b98fe1de923bdfda9a0829a1f0bd910b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:356-374 | skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:1005-1025 \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 \u0060skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:356\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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5243073c1e2e7e1256d13b7fea62e18a9e4d9711b5875be8b5cbcaa9b9bd4c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:771-786 | skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:797-815 \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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef37ed349451592c37a22ee58498b34ade204a5a6dc7bcfab67841f27b81e6f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): skills/cloud/managed-airflow-recommendations/scripts/environment_health.py:41-58 | skills/cloud/managed-airflow-recommendations/scripts/workload_cpu_usage.py:51-68 | skills/cloud/managed-airflow-recommendations/scripts/workload_disk_usage.py:51-68 | skills/cloud/managed-airflow-recommendations/scripts/workload_memory_usage.py:51-68 | skills/cloud/managed-airflow-recommendations/scripts/workload_restarts.py:51-68 \u2014 before extracting anything, compare \u0060skills/cloud/managed-airflow-recommendations/scripts/workload_cpu_usage.py\u0060 and \u0060skills/cloud/managed-airflow-recommendations/scripts/workload_disk_usage.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060skills/cloud/managed-airflow-recommendations/scripts/environment_health.py:41\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/managed-airflow-recommendations/scripts/environment_health.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b91217450134f0b3c46c98c49277d19914e64bd5911f874a74b3eeda2044829"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py:45-62 | skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py:46-63 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_log_scope_table_names.py:45-62 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_trace_scope_table_names.py:46-63 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py\u0060 and \u0060skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fc1aaedafa80b412669128356475da0de62076478bdda9fe312d1c38004725"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:1447-1464 | skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:1856-1873 | skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:2457-2474 \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 \u0060skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:2457\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:2475\u0060 calls \u0060startswith\u0060 and \u0060skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:1873\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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbead291df7911e5664167a58e356dc7c16f591a419d79dfdd466658849593c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:45-62 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py:49-66 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 322 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e19318c2a1b2ddb95fc77f2839e292362c03cd44484da1988cfe1a4d830a05f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): skills/cloud/managed-airflow-recommendations/scripts/environment_health.py:27-43 | skills/cloud/managed-airflow-recommendations/scripts/workload_cpu_usage.py:28-44 | skills/cloud/managed-airflow-recommendations/scripts/workload_disk_usage.py:28-44 | skills/cloud/managed-airflow-recommendations/scripts/workload_memory_usage.py:28-44 | skills/cloud/managed-airflow-recommendations/scripts/workload_restarts.py:28-44 \u2014 before extracting anything, compare \u0060skills/cloud/managed-airflow-recommendations/scripts/workload_cpu_usage.py\u0060 and \u0060skills/cloud/managed-airflow-recommendations/scripts/workload_disk_usage.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060skills/cloud/managed-airflow-recommendations/scripts/environment_health.py:27\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":"skills/cloud/managed-airflow-recommendations/scripts/environment_health.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56587b62e1bb651368fbccaa4536f00df66364f60ed61d48e4becf7859184b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): skills/cloud/google-cloud-filestore-auditing/scripts/filestore_audit.py:30-46 | skills/cloud/google-cloud-filestore-log-troubleshooting/scripts/diagnose_lib.py:22-38 | skills/cloud/google-cloud-filestore-nfs-browser/scripts/jump_host_engine.py:18-34 \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 \u0060skills/cloud/google-cloud-filestore-auditing/scripts/filestore_audit.py:30\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":"skills/cloud/google-cloud-filestore-auditing/scripts/filestore_audit.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfaf0e38ec36935c12c92c18eb308ba105f2d94519244ba14933445d167dcf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:38-54 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py:38-54 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 292 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7503f86c9958f5ca79e352daa28808965218971796e1165edc49eeec4872ddd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py:119-135 | skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py:161-177 \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":"skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d8ae09e127da065097cfd384e9d939d411ab7d1b87c09e3a3f3b93d2692961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py:27-42 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/scan_duplicates.py:31-46 | skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py:193-208 | skills/cloud/gke-alert-configuration/scripts/validate_config.py:317-331 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/scan_duplicates.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f323f73b97e3e74306a226f0918fccb72f1b7fb91a4825d115eaf484691518d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py:187-200 | skills/cloud/assured-workloads-basics/scripts/restrict_allowed_resources.py:151-166 \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 \u0060skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py:187\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":"skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9715d10173f89a1d7221620ef84842cc60d40964833b14d2172d298d328b4d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py:318-333 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py:341-355 \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 \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py:318\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":"skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4e50d9f8a794517621ad3dd7b1d0048ae4b78be00785a07843f81aa256573d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): skills/cloud/api-gateway-mcp-server/scripts/validate_mcp_openapi.py:82-96 | skills/cloud/api-gateway-openapi-spec-authoring/scripts/validate_apigw_openapi.py:294-308 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/api-gateway-mcp-server/scripts/validate_mcp_openapi.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c595a48d6bdd698b106c21ea2a538d3fc1bc5c3ecfdd22839d89fab234b0ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:489-502 | skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:507-520 \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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77a5e40e206f917db36d49a4e9b91e43d6037b6556ff812970c10a09272aed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:1910-1923 | skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:1969-1981 \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 \u0060skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:1910\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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":1910}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b42572a33808435b5d0e05566dd06d50726bc250264886acb50d747f8d531f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py:80-92 | skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py:82-94 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_log_scope_table_names.py:80-92 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_trace_scope_table_names.py:82-94 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py\u0060 and \u0060skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py:80\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. 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":"skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"178b32f1e5bf46581f6b0cdd551a25b397b3ee7cc6edf3ba813fcfc86a537d22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): skills/developers/migrate-to-rust/scripts/telemetry.py:1107-1119 | skills/developers/migrate-to-rust/scripts/telemetry.py:1253-1265 \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 \u0060skills/developers/migrate-to-rust/scripts/telemetry.py:1107\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, \u0060skills/developers/migrate-to-rust/scripts/telemetry.py:1251\u0060 calls \u0060add_argument\u0060 and \u0060skills/developers/migrate-to-rust/scripts/telemetry.py:1106\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":"skills/developers/migrate-to-rust/scripts/telemetry.py"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ddc961bfe43b347e90a14a4d77d4684866759be500fafeee13bc58c652da69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py:1003-1015 | skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py:1130-1142 \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 \u0060skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py:1003\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":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f8856bf7e7c0238f3d6b7a6a1eab761a3db71b7235fbb269bb99a28cd96272"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py:23-34 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py:23-34 | skills/cloud/cloud-monitoring-alert-configuration/scripts/lint_promql.py:13-24 | skills/cloud/gke-alert-configuration/scripts/validate_config.py:37-48 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 292 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc2b5266644ecf75847ad819d6e80d93b483ef42f7aefa67d0177eea6028407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py:128-139 | skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py:104-115 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_log_scope_table_names.py:128-139 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_trace_scope_table_names.py:104-115 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py\u0060 and \u0060skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py:128\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":"skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5659b72955cec37106f62e41c5f21d1f2a042d797b5fdbfed688bf1a08e460e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): skills/cloud/cloud-trace-querying/scripts/fetch_entire_trace/src/main.py:46-56 | skills/cloud/cloud-trace-querying/scripts/fetch_related_logs/src/main.py:62-73 | skills/cloud/cloud-trace-querying/scripts/fetch_trace_span/src/main.py:68-78 | skills/cloud/cloud-trace-querying/scripts/search_traces/src/main.py:58-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060skills/cloud/cloud-trace-querying/scripts/fetch_related_logs/src/main.py:62\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":"skills/cloud/cloud-trace-querying/scripts/fetch_entire_trace/src/main.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ec68d6a07f86d7bba4f019d47f0c2813fc2f459e376c5377fd037ec377f552"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:221-232 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py:225-236 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 322 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdacfb3b876798f9129b29384eef0111efa95000a4b915289083a35349c8cb5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:41-52 | skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:178-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":"skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"37202fabe5ca93655b8fbb726b1b84d61dea5630d7b33c9a936f99d712d45490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:104-115 | skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:228-239 \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":"skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55894e4db978576f8fee84727e04a60c8e9116d4050abac138e0db4366a887e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): skills/cloud/api-gateway-backend-security-and-rate-limiting/scripts/check_quota_metrics.py:83-94 | skills/cloud/api-gateway-backend-security-and-rate-limiting/scripts/check_quota_metrics.py:109-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060skills/cloud/api-gateway-backend-security-and-rate-limiting/scripts/check_quota_metrics.py:107\u0060 calls \u0060isinstance\u0060, \u0060get\u0060 and \u0060skills/cloud/api-gateway-backend-security-and-rate-limiting/scripts/check_quota_metrics.py:82\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":"skills/cloud/api-gateway-backend-security-and-rate-limiting/scripts/check_quota_metrics.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b858153e636d68710d8a8bd4a770ceda83e1cf9fde2c973fb1f37de60e70f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): skills/cloud/cloud-trace-querying/scripts/fetch_entire_trace/src/main.py:32-43 | skills/cloud/cloud-trace-querying/scripts/fetch_trace_span/src/main.py:51-62 \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":"skills/cloud/cloud-trace-querying/scripts/fetch_entire_trace/src/main.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"da436fda325dbbe9d8e5971f1ac089c50e67fa4ec1a3a305266625ffac73c635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): skills/cloud/agent-platform-alert-configuration/scripts/lint_syntax.py:43-53 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/lint_syntax.py:46-56 | skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py:297-307 | skills/cloud/gke-alert-configuration/scripts/validate_config.py:430-440 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/lint_syntax.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/lint_syntax.py\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/lint_syntax.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6325cb091e5c6592a49aa89eaca3ee7970251098e75a56679705328880b1b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:314-324 | skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:334-343 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:314\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":"skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f475d2cb81f4390384a4d83f1f565e0fef7a89a15e7d651445ee475fedff5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): skills/cloud/assured-workloads-basics/scripts/restrict_allowed_resources.py:149-159 | skills/cloud/assured-workloads-basics/scripts/validate_params.py:422-429 \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 \u0060skills/cloud/assured-workloads-basics/scripts/restrict_allowed_resources.py:149\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":"skills/cloud/assured-workloads-basics/scripts/restrict_allowed_resources.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"282d175e2605bd665d38cea2e2599320dbe2df5acf5bf20b2f9591d457cee14e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:478-488 | skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:494-504 \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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec41b0226618237fe99749f8b95dde46a21693e612a35032a6da26091fda0938"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:478-487 | skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:494-503 | skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:512-521 \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 after the matched lines, \u0060skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:488\u0060 calls \u0060group\u0060, \u0060upper\u0060 and \u0060skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:522\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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2235205f78c79ca1ca2b6c8aa5169a7859d1ad75ed2e5a80c9f38a6d294e0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:99-108 | skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:141-150 \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":"skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bbc1fa4bafe82086faf4af44296afee26d6f9538f8e0b4592af6127aa836f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py:769-778 | skills/cloud/assured-workloads-basics/scripts/restrict_allowed_resources.py:397-406 \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 \u0060skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py:769\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":"skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d753e2cac7e1adec6bd1615a182580118589903952ec3189c3382bd83ab5bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): skills/platform-devices/litert-google-tensor/scripts/install_and_verify.py:641-649 | skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py:3517-3526 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/install_and_verify.py"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"6990a169b2100a846a292fc2647864153695f913f2bc42d7f28e2972faa63c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 6): skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:88-95 | skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:109-116 | skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:130-137 | skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:233-240 | skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:256-264 | skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:279-286 \u2014 all 6 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 \u0060skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:256\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":"skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca2e9ea2e2dbc51e5c50dd3a5f4ac0f63db3a20696d18a6d7888cca264b7c1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:259-266 | skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:312-320 | skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:332-340 \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 \u0060skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:259\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f87c0dc993e4720f41d37057cc7fa8426f5b5d234df25a4012fa9d1d578cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:974-981 | skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py:1176-1184 \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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"61900e08793310121b2d1eaefa6f2a06fb222d807580424447672844a4f29bce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py:235-243 | skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py:294-302 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0cc2780327cfe3ffdd0be9829c30265d6b3c5512077856ec3dce4e0ab5f43bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): skills/cloud/assured-workloads-basics/scripts/diagnose_error.py:258-265 | skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py:189-196 | skills/cloud/assured-workloads-basics/scripts/restrict_allowed_resources.py:154-162 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assured-workloads-basics/scripts/diagnose_error.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3989411b322da570b0675a6760f31e12a88f7ca8402fe1502a42bec57f520f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): skills/cloud/bigquery-migration-metadata-extractor/assets/extraction_stats_template.py:882-889 | skills/cloud/bigquery-migration-metadata-extractor/assets/extraction_stats_template.py:956-963 \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":"skills/cloud/bigquery-migration-metadata-extractor/assets/extraction_stats_template.py"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"3becb2502f717b946b03d61a1bec497479d83adef52d5ad9e6ad0937be5c4607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): skills/platform-devices/litert-google-tensor/scripts/compile_model.py:1374-1381 | skills/platform-devices/litert-google-tensor/scripts/compile_model.py:1783-1790 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/compile_model.py"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e674281b61b2e63b4e77243e2cf07937e11e78a9e457468cec472b5fb0f965b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py:2520-2527 | skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py:3384-3393 \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 \u0060skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py:3384\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":"skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py"},"region":{"startLine":2520}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcd8316edfee8ceb5a9593c4aa76d2e0d81548779ccb12cace67e1a0b363c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:67-72 | skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py:214-219 \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":"skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"38df0e31821d2a72d2d70846717f4d3c0f336353d57022d46b0588d8309482ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py:980-988 | skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py:1107-1115 \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":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"9633f7747c315a725dd39c04ae058cff63ace265e7a61e5e7e9edfc9b8dd2d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py:585-592 | skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py:601-608 \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":"skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"00373cc51910479a836f36db9563bbd17c77264bd900de2c0ebe09e7d7100944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:199-217 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py:203-221 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 322 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a0974f49372b563302f48c1a07b73887a194ea0f5bb5917bdf4bcd1c79b851"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py:236-253 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py:240-257 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py\u0060 and \u0060skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/gather_agent_info.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 322 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c1210803b226b0bf912a98477a8b8ee9fe5bb66b48eef84639add2807757c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py:31-41 | skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py:32-42 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_log_scope_table_names.py:31-41 | skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/list_trace_scope_table_names.py:32-42 \u2014 before extracting anything, compare \u0060skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py\u0060 and \u0060skills/cloud/agent-platform-alert-configuration/scripts/list_trace_scope_table_names.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py: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":"skills/cloud/agent-platform-alert-configuration/scripts/list_log_scope_table_names.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8841383b56956f82f1d0a8ccb8b99aaf28633401478cd95c07e023e444e09b06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py:227-231 | skills/platform-devices/litert-google-tensor/scripts/check_compiled.py:69-73 | skills/platform-devices/litert-google-tensor/scripts/compile_model.py:368-372 | skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py:306-310 \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. 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":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a51dddcf8dbb93fb42ceb2f47a08f028f2792bcdc0ed90fd09932d739f999a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py:515-519 | skills/platform-devices/litert-google-tensor/scripts/compile_model.py:376-380 | skills/platform-devices/litert-google-tensor/scripts/package_ai_pack.py:1164-1168 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"478f34526aa9507bee7dad86d1bad7f2514a8a25a52335e731b3ee8d0ae8ac7f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py: 6.0% line coverage (8/133)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2be4f36c0627df414256f7814aaf57fab5f3eaec4db20ba7a86b13f34f29452"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: skills/cloud/agent-platform-alert-configuration/scripts/check_telemetry.py: 6.5% line coverage (5/77)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/check_telemetry.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"821bd363c4751b9a7617562af9d521e7f6f5ce6174cd0f64922dbee62d78db07"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py: 4.7% line coverage (8/172)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4ad06d30aa2bdae5f059758b800c2108f64d1321bc002e1b030f1ac28e389e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: skills/cloud/agent-platform-alert-configuration/scripts/create_online_monitor.py: 13.1% line coverage (8/61)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/create_online_monitor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d23965b4455dfa2a166507fbfb12b5380a9a5460728adeae28d8b6594463fc7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py: 10.4% line coverage (24/231)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/gather_agent_info.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a765ae56f2ab62dcb0ce0b0678c90adcd7715aaa62d630e824bfdc300a44c75"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py: 19.1% line coverage (9/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"779c3587f43908febc7d2f47caafb52ce71a9213db8d8c62574c2ebdf59736c0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: skills/cloud/application-design-center-design-deploy/scripts/fetch_terraform_template.py: 5.9% line coverage (8/136)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/application-design-center-design-deploy/scripts/fetch_terraform_template.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9272c5f60c991122b644b9f66cc0861dd5ec6ea7a2f623207a6c778567f758"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: skills/cloud/application-design-center-design-deploy/scripts/list_terraform_templates.py: 10.7% line coverage (6/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/application-design-center-design-deploy/scripts/list_terraform_templates.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23fd092d2987068c7c928c7acc22cc31b876d26a78f0b2535d40da70f9fa3a7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: skills/cloud/assuredworkloads-frameworks-navigator/scripts/db_output_match_analyzer.py: 36.8% line coverage (106/288)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assuredworkloads-frameworks-navigator/scripts/db_output_match_analyzer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8066b087fbb027842ff865fc4adcbd732e93afcc785c45506a033a3cd7025442"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: skills/cloud/assuredworkloads-frameworks-navigator/scripts/db_resources_loader.py: 29.3% line coverage (44/150)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assuredworkloads-frameworks-navigator/scripts/db_resources_loader.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbea39023cb8ec802602141c89d857a230db6a820622c40dde6bf1444f943839"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: skills/cloud/assuredworkloads-frameworks-navigator/scripts/db_search.py: 12.8% line coverage (5/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assuredworkloads-frameworks-navigator/scripts/db_search.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e044eed3b753dd3ff795a1e6b90e96c3e4e58261e80597ea2755cc7affbf80"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py: 17.7% line coverage (25/141)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea417105152f261fdf375099613ec84c6f9827a6bc2d438cbb4391c4b25bd53"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/check_telemetry.py: 14.3% line coverage (11/77)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/check_telemetry.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccdaf569abd13a42c35117f20f12771d79f16327224e6a854e9d186e5e65d49"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/create_online_monitor.py: 18.0% line coverage (11/61)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/create_online_monitor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade372409b0352979e7f40fc81200fe033392991a713868cb1fb4de15e9f459b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: skills/cloud/cloud-monitoring-alert-configuration/scripts/discover_metric_schema.py: 10.0% line coverage (22/219)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-monitoring-alert-configuration/scripts/discover_metric_schema.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bffcef790f75f18d42da84ad032a64779a0d935132309070a62539b23b0b92"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: skills/cloud/cloud-monitoring-promql-query/scripts/validate_promql.py: 7.9% line coverage (10/127)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-monitoring-promql-query/scripts/validate_promql.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0365efb5ffd94e02e8ab4170f2a2a26ed1e3c4b911212460d8ca2a82e8cef301"}},{"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":"752481b1943c139601edae05f134c3efb486262197aaa14671ac65d6718a8782"},"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: skills/cloud/agent-platform-tuning/scripts/prepare_dataset.py: skills/cloud/agent-platform-tuning/scripts/prepare_dataset.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in prepare_dataset.convert_to_jsonl at line 107. 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 12:11:22 -08:00\u0027 --until=\u00272026-11-16 12:11:22 -08:00\u0027 --full-history --no-merges -- skills/cloud/agent-platform-tuning/scripts/prepare_dataset.py\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":"skills/cloud/agent-platform-tuning/scripts/prepare_dataset.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37672f85fef92ed678d10c6a1b8c2c666e74025a222dfe7fe8fd3d25a08372b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py: skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in dbt_translator.sanitize_json_extractions at line 595. 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 12:11:22 -08:00\u0027 --until=\u00272026-11-16 12:11:22 -08:00\u0027 --full-history --no-merges -- skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py\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":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a2ea136efd15a764857b374e35bb3e7040300321da601d865c591fcc285875"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (35058 LoC, 102 module-visible types across 35 directories) overshoots its size bounds. 1 of 11 build unit(s) (Python, checkout, npm) overshoot their size bounds, lowering Project Cohesion to 8.2/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":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"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":"5daf70b0508b2143b0238aca3eef7f7f8023621ba8b5012c91b135a58ad39588"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67f95dccb07f767ed702273478b090554a2a53653c58350b18aecd314521ab2d"},"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":"9efd72340de858f2f7abca6b34bb7ed40861697033b2f80c5baa2197b180f6c8"},"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":"0f690b24a0742571da40d05852be36b125a683628ff96e300a30d00484c90f1b"},"taxa":[{"id":"CWE-326","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":"5fc2ac8b17cb5b4d7565f5f5cdc2933c6f9a4ce8e53d2a24d8456c6271e1b834"},"properties":{"dependency":{"package":"urllib3","version":"2.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-141","PYSEC-2026-1994","PYSEC-2026-1995","PYSEC-2026-1996","PYSEC-2026-1997","PYSEC-2026-1998","PYSEC-2026-1999","PYSEC-2026-4175","PYSEC-2026-4177"],"severity":"high","fixedVersion":"2.6.0","relation":"direct","declaredRange":"2.2.1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"969f7822c5b1582d041c62ac846c2896f4b75ceadb44bcfa68f21a1d8620356c"},"properties":{"dependency":{"package":"datasets","version":"2.18.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3716"],"severity":"medium","fixedVersion":"5.0.1","relation":"direct","declaredRange":"2.18.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"02e488958696a4cd63e366b7d3976b20c46fef278231aee7a1634feee1e55228"}},{"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":"87cd89667c1a62836d220e58eb5b4094e2d30523d5392f22ca24af03e7472464"}},{"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":"046e45b89dc1ef6169bb0f1ee5ee2138b753892e7406201b07502d0c6a32a756"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36e8c6363bc78adf76f12116d571dd614d861f523d69da62df6fa3a2377551fd"},"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":"358a3d39b7f8ee494fd83813ec6aa80c99bf60d48a74d01a037eb491cf2b7789"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09a6965b477b85d7a029e77e9859dad92e3098770a2cc98a32d05c352b5c726b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98f475c8aa20da174406a582002122ba86836aef1451975e96a6c26a5987d1ce"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d9f7091be5577fe9fbcf1b7c7ab80d054da0f79b51d66af5f135ebd20e0becdf"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8290e6cabcbf0da6e603818e44b714230deefe2bc6a27a2dacdd9e859c5aa34"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9614fa8daf5ea9cd0d6eebdfa6d0119604b378e8fc7c7cdebf9eed92789ded2f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49f6b683d760d91c7f34c95c141997a20cd274c45c1fb4cc8a19e75fc3839318"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89bac148f22749db3de867b2414409098212c346b65c5c6350bd53a59567c7a1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed8f0b4b672a3f5af96a9b9f12d6f499d4e804086e443bc57a83534a65b5bf69"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2845573d3481e0094032a914239acf1d970297dc023152a713bda131d02164bb"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29a20cfb08b62630c109fbf0251c6dababcba1e26c1382e245becd9d4806d573"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f00edcd6706263c4c8c385e9f19beeef5dbcc4c2f0d6bfdb1cabdc45e50a328"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d448407a81cf74c42b979cf1bd951adeb93b1d88eebd6ad204da1d1cd902ca12"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e04b15d20075f09673f9551477ba93eb1b73eb1efb552e9c9c4dff6afff6457c"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"efa8f955d85e1e94ca69009f8ec1f289c35b829a4d4ab1b1e6a88a922d0215e7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62394ded2170136086b3b186e1b8c5c130abd6dedbde8b32933d9df2436029df"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"745f42a3136e721776369874931f0f31ad0e382b24b745a2fcb4229f0f418a29"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4187424946ba6256a1406f7f41e0a650d813c09f214df9aeb103770aab70834b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f61ba8c1197c5902120f4af4381f6a3eb96523cbc5ac51a98bd49ac93211c56"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7a9eac65e48709e85db4c9af8b55bb64556c291ece7aa1f7b8564ceaaac523d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5244a72f7e68ee204db2950a1d0abaaa49562218224d5d2b8ce352c79698fd00"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6995498e65f1234b113237bae8e49547a51f915e057aafbed34855ab8657d264"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"539d128da9f25ab2be2b31dd0fb408b58f31e5387aa9dc9d42857d75f5546320"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"52d9ffe112b83a8384916e11d9d7de3688016442b830a536f03d05e9e03917dd"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"40a44d5a5ef873ad181f0b0fc3434cb6c9de401796e5bf070c2569bd5bdce547"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f4ac92a45b1ae4d31d20282a136aa0c2453247428430055b8ee58f3caca13d6"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cfa692687f55710030425e26e0ea6fd78f0a7499db9ef42767297ce4c3908a65"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"474e92cafd5c6fc0346ac899a78ddd895d18861f41ad00137b03988ae1f11d20"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"69b4e50366351fd441d8d612735f0ac86c77ca0fc808f2fdb28d41d72887c5f4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a18d82d66264ec610ddcb6e6bd1b226402d2b684d665c776b51b8e4b3c59909"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3f27b90ea5ae13452ff57dd0dffb6135600e971b8cb3b7d16ea5802a3ef5a41"},"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":"fcb08b448f203dfcf7a8dd888e6c4a49d3b0b268175136a4025337b84ce6e3fc"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cffa803d6e5b5bddd9523d5d8c63834e5eee18b6eecca54bfaf5763d564ebe72"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07c3425bec4e6e6c52c6afdb52e9394b95ad9c07218c42e62b5a8fcb8851fd2f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f318625ae8292df531eee64dc6b510706939cec91e855dc0dce7311ef57e42a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac8de17cea14287525d02759a620f84cbc9f1144ad1762a70aec64adec63c62f"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b3a8e0f6ea2b400e74dbcec70770680444fd06b714dbfd37d1f851ab2776de2e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f19f8961ceb3dc30cc6d4a8a804a2b541ba03f522c1acee14d48bf15dcacb02"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b8316c3f8b83e6bb12a5e7ee31be22c2e3036aeaead5a9b132d2036c15dc8f9"},"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":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87ffb0af40eff89c298759fc90459c11a066144579b6a8e601cce0ee4e206ceb"},"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":"2162c1414bf0c896edfc0d922af672e901a3da02abf54f938c0dd71b2761adf1"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d830f61b27f2df43b6f240134b114102bfd48409ce2c012f0e99f5a07f787116"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5436213eadcf5995c87c1edd8f1e3bd406dad77478b5fe55ff4a64e2bbc4db4"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4e7e6b055ecc1052675bdb3b1adf6b9c2b5c3e732fd4df2291b43e9432a327ba"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"685f6fd17995ad1944855d630a80d979b21a029e3d8e7a20de5adba3712ab2a0"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"14cb66bd46668b542fe7f84918ab635463ec0bde435d277826002e2d908eb92a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0293449513161dac7a17f0028ea7e0c70943aff205c0d529e4a2d40eb04203e8"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a22f276ec6b86a12b75ef31561548b8f58996f71a1436a86e4798671d689a034"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b4b536bb8e58c5e584cc51c92349bbfb0046467b74bfd09f7854af590857340"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d54c698dcc785c34e1c5e1c1783c89bfd1869aa448114569066ab490111b0061"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2c395f04582900553fed19647836aaf55dbc3c7a0d35bce63e79c6eef9d741f"}},{"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":"5018826fa8b08b7b4706999b440e8ce2383bd8fa7907ed642598e1331ca799d7"}},{"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":"bac30ba36f6c579ee2a0dbb645075844cf81ca639c54d362ec543e7864ab1fef"}},{"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":"011e3ca50c7199ca9f4e51115f3639923ff9aa7ef7d856503cceda4daf20c0ce"}},{"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":"23b68546f05eed2fe905c1e497e4302169a597570cabe251f775abd4946c5fa0"}},{"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":"0b769133a264757259668934689860e99883883b9c9999692e5d3a21c6e88073"}},{"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":"7ece89185cac2241186a5d7cfe8ee34707fef22adb1e2279a3898a7758c7fc1b"}},{"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":"6093f4960ad5cebc435508dbd9617e06391a03b554850bd811fed5aa2f7f9292"}},{"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":"45e2cf7b8a62bfb3e2bf41a8170f32ab449ca05797b8836c81c97bb3f0c0cbfd"}},{"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":"e92ae66536642e7411a45892c94913a40ba55826c6e3627a4a3b98a706300619"}},{"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":"dc42b7493255fb5672f74cdf5b21dd2bfc005081a050921f8ed7add11e1a0c9a"}},{"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":"f6d40f3ef5bb8617cbe23d6f467558a6402e3f768cdea883c5d7eaa59a3aae0e"}},{"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":"c4a5465030a41ad5f25d2d8f8cfcfafaa36a2c9d6853cb9a5f9fe5f9b81b3e65"}},{"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":"aea38b9d3f98f29550e0bd1e9201eea23141da51c6db43547cfd9f36d8eec06e"}},{"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":"c60d4df2065ecb75c6e3b5b4760d39cd8067b061428fd77b6dc95bbfc3d316d9"}},{"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":"d03337bb7578aa383d69b7f2921c051a3addb16c2f61f83a7834fe83f8080a46"}},{"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":"b40a263a25dfa438c7424c0e2e014a928a6ab25c714e5602093716ba7b394af0"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"skills/cloud/gke-cost-optimization/assets/spot-deployment-example.yaml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"300ce1ada80509e1672931687df6949e11c3bb32bbb04e5ce05ce70b05c0f12d"}},{"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":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c63ced1965060572ffe161a043f963bd26b31343a17f0a3bda0cf94ed17f24c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Caside role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"b935e8ee023f82f9ab9279122c78f236806299f10ccd78a069b8746f5bd980da"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.sev-segment\u0060 moves (\u0060transition: width 0.3s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27abe50f1c9626c48dff37996efcc66c99801e29165ffdc2dd2e5e2c4b2cb13"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.accordion-arrow\u0060 moves (\u0060transition: transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07113a4580e1b826a0633b99e68754ec31b30eb20f466b0434f1ccce9aa0de9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.payload-box\u0060 moves (\u0060transition: max-height 0.25s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34e6ae3df08d75a7a62a73daf0a96bdbb321627e524db22a7df63ad5997b6b1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060details[open] summary .telemetry-toggle-arrow\u0060 moves (\u0060transition: transform 0.15s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"238579c5bebf546f2bb88b0c3718b757353b559ff6b39b6e69f8f3809b680817"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060summary .telemetry-toggle-arrow\u0060 moves (\u0060transition: transform 0.15s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dde2588fa141233040ce5c5f9d32508f3d88aa49d571f5a5364e4a03fce1da3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.0:1): \u0060.badge\u0060 sets color: #94a3b8 on background-color: #334155 \u2014 4.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e9ce343f4de000308590e8b607fbdfe08b1ef1c76c7b46e5bbdad63db1ae8c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.7:1): \u0060.copy-btn\u0060 sets color: #fff on background-color: #3b82f6 \u2014 3.7:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/assets/report_template.html"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d079c68d76e4f70e55f5fd2f9ea6861aba7c8bb9bd29aae0263661f0fe2a7e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.bar-fill\u0060 moves (\u0060transition: width 0.5s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/developers/migrate-to-rust/references/infographic_template.html"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"453906d111e7fe47a0d8632038b421a324dacc0a17a844b06371ffbfb13833b0"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: content-security-policy: The live app\u0027s responses did not include content-security-policy (restricts the sources a page may load \u2014 mitigates XSS/injection). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b142e47096a32517bde0bb9b78f7e564119c7f87e22fba4dccc0d1e3645d74c5"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: cross-origin-embedder-policy: The live app\u0027s responses did not include cross-origin-embedder-policy (recommended by the OWASP Secure Headers Project (value: require-corp)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"153214bb9c80f7d66cba8eb6a7715e9609e84c3979c9b641cd6bedaa8be6930b"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: cross-origin-opener-policy: The live app\u0027s responses did not include cross-origin-opener-policy (recommended by the OWASP Secure Headers Project (value: same-origin)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8cdbe5cdec6a55c732bf9a9975c0e40f81ddfa4ad583a4a50bfb0895531607f7"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: cross-origin-resource-policy: The live app\u0027s responses did not include cross-origin-resource-policy (recommended by the OWASP Secure Headers Project (value: same-origin)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3ba35c34991db9965777a53477c2d497c4c6606f78d133bbaa3bc99c71648c2a"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: permissions-policy: The live app\u0027s responses did not include permissions-policy (restricts powerful browser features (camera, geolocation, \u2026)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac8a111f0bb913829dc090833718dca5ab8e5fba7350f9dcf68f1971010745"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: referrer-policy: The live app\u0027s responses did not include referrer-policy (limits referrer leakage to third parties). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"364ee3f006b552b8fee33710a1fbfb0c4fac59e927af9c4396e51940d9069f01"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: strict-transport-security: The live app\u0027s responses did not include strict-transport-security (forces HTTPS on subsequent requests \u2014 mitigates downgrade/MITM). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"567d3eeb50a5678c0139a1d316c614c44cd4c4fb5db6fffa7795bc73d035966f"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-content-type-options: The live app\u0027s responses did not include x-content-type-options (stops MIME-sniffing (expects \u0027nosniff\u0027)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e7f2638203ac91f5b64c739d090b339c00a90f1007c83652152b402a6eb0cdeb"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-dns-prefetch-control: The live app\u0027s responses did not include x-dns-prefetch-control (recommended by the OWASP Secure Headers Project (value: off)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"50e54b8511264dd930857e4620bda8ba4053661b439218ed047812bcab0e3a44"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-frame-options: The live app\u0027s responses did not include x-frame-options (blocks clickjacking via framing (or use CSP frame-ancestors)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0e84499d19780ca121fad65e0f3bd2fc17b1268ce3079a5f40495749c54dc87e"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-permitted-cross-domain-policies: The live app\u0027s responses did not include x-permitted-cross-domain-policies (recommended by the OWASP Secure Headers Project (value: none)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"55366a3d9fb1c5952ebc54aab272eb775bf2c1b056d6d399652365c26cc2375b"}},{"ruleId":"AXI1","level":"warning","message":{"text":"Container process runs as root: wd-runtime-app: \u0027wd-runtime-app\u0027 (wd-runtime-app:scan) runs as uid 0 \u2014 no user was specified, or one resolving to root was. Observed on the running container, which is the only place the answer is settled: an image\u0027s own USER, a base image\u0027s inherited one and a compose override are all invisible to a Dockerfile reader. Advisory evidence for CRA Annex I (2)(b)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"58b66476748e6ab31dcdd8e06ee148353a48ea93e873dd96c2aaafa81bc630fa"}},{"ruleId":"AXO1","level":"warning","message":{"text":"API operation answered with no credentials: GET /api/v1/health: http://127.0.0.1:32768/api/v1/health returned HTTP 200 to two GET requests carrying nothing. Observed on the live app. We do not decide whether this operation is meant to be public. Advisory evidence for CRA Annex I (2)(d) and NIS2 IR.4.1."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf1cff7d0583071d91d035b636b857a8e1eecf08305c9a7bfef2705b755d9d48"}},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 2.4.2 reproducibly failed in a rendered surface: axe-core rule(s) document-title failed on: html. Runtime evidence (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a152f745c16f064aeb9932e5d52584f548c37c248ac45bacf96a1a6ffc2e49e7"}},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 3.1.1 reproducibly failed in a rendered surface: axe-core rule(s) html-has-lang failed on: html. Runtime evidence (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e2d0e1d2bf07ce04d82230fe7847e003479b78cd188efe60cc79686fb8ba8420"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: plugins/cloud/google-cloud-developer/.antigravity-plugin/README.md links to \u0060./rules/google-cloud-discovery.md\u0060, but \u0060plugins/cloud/google-cloud-developer/.antigravity-plugin/rules/google-cloud-discovery.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cloud/google-cloud-developer/.antigravity-plugin/README.md"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d19696a18f14479633656447a2167abd3bcca2231f60bc77e99f88bb422d73e"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: plugins/cloud/google-cloud-developer/.codex-plugin/README.md links to \u0060./rules/google-cloud-discovery.md\u0060, but \u0060plugins/cloud/google-cloud-developer/.codex-plugin/rules/google-cloud-discovery.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/cloud/google-cloud-developer/.codex-plugin/README.md"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c8054771b473f7a59ccfa64c5dbb2d4620633c2d9f68e89ee005e498e5013b"}},{"ruleId":"P1","level":"note","message":{"text":"CI build step not evidenced: A CI pipeline exists but no build step was matched \u2014 changes may merge without the build ever running. A build step may be invoked directly as a command, or declared as a task that a runner named in the pipeline resolves."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"251015acef1a259fcc13b7c60660cc8917ccb3ae8056cb5165ae03312dd586e8"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 5 JVM, Python, JavaScript/TypeScript production file(s) this check read across 3 module(s). Each was searched for its ecosystem\u0027s logging libraries (JVM: SLF4J, Log4j2, java.util.logging, Logback, kotlin-logging, scala-logging; Python: logging, structlog, loguru; JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060skills/platform-devices/litert-google-tensor/assets/templates/google_tensor_runtime/build.gradle.kts\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/assets/templates/google_tensor_runtime/build.gradle.kts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93871b8a41e349ddd26cb7c6936972a26fa118dc475a1a3cf0d2be4ada9ffd4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce075218338bebcda932cbfbaae750836d8c2c147d2487a229a67592b9676b9"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e316c782022509f0105f8fe4ae587deaf0c197cff4ebfecd1752c2f7447e1ea"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff5d6db1ff9543516674646efe64b625b83bbb66691228cbc7fd6c785f42249"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4ea1f306226f128892c3b37e54e46b25f61b3be40624334d7a6cd4b90262fc"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.delete(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4355cc6c88ba8b86258c8520729765b423a4ae6eebaa80f81cf695e931fa8818"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.patch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf035edab170040dc67d07e2628b56747f16dc73d1994bcd1c5b773b5bbedb6c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1e6f9bce60899b3846ab5306f9ad786d858ad5ea0bb3921413591d9dbd971b"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b2b066521474d7248718b2bd5ee261dc2f16f57631fc344c715ec8a035554e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-skill-registry/scripts/skill_registry_ops.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee86bf662b7d0248283040649bb5f40d95a03315b586d3d20730a0c7895ce634"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/google-cloud-solution-multi-agent-security/scripts/verify_egress_policies.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1684cb5e0c7c34e8c99b0949991805161d3e2e5f449e146b508d8817f3c6c4f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/iam-helper-for-troubleshooting/scripts/troubleshooting_error_id.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1e1a183c7f134ce38cd40647b14ce218f064e224a92b7574e3a5bff0f000a2"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/managed-airflow-recommendations/scripts/lib/monitoring.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"116474469417a8de0ad42f11a71b425ffe1eea46b8f680b28c1451ddeecd47d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060DISPATCH_OP_MARKER in data and BUILD_STAMP_KEY in data\u0060 appears character-identically in 2 files \u2014 skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py, skills/platform-devices/litert-google-tensor/scripts/compile_model.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4b951d577ae5293d70b912bce8ae1eda52435b34c1c27157e019341c89b870"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.metrics_file == \u0022-\u0022 or not args.metrics_file\u0060 appears character-identically in 2 files \u2014 skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py, skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"754d2f8d702466a2ef11ec248da5f8161cd3a74f946d255ee861fb5f37fc0ebf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attr_path or os.path.join( os.path.dirname(os.path.abspath(__file__)), \u0022..\u0022, \u0022references\u0022, \u0022attribution.md\u0022, )\u0060 appears character-identically in 3 files \u2014 skills/cloud/google-cloud-filestore-auditing/scripts/filestore_audit.py, skills/cloud/google-cloud-filestore-log-troubleshooting/scripts/diagnose_lib.py, skills/cloud/google-cloud-filestore-nfs-browser/scripts/jump_host_engine.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/google-cloud-filestore-auditing/scripts/filestore_audit.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e10ffa70e23e06e94659fff63f7e02c47ae0032c6499fbaae478b8d0973058"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060autocorr_1w \u003E 0.75 and variance_ratio \u003C= 2.0\u0060 appears character-identically in 2 files \u2014 skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py, skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02a500ba95973bf04a975aa9a90b744065dd41bec5a78fcc03416afe4a71d71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060has_telemetry_toggle and has_capture_toggle\u0060 appears character-identically in 2 files \u2014 skills/cloud/agent-platform-alert-configuration/scripts/check_telemetry.py, skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/check_telemetry.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/check_telemetry.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"018bc073b140f169175a0c4965ed7e77e45f3ba140b60b2e5321d692b98b8e24"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(service, \u0022_http\u0022) and hasattr( googleapiclient.http, \u0022set_user_agent\u0022 )\u0060 appears character-identically in 2 files \u2014 skills/cloud/assured-workloads-basics/scripts/diagnose_error.py, skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assured-workloads-basics/scripts/diagnose_error.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73eb39efe1943c80d8b7a1a271c2366fc5980f26a771adb3f76b62aae62c4d0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inferred_org and inferred_loc and inferred_wid\u0060 appears character-identically in 2 files \u2014 skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py, skills/cloud/assured-workloads-basics/scripts/validate_params.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7773e90171344d4864eac31dad9aaff3121f65735b17d62a6b21ad79735530ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(d, dict) and d.get(n) is not None\u0060 appears character-identically in 2 files \u2014 skills/cloud/agent-platform-autorater-customization/scripts/build_review_page.py, skills/cloud/agent-platform-autorater-customization/scripts/render_agent_data.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-autorater-customization/scripts/build_review_page.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"105f7a087650db556ab027d9c3ee68afab72495c1b9b8a6e8698f6b0c7887aa0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(node, ast.Constant) and isinstance(node.value, str)\u0060 appears character-identically in 2 files \u2014 skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py, skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/bigquery-migration-sql-translator/assets/python_embedded_sql_migrator_template.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea5194a121d3bb362dc88f8dc8b5405239f205d7f8b4d53454b7a6b403acf6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(data) \u003E= 8 and data[4:8] == TFLITE_FILE_IDENTIFIER\u0060 appears character-identically in 3 files \u2014 skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py, skills/platform-devices/litert-google-tensor/scripts/check_compiled.py, skills/platform-devices/litert-google-tensor/scripts/compile_model.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"05de6419dbc184627e7c45058defa11f35314930eff39b312aa0ff41358ec8a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(matches) \u003E 1 and signal_type != \u0022unknown\u0022\u0060 appears character-identically in 4 files \u2014 skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py, skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/scan_duplicates.py, skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py, skills/cloud/gke-alert-configuration/scripts/validate_config.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/scan_duplicates.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"950665bea623e6ff9657025276fcbbf1677921466df6c23d2281854f123513a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(raw_tokens) == 1 and raw_tokens[0].upper() == \u0022ALL\u0022\u0060 appears character-identically in 2 files \u2014 skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py, skills/cloud/assured-workloads-basics/scripts/validate_params.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb00284b4d0e0a458a574050fc4ed60225238b03ca84237903ee0160e900ea6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060min_start is None or start_dt \u003C min_start\u0060 appears character-identically in 2 files \u2014 skills/cloud/cloud-trace-querying/scripts/fetch_related_logs/src/log_fetcher.py, skills/cloud/cloud-trace-querying/scripts/search_traces/src/trace_searcher.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-trace-querying/scripts/fetch_related_logs/src/log_fetcher.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd2dade810e52d780a4ead2c74f84e6500043991f484322099ca6ab6949f16c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not args.metrics_file and sys.stdin.isatty()\u0060 appears character-identically in 2 files \u2014 skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py, skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ae2aa5d7d865269098dd048583923693b8eabf2e0d6dc36e906a98e6935a16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not args.project_id or not args.reasoning_engine_id\u0060 appears character-identically in 2 files \u2014 skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py, skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f6243edf374dc7dfb904accb2a7e624316a9d58b9cd472eced0bc9dce5f559"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not organization or not organization.strip()\u0060 appears character-identically in 3 files \u2014 skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py, skills/cloud/assured-workloads-basics/scripts/restrict_allowed_resources.py, skills/cloud/assured-workloads-basics/scripts/validate_params.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/assured-workloads-basics/scripts/manage_workload_updates.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"500522620b2d7b5ef05afdf8aa014c46341b040cac2896bfa53f8a620f33fda7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060now or datetime.datetime.now(datetime.timezone.utc)\u0060 appears character-identically in 3 files \u2014 skills/cloud/cloud-logging-finops/scripts/analytics.py, skills/cloud/cloud-logging-finops/scripts/billing.py, skills/cloud/pathways-workload/scripts/debug_workload.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/scripts/analytics.py"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf44c57e5f62215436c56726c703fa9d9bfff52a9467832251b11374ae6c43a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060res_pat in res_lower or disp_pat in disp_lower\u0060 appears character-identically in 4 files \u2014 skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py, skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/config_utils.py, skills/cloud/cloud-monitoring-alert-configuration/scripts/kubernetes/validate_config.py, skills/cloud/gke-alert-configuration/scripts/validate_config.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/config_utils.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49bceb8181766fa4f35590497c58f03128b6eb509549aadd56fb4bcb3f95ef3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s in result.get(\u0022summary_metrics\u0022) or []\u0060 appears character-identically in 2 files \u2014 skills/cloud/agent-platform-eval-flywheel/scripts/compare_results.py, skills/cloud/agent-platform-eval-flywheel/scripts/inspect_results.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-eval-flywheel/scripts/compare_results.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8507a9f5450f7e1674ab856adf4b59b3e7c828716d08b794a9a3bc1b5b8bb4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.get(\u0022mean_score\u0022) or s.get(\u0022meanScore\u0022)\u0060 appears character-identically in 2 files \u2014 skills/cloud/agent-platform-eval-flywheel/scripts/compare_results.py, skills/cloud/agent-platform-eval-flywheel/scripts/inspect_results.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-eval-flywheel/scripts/compare_results.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15544fa55687d659b0ed0f9c59307ed89915c3f8e8ac431b2a6d46fe7daecb0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.get(\u0022metric_name\u0022) or s.get(\u0022metricName\u0022)\u0060 appears character-identically in 2 files \u2014 skills/cloud/agent-platform-eval-flywheel/scripts/compare_results.py, skills/cloud/agent-platform-eval-flywheel/scripts/inspect_results.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-eval-flywheel/scripts/compare_results.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f976fdede143fa092d3250d8b6260faed20ccb39854f9b58d055f2004e83fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stddev_last \u003E 0.0001 and stddev_prev \u003E 0.0001\u0060 appears character-identically in 2 files \u2014 skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py, skills/cloud/cloud-monitoring-alert-configuration/scripts/agent_platform/analyze_traffic.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/agent-platform-alert-configuration/scripts/analyze_traffic.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1c0523d7847e39219e6194db0951606f323ac5cd56c8e10d0f3f8c57cc9098"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060validate_mcp_spec\u0060 is public, takes a document from its caller (line 170) and hands it to \u0060_type_list_schemas\u0060, which calls itself at line 163 (\u0060_type_list_schemas\u0060) with a piece of \u0060node\u0060 (and at line 166) \u2014 and nowhere in \u0060_type_list_schemas\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_type_list_schemas\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/api-gateway-mcp-server/scripts/validate_mcp_openapi.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf4bd85441566e6b9c070d6d5c5ee0a7499953e155e6e4facc5ad21d09600fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/benchmark_on_device.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b247dbfb6cfd55d22d99d07834975540351955c16e65c827a483453ffc15b54a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/platform-devices/litert-google-tensor/scripts/compile_model.py"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"9027e264610bd2fbcdf3ea7e911424475312a14b787c564cd50b8a3529fc744b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/google-cloud-filestore-nfs-browser/scripts/nfs_browser.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd73b2e39fd2b98328483fc2f66b049b220119a49e3305356c417c712ac01f25"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/google-cloud-filestore-nfs-browser/scripts/bridge_server/main.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4dc0e19b454a3eee3159ab66a1947c9e30236c3539b90322ffad1d39082882"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/google-cloud-filestore-nfs-browser/scripts/bridge_server/main.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c2d7de22477e2b39fcef8ac1d0afe05b80a4225e1cfad7b3971d7800643c56"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-trace-querying/scripts/search_traces/src/trace_searcher.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24d734f4ebac3e992991026963c0bc1e8ce737ccf6d533780e2d127651ee3a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-trace-querying/scripts/search_traces/src/trace_searcher.py"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4d8e55ee80f2fbc8e655ce264b5d27f07432b3ee4a53f267f4a9a5453df394"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-trace-querying/scripts/get_trace_project/src/project_resolver.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4ce7d49e8a62d7a27d1fe90257eaa2066b5fc6244810045c8be50f2300d224"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-monitoring-chart-generation/scripts/assemble_widget_proto.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"4403900769380a9ae9e2e2cf83fd363808335b8a63dbe9f2f983090b59bb988d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/cloud-logging-finops/scripts/billing.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d63ed22835f9344c399cac5aaadccd792ec26514a037a0553fff40fae65a0f5"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/google-cloud-release-radar/scripts/release_radar.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3ade448d7289c0eeeea46c8d5467bbf175a73d0cc4f5b91a73760d8092b4a9"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/google-cloud-release-radar/scripts/release_radar.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fd80e49caa6dabce41ae2537be8f25536b6c797b3545b6f0318d325d889f5d"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/google-cloud-release-radar/scripts/release_radar.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9ce1ef6c94607708cd670531326651bd0d3000c63f405abe6565a7ceda68d0"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/google-cloud-release-radar/scripts/release_radar.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0afb8d7649098cdcd823ba0b8dbb96ee340e9237529848845f4a75b59750e5d"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/google-cloud-release-radar/scripts/release_radar.py"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8da9bab3a6bebbdfaf914cfe814956465ad6540438b439e2a5075a1ed70144"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/dbt-sf-to-bq-translator/scripts/dbt_translator.py"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"846d924e4f483d5acb7e8be015a494e5e66379661e0db4f9080f1d8a59f01769"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_host\u0060 returns \u0060\u0027\u0027\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/api-gateway-troubleshooting/scripts/lint_openapi_for_gateway.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b591035af988adcaab212435f5bd8061225363ba35623dfe8d060c38e1165957"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060extract_project_id\u0060 returns \u0060\u0027\u0027\u0060 when \u0060(binascii.Error, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/cloud/iam-helper-for-troubleshooting/scripts/troubleshooting_error_id.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd21e3cbda488bc84aae06e6dbe060d8929d790b66231dac84271f6c61a64f35"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-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-326","guid":"7ee78bef-7589-f65f-a9d7-619f3485e844","name":"Inadequate Encryption Strength","shortDescription":{"text":"Inadequate Encryption Strength"},"helpUri":"https://cwe.mitre.org/data/definitions/326.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-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-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-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/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":79,"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."]}]}