{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"generate_compvis._generate_single_image (cyclomatic 55): generate_compvis._generate_single_image has cyclomatic complexity 55 (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":"imaginairy/api/generate_compvis.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c729dde96209adce9fe3be306d3d316b23a369d78db3f694ab2d929864f6644"}},{"ruleId":"D1","level":"warning","message":{"text":"generate_refiners.generate_single_image (cyclomatic 50): generate_refiners.generate_single_image 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":"imaginairy/api/generate_refiners.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0386c86a09eb4a20eed326714161996e229c021b6dd131e0b0f784297e476fee"}},{"ruleId":"D1","level":"warning","message":{"text":"UNetModel.__init__ (cyclomatic 45): UNetModel.__init__ 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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"8784bf325095352a3409799d8ae24c659e7fe552c62bd09f357aff17f505c95b"}},{"ruleId":"D1","level":"warning","message":{"text":"UNetModel.__init__ (cyclomatic 36): UNetModel.__init__ has cyclomatic complexity 36 (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":"imaginairy/modules/sgm/diffusionmodules/openaimodel.py"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca771cf25bd599dc5bfad2159cdc28014844d1bf39f763e7d2bedf752e6b7f8"}},{"ruleId":"D1","level":"warning","message":{"text":"interpolate.interpolate_video_file (cyclomatic 34): interpolate.interpolate_video_file 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":"imaginairy/enhancers/video_interpolation/rife/interpolate.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10be82e4f999cd09bc2ff53ee025ef0e3a898553ac107408e879ca90ab4dcbd"}},{"ruleId":"D1","level":"warning","message":{"text":"openpose.create_body_pose (cyclomatic 29): openpose.create_body_pose 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":"imaginairy/img_processors/openpose.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aa2422a9ba6436eacf039c0ece5ea673d0634f8d75374d38463fbb773af652"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlNet.__init__ (cyclomatic 28): ControlNet.__init__ 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":"imaginairy/modules/cldm.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bb3beca47d0f8f1c4f4228b1c93f99bb2e7a3635701e3ee6fb56054e87fcdf"}},{"ruleId":"D1","level":"warning","message":{"text":"video_sample.generate_video (cyclomatic 27): video_sample.generate_video has cyclomatic complexity 27 (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":"imaginairy/api/video_sample.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5a177447fcb450ca389e1260abe22b2e2b779550d13030cc9274ee3bc3993a"}},{"ruleId":"D1","level":"warning","message":{"text":"shared._imagine_cmd (cyclomatic 27): shared._imagine_cmd has cyclomatic complexity 27 (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":"imaginairy/cli/shared.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f66fc4b9c707009655353aba811eb232e998da359988b511a4a8c4be5d5bdb9"}},{"ruleId":"D1","level":"warning","message":{"text":"DDPM.init_from_state_dict (cyclomatic 24): DDPM.init_from_state_dict has cyclomatic complexity 24 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e980e22ea5c33aac8ba82f20e188edda053e0093d1fd3493d7c9b0e69eb767"}},{"ruleId":"D1","level":"warning","message":{"text":"VideoUNet.__init__ (cyclomatic 24): VideoUNet.__init__ 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":"imaginairy/modules/sgm/diffusionmodules/video_model.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f0d96ef5b5c5ccedc9f94311501db30511e8395d0fc5bc17980ecc054e58b5"}},{"ruleId":"D1","level":"warning","message":{"text":"translation.translate_weights (cyclomatic 24): translation.translate_weights 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":"imaginairy/weight_management/translation.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ed9fa6acdc6386c87b0c1ef11a5e792134b50ba0cf477ceb95c22aa11b82f3"}},{"ruleId":"D1","level":"warning","message":{"text":"LatentDiffusion.log_images (cyclomatic 21): LatentDiffusion.log_images 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":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"3180c0252df2a50c55470029c4e9eabbf0b0ea86482141ac191fab8e03a53d1e"}},{"ruleId":"D1","level":"warning","message":{"text":"generate.imagine (cyclomatic 17): generate.imagine 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":"imaginairy/api/generate.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"027ea287e2bdf238c38f0c1c76352f7a2d5c9f3bd924d4b5a35b4bd16c378e35"}},{"ruleId":"D1","level":"warning","message":{"text":"LatentFinetuneDiffusion.log_images (cyclomatic 17): LatentFinetuneDiffusion.log_images 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":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"487241d620ace4129176690611bbb3fd6341922ecc26b3e4b2e0e263d66a151f"}},{"ruleId":"D2","level":"warning","message":{"text":"UNetModel.__init__ (cognitive 108): UNetModel.__init__ has cognitive complexity 108 (threshold 15). Drivers by points: if/else 34 (68 pts), ternaries 9 (31 pts), loops 4 (6 pts), boolean chains 3 (nesting depth added 58). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df5c1241bab1d801ddb8a76f453660a807eadad64a158afa092901eb66d1f35"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_compvis._generate_single_image (cognitive 89): generate_compvis._generate_single_image has cognitive complexity 89 (threshold 15). Drivers by points: if/else 42 (72 pts), boolean chains 11, ternaries 2 (4 pts), loops 1 (2 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":"imaginairy/api/generate_compvis.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ba95e5833cd3312f5e0688ef1b842ba94306a85d301d7d1c91d8c693e76eb5"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_refiners.generate_single_image (cognitive 77): generate_refiners.generate_single_image has cognitive complexity 77 (threshold 15). Drivers by points: if/else 35 (53 pts), ternaries 5 (10 pts), loops 6 (9 pts), boolean chains 5 (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":"imaginairy/api/generate_refiners.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c4e90d50d193bf6f96716da28d627738dc46d13e5c107cf511f9130b1ce540"}},{"ruleId":"D2","level":"warning","message":{"text":"UNetModel.__init__ (cognitive 73): UNetModel.__init__ has cognitive complexity 73 (threshold 15). Drivers by points: if/else 28 (55 pts), ternaries 3 (8 pts), loops 4 (6 pts), boolean chains 4 (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":"imaginairy/modules/sgm/diffusionmodules/openaimodel.py"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e86cc870e3592f344257cc373816dbb70b01a50d802adad36ea7b113b2972e"}},{"ruleId":"D2","level":"warning","message":{"text":"openpose.create_body_pose (cognitive 69): openpose.create_body_pose has cognitive complexity 69 (threshold 15). Drivers by points: if/else 12 (41 pts), loops 10 (22 pts), boolean chains 6 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/img_processors/openpose.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b5218168c7438d61dfc70aa20c1854eda38f7ac7373fc7c9b1321cc28c16df"}},{"ruleId":"D2","level":"warning","message":{"text":"interpolate.interpolate_video_file (cognitive 65): interpolate.interpolate_video_file has cognitive complexity 65 (threshold 15). Drivers by points: if/else 31 (46 pts), loops 6 (13 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/video_interpolation/rife/interpolate.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"82868446a4cb334479959c527d395ad1e481bf0512384f6aadd0f44c92f19c6d"}},{"ruleId":"D2","level":"warning","message":{"text":"DDPM.init_from_state_dict (cognitive 65): DDPM.init_from_state_dict has cognitive complexity 65 (threshold 15). Drivers by points: loops 10 (38 pts), if/else 10 (25 pts), boolean chains 1, ternaries 1 (nesting depth added 43). 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":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c90bbb5941c8c983509e1bbf5efc29fec8825034068875734d3b24dcb272c4"}},{"ruleId":"D2","level":"warning","message":{"text":"video_sample.generate_video (cognitive 63): video_sample.generate_video has cognitive complexity 63 (threshold 15). Drivers by points: if/else 22 (52 pts), loops 4 (9 pts), boolean chains 2 (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":"imaginairy/api/video_sample.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a73e86467e5656f6e2a75ca9d6607b8c416bdcd10beac6648c0d9a0c444836b"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlNet.__init__ (cognitive 60): ControlNet.__init__ has cognitive complexity 60 (threshold 15). Drivers by points: if/else 22 (39 pts), ternaries 6 (17 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/cldm.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ac80ae568c70c80dc61c3e7d0774997e46dc0f798cd6aa303ece6d5a88ac7f"}},{"ruleId":"D2","level":"warning","message":{"text":"translation.translate_weights (cognitive 46): translation.translate_weights has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 8 (13 pts), error handling 4 (8 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":"imaginairy/weight_management/translation.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2b4473c6212ab1a505e88d4191f4e165bae673d07a3bf3605a10ad72dca6d5"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoUNet.__init__ (cognitive 45): VideoUNet.__init__ has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (31 pts), ternaries 2 (7 pts), loops 4 (6 pts), boolean chains 1 (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":"imaginairy/modules/sgm/diffusionmodules/video_model.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a90c0bc45f2805e99575edb1384ec723688dde3163a727ff42e728c9e94640b"}},{"ruleId":"D2","level":"warning","message":{"text":"shared._imagine_cmd (cognitive 43): shared._imagine_cmd has cognitive complexity 43 (threshold 15). Drivers by points: if/else 19 (28 pts), loops 5 (12 pts), ternaries 2, 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":"imaginairy/cli/shared.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"153655744e284db59eeb388be3fd7033125387d443368bb82bc82acba25f474e"}},{"ruleId":"D2","level":"warning","message":{"text":"imagine.imagine_cmd (cognitive 29): imagine.imagine_cmd has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (20 pts), ternaries 1 (6 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/imagine.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f3a784d2ee8dd5714824e74d4eef1619c2d939407c8858bfbb74a70ad6407d"}},{"ruleId":"D2","level":"warning","message":{"text":"LatentDiffusion.get_input (cognitive 28): LatentDiffusion.get_input has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bbac9cbb97e14a715948a7030bfe9f03b76032453df2ad4c2420ab8dcdc688"}},{"ruleId":"D2","level":"warning","message":{"text":"generate.imagine (cognitive 27): generate.imagine has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 3 (5 pts), boolean chains 4, loops 2 (3 pts), error handling 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":"imaginairy/api/generate.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a54e403e518fa08bf2acb8775d48f7bae00df3d1c924201779a115089e63f7"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneralConditioner.forward (cognitive 26): GeneralConditioner.forward has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 3, loops 2 (3 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":"imaginairy/modules/sgm/encoders/modules.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a412093d1c14f56f6da4440fee9da154affdab7c79c16328b69e20db149ed763"}},{"ruleId":"D2","level":"warning","message":{"text":"LatentDiffusion.log_images (cognitive 25): LatentDiffusion.log_images has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 2, loops 1 (2 pts), ternaries 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":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4da84107904106c012fc57fccaded09d844f2bf46f974cc0712d4f697c051ae"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneralLPIPSWithDiscriminator.forward (cognitive 25): GeneralLPIPSWithDiscriminator.forward has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 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":"imaginairy/modules/sgm/autoencoding/losses/discriminator_loss.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da3ff4c01bb9a52c56517da02fe08ec242bb5ae5f5d4a384ae97420c9750610"}},{"ruleId":"D2","level":"warning","message":{"text":"surprise_me.surprise_me_prompts (cognitive 23): surprise_me.surprise_me_prompts has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/surprise_me.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"591f5ec2f860488b3528ab7b162a42c63b46ed6a6abe93182c46502c63b1f004"}},{"ruleId":"D2","level":"warning","message":{"text":"upscale.upscale_cmd (cognitive 21): upscale.upscale_cmd has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/upscale.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e570f9b187f91af8c0aa6c2daa1cb074477556c858c9b308c1b74b9fd0348d00"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.__init__ (cognitive 21): Model.__init__ has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 4 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13399a31046e8f8143051113ca6afa368160c90721da4b0e57307225cee444a"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.__init__ (cognitive 21): Model.__init__ has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 4 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusionmodules/model.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"d422872c668b9be88acd003162114ee068fed3fecdb6a1da53e100a8229faf9d"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_flux.generate_single_image (cognitive 20): generate_flux.generate_single_image has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 4 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate_flux.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ad5e068ffb6a4803f4f8b67344d6dcff28b2d7e1e34bcf889db5a221a143f8"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt_expansion.expand_prompts (cognitive 20): prompt_expansion.expand_prompts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 5 (7 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/prompt_expansion.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed61a799433821841a53222e7270bbaab1c65746331c3712bd61468f832170b"}},{"ruleId":"D2","level":"warning","message":{"text":"openpose.handDetect (cognitive 19): openpose.handDetect has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/img_processors/openpose.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3ce42d866011c175ea098a81a5002782fd8849508f17cc47b803538f794b84"}},{"ruleId":"D2","level":"warning","message":{"text":"LatentFinetuneDiffusion.log_images (cognitive 19): LatentFinetuneDiffusion.log_images has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, loops 1 (2 pts), 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":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1b923f78311188c6ad54031ec41b476f275fc252be5c7fd5a558f60ecd0b63"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.forward (cognitive 19): Model.forward has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3da4b059abbda65e607c0ccc91637af4d15a2086feefa6ce80ed701f39ede1"}},{"ruleId":"D2","level":"warning","message":{"text":"Model.forward (cognitive 19): Model.forward has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusionmodules/model.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"69aff9781b9eab339a5827ea7269a008c2db6fa2dd1287c5332cee8c1aeddfac"}},{"ruleId":"D2","level":"warning","message":{"text":"feather_tile.add_tiles (cognitive 19): feather_tile.add_tiles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/feather_tile.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c115a7771d2323fc6712f58db8fffa3618779a5fcfcb500c88b4ef08ceca6f9b"}},{"ruleId":"D2","level":"warning","message":{"text":"pattern_collapse._collapse_patterns (cognitive 19): pattern_collapse._collapse_patterns has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 1 (3 pts), 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":"imaginairy/weight_management/pattern_collapse.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"89967d77cc0155ad733db3b9db86bd9d94dbf322f7dc1aaf56f7d1590f04c2b5"}},{"ruleId":"D2","level":"warning","message":{"text":"LatentFinetuneDiffusion.init_from_state_dict (cognitive 18): LatentFinetuneDiffusion.init_from_state_dict has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts), boolean chains 1, ternaries 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":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce37dcac9fe552d04202d87590f3df21e95a7d4587e9dccad092e428e6096c5"}},{"ruleId":"D2","level":"warning","message":{"text":"Resize.get_size (cognitive 18): Resize.get_size has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (18 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":"imaginairy/modules/midas/midas/transforms.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2bc2d0c6808f1ca4c0a7f5e344a401df0b622811776472124c1e31af708cef"}},{"ruleId":"D2","level":"warning","message":{"text":"SlicedEncoderMixin.decode (cognitive 18): SlicedEncoderMixin.decode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), error handling 2 (6 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":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"604cfe7129047079fdf8565bd1c92c4c8ab9c882b405a55bccd31291f979420c"}},{"ruleId":"D2","level":"warning","message":{"text":"VideoTransformerBlock.__init__ (cognitive 16): VideoTransformerBlock.__init__ has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2 (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":"imaginairy/modules/sgm/video_attention.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed0cff251d669832ca071fe95d2f279a458a059b4bc4399330034929f9818ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diffusion/ddpm.py: FileTooLong \u2014 1605 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1105 over it, 3.21\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":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"158f6947b264c35b6b37cc6a12a3a7e8be681fe9f055055a265f4236a0148fa6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: encoders/modules.py: FileTooLong \u2014 858 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 358 over it, 1.72\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":"imaginairy/modules/sgm/encoders/modules.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acf034be5fd7b81a8194f370a5d1ab4b166bb3bad645bf3a71caeeb5acc2a9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diffusion/model.py: FileTooLong \u2014 834 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 334 over it, 1.67\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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14121d35bdfebfda5bacf7f18dc5fcc748ea5b65c9d2a103e387514f1bee223c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: modules/refiners_sd.py: FileTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 193 over it, 1.39\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":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b767a6e39e69696e24258d81f403d0258421ee5c6e888882c1dc2f7b3fd1ddd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: imaginairy/schema.py: FileTooLong \u2014 660 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 160 over it, 1.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":"imaginairy/schema.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63a0f5da8f05440d5d6eeeffbc02c6f5f069e07272be15cc66186a5364b1292"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: img_processors/openpose.py: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 130 over it, 1.26\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":"imaginairy/img_processors/openpose.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"985d0321c23a9678f96efb2d5fc74f57a0fd4fc630b235d5834ac31b530fb524"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/model_manager.py: FileTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 124 over it, 1.25\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":"imaginairy/utils/model_manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5266ba016816636d66d828e668ef5a2d2ea4ccaad9ca7f849e342f525cc8ac9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diffusionmodules/openaimodel.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":"imaginairy/modules/sgm/diffusionmodules/openaimodel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"749f1f18a8f3200b0d98a777fdda23da86e57e2c04e41dddd5ddc833a602020b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sgm/attention.py: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 108 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":"imaginairy/modules/sgm/attention.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e45b15fe6ec680316472c06bec10c61ec8d2c5b105903c2e01bd88cda7b059"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diffusion/openaimodel.py: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 83 over it, 1.17\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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6432a146448422dc61036955b21aeee3bd981d448181b5ec7a781535663d36b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diffusionmodules/model.py: FileTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 50 over it, 1.10\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":"imaginairy/modules/sgm/diffusionmodules/model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c035ce00df20f87efbb95c5faec669dd6496f533af2f3bb3faa96b012269fce"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 28 shared lines): imaginairy/modules/diffusion/model.py:392-495 | imaginairy/modules/diffusion/model.py:569-637 | imaginairy/modules/diffusion/model.py:687-762 | imaginairy/modules/sgm/diffusionmodules/model.py:337-440 | imaginairy/modules/sgm/diffusionmodules/model.py:514-582 \u2014 These 5 members are variants of one another: a block of 28 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 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cface722707fc0db38f6f0fe438fe4e15cdcd4a9020a4a281e6cb06dee91865"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 22 shared lines): imaginairy/modules/diffusion/model.py:392-495 | imaginairy/modules/diffusion/model.py:687-762 | imaginairy/modules/sgm/diffusionmodules/model.py:337-440 | imaginairy/modules/sgm/diffusionmodules/model.py:632-709 \u2014 These 4 members are variants of one another: a block of 22 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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d672857098f227029cab7da0215e45fe89dbbef884fb07eeaf8e7825b0b0473"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 41 shared lines): imaginairy/modules/cldm.py:98-328 | imaginairy/modules/diffusion/openaimodel.py:490-794 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:540-820 \u2014 These 3 members are variants of one another: a block of 41 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/cldm.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b47b6f086c93beda54f88f0605cae34b5555c9df8325a8d453a6f0eb4ac04df"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): imaginairy/modules/attention.py:122-135 | imaginairy/modules/attention.py:259-277 | imaginairy/modules/sgm/attention.py:222-236 | imaginairy/modules/sgm/attention.py:297-311 | imaginairy/modules/sgm/attention.py:397-416 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/attention.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2126394a874126ae67cb4987ecf2239b030a848e1bda1bde1d61d5e7b6f082d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): imaginairy/modules/diffusion/model.py:167-182 | imaginairy/modules/diffusion/model.py:288-304 | imaginairy/modules/sgm/diffusionmodules/model.py:165-180 | imaginairy/modules/sgm/diffusionmodules/model.py:215-231 \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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b036fde70880633f2a2f92af15957affe41dc0bc93b460830108ac24b8a7763"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): imaginairy/modules/diffusion/model.py:499-544 | imaginairy/modules/diffusion/model.py:641-664 | imaginairy/modules/sgm/diffusionmodules/model.py:444-489 | imaginairy/modules/sgm/diffusionmodules/model.py:586-609 \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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf139a8b74ad23f8ff2cea97ae098596367ab29df72083d3d7877758f4483de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): imaginairy/enhancers/video_interpolation/rife/msssim.py:50-123 | imaginairy/enhancers/video_interpolation/rife/msssim.py:136-211 \u2014 These two members are one piece of code written twice and then edited apart: 74 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/video_interpolation/rife/msssim.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b75755a40e50333c07b3414835f5a8499af3710c2122180aa56583d3ff175fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): imaginairy/samplers/ddim.py:53-115 | imaginairy/samplers/plms.py:61-136 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/samplers/ddim.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e99abdf81d07e789c34844eda7971a0f0f626bddc208c06068c2ddaec38e9fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): imaginairy/modules/diffusion/openaimodel.py:207-256 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:252-324 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06a0f53670b4878a37c705e116b83c1b539b725a9f34e91fd8fb16b7c99ca54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): imaginairy/modules/sgm/attention.py:246-284 | imaginairy/modules/sgm/attention.py:322-370 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/attention.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"42dd1d5d1d64f2d3704497b1b461c26d7232000579ea57f864fc388daedd4857"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): imaginairy/modules/refiners_sd.py:472-506 | imaginairy/modules/refiners_sd.py:638-678 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef206ad5d20144cf098557ff2e5b6e0d7ef957c0fbcf0691ee3855795777f9ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): imaginairy/modules/diffusion/model.py:766-818 | imaginairy/modules/sgm/diffusionmodules/model.py:725-756 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8ce5967ac025982f4b94b2bf032f2289afa430fe0c70f414a4222cd29f752f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): imaginairy/modules/diffusion/openaimodel.py:270-289 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:339-364 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"050b4b161df3268883c7727d283f59d1bf9c200b9b751b6634585da55b72f1d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): imaginairy/modules/attention.py:280-308 | imaginairy/modules/diffusion/model.py:307-337 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/attention.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8db36463b6255e99bc55bed3d8af6c8f1e8ca74e04d87d7d9d7b58205108a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): imaginairy/modules/sgm/autoencoding/regularizers/quantize.py:87-119 | imaginairy/modules/sgm/autoencoding/regularizers/quantize.py:198-234 | imaginairy/modules/sgm/autoencoding/regularizers/quantize.py:369-396 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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":"imaginairy/modules/sgm/autoencoding/regularizers/quantize.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a2cf5cd56853ce58612fa45460a5092fee5896981ae0ac5919a40c10dc3b64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): imaginairy/modules/diffusion/openaimodel.py:813-847 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:830-859 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2f0d312291822d2e7852a12ae3b307828b0469831f4cd7b35a5a714900d6ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): imaginairy/modules/refiners_sd.py:191-219 | imaginairy/modules/refiners_sd.py:330-361 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"67520ded647467c782f774aca09b1324c8ac39ed0e1d601b10bf58fcaed472bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): imaginairy/modules/sgm/autoencoding/temporal_ae.py:121-148 | imaginairy/modules/sgm/autoencoding/temporal_ae.py:193-220 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/autoencoding/temporal_ae.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46246245e1e385a85f216c888432b1d2c19d3fd9f866afde55172586182ccad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): imaginairy/modules/refiners_sd.py:124-160 | imaginairy/modules/refiners_sd.py:261-297 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f7dd13833f3ea27af8900da6756c6cedfbf59b5447298a993ce294ed5c097f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): imaginairy/modules/midas/midas/midas_net.py:54-81 | imaginairy/modules/midas/midas/midas_net_custom.py:125-155 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/midas/midas/midas_net.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f487acfa8624582b31c1e1ab79b24f223c944818a817943a2d78ec8c8f4bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): imaginairy/modules/diffusion/util.py:188-212 | imaginairy/modules/sgm/diffusionmodules/util.py:201-224 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/util.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7b8a3795a2938c3f51cd3f0c63778976c97df692c9508f1c3a860dab6d17d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): imaginairy/modules/diffusion/model.py:29-48 | imaginairy/modules/sgm/diffusionmodules/model.py:29-46 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c46c0faf040e324a1ebfcb6500aaf5378f3cb1fab79a257ded974045c6c214"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): imaginairy/api/video_sample.py:444-462 | imaginairy/utils/img_utils.py:34-51 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/video_sample.py"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"b659d6a9cfdf4b7dac3790912cbb590451ae595bd433e454896c6fbddf92d9bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): imaginairy/modules/diffusion/model.py:131-162 | imaginairy/modules/sgm/diffusionmodules/model.py:134-153 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4319409f01e2a3b9f3f1c936f3585fc9729519849cb59f3a6670c61d70812f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): imaginairy/modules/distributions.py:27-43 | imaginairy/modules/sgm/distributions/distributions.py:46-62 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/distributions.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"509d48b344edb45b443babe6a7b04f644cdfd5f2ea8fd9253db285d59bf771b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): imaginairy/modules/encoders.py:133-152 | imaginairy/modules/sgm/encoders/modules.py:393-414 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/encoders.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee085b756d053a372b5f37945c922fb21e927a8144c59a8971c2e5be596f697"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): imaginairy/modules/autoencoder.py:117-143 | imaginairy/modules/autoencoder.py:215-241 | imaginairy/modules/refiners_sd.py:751-777 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 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":"imaginairy/modules/autoencoder.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1504f53102cb12bb7f4afbc611f937c736c69cfe05efedcee40a4eec438b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): imaginairy/cli/arg_schedule.py:43-60 | imaginairy/utils/prompt_schedules.py:12-30 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/arg_schedule.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48e42ba5d282cb855839ba1b0c1f4fc33da6bb07da5c70e842b26fcda3ed612"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): imaginairy/modules/sgm/autoencoder.py:484-501 | imaginairy/modules/sgm/autoencoder.py:504-518 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/autoencoder.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bbe14efc9d8dc19d6e926068f5e8f10b618f3ea1f0dcff2c55c5f91b5ef03d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): imaginairy/modules/diffusion/openaimodel.py:56-63 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:54-61 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af4682956589cb2e5da63dbbf7fd4e6a37ee12cbe51d46a8f7cdd8da6c3b78d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): imaginairy/samplers/ddim.py:224-236 | imaginairy/samplers/plms.py:233-245 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/samplers/ddim.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c985c0e9463437a073f502ba40aa2baf94be866692b1e4a4fcf1ca3a7307ce10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): imaginairy/modules/diffusion/openaimodel.py:154-171 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:188-212 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfeb8ad888407680da7aace7c26c620b963b5a4535bbac2e85d5d685ec1fbb91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): imaginairy/modules/encoders.py:178-198 | imaginairy/modules/sgm/encoders/modules.py:438-461 | imaginairy/modules/sgm/encoders/modules.py:539-558 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/encoders.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ae78d482fad403ef9cbeabc7571f0cb27bfc550abaf9b150e02bbaa118c65d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): imaginairy/modules/diffusion/util.py:168-184 | imaginairy/modules/sgm/diffusionmodules/util.py:181-197 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/util.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"71534894c9ea1d28dcefcb402186ba6b88d6bc3c900e6b585abde0e011d5f298"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): imaginairy/utils/model_cache.py:200-210 | imaginairy/utils/model_cache.py:214-230 \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":"imaginairy/utils/model_cache.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bae6b3483909d3650deb941e45c5c3b79eb61e790e2bd9a9bc641e75e5e0f24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): imaginairy/modules/diffusion/ddpm.py:722-732 | imaginairy/modules/refiners_sd.py:83-93 \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":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"be99770f11b301021185351ebaaa0550617c4582476603d7cdc97955726d4642"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): imaginairy/modules/sgm/diffusionmodules/guiders.py:37-45 | imaginairy/modules/sgm/diffusionmodules/guiders.py:94-102 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusionmodules/guiders.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96c2684ec2858ed145471daae6e31872205bdefb37e1f5ff207576025d848c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): imaginairy/modules/diffusion/openaimodel.py:116-125 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:150-167 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d424bcdee5b3a44aee06abce4b93c2fa4c885a896551adf43334ee5a15660851"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): imaginairy/modules/encoders.py:112-124 | imaginairy/modules/sgm/encoders/modules.py:369-383 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/encoders.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c5c7335b9764bd7535be2ab86b9b0045cd2024ac836e4b458b3c9c768a2138"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): imaginairy/modules/attention.py:43-54 | imaginairy/modules/sgm/attention.py:101-112 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/attention.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec35587b879418633497c179326c785f87947be43108bdc0b5506e2ffb89b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): imaginairy/modules/attention.py:99-112 | imaginairy/utils/model_cache.py:95-112 \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":"imaginairy/modules/attention.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4129004c1b98eedaf13cb72d281efb950b945ba59476ee2f726c046e6c55d36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): imaginairy/modules/autoencoder.py:90-101 | imaginairy/modules/sgm/autoencoder.py:83-94 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/autoencoder.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5857849433eb5c2f94d495a66d17c9bdbe431194dcc2a83cdfc74384b932a60d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): imaginairy/modules/sgm/diffusionmodules/sampling.py:115-135 | imaginairy/modules/sgm/diffusionmodules/sampling.py:350-367 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusionmodules/sampling.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae757b802ed35482211e3f8d5998bdd5bce4512ec9b4451a380088dbab4607f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): imaginairy/weight_management/execution_trace.py:215-241 | imaginairy/weight_management/execution_trace.py:245-271 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/weight_management/execution_trace.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d3ae7de7fa2f677506f22742e179f843e5edbd2f70ad0bd416e035d1e12e2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): imaginairy/modules/distributions.py:46-53 | imaginairy/modules/sgm/distributions/distributions.py:65-71 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/distributions.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1a2c6b763cca5bbba0cc0fd63dc6d920bd7c9511429ee6f21561af063173fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): imaginairy/modules/midas/midas/backbones/beit.py:200-213 | imaginairy/modules/midas/midas/backbones/vit.py:228-238 \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":"imaginairy/modules/midas/midas/backbones/beit.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"be725523db61de67358e9650c4b3854a777184fe7dd6fa18a44ad18a5f2fa0a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): imaginairy/modules/diffusion/util.py:255-265 | imaginairy/modules/diffusion/util.py:276-284 | imaginairy/modules/sgm/diffusionmodules/util.py:273-283 | imaginairy/modules/sgm/diffusionmodules/util.py:294-304 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/util.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf73d58283417dddcd136ae8d8dcf78711b7c1cd752e4cfb01aba0d36b63d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): imaginairy/modules/midas/midas/backbones/beit.py:230-238 | imaginairy/modules/midas/midas/backbones/vit.py:127-132 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/midas/midas/backbones/beit.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6e722f9be47bfd4c2b9fa9063667a15caffd617cd3e1efaafe4deabc87cd5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): imaginairy/modules/sgm/diffusionmodules/openaimodel.py:137-147 | imaginairy/modules/diffusion/openaimodel.py:105-113 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusionmodules/openaimodel.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c145ea2ebada59476efdf605e6ca222744c57661a1701d612eb35c272190d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): imaginairy/modules/diffusion/util.py:158-164 | imaginairy/modules/sgm/diffusionmodules/util.py:167-177 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/util.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"66691f45782a91d8122c3264506e510d88044e94e4b31c3130439a8eb3049096"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): imaginairy/cli/arg_schedule.py:64-74 | imaginairy/utils/prompt_schedules.py:68-76 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/arg_schedule.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b0d64576586d0818f83a535a8d59a69adbdaf14dec3eb11617e88f1921d00d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): scripts/weights_debug.py:5-15 | imaginairy/weight_management/pattern_collapse.py:39-50 \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":"scripts/weights_debug.py"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"19421a6bfe7548816dea4a17a70cb63d339dfe6fa8b7d309ca7b4b52f702847b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): imaginairy/modules/encoders.py:64-70 | imaginairy/modules/sgm/encoders/modules.py:276-283 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/encoders.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cb91e20a100fafdac3dd0dfefd15c94f6915347604d4954e8fcacdcabd018e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): imaginairy/modules/diffusion/util.py:133-135 | imaginairy/modules/sgm/diffusionmodules/util.py:37-39 \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":"imaginairy/modules/diffusion/util.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50b498babef6cb03d7eafd2bcf40ebc699b022795090d6d4996b6f132b9bced"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): imaginairy/modules/encoders.py:40-45 | imaginairy/modules/sgm/encoders/modules.py:249-255 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/encoders.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6626df9e37295523f974bd3b8696e5f750b868563e903579463cfbe58e8c5690"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): imaginairy/modules/diffusion/util.py:139-152 | imaginairy/modules/sgm/diffusionmodules/util.py:148-161 \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":"imaginairy/modules/diffusion/util.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd26d79cd7fc853c0bf0cd756b12e3963b20f66b76d77c0c69c5bdbe0b21c8da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): imaginairy/modules/diffusion/model.py:67-70 | imaginairy/modules/sgm/diffusionmodules/model.py:70-73 \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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aed7586ebc021c6417b24d13363238bfeef7b1c5acad0c0b2170666543e8ecc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): imaginairy/modules/encoders.py:245-249 | imaginairy/modules/sgm/encoders/modules.py:764-769 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/encoders.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a67a9378ebfae46e336bb61ec65078ef9286ddd04260e8573ee23cd661f99a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): imaginairy/modules/autoencoder.py:361-366 | imaginairy/modules/sgm/autoencoder.py:312-316 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/autoencoder.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2539ccaa9ef941515bcef1d24408226682e78fdb5e0c8959ee7af73a568bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): imaginairy/modules/distributions.py:21-24 | imaginairy/modules/sgm/distributions/distributions.py:40-43 \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":"imaginairy/modules/distributions.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d1c93214a5cd1b29884f03d125086f26f9d910582560b3a31dacff4d399cf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (91 lines \u00D7 2): imaginairy/modules/autoencoder.py:482-572 | imaginairy/modules/diffusion/ddpm.py:968-1058 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060imaginairy/modules/autoencoder.py:482\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":"imaginairy/modules/autoencoder.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea7f56b93d4a564758a23a0996a94329f9d97fc8c34dedaaf1ba4ebb1db10ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 3): imaginairy/modules/cldm.py:202-252 | imaginairy/modules/diffusion/openaimodel.py:584-634 | imaginairy/modules/diffusion/openaimodel.py:713-763 \u2014 before extracting anything, compare \u0060imaginairy/modules/cldm.py\u0060 and \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060imaginairy/modules/cldm.py:254\u0060 calls \u0060make_zero_conv\u0060 and \u0060imaginairy/modules/diffusion/openaimodel.py:636\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":"imaginairy/modules/cldm.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"33085cd65a71c599739d94c348fb33fc3d67ae932ffb289a9c8ea5f13900f314"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): imaginairy/modules/cldm.py:280-326 | imaginairy/modules/diffusion/openaimodel.py:660-706 \u2014 before extracting anything, compare \u0060imaginairy/modules/cldm.py\u0060 and \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060imaginairy/modules/cldm.py:279\u0060 calls \u0060make_zero_conv\u0060 and \u0060imaginairy/modules/diffusion/openaimodel.py:659\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":"imaginairy/modules/cldm.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"62979c497a586c7a12af5ff02a56c47abd90fe7e940adf4725637743f0ac7090"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 3): imaginairy/modules/diffusion/ddpm.py:218-256 | imaginairy/modules/diffusion/upscaling.py:27-65 | imaginairy/modules/sgm/encoders/modules.py:872-910 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"26181bd31e66e0cec77b1806cc2d051e20fd70a17edcaebd1a7c9bed8cf16257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 4): imaginairy/modules/diffusion/model.py:420-455 | imaginairy/modules/diffusion/model.py:587-622 | imaginairy/modules/sgm/diffusionmodules/model.py:365-400 | imaginairy/modules/sgm/diffusionmodules/model.py:532-567 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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 \u0060imaginairy/modules/diffusion/model.py:420\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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"5534cbd1abe28ebd87615d71588678de5abf87d676af2f75b250c0a197e9ec4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): imaginairy/modules/diffusion/openaimodel.py:632-667 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:680-715 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 282 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 \u0060imaginairy/modules/diffusion/openaimodel.py:632\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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c848baf2650b99517de02e8c073f7dbcb543a84a9b5bcc71d535906fd598820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): imaginairy/modules/diffusion/openaimodel.py:697-730 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:740-772 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 282 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 \u0060imaginairy/modules/diffusion/openaimodel.py:697\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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08df5a81e67c8a0029b832acc38f82bf1e97dec3046c719cbd3131928aa4fc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): imaginairy/modules/sgm/diffusionmodules/video_model.py:277-309 | imaginairy/modules/sgm/diffusionmodules/video_model.py:392-424 \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":"imaginairy/modules/sgm/diffusionmodules/video_model.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed920a8a8818d2fd165ba423ce879bbbb2d5904ee6d0aa6718a71f290d0ef19e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): imaginairy/utils/model_manager.py:268-298 | imaginairy/utils/model_manager.py:324-354 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_manager.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be2036b730b76bd0cc5fc43c5aeb3b1f093242125c7cada9400be6ae0d42222"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): imaginairy/modules/diffusion/model.py:457-485 | imaginairy/modules/sgm/diffusionmodules/model.py:402-430 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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 \u0060imaginairy/modules/diffusion/model.py:457\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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1648badc4292292620e7253e94008c9f47ef3043dffde3800e5472d02bef998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): imaginairy/modules/cldm.py:128-154 | imaginairy/modules/diffusion/openaimodel.py:519-546 \u2014 before extracting anything, compare \u0060imaginairy/modules/cldm.py\u0060 and \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 168 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":"imaginairy/modules/cldm.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7772dc70fc92ade0d298d70a1645273d13de377f558910469a1487fe176a66a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): imaginairy/modules/diffusion/openaimodel.py:761-788 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:793-820 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 282 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 \u0060imaginairy/modules/diffusion/openaimodel.py:761\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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"edaf028ec98104ead5446946ef0bd01a3b02975bb9751fd04429a67c746e3d6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): imaginairy/api/generate_compvis.py:507-532 | imaginairy/api/generate_refiners.py:569-595 \u2014 before extracting anything, compare \u0060imaginairy/api/generate_compvis.py\u0060 and \u0060imaginairy/api/generate_refiners.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate_compvis.py"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb6bf65177a34ab9a24880a519465b2d85cc64fafeb7cff5c2bda83a40e64de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): imaginairy/modules/diffusion/model.py:308-334 | imaginairy/modules/sgm/diffusionmodules/model.py:234-260 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79be46f3f00bc09e35a73d8aada1726ca733df6582eed8b1238b5c9426ee0bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 3): imaginairy/modules/cldm.py:194-219 | imaginairy/modules/diffusion/openaimodel.py:577-601 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:635-659 \u2014 before extracting anything, compare \u0060imaginairy/modules/cldm.py\u0060 and \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 168 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 \u0060imaginairy/modules/cldm.py:194\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":"imaginairy/modules/cldm.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33aa8ac9eb248abb1980b4bcb81a191d2bf6b4db91c4b59708ef7c4eeb2ab23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): imaginairy/modules/diffusion/model.py:103-128 | imaginairy/modules/sgm/diffusionmodules/model.py:106-131 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c718236f2587dc68f4960c1738795fc512f3608a4cc3808e1603b06ca1c2b1c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): imaginairy/modules/sgm/attention.py:246-270 | imaginairy/modules/sgm/attention.py:322-346 \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":"imaginairy/modules/sgm/attention.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fd6be17f31afec5121f75c75f9a4cbbd4ba3834e6c9f26e9e1c6e0efc38094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): imaginairy/modules/sgm/autoencoding/temporal_ae.py:121-145 | imaginairy/modules/sgm/autoencoding/temporal_ae.py:193-217 \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":"imaginairy/modules/sgm/autoencoding/temporal_ae.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"95457eed4923cfe4c30848499b8993d70a41535ff44bff3e75f6418dea316a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): imaginairy/modules/sgm/autoencoding/temporal_ae.py:151-175 | imaginairy/modules/sgm/autoencoding/temporal_ae.py:223-247 \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 \u0060imaginairy/modules/sgm/autoencoding/temporal_ae.py:151\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":"imaginairy/modules/sgm/autoencoding/temporal_ae.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6eaac17e9417a10958195eff10495b178299f5f36226e8c8dfa7e6746ef495"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): imaginairy/modules/autoencoder.py:310-332 | imaginairy/modules/autoencoder.py:334-357 \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":"imaginairy/modules/autoencoder.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"984e299669b0b37b7db077a0f8501b577db96ae4e38626e2f77e528671fea127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201322 lines \u00D7 2): imaginairy/modules/midas/api.py:125-142 | imaginairy/modules/midas/api.py:195-216 \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 \u0060imaginairy/modules/midas/api.py:195\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":"imaginairy/modules/midas/api.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee37be7a97a27a674b2a42e502d8cc1f0e5c49b788fcbe6d0a65885bd13db3da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): imaginairy/modules/diffusion/model.py:475-495 | imaginairy/modules/diffusion/model.py:740-760 | imaginairy/modules/sgm/diffusionmodules/model.py:420-440 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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 \u0060imaginairy/modules/diffusion/model.py:475\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b63f0845dc8ce262d699745440f929ac799282b375e782e5150676431b4466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): imaginairy/modules/sgm/diffusionmodules/openaimodel.py:607-627 | imaginairy/modules/sgm/diffusionmodules/video_model.py:182-202 \u2014 before extracting anything, compare \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/video_model.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. 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":"imaginairy/modules/sgm/diffusionmodules/openaimodel.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e1a56ec94dc5697f7cf3efd756432f6409432c838dcce6246ef8212c55ba25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): imaginairy/modules/sgm/diffusionmodules/openaimodel.py:662-682 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:775-795 \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":"imaginairy/modules/sgm/diffusionmodules/openaimodel.py"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"762dae8a9d7bcfccb29428f920da97ac4c9b6f2507a6d4114321ef88767b3d60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): imaginairy/modules/diffusion/openaimodel.py:307-326 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:382-401 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 282 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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"712116650828084d9143d0c72371fba1500c0e0277f3efc8217ebf1052bdf520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): imaginairy/modules/refiners_sd.py:194-213 | imaginairy/modules/refiners_sd.py:333-352 \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":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ad647658e5717e5949346f97970599b9158f7f2a8e5c1ef91d9d67be4c6c7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): imaginairy/modules/sgm/autoencoding/regularizers/quantize.py:100-116 | imaginairy/modules/sgm/autoencoding/regularizers/quantize.py:210-228 | imaginairy/modules/sgm/autoencoding/regularizers/quantize.py:377-393 \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 \u0060imaginairy/modules/sgm/autoencoding/regularizers/quantize.py:100\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":"imaginairy/modules/sgm/autoencoding/regularizers/quantize.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"579e3beecea058c81d1824e0155da58cc29d577106169ddbdaa6307619bb7e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): imaginairy/api/generate_compvis.py:189-207 | imaginairy/api/generate_refiners.py:163-181 \u2014 before extracting anything, compare \u0060imaginairy/api/generate_compvis.py\u0060 and \u0060imaginairy/api/generate_refiners.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate_compvis.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"849df4e90d504402710e2db3713c6414bcb1bd21e5d572d44587605a46c6a27a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): imaginairy/modules/attention.py:396-414 | imaginairy/modules/sgm/attention.py:717-735 \u2014 before extracting anything, compare \u0060imaginairy/modules/attention.py\u0060 and \u0060imaginairy/modules/sgm/attention.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 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 \u0060imaginairy/modules/attention.py:396\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":"imaginairy/modules/attention.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"f944c8b5e9ede12b9773277722373cc9c9b1ef209d35d988ba70f4404418c03b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): imaginairy/modules/autoencoder.py:461-479 | imaginairy/modules/diffusion/ddpm.py:945-963 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/autoencoder.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"123d0123a005564adce4694fede2976928ac4581f410ecab23b4da36e3a610dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): imaginairy/modules/encoders.py:133-151 | imaginairy/modules/sgm/encoders/modules.py:393-411 \u2014 before extracting anything, compare \u0060imaginairy/modules/encoders.py\u0060 and \u0060imaginairy/modules/sgm/encoders/modules.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. 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":"imaginairy/modules/encoders.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1033c7602b7812f1426f78f404cea6cf428f941d78ef879a83cf9e40173378f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): imaginairy/modules/midas/midas/backbones/utils.py:170-188 | imaginairy/modules/midas/midas/backbones/utils.py:193-211 \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 \u0060imaginairy/modules/midas/midas/backbones/utils.py:170\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":"imaginairy/modules/midas/midas/backbones/utils.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a092416e9173afc74cc31299dbf501dc3f8fa6fe2aef43d425942f46094d035e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): imaginairy/modules/sgm/diffusionmodules/openaimodel.py:585-603 | imaginairy/modules/sgm/diffusionmodules/video_model.py:160-178 \u2014 before extracting anything, compare \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/video_model.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusionmodules/openaimodel.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1389eec4264d6498f15db6297e5e70428a4ee95e2dfa9f57bc1ff497a09a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): imaginairy/enhancers/video_interpolation/rife/msssim.py:106-123 | imaginairy/enhancers/video_interpolation/rife/msssim.py:194-211 \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 \u0060imaginairy/enhancers/video_interpolation/rife/msssim.py:106\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":"imaginairy/enhancers/video_interpolation/rife/msssim.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cee98a39f96c0a26842088f1fb071c80bbb67f34e01f1a758a4d7625fdba57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): imaginairy/modules/diffusion/model.py:508-541 | imaginairy/modules/sgm/diffusionmodules/model.py:453-486 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa024f783174de100d7dc9eb2c4769a68f8ac1cc1cd2d51e794e55f577583b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): imaginairy/modules/midas/midas/midas_net.py:64-81 | imaginairy/modules/midas/midas/midas_net_custom.py:138-155 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060imaginairy/modules/midas/midas/midas_net_custom.py:136\u0060 calls \u0060contiguous\u0060 and \u0060imaginairy/modules/midas/midas/midas_net.py:61\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":"imaginairy/modules/midas/midas/midas_net.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18b7fc13523cb9204fe693c85f62dedd3bccbd3b047cac13af08cbde94c3a2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): imaginairy/modules/refiners_sd.py:489-506 | imaginairy/modules/refiners_sd.py:661-678 \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 \u0060imaginairy/modules/refiners_sd.py:489\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7006c6047975ba1ab3ac61b91b75e036b3fabcd6293299978cea9796029f6d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 5): imaginairy/modules/diffusion/model.py:447-460 | imaginairy/modules/diffusion/model.py:614-627 | imaginairy/modules/diffusion/model.py:712-728 | imaginairy/modules/sgm/diffusionmodules/model.py:392-405 | imaginairy/modules/sgm/diffusionmodules/model.py:559-572 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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 \u0060imaginairy/modules/diffusion/model.py:712\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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e835a1f968355c16513a0148b34186ec154380ddbeedfa8d2a061d03ff6c63c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): imaginairy/modules/diffusion/openaimodel.py:813-829 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:830-846 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 282 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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7ede9a6abb73c8c45a958a1e19ba301c286017375d6afd06232e65487738e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): imaginairy/modules/encoders.py:182-198 | imaginairy/modules/sgm/encoders/modules.py:542-558 \u2014 before extracting anything, compare \u0060imaginairy/modules/encoders.py\u0060 and \u0060imaginairy/modules/sgm/encoders/modules.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. 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":"imaginairy/modules/encoders.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6482da67e6cca1aa6136efbf3f87e1e357fa3c2cecd670020622ccb8a7e6c35f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): imaginairy/modules/refiners_sd.py:227-243 | imaginairy/modules/refiners_sd.py:514-530 \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":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf427831c5fee057741740fd4ca8c29e6b11568c1528efafbeab7d52cfe728f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): imaginairy/modules/diffusion/model.py:167-182 | imaginairy/modules/diffusion/model.py:288-303 | imaginairy/modules/sgm/diffusionmodules/model.py:165-180 | imaginairy/modules/sgm/diffusionmodules/model.py:215-230 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1804ae16f7a18da4b35eaaa8ff33ec6cb8915979e975aad371d69eccd5278094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): imaginairy/modules/cldm.py:128-143 | imaginairy/modules/diffusion/openaimodel.py:519-534 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:562-577 \u2014 before extracting anything, compare \u0060imaginairy/modules/cldm.py\u0060 and \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py:558\u0060 calls \u0060isinstance\u0060 and \u0060imaginairy/modules/cldm.py:127\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":"imaginairy/modules/cldm.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f420941799f9dba5fce0dd722141bf00f6bda78fba2da4fee5edd20088d0594"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): imaginairy/modules/autoencoder.py:215-230 | imaginairy/modules/refiners_sd.py:751-766 \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":"imaginairy/modules/autoencoder.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a35ff468d90e0b2cbecd587f6f2e8f6da7aed17480e5a42291c4fec776dba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): imaginairy/modules/diffusion/util.py:188-209 | imaginairy/modules/sgm/diffusionmodules/util.py:201-222 \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":"imaginairy/modules/diffusion/util.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6e8ca81cc82db2d2cd2b7df4321d32e5025e700688a1103ca519975cf0b1ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): imaginairy/samplers/ddim.py:71-86 | imaginairy/samplers/plms.py:81-96 \u2014 before extracting anything, compare \u0060imaginairy/samplers/ddim.py\u0060 and \u0060imaginairy/samplers/plms.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/samplers/ddim.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f21d6622c089b111f97b7816e4efbc8f8008f59e7a6d6143d291f5439686e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): imaginairy/cli/edit.py:136-150 | imaginairy/cli/imagine.py:221-235 | imaginairy/schema.py:430-444 \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 \u0060imaginairy/cli/edit.py:136\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/edit.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bc10e43300df6740201935e6f652a40447d9e585091dcfe9fd680a1c0eedd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): imaginairy/modules/diffusion/ddpm.py:1544-1558 | imaginairy/modules/diffusion/ddpm.py:1880-1894 \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 \u0060imaginairy/modules/diffusion/ddpm.py:1544\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":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9bba02caa17c86dfb583859d2ceb5f0b394d21ab0128a38908b1bfae5f07e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): imaginairy/modules/diffusion/openaimodel.py:405-422 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:453-470 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 282 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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df61f5af2ac7fffa159ed51ec8e0664287ba000f65f6e03e6af84cbb1b22e2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): imaginairy/modules/refiners_sd.py:146-160 | imaginairy/modules/refiners_sd.py:283-297 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060imaginairy/modules/refiners_sd.py:146\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e00a369ebc5be990c5a5d0faa80b8ccc0e8c66cf0e365335a0690c4db28019"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): imaginairy/modules/sgm/attention.py:222-236 | imaginairy/modules/sgm/attention.py:297-311 \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":"imaginairy/modules/sgm/attention.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c505cb8309e986876164b14c8c11ba7f71d92a25c1a0d68ad8cb225c62b6192"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): imaginairy/modules/diffusion/model.py:427-440 | imaginairy/modules/diffusion/model.py:594-607 | imaginairy/modules/diffusion/model.py:737-750 | imaginairy/modules/sgm/diffusionmodules/model.py:372-385 | imaginairy/modules/sgm/diffusionmodules/model.py:539-552 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb68be22d36e915db94865ad00e656b78bf93d8e6b6be8c0304c84dec84d1e52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): imaginairy/modules/sgm/attention.py:248-261 | imaginairy/modules/sgm/attention.py:324-337 | imaginairy/modules/sgm/attention.py:426-438 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/attention.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b18ec6b8eee28495826d9bffbeac4a6c1f4da42355d756cae2dbf50385b238"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): imaginairy/modules/clip_embedders.py:35-48 | imaginairy/modules/encoders.py:79-92 \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":"imaginairy/modules/clip_embedders.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa58179f34b6b2b8c98b16b0dac6a6234316ff4f6db7b6abd11b30acdc9251b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): imaginairy/modules/refiners_sd.py:165-178 | imaginairy/modules/refiners_sd.py:302-315 \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":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"455f1c0a5f5182b34bd2a89c32202614259fd1cb28d84b9aae28e9aa8449a295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): imaginairy/modules/refiners_sd.py:472-485 | imaginairy/modules/refiners_sd.py:638-651 \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":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5728cd5ee8cab44d0483df0885ced6b4f371914c9bb2c144a74f6c044efcdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): imaginairy/modules/sgm/encoders/modules.py:292-305 | imaginairy/modules/sgm/encoders/modules.py:335-348 \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":"imaginairy/modules/sgm/encoders/modules.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"2728d8948ddaf852432b672a794b85a7fdac47bca3975b22507238347a951e0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 5): imaginairy/img_processors/hed_boundary.py:17-25 | imaginairy/img_processors/hed_boundary.py:29-37 | imaginairy/img_processors/hed_boundary.py:41-53 | imaginairy/img_processors/hed_boundary.py:57-69 | imaginairy/img_processors/hed_boundary.py:73-85 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060imaginairy/img_processors/hed_boundary.py:17\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":"imaginairy/img_processors/hed_boundary.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff774aeb9bd63037cf03b98166b937ea9c438f52318e2bed72cc30ba0e792b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): imaginairy/modules/diffusion/model.py:725-737 | imaginairy/modules/sgm/diffusionmodules/model.py:674-686 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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 \u0060imaginairy/modules/diffusion/model.py:725\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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c75e6474cdf19c345029d7506d6869c2f7de8c23b666afe7c237cd1a0ef9d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): imaginairy/modules/sgm/attention.py:272-284 | imaginairy/modules/sgm/attention.py:360-370 \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":"imaginairy/modules/sgm/attention.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21b09ec8c016b911a719354cdbf5595cf6d2d4b85228fb7b53ad7f28ed98099"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): imaginairy/modules/diffusion/model.py:456-467 | imaginairy/modules/diffusion/model.py:724-735 | imaginairy/modules/sgm/diffusionmodules/model.py:401-412 | imaginairy/modules/sgm/diffusionmodules/model.py:673-684 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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 \u0060imaginairy/modules/diffusion/model.py:456\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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"005406727443a2dd12348a204d07367a61de098568f62475d929a587c1629be8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): imaginairy/modules/sgm/autoencoding/temporal_ae.py:50-61 | imaginairy/modules/sgm/autoencoding/temporal_ae.py:137-148 | imaginairy/modules/sgm/autoencoding/temporal_ae.py:209-220 \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 \u0060imaginairy/modules/sgm/autoencoding/temporal_ae.py:50\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":"imaginairy/modules/sgm/autoencoding/temporal_ae.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"65adc099ffcea07b565d09f019ae0c8000834fbee196b4ebffea07d47acfa20b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): imaginairy/api/generate_compvis.py:167-177 | imaginairy/api/generate_refiners.py:141-152 \u2014 before extracting anything, compare \u0060imaginairy/api/generate_compvis.py\u0060 and \u0060imaginairy/api/generate_refiners.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate_compvis.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"af38c5d9d41dc1eb3b4344bf6cb9d2e9433ab4fce63390d0ea93f769112b1997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): imaginairy/modules/attention.py:84-95 | imaginairy/modules/sgm/attention.py:142-153 \u2014 before extracting anything, compare \u0060imaginairy/modules/attention.py\u0060 and \u0060imaginairy/modules/sgm/attention.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 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":"imaginairy/modules/attention.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ba123c43d024fc07d2b282e66cc8124c967919560eefd4e4ce1885fb0e5f0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): imaginairy/modules/attention.py:101-112 | imaginairy/utils/model_cache.py:101-112 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"imaginairy/modules/attention.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8caa2db8adf67bf0350d1f3cd842dcc26ab76db55425a2eabf85a53d8a38e628"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): imaginairy/modules/attention.py:416-426 | imaginairy/modules/sgm/attention.py:739-750 \u2014 before extracting anything, compare \u0060imaginairy/modules/attention.py\u0060 and \u0060imaginairy/modules/sgm/attention.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 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 \u0060imaginairy/modules/attention.py:416\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/attention.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5411d8f576ae3dcbf37b92f152aaa59afdaf88d88b9a1130b3f21e0a57b9cc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): imaginairy/modules/diffusion/ddpm.py:311-322 | imaginairy/modules/sgm/diffusion.py:218-229 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6dc480e4efd26a15c5538c32a71270eaf4fdbcd8dfa1666f51169c3f268ae45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): imaginairy/modules/diffusion/ddpm.py:1617-1628 | imaginairy/modules/diffusion/ddpm.py:1633-1644 \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":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e899bafb0f3c124981c4d1e2585fc2f9f2e1541a01f6a82ecaacde9346b792"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): imaginairy/modules/diffusion/model.py:29-42 | imaginairy/modules/sgm/diffusionmodules/model.py:29-40 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a354e753e060a1f2019adacf6dca3ccb04fcaf7f9dd1645bd1b70fea436fbdfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): imaginairy/modules/diffusion/openaimodel.py:220-231 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:271-282 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 282 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 \u0060imaginairy/modules/diffusion/openaimodel.py:220\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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67bc332817bd518d6e47e635861b869059ce7147b5bc79833e5922f9cefd4ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): imaginairy/modules/diffusion/util.py:173-184 | imaginairy/modules/sgm/diffusionmodules/util.py:186-197 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"imaginairy/modules/diffusion/util.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fbfcae6addefa437bc13dfeb6461f60a522d511998b041d78294c7346f3041"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): imaginairy/modules/sgm/diffusionmodules/openaimodel.py:842-850 | imaginairy/modules/sgm/diffusionmodules/video_model.py:475-486 \u2014 before extracting anything, compare \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/video_model.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060imaginairy/modules/sgm/diffusionmodules/video_model.py:475\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":"imaginairy/modules/sgm/diffusionmodules/openaimodel.py"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56263bec7768004ab8ab206bd663931ed6039ff5695073d2e96da3978b1a37d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): imaginairy/samplers/ddim.py:57-68 | imaginairy/samplers/plms.py:65-76 \u2014 before extracting anything, compare \u0060imaginairy/samplers/ddim.py\u0060 and \u0060imaginairy/samplers/plms.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060imaginairy/samplers/ddim.py:57\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":"imaginairy/samplers/ddim.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"10311988adb03b01c46169a92bb07db58e7eeabfefd080c153a255cb8ea5107a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): imaginairy/samplers/editing.py:50-61 | imaginairy/samplers/kdiff.py:256-267 \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":"imaginairy/samplers/editing.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2f2b41cb287c02c16076068b8050e1f1b2c59c6cec1a3db4aec72d7c979716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): imaginairy/utils/model_manager.py:746-757 | imaginairy/utils/model_manager.py:766-777 \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 \u0060imaginairy/utils/model_manager.py:746\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":"imaginairy/utils/model_manager.py"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f12c5a440704f6315635a2ec215814dc6a2c398fd5fafa70c891368748bae9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): imaginairy/modules/diffusion/openaimodel.py:555-565 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:595-605 | imaginairy/modules/sgm/diffusionmodules/video_model.py:170-180 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 282 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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b25612df9470cd79db4fc169022ee281ab6dec1a55a09abc7f1492e7bec319"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): imaginairy/samplers/base.py:175-185 | imaginairy/samplers/ddim.py:226-236 | imaginairy/samplers/plms.py:235-245 \u2014 before extracting anything, compare \u0060imaginairy/samplers/ddim.py\u0060 and \u0060imaginairy/samplers/plms.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/samplers/base.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"573303d1e5ce1d3a2fbf6f05400d250014cd0c553c9f48295c4d0ed64ba0fd98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): imaginairy/modules/attention.py:285-293 | imaginairy/modules/sgm/attention.py:449-459 \u2014 before extracting anything, compare \u0060imaginairy/modules/attention.py\u0060 and \u0060imaginairy/modules/sgm/attention.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 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 \u0060imaginairy/modules/sgm/attention.py:449\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":"imaginairy/modules/attention.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5eb8791bed9eddab850f7b9d3b6c9a7b78b7130990de14a696c0caf2e2b93e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): imaginairy/modules/clip_embedders.py:120-130 | imaginairy/modules/sgm/encoders/modules.py:649-659 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/clip_embedders.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbedb49b0e6a8d13fa5c136c550dd4c4907c9878e0d9ed87c697370368447163"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): imaginairy/modules/encoders.py:220-230 | imaginairy/modules/sgm/encoders/modules.py:580-590 \u2014 before extracting anything, compare \u0060imaginairy/modules/encoders.py\u0060 and \u0060imaginairy/modules/sgm/encoders/modules.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. 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":"imaginairy/modules/encoders.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ff017af1ac8295f80eef1b6f7fbebe6f717a390fc61da97124a83768728881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): imaginairy/modules/refiners_sd.py:246-256 | imaginairy/modules/refiners_sd.py:533-543 \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":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8646415169a1b6c7a8367b40fb3f1cf40f26202f29f7d278737fc209d5eb0af4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): imaginairy/modules/diffusion/model.py:483-492 | imaginairy/modules/diffusion/model.py:748-757 | imaginairy/modules/sgm/diffusionmodules/model.py:428-437 | imaginairy/modules/sgm/diffusionmodules/model.py:697-706 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacc17d4cb57e64f21ba3f7ec1467bb8685367ecf0ec525556369f0a979dc7be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): imaginairy/modules/midas/midas/backbones/utils.py:168-177 | imaginairy/modules/midas/midas/backbones/utils.py:191-200 | imaginairy/modules/midas/midas/backbones/utils.py:214-223 | imaginairy/modules/midas/midas/backbones/utils.py:227-236 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060imaginairy/modules/midas/midas/backbones/utils.py:168\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":"imaginairy/modules/midas/midas/backbones/utils.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"22be4a8ff9edd4aa97d5fdc902ac97dc43343bdad5a0542456397cf235e3ee8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): imaginairy/modules/diffusion/openaimodel.py:823-830 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:840-849 | imaginairy/modules/sgm/diffusionmodules/video_model.py:473-482 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 282 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 \u0060imaginairy/modules/diffusion/openaimodel.py:823\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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e04f666b1b524bab7c41293226ac83838da76552e3c5e9b129423ebaf9480a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): imaginairy/modules/attention.py:267-276 | imaginairy/modules/sgm/attention.py:406-415 \u2014 before extracting anything, compare \u0060imaginairy/modules/attention.py\u0060 and \u0060imaginairy/modules/sgm/attention.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 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":"imaginairy/modules/attention.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e303bdc703a480c5161cfb8adbee1a134d4fb3f4a4c35a3e31f7dfa966223e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): imaginairy/modules/diffusion/model.py:510-526 | imaginairy/modules/diffusion/model.py:641-657 | imaginairy/modules/sgm/diffusionmodules/model.py:455-471 | imaginairy/modules/sgm/diffusionmodules/model.py:586-602 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3c712817fd191aa0047faf080be9b586f39cd7d4364a0c63495c71d22bb9d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): imaginairy/api/video_sample.py:454-462 | imaginairy/utils/img_utils.py:43-51 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"imaginairy/api/video_sample.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"17078af59ecfb1a57f8e830a71f286fd5ed263f8ec214fc25906f5630af7805c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): imaginairy/img_processors/openpose.py:571-579 | imaginairy/img_processors/openpose.py:587-595 \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 \u0060imaginairy/img_processors/openpose.py:571\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/img_processors/openpose.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e3eff4516205f2222bdb6b29b43cb7f0d58e819b3b586b98ea8ec49e59bdb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): imaginairy/modules/autoencoder.py:182-191 | imaginairy/modules/autoencoder.py:280-288 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060imaginairy/modules/autoencoder.py:182\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":"imaginairy/modules/autoencoder.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"01433271c10b3d287de7bf37d91305ee73553a69cb80ca827e9c97bfc0a7ef74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): imaginairy/modules/autoencoder.py:445-458 | imaginairy/modules/diffusion/ddpm.py:929-942 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060imaginairy/modules/autoencoder.py:445\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":"imaginairy/modules/autoencoder.py"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6cfb17b611639886eaf518317f4b0ff19646bb70fed3daab0aab072e88f2ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): imaginairy/modules/diffusion/ddpm.py:1510-1518 | imaginairy/modules/diffusion/ddpm.py:1849-1857 \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":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7d4131118d3204ca651d7a90e3fec55df1306d745a9180038cf77daf12f469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): imaginairy/modules/diffusion/model.py:188-196 | imaginairy/modules/diffusion/model.py:214-223 \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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ea25730d16cf8effafcfff8f7a9255d056d4810710b5f045ed08f9df0b7b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): imaginairy/modules/sgm/autoencoder.py:420-428 | imaginairy/modules/sgm/autoencoder.py:433-439 \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":"imaginairy/modules/sgm/autoencoder.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"4418e860f86a568e92033013a662c2453d21d4e35df60a2adc86dcb12937f4bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): imaginairy/modules/attention.py:126-133 | imaginairy/modules/sgm/attention.py:226-233 | imaginairy/modules/sgm/attention.py:301-308 \u2014 before extracting anything, compare \u0060imaginairy/modules/attention.py\u0060 and \u0060imaginairy/modules/sgm/attention.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 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 \u0060imaginairy/modules/attention.py:126\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":"imaginairy/modules/attention.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd769f53a76f492b4a29ee209d6e75d4fe635262d8a64c094950978c646010df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): imaginairy/api/generate_flux.py:232-241 | imaginairy/api/generate_refiners.py:451-460 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060imaginairy/api/generate_refiners.py:462\u0060 calls \u0060eject\u0060 and \u0060imaginairy/api/generate_flux.py:243\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":"imaginairy/api/generate_flux.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c9cf6ccb6d7da9aff405adefa3bbac37d70d3694c026292ad322a3915400d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): imaginairy/modules/diffusion/openaimodel.py:46-53 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:44-51 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 282 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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c153e91a18e2662af369d29240852c39ad896aa6134a0e622cfa48ce9cb51bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): imaginairy/modules/diffusion/openaimodel.py:270-277 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:339-346 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 282 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py:349\u0060 calls \u0060zeros_like\u0060 and \u0060imaginairy/modules/diffusion/openaimodel.py:278\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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c2a730969e0827472c2b70e9df33a62002b454a3f02f696179043858557c75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): imaginairy/modules/diffusion/openaimodel.py:373-388 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:425-440 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 282 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 after the matched lines, \u0060imaginairy/modules/diffusion/openaimodel.py:391\u0060 calls \u0060count_flops\u0060, \u0060count_flops_attn\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py:443\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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"53430c44d92749cbd74a13a30fe305418fd347a3d505f26d3d31906df8abba84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): imaginairy/modules/distributions.py:9-18 | imaginairy/modules/sgm/distributions/distributions.py:28-37 \u2014 before extracting anything, compare \u0060imaginairy/modules/distributions.py\u0060 and \u0060imaginairy/modules/sgm/distributions/distributions.py\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 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":"imaginairy/modules/distributions.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f312559a8c9a3583752bea69aeedf5c2c6324c37c06b1715840a0ee5288993b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): imaginairy/modules/attention.py:129-135 | imaginairy/modules/attention.py:270-276 | imaginairy/modules/sgm/attention.py:229-235 | imaginairy/modules/sgm/attention.py:304-310 | imaginairy/modules/sgm/attention.py:409-415 \u2014 before extracting anything, compare \u0060imaginairy/modules/attention.py\u0060 and \u0060imaginairy/modules/sgm/attention.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 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":"imaginairy/modules/attention.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25d33a8ba8a7a4e8b69fb93d63969c0a90e727ac64a07a109743b9711ae6196"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): imaginairy/cli/arg_schedule.py:54-60 | imaginairy/utils/prompt_schedules.py:24-30 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/arg_schedule.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0cd0d4dcffd27f027bf17a1f77892b1e188cbf6aab10c0e3be2d1be9b8e318"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): imaginairy/modules/attention.py:301-307 | imaginairy/modules/sgm/attention.py:494-500 \u2014 before extracting anything, compare \u0060imaginairy/modules/attention.py\u0060 and \u0060imaginairy/modules/sgm/attention.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 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":"imaginairy/modules/attention.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c6cc3cfa02731d2af6e90acd0a4a533cf673cbbf96fba719f8ab9f756152c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): imaginairy/modules/diffusion/model.py:84-90 | imaginairy/modules/sgm/diffusionmodules/model.py:87-93 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9ce6f97f58dc151a3bf000ec6b701dee52f89a56226540ae7f4cf69453ff77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): imaginairy/modules/distributions.py:47-53 | imaginairy/modules/sgm/distributions/distributions.py:65-71 \u2014 before extracting anything, compare \u0060imaginairy/modules/distributions.py\u0060 and \u0060imaginairy/modules/sgm/distributions/distributions.py\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/distributions.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b22e59548c117f8bbc80b3e249576a234fa323665b5dfe6997387dc657cfd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): imaginairy/modules/encoders.py:211-217 | imaginairy/modules/sgm/encoders/modules.py:571-577 \u2014 before extracting anything, compare \u0060imaginairy/modules/encoders.py\u0060 and \u0060imaginairy/modules/sgm/encoders/modules.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. 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":"imaginairy/modules/encoders.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbe7983181595cc7d0b90a6e46472c02fafab4492a2d223b99bfabf160fed98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): imaginairy/img_processors/openpose.py:792-797 | imaginairy/img_processors/openpose.py:809-814 \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":"imaginairy/img_processors/openpose.py"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f1310125b5109a311fe6eb3b79befb3ecc9d80e8554ae43819cc4d50c1bc36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): imaginairy/modules/diffusion/openaimodel.py:278-286 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:351-359 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 282 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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a592cbf2e121856a1081c9979c3b37d76073c4bebcbf449c3599e395a0486a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): imaginairy/modules/diffusion/openaimodel.py:335-340 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:407-412 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 282 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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a38b8c53babb778d7f1f872661c84cf344a89c599b747e04ced2e2d596941ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): imaginairy/img_processors/openpose.py:197-201 | imaginairy/img_processors/openpose.py:204-210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/img_processors/openpose.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea51b3884b7a751646640e4ce832d2ee3d7def12c5f40ea44f7134e306e543d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): imaginairy/modules/diffusion/ddpm.py:678-683 | imaginairy/modules/diffusion/ddpm.py:1875-1879 \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":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19ed5b1a9663381b1351f88545b1471a595fb88413f869e231b3e9a3ccebf1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): imaginairy/modules/diffusion/openaimodel.py:57-63 | imaginairy/modules/sgm/diffusionmodules/openaimodel.py:55-61 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/openaimodel.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/openaimodel.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 282 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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60a508f8bb66be49d49ce76c7b413f75b94e7b46154ff920bcb4c57101710fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): imaginairy/modules/sgm/diffusionmodules/denoiser_weighting.py:8-26 | imaginairy/modules/sgm/diffusionmodules/loss_weighting.py:11-34 \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":"imaginairy/modules/sgm/diffusionmodules/denoiser_weighting.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9099ce175435186c8c29b5687e2c21cc7484734aeafba954c9f617db01f695c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): imaginairy/cli/arg_schedule.py:28-39 | imaginairy/utils/prompt_schedules.py:34-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/arg_schedule.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1aa4b8a2848892cf1592fe73f90f829fce857cad969fe2977c75e2783087a74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): imaginairy/modules/attention.py:77-81 | imaginairy/modules/sgm/attention.py:135-139 \u2014 before extracting anything, compare \u0060imaginairy/modules/attention.py\u0060 and \u0060imaginairy/modules/sgm/attention.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 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":"imaginairy/modules/attention.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b4852d90f7263ec45fe7acbdb5f44d807f91a45cf8b8c435992cf1d14cd5e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): imaginairy/modules/diffusion/ddpm.py:526-532 | imaginairy/modules/diffusion/upscaling.py:68-74 \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":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a297c79a40e47c4ddc456986c4079402a4ed1b1b07f06a2197fb3baad42705"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): imaginairy/modules/diffusion/model.py:59-64 | imaginairy/modules/diffusion/model.py:75-81 | imaginairy/modules/sgm/diffusionmodules/model.py:62-67 | imaginairy/modules/sgm/diffusionmodules/model.py:78-84 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d621e991c10d6a11722cb11ce7dd46b1ee810b4dd9fea4bdba69d436f6d93fd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): imaginairy/modules/midas/midas/backbones/beit.py:217-226 | imaginairy/modules/midas/midas/backbones/vit.py:114-123 \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":"imaginairy/modules/midas/midas/backbones/beit.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c08ccadbfe9452f3d4f39d59e9c1452fe4c36698a79faf8f0f4a116e71f170d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): imaginairy/modules/autoencoder.py:575-579 | imaginairy/modules/diffusion/ddpm.py:922-926 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/autoencoder.py"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f58bae90aba309154a69b0c53c8d89d70f2e417b38cdb9d39c4c91f7a3b5f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): imaginairy/modules/diffusion/model.py:342-346 | imaginairy/modules/sgm/diffusionmodules/model.py:272-276 \u2014 before extracting anything, compare \u0060imaginairy/modules/diffusion/model.py\u0060 and \u0060imaginairy/modules/sgm/diffusionmodules/model.py\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 305 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":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d1a38b74788bac759f97e53c77fa6fd104daa6a51120c618c3bbfac6e9890b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): imaginairy/modules/sgm/diffusionmodules/guiders.py:41-45 | imaginairy/modules/sgm/diffusionmodules/guiders.py:98-102 \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":"imaginairy/modules/sgm/diffusionmodules/guiders.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"432f73ea5988e050e26ae8f51b3914d9054a255709de4b105fdad852738b7cee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: typical value? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/encoders.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ea84dea25308026c510052985fe3f8644b82b46b52c8277d198746941100df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Use this directly in the attention operation, as a bias \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/attention.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4b76012d6bf1e3be6462ebec91e2865aada7d9cb715856688d213afc03fd9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # (todo might depend on head_dim, check, falls back to semi-optimized kernels for dim!=[16,32,64,128]) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/attention.py"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"061022999972045227746bf4ab9a9261cb63cce384431f8b6bd8689ed62424c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: shape not yet optional \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/autoencoding/regularizers/quantize.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca452abf2027be0f52f37b3fafc664ca958120a32eecfa53ca4cca2483762ec3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo load once not every time, shorten code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc00451cc9242369c2368d454cb1c18a6d35524ae8031e7ddae4d9ad7c628e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: drop this option \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"659c52025d31fbccca5eab5a3c3cdf47e6bf16683443d77f2caa832c61c27071"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo can only deal with one conditioning atm \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f7b181484baa2770cd122da1d70cb069811cb7b1bd2e4d0c57cb268af15d86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo check for completeness \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3c8594d4e33d8ba54c543f012cb66bc562f3bbbc55a5d21cba5913783c845c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo extend to list with more than one elem \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a7952871cfe2be989e16fb646194ab016e23b6a83d744c6fae9b4246bfdafd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Todo make this more efficient \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf7687c84724ca4386610fdd81a5c17f831f4ed80d42b8da7fba9a93a621c2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo can\u0027t deal with multiple model outputs check this never happens \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4c3a3a08dd611edc853592c1fc8768ff031948ffec29666e556c85deb2ee7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: get null label from cond_stage_model \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a18ab1ee2d4d9d892599b41e147c5c4305166337a4819f7ac3bd9c8e8b2197"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: check checkpoint usage, is True # TODO: fix the .half call!!! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"395e3c0f00e1be5d23d866733312578f56cf47d8cc31168b07e3572386157dfb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: add an outer blur (not gaussian) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/clip_masking.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd71d9fe252afacf7598cac38ae177e95f8998afba1deb15a9d33a38f86e9f0b"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # hacky method of getting order of control images (mixing raw and normal images) \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/imagine.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7ac122f2dccc287d8d48cf6e67ff795cab7d68c98d3e8a2bd82ad5b15c0f6d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # todo: do something smarter \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate_refiners.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf20d4dceb59a8e3a113f9465df05250fbc23e00c9b37b1a8cb3736d2d79895"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060setup.py\u0060 makes this repository a deployable product (line 12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"setup.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"592d3b527192dcc635e0d3620b5ab85e733e86a8c73dc2514871cd852d17c732"}},{"ruleId":"D27","level":"note","message":{"text":"Scattered collaborators: 87 % of calls cross a namespace and only 46 % of collaborators are co-located \u2014 group each feature\u0027s code into a vertical slice so a call\u0027s collaborators sit together."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5aad4a4530bac3928d3a065a664be89d023ecfc865f9bf79ac05754b3bffe322"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d6eab37a8a4d9a4d97d2903db4c714cfaf71ca8acd8a974ca666f8e2c742215"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82fe1350d74d3bc4f1108b4611ea010e68a03bb5bc4232b05874cddfd67a7bd4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22a2478f73bdac1a45263944aba3814040546b7d9a135f256831dfac089c2bd4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e4878d27aaa95c06af3f937edf4b8e466b863fc5324b3d9f96111dcd0c6d11d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0840ab1fe947ad978fd67312ee5f97acaf651076b80ecc45044612792aab5d0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"00a350ba331fa20045dc007902f9ecaf630ff6944c1e92739bd5b80285ceee3b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43db6868a1703c599704b08e8146eed6fff47cc5123bfa7d017d769fc9695078"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e9f2d83f323313017f0c1bd5220216946026d052352b3d157312da7e31e17a0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a43828855f3e1bbeaec4e541c1b70c4389c18b6ca1bddc42e75e126c2f4b2a4c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f265ea696c064c758c2ff732f0ad04d8dbcea09885534f9a2e61e065d046be4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e97ad8c66ee61dc2b1aea4b54c4354d3c4581421c689559cb6303f310643a4f4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a8a5af0018150a3d8aa4753a9ebb58d800f6c0c7639fe1232a54f03d73a75591"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89fd4c9f1e4dba72e7f340b38616c727dd91f0cdbe7eeba11394c040c9df90eb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8aa43baf2b8c2cfc6942da77e330f670f75dfb3e222c769bed517912c3f45c82"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7970b25d07d1a7f4f6c46745f9d04f7498cf39ea5bbece3a6106f2321c656844"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0d086c0f837c73869372f806ddff8d9e8ea6ece1e050ace261997e77682b002"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a8b2909563bc46cdad4a40268ed13997de52bbac42505f8623d1ce4d08c29145"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24b96e5779ab3f6a7af6fd7c12fd1ed93227a7e723fdeabcf0018915e4910f32"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb85e7358464f5b9e0fa7bfcd33c1a5c458004b1608bf2cc6e0497b2d201df16"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ee5c3e1473475f38c00f99998174a93bc49518918dfe9d561545be012d85f09"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4e708dc5c1978f65fc221d001f3b9d5c9c3401fda005d546d60f787c68ebcad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc65f3c7a9a50d25c6ba89948225ec69a230e9ea6395a880e31a22bf9883dd15"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5f2a9f6ce38a08c677b09ad9849f9427de0325ab8487b032e62762738d86868"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d020f61a4b62f209014fef746589f17a0d53a28c3486f918ea10b8bd140da60d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"385e4188899146d32d78af84748d0fd9b6d3a8c157539caab4664b0e93ec7466"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b3b77b0f0ad6cfd42b1ae50ef97a8bded18fe82795f948ada58bc2bef76ece91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"afd1b9a965fadd88084fb7f82d98801f344233357da1495a706308d596667b0a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"565e499bb94ec993c6f5c41300b5b6489dcd6dbc7a628194bc1bf9b09ca0bce7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ca88ed20bbe21b085ab0adc08dafaef98d6d975526fab896c2124615c2c039d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"066457870d99b1c9fd4e67c55f11a00bb56d7bfc8e15d931521179421dcd43aa"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"56172ca054e258699c83bde168037a796c13c6f713c5501cca4ed5f735dcc4d8"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7f5a00d7e49ba6d5607c114c7d161660c5fdf93418438e660ef5854251121aa"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35938e968048868584addc7e15aee71a8384581cf3ff8429fa6bb0ed1433be5b"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e7636b1928167a49727c5e085730e32fd00584c34f576a4ff495a5d060758a1a"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24d30d0dec75878ec94d949931c00d0fa9594ef99f16aa048275d1a54e432d0e"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb4867cd15fc5b0a59e89c839e221e5b4d2aef81ea1261edfe7d03b253d81d84"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"e1b1ed1969d09ef5d98722eb23358c3efcbb0dcdf9cce092c2396b0f3ed039f5"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"3dae9312a5e4413ed6fa1b192e86f6362a1e3d6785fae676194c23e4ae3539b4"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"8fc2d1d3a8b691e286e7f6b724e00f104636e82e291b23d928508b5515ede6dc"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"592266359c2c9f541f667c9b69d4d7d6b9aef6f032a3bef14904c9e8cee5e617"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"45b82f30b2285dfa57d6f362f9e1f3705b23ccc435b75a63a39abecbec5bccde"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a79a442b36006ae5796ec30cf4a3740fd1412e9266e6d367759d0d6931f01e1"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d484747abf1f4c5fa70c368e0e03601eacb72d02362f437410af5d6f0e6f80b4"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eebf8c825fd28d684fc920674b4ad06ab12f5410859939de5473415ed7a3c5c1"},"properties":{"dependency":{"package":"anyio","version":"4.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-4024","PYSEC-2026-4025"],"severity":"critical","fixedVersion":"4.14.2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d7fe25467fe3b9b680c2fc505374b0a193d1946a67f9b2163db2699255f079c"},"properties":{"dependency":{"package":"certifi","version":"2024.8.30","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"severity":"critical","fixedVersion":"2026.10.18","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea9dd0926338f397cf32c82dddfc68f40a0cf73115e582a681aef0f2c16f1820"},"properties":{"dependency":{"package":"h11","version":"0.14.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-348"],"severity":"critical","fixedVersion":"0.16.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e49cd664afa0e688a673ba895f189952d346fdbd35d24701995c0fdf5824e623"},"properties":{"dependency":{"package":"pillow","version":"10.4.0","advisory":"[GHSA redacted]","aliases":["BIT-pillow-2026-112390","BIT-pillow-2026-112391","BIT-pillow-2026-112392","BIT-pillow-2026-112393","BIT-pillow-2026-112394","BIT-pillow-2026-112395","BIT-pillow-2026-112397","BIT-pillow-2026-112398","BIT-pillow-2026-112399","BIT-pillow-2026-112400","BIT-pillow-2026-112401","BIT-pillow-2026-112402","BIT-pillow-2026-112403","BIT-pillow-2026-112404","BIT-pillow-2026-112406","BIT-pillow-2026-112891","BIT-pillow-2026-112892","BIT-pillow-2026-112893","BIT-pillow-2026-112894","BIT-pillow-2026-112895","BIT-pillow-2026-112896","BIT-pillow-2026-112897","BIT-pillow-2026-112898","BIT-pillow-2026-112899","BIT-pillow-2026-112900","BIT-pillow-2026-112901","BIT-pillow-2026-112902","BIT-pillow-2026-25990","BIT-pillow-2026-40192","BIT-pillow-2026-42308","BIT-pillow-2026-42310","BIT-pillow-2026-42311","BIT-pillow-2026-54058","BIT-pillow-2026-54059","BIT-pillow-2026-54060","BIT-pillow-2026-55379","BIT-pillow-2026-55380","BIT-pillow-2026-55798","BIT-pillow-2026-59197","BIT-pillow-2026-59198","BIT-pillow-2026-59199","BIT-pillow-2026-59200","BIT-pillow-2026-59204","BIT-pillow-2026-59205","BIT-pillow-2026-96636","BIT-pillow-2026-96637","BIT-pillow-2026-96638","BIT-pillow-2026-96640","BIT-pillow-2026-96641","BIT-pillow-2026-96642","BIT-pillow-2026-96644","BIT-pillow-2026-96778","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-165","PYSEC-2026-2249","PYSEC-2026-2250","PYSEC-2026-2252","PYSEC-2026-2253","PYSEC-2026-2254","PYSEC-2026-2255","PYSEC-2026-2256","PYSEC-2026-2257","PYSEC-2026-2874","PYSEC-2026-3451","PYSEC-2026-3453","PYSEC-2026-3454","PYSEC-2026-3493","PYSEC-2026-3494","PYSEC-2026-3495","PYSEC-2026-3496","PYSEC-2026-4326","PYSEC-2026-4327","PYSEC-2026-4329","PYSEC-2026-4330","PYSEC-2026-4331","PYSEC-2026-4332","PYSEC-2026-4334","PYSEC-2026-4335","PYSEC-2026-4337","PYSEC-2026-4338","PYSEC-2026-4340","PYSEC-2026-4341","PYSEC-2026-4343","PYSEC-2026-4363"],"severity":"critical","fixedVersion":"13.0.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fc382f5900ceac39e74ac05ac0e64c6c7d2cf608187a10e65ba7238dd635c89"},"properties":{"dependency":{"package":"torch","version":"2.4.1","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2024-48063","BIT-pytorch-2025-2148","BIT-pytorch-2025-2149","BIT-pytorch-2025-2953","BIT-pytorch-2025-2998","BIT-pytorch-2025-2999","BIT-pytorch-2025-3000","BIT-pytorch-2025-3001","BIT-pytorch-2025-32434","BIT-pytorch-2025-3730","BIT-pytorch-2025-46148","BIT-pytorch-2025-55551","BIT-pytorch-2025-55552","BIT-pytorch-2025-55553","BIT-pytorch-2025-55554","BIT-pytorch-2025-55557","BIT-pytorch-2025-55558","BIT-pytorch-2025-55560","BIT-pytorch-2026-24747","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2024-259","PYSEC-2025-189","PYSEC-2025-190","PYSEC-2025-191","PYSEC-2025-192","PYSEC-2025-193","PYSEC-2025-194","PYSEC-2025-195","PYSEC-2025-198","PYSEC-2025-203","PYSEC-2025-204","PYSEC-2025-205","PYSEC-2025-206","PYSEC-2025-207","PYSEC-2025-208","PYSEC-2025-209","PYSEC-2025-41","PYSEC-2026-139","PYSEC-2026-1856","PYSEC-2026-1970","PYSEC-2026-2286"],"severity":"critical","fixedVersion":"2.6.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9f589ea4a063da962a21aa6f30e6b1abcca03004a9ae2c0b099bf1a7e705e5d"},"properties":{"dependency":{"package":"diffusers","version":"0.30.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2446","PYSEC-2026-40","PYSEC-2026-41"],"severity":"high","fixedVersion":"0.38.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b79b9ad7272658502dbf979e9a3f38103279489aeebd454d5c34a2ae5c819609"},"properties":{"dependency":{"package":"fsspec","version":"2024.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4217"],"severity":"high","fixedVersion":"2026.6.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e32a805c1fa2afaa633f01968ecadacf5c73c7b896b354d5e38e4d2a17e48224"},"properties":{"dependency":{"package":"protobuf","version":"5.28.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-1805","PYSEC-2026-1806"],"severity":"high","fixedVersion":"5.29.6","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aee22b62bc69665529aa4485d6ba9332188d6f6471498aaf5e40ac510fabc85b"},"properties":{"dependency":{"package":"pymdown-extensions","version":"10.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1825","PYSEC-2026-2999","PYSEC-2026-3609","PYSEC-2026-3654"],"severity":"high","fixedVersion":"11.0.1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b96d5f997583d8b3e7b986d133a0359c94094c329b0adfa2956969776f353ba"},"properties":{"dependency":{"package":"sentencepiece","version":"0.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1909"],"severity":"high","fixedVersion":"0.2.1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7ffb5ccafd1831456da5089e6f453a5878c98027a70c77aec1d8f68195e2fe1"},"properties":{"dependency":{"package":"starlette","version":"0.38.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-161","PYSEC-2026-1941","PYSEC-2026-1943","PYSEC-2026-2280","PYSEC-2026-2281","PYSEC-2026-248","PYSEC-2026-249","X41-2026-002"],"severity":"high","fixedVersion":"1.3.1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb7fea415abb4dcff811f9112038c6bdc28815aca4cd0774c7ff28ae3c0825ad"},"properties":{"dependency":{"package":"transformers","version":"4.44.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2024-227","PYSEC-2024-228","PYSEC-2024-229","PYSEC-2025-211","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2025-40","PYSEC-2026-1977","PYSEC-2026-1980","PYSEC-2026-1981","PYSEC-2026-1982","PYSEC-2026-1983","PYSEC-2026-1984","PYSEC-2026-1985","PYSEC-2026-1986","PYSEC-2026-1987","PYSEC-2026-1988","PYSEC-2026-2288","PYSEC-2026-2289","PYSEC-2026-2290","PYSEC-2026-3929"],"severity":"high","fixedVersion":"5.3.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a6df8f01aa962955dab5f5079f13c48a6551a9d4f6dd78ed32df008843edda3"},"properties":{"dependency":{"package":"urllib3","version":"2.2.3","advisory":"[GHSA redacted]","aliases":["[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]","PYSEC-2026-141","PYSEC-2026-1994","PYSEC-2026-1996","PYSEC-2026-1997","PYSEC-2026-1998","PYSEC-2026-1999","PYSEC-2026-4175","PYSEC-2026-4177"],"severity":"high","fixedVersion":"2.6.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b874b9ebee90df1321f802e16c0fe8cebd3d35de38b2e4a4d6d0965dbe01a0d9"},"properties":{"dependency":{"package":"wheel","version":"0.44.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2047"],"severity":"high","fixedVersion":"0.46.2","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":"ff67a81dc89012d74acc058f5231ed53faf35cf778c1bd82a472d6164c8cfb27"},"properties":{"dependency":{"package":"accelerate","version":"0.34.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3804"],"severity":"medium","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":"6a126ffe29dd5a3285d85b3348970fcde5343a231b96600f0c82bbc85727509d"},"properties":{"dependency":{"package":"filelock","version":"3.16.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1374","PYSEC-2026-1375"],"severity":"medium","fixedVersion":"4.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":"3c41358a30e46e29034e9b9cde2f2e2e1d0eeee861468ddeb0c495b31e619f75"},"properties":{"dependency":{"package":"idna","version":"3.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-215"],"severity":"medium","fixedVersion":"3.15","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":"fdd7f6e39f21bb321f33ca7b1417260cd7d6d417d1ed4c367ff7c1bc52be2495"},"properties":{"dependency":{"package":"jinja2","version":"3.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1471","PYSEC-2026-1472","PYSEC-2026-1475"],"severity":"medium","fixedVersion":"3.1.6","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":"463f470db5548582899391a9ed9067cfe0d7a8eaa083073f27baad44a727d54f"},"properties":{"dependency":{"package":"markdown","version":"3.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-89"],"severity":"medium","fixedVersion":"3.8.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":"24f17abc4ffccc10e5218b68170aed17327eb06112bdc35058cc88fbc5ea2dea"},"properties":{"dependency":{"package":"mkdocs-material","version":"9.5.36","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3864"],"severity":"medium","fixedVersion":"9.7.7","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":"e3203d560a5eeb9d59238a9561bc97686a35464ad79ca41cc8f35accf8ddb90b"},"properties":{"dependency":{"package":"pygments","version":"2.18.0","advisory":"PYSEC-2026-2987","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"2.20.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7971a0fddc4018215aeb3a74a789dc0d005a60e17aa166aa07f23609ce62501"},"properties":{"dependency":{"package":"pytest","version":"8.3.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1845"],"severity":"medium","fixedVersion":"9.0.3","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":"be064f803cd9ed941b2f078b91fbe6ad08d92434c18d45b8ed0d5301800f18e5"},"properties":{"dependency":{"package":"requests","version":"2.32.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-1872","PYSEC-2026-2275"],"severity":"medium","fixedVersion":"2.32.4","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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"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":"6c9bd328f1425e4185802e2cb388fc5dec17b2da92bc5227fa43622d89e747d7"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"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":"9b15183b821b0d8f2a8a9a4a501e7e6d43815f083fe597ec3f99fb39c4628148"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 106 of 106 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 106 separate risks. Counted over 106 of the 174 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b33547c7368c26ba2b5273ba2b91e6a1b1b4d3d044df84fc14f5d2c02a1aef"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/encoders/modules.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff1f813be848050a0ce7f6efd1e077ea8ee1d2b71fc266bbacf16562efbe92e"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c1c89ddd722bbe6eafa0c6447c58dfb7a2046d14b9d8011ab09ce963f435be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"777bd99b6e84444196a2c72697c87d4649dfd75eefef76161433822d6d0a2f33"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/schema.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"812490957b495a7fa12ba53d4c6a39c4fba6a4062c1cf4b86f0afdddf7fafeab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8e759b3037e02745b6d010a24f87c59bfbd3f662bfb1f05d77dab0e24cc36c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusionmodules/openaimodel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e8c5821d62cfdd52e5ea7872f9478b5d46888ec68f5cce902a9d2493423ca7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/img_processors/openpose.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f348c518e4a8411fe8df199b7368c587a0557593c15e64f1033aa2f3281ae4f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"166e9cc6f5af521c2c24bb90e37446ac4508575af63ee8d60bffe988067ba545"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/attention.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab7d21e5e8874bf5d13c2ccbf6a439b9cb1a870e4b62073ea6c369dd4fc600e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusionmodules/model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"725b2798f7b1ff0c99d09cc34a8d4211c0929e837d41321023925d81adf9ead9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate_refiners.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68fab953c65b8633086ea05b3ae7419c68a0666984d7fcee4682c01bdd1f0d3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/autoencoder.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7b9a1377ff77df878b402dae869df4673556ee0c3ef915942ee72807e75830"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/autoencoder.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a9558b7ca37816236c3143e55d5bca97d3e29ec442372a854a7153d5d3f259"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/img_processors/densepose.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60a5db4889f526bda7b798f5b5416fdc245703c9dce964836d2f9584a927b3e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate_compvis.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66ead5c23d97347e28627a8c656a85b521e812b6b9307b42882cd68edfcd6d6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/config.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1243d895e7a6461c8fcf0061e255f82727c451c3a48f8dbbc89ebc6aa5c171"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/video_sample.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b6c1a528f0d09b1aebc318fecb838eaf88a6c5c3b344d191d8cd72640e2d7b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusionmodules/video_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9400c0280327ac16b1adef2d0ab9635e12ec0a4c90cff47dc7b738975ac3ec5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/autoencoding/regularizers/quantize.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e50789fc7eb263d07d9a3a51247b6587f05d80929e675a19bf1005ef79507f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/shared.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d97997a7d12e5335850725b7ba1ddb4c096cf209f4682b78a5d4f9367c7aa66"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/log_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cf622bdda3432d60542f5a378d752f3b630b98d0551bc091e623e631081ad7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/cldm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a62e709181eeca3fe9e616e9e40babf279c7dc5fdaeeb89b217e6ad58eb17a9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/attention.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36adac4fae7c26e62de4a1d87d01b6e32a5a7b57d48f177a2dc8650e20e5472f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/video_interpolation/rife/interpolate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5380d6135f73492c498f2b9ebc1318350da242da855b942d20695c266dbb32df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/midas/midas/blocks.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"551f45409988cc89aa40e19e46c8b6ed306f255ba67fa0fe8041aa155463ec15"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_cache.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91012c91a620f98cf18c19ad8f432d153b179ffe837002920612e41521604e41"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/midas/api.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e31f05b70e703c48f9dca44cf0c51a7c064960be2416cd14da1fb85c8acd14"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusionmodules/util.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41541734627dc89fde1aebc3e7bbae61b907689553e3154bae5103577db73fc4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/autoencoding/losses/discriminator_loss.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c95bce4d6d4c543719b5b25e8f3f5b2e3002244b9b8e949923fdfca3a291a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusionmodules/sampling.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8ff0dfc05f8d08df3c3c5285e18382402c8a450da91c9bf9dbdf1461300f82"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13783870a1d059e98f1b38f88fd4b1a7e50d84ad2c8276b81660a4fcf7f377c6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/autoencoding/temporal_ae.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f21e32ca75ba5aa9219e30f44ee45850dd900dc31af40b0714c1f4e48a5c135"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/upscale_riverwing.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30aca9bf9355b9af393ce9e1f75d341795ab20417b2687de15c990c8dbee4fac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusion.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c1c522af941c54956a163c41334d0b0fdb7686f1e1c6e562b668d6480bcda3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/video_attention.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"879c93940321d005b8d422c405efed623f89106cf67970ac34458ef77c15f579"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/img_processors/control_modes.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3715d27b2df47402c1d87efe0e6a66cc8e7c7739317b6f3149c1ab3c2815fac9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/util.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7325ea45a3b00b345902ffbce69f17154ca109ae5aced07e64fa0a8fe34b7a10"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/surprise_me.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69537e73b8217266452f4367bd91ef5053552c84443e989aa2fe4e0ee9fade3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/__init__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5aa477da5157f3783bffdd7ab6a53ede73cde8e187acfbaae15b9fca2944de8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/weight_management/translation.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76da46b3ddd599505a57b038c8d83fd9515155856e32e3029c61978be068984f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/prompt_expansion.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31e8f1d0e22ba524e3361a94e02d05a08511b4439fd5d7dcff695270ec5a064"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/samplers/plms.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"506d82f44be1f452bbc65b9e3d022c7266f2142309db0d2d5c3899fd091e4ffd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/img_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20e223bff8beb36823a39cd1fd20d43077c4b5d4eb708c1cc67c6bb1b09a558"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate_flux.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d47e3062e3141df5af34e85f06cce49a7d43379584b17076d5aa8d44fc3d86c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/weight_management/execution_trace.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d64ad4a05ebb38ced7896bbe900695d44d0f59440640ea43572bdb9e5d40f91"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/samplers/kdiff.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b42ce2b02bcfbf467a402567f9fcb1b102b572f1d1e87f43bf55802045c4d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/encoders.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4731f3852ec5b80531a4b58936b404c5e6bd8c3518d32969574725da44d2e0b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/midas/midas/transforms.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a20ea2de9302feeb2ab4566f90c5d8e88d1db1fb594e36a40518ee8417b7df9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/outpaint.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8fd56d6de8bbaee56b64e4b69267ccaedf6069767824f858a76fc11082297e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/downloads.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1d8f918281b5b58366e0c08ca44e9d2562acf2373e41869d90f3f7d7583b4f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/video_interpolation/rife/msssim.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff983c6dc5f622b2f36f376ff03f6322621c23e75cc12a50f9d74ff7766f987c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/img_processors/hed_boundary.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6133f356dde2c30c3c92399a4ffb275ae821ecf53457c25dd41a66c98e83ba1a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/samplers/ddim.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf7870132670d3ca05e075334418e10b3af7dc36d56432667febe9c4ef4921c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/video_interpolation/rife/IFNet_HDv3.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b4459cb246f88de4db2046ff17cc4d863a37d35615f808a5b71d59bf4b9c4f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/midas/midas/backbones/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0720f83dc0d2b3f419c27eb3e4bbf6836445b125bfbd3f4eb5e49d66864f390"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/midas/midas/backbones/beit.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e243c1f5b72461aa61e914cd81ece8aa5a5bfed6627fb491956f8ca0e2af424"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/feather_tile.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d74958d5d691b5cfdba3383bf83dbca1ecbbe1050a397154b2a3b6edeeccaa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/midas/midas/backbones/vit.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbee5b184feea208fd80c34401ef1f5ccb9e0d050ce63de6b531c7267b7bd35f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/imagine.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1650ca331a878b6e9f5cbf2a6456ec774487bb15aac717837784a8a6d7d94c83"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/img_processors/segformer_b2_clothes.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcea424403719da2c915c815e5ea28d39245113632d6902bc18b95720270e32"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/modal_entrypoint.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3e7bc7c922fb69eacba21464e3082ab7eaa58c9cf6ffb478c4e53ab728972f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/midas/midas/dpt_depth.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1b290aa236a1904f80f8ed6682c1ce1f2bd0ad29767c5461886a96d14fb15a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/samplers/base.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bd2a5fec8376431210ee7517c13e58dcb4fe531f33e9eb47c2a16e1bf331f2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/safety.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fbfaf9ee81780391c64acf7a451b5fdffeed8dfd23c583e3d3a1a2eea2021a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/midas/midas/midas_net_custom.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af854187c16039b280bfd4535583cf24c63cfc927f6d021c0fb485d7ec2b7d4d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/data_distorter.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f9611f413f1b6a160fbe55002fdc6c7682d0ca163422a2236e6a49679f9d9a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/bool_masker.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ac1bdba8833b6e4449b307b0f28b37d00559102e4b81e37dceb74647d707c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/autoencoding/lpips/loss/lpips.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58962210febcc266d2d10b6ce0bb9da86d6f3bcba64ebbd44575a637336c0e5a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/animations.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92f25dc2978e2ab9258a8dfe3cfbafef90c8dd4fb554865467b09e97c016221"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/midas/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2358e20108f4eda35b4d8df990126bb8df8c1fd0f6fea9b9aceb814dbd11c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/weight_management/translators.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f188c26b3c4c88c7f283e0a8440a99063081a8f996f2bb5a0e2b474a16b971"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/face_restoration_codeformer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dffbeec178cee86599a685476de10b097804b9ef0e3e88bd5d36aa689c841e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/controlnet_convert.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2faf66e444eb932942e3733e4131732e5822b26184a5642b5c677cda28be10a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/upscale.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce9f5958863a60537188095b7f45a9f120401c01ad342f36e199d940a74e45f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/text_image.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"213fe0f2b93bacbd70ce415459b227d8fdea60b59263ca130fb9de93d4eb2a78"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/weight_management/generate_weight_info.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb455d253cf69b2e47f3d9437a3e21d4eec0513eac0da49df6d22df14cae90a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/upscale.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb17a2a15e8a6fcced795ce1ae7ee06f6c7258437e92f31113225f941d4f0d0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/weight_management/conversion.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddfde8129168d12df9883a4c0d1afda5939644ca3cf2a8f2b38cc7cd121b5db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"setup.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7350905534832be734b65ede2f1f6e4eed767a85bcf7759ec3c0518b0ce72a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/torch_installer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf57ae1eb96d89a2bae2b6a2e6bf8bdb1edd458f14fe423c479d6f469fad168"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/autoencoding/lpips/util.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2c8d4721f29599bb7a97293e62e449d50e8e4cde0ced2f9f28d7b89d9cbf58"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/edit.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d48dff97918ebb2d8334d06c536a97f8216a1817f5fcb1129fa7ef65a803d53"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusionmodules/loss.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8f8702261ff847695fb984c33f6967cdfeb25c9fce8285f37f4c9c133ee17b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/clip_embedders.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5389993687aac5804a7bce29d47c639de7645bc76cf625e594300b73a94583"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/upscaling.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d5756c911786cbbb0a5ee9dffe246bffd7841dc774642368a25677ca714716"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/clip_masking.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5225ed614641cc72714c1286e890ff6b92bef7bcc829b2d55f4f03fc24c72372"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/http_app/stablestudio/models.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"886008a9a9fe2a9fa981372b674cc5da8d7c9b9397e887c56ba22e84964c52e8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/weight_management/pattern_collapse.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"713c92bc0de0ae589baca7b792210b615bcba7e3040b27a59e3ebfd384dfdc98"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/clickshell_mod.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9755f0d1ee53b7ceda94e4b2ba1d199a5a6aa1d9723f00d10247f995f525ab1a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/roi_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8a43cff4460657145b8e2e7bc7feee1279e74e1e627a848ed4cff7759385e7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/ema.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de5e07505869d2b54fbf862ab296edf0904c58652de3d0af02dda6dba074ea3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/spaced_kv_parser.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e12efac3b8389a391895866baa91df12884bb21b72f5f47999e43997d110c4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/colorize.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"705bbbd71ad696420d26cb259cde15cbcfd312305040a40f3ba8a497cc2f2069"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/tile_up.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bcb12ae9dc6e8dd99a595329c6aadbe7b4354fe474c8f7cf6216dc195731de"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/distributions/distributions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"772790d1ffbe2be922fe7fc94917934dac2401bba98dfd3e9d1398b16b2cf650"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusionmodules/guiders.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"294c15a07a60234359ae30425546b741f19f94e0db7264f5526e18263ddb5d8f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/autoencoding/losses/lpips.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58057c4a547a4ffc448f2800946e558deb4a2dcf430335223447892746aed05"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/gitignore.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4681ff596558ad8cecbab62c8cda8e907fd274a13d1d15fb125cee142572c123"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/videogen.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a0e6a99faae90619b2ab83684333144d143ae8a79a98dc4d17c21183b20a77"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/autoencoding/lpips/model/model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20472669931213c527edfe0ca4aeeb57e4e936ea5b09a9b3e1fe35b2ad27b09"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/midas/midas/midas_net.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb83367d7ac1f11bc2e17ec65f851b68f3e4412417052070822354d3915c3aab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusionmodules/denoiser.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64063b56b3c5f8ff3b53b6d01aabd2f40c796565b4d3ec0f1e676997f6a28b2e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/main.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edd9ac09fa2ce2065072a135e911b8c77c10e5e69aec814271ef63eab144163"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/named_resolutions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f52264706187c7d96845324b219f944b99c7a06630b214f99ece1462e9a10da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusionmodules/discretizer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60980e490e69b9cda8b180ec78558144011277660f7ccb3714e417334f14a6d7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ddim.py \u2194 plms.py: \u0060imaginairy/samplers/ddim.py\u0060 and \u0060imaginairy/samplers/plms.py\u0060 change together 82% of the time (18 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 18 shared commits counted here, the most recent 3 are \u0060dbc6a249\u0060 fix: k-diff samplers made more stable by skipping second to last step; \u006070c58467\u0060 fix: img2img was broken for all samplers except ddim,plms; \u00607af1ab66\u0060 fix: add workaround for bug in k_diffusion on mps \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/samplers/ddim.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5b9344389f51daefbc93da0a4cfb7875bb9e6442da32515161dbc35272379f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: generate.py \u2192 shared.py, clip_masking.py, ddpm.py, util.py, base.py, ddim.py, kdiff.py, plms.py, log_utils.py, safety.py: \u0060imaginairy/api/generate.py\u0060 changes together with 10 other files \u2014 \u0060imaginairy/cli/shared.py\u0060, \u0060imaginairy/enhancers/clip_masking.py\u0060, \u0060imaginairy/modules/diffusion/ddpm.py\u0060, \u0060imaginairy/modules/diffusion/util.py\u0060, \u0060imaginairy/samplers/base.py\u0060, \u0060imaginairy/samplers/ddim.py\u0060, \u0060imaginairy/samplers/kdiff.py\u0060, \u0060imaginairy/samplers/plms.py\u0060, \u0060imaginairy/utils/log_utils.py\u0060, \u0060imaginairy/utils/safety.py\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 10 separate couplings, not 10 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 10."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df78e820ba22d095ae9bf03a47533f167d20754284ef69ee031f02477e2884e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: __init__.py \u2194 setup.py: \u0060imaginairy/__init__.py\u0060 and \u0060setup.py\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060477d161c\u0060 build: better communicate lack of support for Python 3.11; \u00600fb03f2a\u0060 fix/version: 2.0.1; \u00607087c4a6\u0060 feature: automatic mask generation \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/__init__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8004c25a903f334eb4040532cfdcc9b18aee35d14df8db68a345f56bdabb5c10"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57b10683f9ba325c618a8320fde9e1726db8b106169a2fd0a5fc7f8ba111e06b"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: This repository serves requests \u2014 a request handler (@app.post() (imaginairy/http_app/app.py:44) \u2014 and no route guard, auth-gate middleware, global guard or imperative check that refuses a caller (401/403, an Unauthorized/Forbidden error) was found: its endpoints may be unprotected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/http_app/app.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b66963ecf8c62502e32fb46d88d67ed75814a25dad8103251bcc5a3ac6d760"}},{"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":"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":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yaml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"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":"imaginairy/modules/sgm/autoencoding/lpips/util.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42c09a0a5f7176cf22f104840ba3b2fc52fbb8ad8d472e9f70c053e1ff64c73"}},{"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":"imaginairy/utils/downloads.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcafe8ff8824475f3dda29399b91e0d2457202545ad573afe2e757c1069f7016"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060control_input.mode != \u0022inpaint\u0022 and control_image_t.min() \u003C 0 or control_image_t.max() \u003E 1\u0060 appears character-identically in 2 files \u2014 imaginairy/api/generate_compvis.py, imaginairy/api/generate_refiners.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":"imaginairy/api/generate_compvis.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6f1f7afa3464b16d1757fb800d5bc73baf917981a87abfdbf14719a935f511"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060level and i == self.num_res_blocks[level]\u0060 appears character-identically in 2 files \u2014 imaginairy/modules/diffusion/openaimodel.py, imaginairy/modules/sgm/diffusionmodules/openaimodel.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":"imaginairy/modules/diffusion/openaimodel.py"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"3febaa3e765c15f4134af75474839deeb64ec6a0b0e805480d4bebe72da34690"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not XFORMERS_IS_AVAILABLE and attn_type == \u0022vanilla-xformers\u0022\u0060 appears character-identically in 2 files \u2014 imaginairy/modules/sgm/autoencoding/temporal_ae.py, imaginairy/modules/sgm/diffusionmodules/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":"imaginairy/modules/sgm/autoencoding/temporal_ae.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccb182e794107f927301337e7406a509352b212dc26321401537496b41c0cba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060num_attention_blocks is None or nr \u003C num_attention_blocks[level]\u0060 appears character-identically in 2 files \u2014 imaginairy/modules/cldm.py, imaginairy/modules/diffusion/openaimodel.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":"imaginairy/modules/cldm.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bed16819d6a50bb5554e6b707b507e20906d9c9e70cdfc7586e36eee2a002ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060orig_latent is not None and t_start is not None\u0060 appears character-identically in 3 files \u2014 imaginairy/samplers/ddim.py, imaginairy/samplers/kdiff.py, imaginairy/samplers/plms.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":"imaginairy/samplers/ddim.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfcecd4e67f4883275b005745191a69081a03af428f6652d30885057b127c94"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prompt.mask_modify_original and mask_image_orig and starting_image\u0060 appears character-identically in 2 files \u2014 imaginairy/api/generate_compvis.py, imaginairy/api/generate_refiners.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":"imaginairy/api/generate_compvis.py"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"718c7283e0bffe50fab6720a18697f10b97a487de86416a35a1550d34b926ae5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prompt.width \u003C= cutoff[0] and prompt.height \u003C= cutoff[1]\u0060 appears character-identically in 2 files \u2014 imaginairy/api/generate_compvis.py, imaginairy/api/generate_refiners.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":"imaginairy/api/generate_compvis.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"256f3fbb0b22dfec2a076fca33d814a6982347c3aa877668b3b12e12a4a0de1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.model.transformer.grad_checkpointing and not torch.jit.is_scripting()\u0060 appears character-identically in 2 files \u2014 imaginairy/modules/encoders.py, imaginairy/modules/sgm/encoders/modules.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":"imaginairy/modules/encoders.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"53762a3aec8073133b292fa95589a35ff785e6efd32b90c8d6f62dad29d336ab"}},{"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":"imaginairy/cli/unslow_the_cli.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5f25ffc8299ae53c9f919d618833adccfdec56c66323e55ec3a9e929cd4c69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 125 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/schema.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e486f9341180097c902d6f57767ba59188c3d8a2c23813ad5008d2957297204a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 137 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/schema.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9a3fd021c7a8564b88e47751a6ef03d17af408f5eb206346a3229b43bd92f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 81 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/__init__.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a460169eff1480dd45a37362e4cd036a9e6223c8d7d918fcd257d61571ade1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 195 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/__init__.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce8310ab735f2661f8754164cd07826a3c1e6640e13352598ec414baad0c810"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 345 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/__init__.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4a91809ce476d158d92f39516988daf81100b3331900a972301e401270df1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 61 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/animations.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e6d348e08532e8aeb7f0934f83b009d5820edecbcd1c32e834ccbd07272fa0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 110 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/downloads.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68d8848d59056d9578b8d01a3c33c19fd6442fbffd7c3beda85b2bf80e32fb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 214 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/downloads.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"874d3fe36308b025d880ef4e1092d4d93725a2d539a9646285130804f20d021f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 64 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_manager.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6c79dc33dfb1744ed8bee4e6b0dfef4913b1478ad86aab3ebace3f42c41f9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 74 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_manager.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9a3bc043773977379f0ee82deebbd09e7f10907ee2d857f9c711a32db28948"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 138 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_manager.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"96587004d35efea696b333d4a7f8f61b73e4791c00d748ddb793b6ea09474c1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 299 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_manager.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8e8486d985e25cf6ade9ea4bcf3aab60e278f61a1ee58dd06814eaace357dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 313 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_manager.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"b460749fd0c6867d4fdc9db38533d78bc503fe2d44be1aed13e398c5d8f80e88"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 373 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_manager.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cf8248a0b36cc0da69899d498e21ca35b57574efb7aa44ccae255c8bdc8b1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 378 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_manager.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"5897ae1df1259a0bce8761f584fe95267670da5bd285d9df65da93da1f91845c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 564 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_manager.py"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"958fa18bf1a7f2d35287ba1590b15692e0f7001e942a808b2278b9a1377382fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 577 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_manager.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b63ec3c3ab88308dd5d1c20909715f052e5dca08d2c4252d3183e00821c620"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 595 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_manager.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"3343d79335f19cf96339631fbbddc0201548ae97e536870684ee643316d8a582"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 596 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_manager.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"e138b0662689ec042d688784f18c9d625b26cfb313071f16a176b6ecec0b57a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 661 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_manager.py"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9f6845463a5ae5e793b91d6ef21be4eb5c8a6988baebd68dbdd32055c19264"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 725 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_manager.py"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a9f00f34e953013ad644b369acba035489ceb4ec8fdb15249dcf3cebc336db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 815 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/model_manager.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"00648323d807d94981a529d2a4f70c9fa17cfdfa1f369f0f0dab53b65b62f47c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 34 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/safety.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a244b0520c36a2f6b0b00f60c03f3fa1c202fb24f1df219c2a69bfb548fdd839"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 51 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/safety.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37696acbd747d144ba676326deaab1a53b3d1959353e0027da487ebcda770a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 165 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/safety.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3335077ee0b89e86efa98dba8e08585e703fc0cf7d1d734d2d6a674d66bd9351"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 171 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/safety.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c408f96b26dfdced0a10a554facd26ccd12208eb5ae3cd3cca429ed74280d635"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 43 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/utils/tile_up.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0bc4cb38d4dff8de35d72fa512d06b7e4539db87d3febd80623c8ead1562a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 157 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/autoencoder.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b60adfdd48002393a09a791925897cac1404ef18a8c30491022730e79c1ee7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 396 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c0d208e3ba368a444140117af77b3e300f7413d99821d713b01e1357754b14"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 725 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81991ddd84fe199747f575213e0a22e94482393932938aed49a9943199ac5fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 740 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"530938c86c37ed97a31526a4f0296a80799b100680ea9bba115a89c12c457712"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 829 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eeb0fa6e33b37a2724da59d8572743da2fd5c2aaee5fe7f04e0fe31bceca29f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 856 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/refiners_sd.py"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"774cec047f3c82ebca3cf863a1521ad24a8f9719bc2b16f70a862abed8e2cbf5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 45 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/attention.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a2cccb5c8491dd88514374ea8aded291897012d1af48dc89544c2900ee58d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 398 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/attention.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"554a4ace7ae9db22b32dfb7be330229d1ebfdb69219ff5f898e1748d40369a2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 529 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/attention.py"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce332375e1636dcbc5bb5bcda59ae4fdc3050b7f4723f1f132712f945c7efdf5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 575 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/attention.py"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"990f488f5fa296c9342c66012295828cf627b9ae59851a75e41144b0750d862e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 695 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/attention.py"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd51f5d61714b11a22a20404250ba0e8b4e7db95a7303654a2838f4de3e9723"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 704 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/attention.py"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd74a27704f4557839307dda990fa5872f94b2f25fee035cf9ba93acb6d88a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 111 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusion.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e0830fdafa55999341d123129a620a45f870972d5ecd2d61f0f525f125ec1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 62 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/video_attention.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"78328f99e542d858edc9c1d4db52f0148544d3a2ced4953d9aacf536b6315f1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 288 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/diffusionmodules/model.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a42badca50d6502fb0e3b6480057fffaf1f7402ae55a1b872ec2ef9b4ef4a38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 274 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/sgm/autoencoding/temporal_ae.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f2b9b1e70762d92b65a9dba9c985b13320a8236bb17dacd2f8655f836ee76a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 868 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5054d9894509ebd0534aa919be03e56b29a77e00c39f6dab8b83c26a89e9da5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1681 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/ddpm.py"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b28a70acf7fa9f413fc7b596ecb1fcb20e5cacd7900d8c84d15275a733e52f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 103 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/util.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8c69be473ad52e6845f76a949f74123a71ae2f8e661d7dd012f96e2a7afe25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 106 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/modules/diffusion/util.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9122fd6188e094c44f83610db11570bdf4586ce3f9ca2114638af99c0f99265"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 93 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/img_processors/densepose.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba25936d8baaf15027fddd63f7d70c470989295f4ba9b97dc3ff64c410bfdd6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 487 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/img_processors/densepose.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"adefb2c16eb5fbe6817b1b00bb5a391d1dc2d641195aeaf5bef2a2e60f0e349d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 119 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/face_restoration_codeformer.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bb7902142b045b6aa434406ed433a72123e27983357e8428ee6f5077fd9178"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 128 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/face_restoration_codeformer.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca9e611e6748bbeed37345433225af068a0f64358ebf20e348d2e67d7f0df79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 130 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/face_restoration_codeformer.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dbefeba2f4207c43610502472cb92312639896ef9045e944740ae3c92375cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 148 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/face_restoration_codeformer.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da715f54b2c05853ebcf385889e5bdfee7146d97b2f6cf48792e06cd5034683"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 72 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/upscale.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c483cb9f7f43800075e367d6988803a661feaf7c3a478ac88d5eb4f73aaee74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 141 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/video_interpolation/rife/interpolate.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"61102852a93e58a5852bfe1ff0ffffb8e33b0b199adb6cdbdc375bba77664006"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 342 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/enhancers/video_interpolation/rife/interpolate.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ac8f0aec78a5edf62c271224fc1982c08c994ed4a646d3470403a102917238"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 61 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/colorize.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4456231bde7d586e0f72cfedab436dffb765285cdf33915d093ada34ebd18c47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 121 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/shared.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1b04cfe681e43cced00fb10198f6c95fc9fe5326908dd17c0a9f5a9fb11787"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 266 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/shared.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a15b1b4c7abd1eef897c7f6958c64e5cad244854ab021d2e444cc84baab43e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 101 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/upscale.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba342bd115b47baad66c58c4f020c9b3b50950b3b36fe296bd9604591e694e2f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 134 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/cli/upscale.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2beb0552eb788cc286706a672f24aab0eef01c0e81b47c4fde376fc1d4c4e198"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 157 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f064d3ba454631fe0b50e8f43c8ff0d39860418149942c798bbb892e2d05078"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 182 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"85719789c9ce4f81b446bd87a9ce74f3d70bc3a8a7656919cc27d85816f3f26b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 197 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"846cd8da4ddfa79fa7614c7062b74aa28806d03885f203b5d68105c48eb1fb78"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 264 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e71f3b2c9d2c6eb224c733db95f306189855bb535002498d389fd7a2ece91e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 435 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate_compvis.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"e570a18589020202d548a0c668b4b3b9544e35b2221d520d5f3ad50948134bde"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 483 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate_compvis.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c771b9ff90d0dc1fc2b21cd728e83c7dcc095d4b27994a4efddbc049ebe4fe3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 207 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate_flux.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4f1b7436556f899b15ff330be95710b6364c43ab1c2aa8b32b7cae57368e66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 233 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate_flux.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5941de422f02331be51c4889f26f7a5819fced32ccc47665c1aca04b397451f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 393 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate_refiners.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf23fbee19487e59e71b0ee3e001d02d3a7a81b8da4717807ddfeb52cceaf663"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 452 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/generate_refiners.py"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"17af590e21ae7f5099e3a998d99fcb2dfa822f0a41f0260d0b0f8b3581d1bcc0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 147 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/video_sample.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"128e2aa210191e538f462aa11b97be6ffef732d09e6f90f72a94b7835352328f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 158 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/video_sample.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4c017fc8629f56c9ecf6bc29489404a25bc9ec6b7fc1cedefd7eb30467e941"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 164 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/video_sample.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cd2d3e7615a672c9f39b755fbd52492efbb5cfe335f205415b622ad7ca8193"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 179 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/video_sample.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5c0490c40ab80546366837aae9c84ed466ce6aad9653765d71ac5f860b306c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 193 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/video_sample.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6f726c43f84ff25089624db19d8e6d7b2e9e7b5e4849d65bcfb1938808798a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 291 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/video_sample.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"beea213f4b2e5b5ffd6e161e41f9862e8da45407e80cdb63f09abd1fcc498830"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 338 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/video_sample.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81ad48029eccef0bb66adcd502b16d8f4733fb35143899435f10ffb2975ee32"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 341 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"imaginairy/api/video_sample.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"1252023fe7cd28891b9a9f0b4af625bd1b2ae792f5dc0754b6b29c6b8626976c"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.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-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-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-95","guid":"400bba4e-483c-5c50-a695-114fa9168003","name":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/95.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"}]}],"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":72,"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."]}]}