{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"plot_utils.plot_all_metrics_by_prediction_length (cyclomatic 36): plot_utils.plot_all_metrics_by_prediction_length 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":"panda/utils/plot_utils.py"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5996bfb75d761b702ce31d62b699779ba03bba9f558460821ce9956e1d874b2"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluation.evaluate_multivariate_forecasting_model (cyclomatic 20): evaluation.evaluate_multivariate_forecasting_model has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/evaluation.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a6263c24432aed62589f89243e34dec4656c58f14c5e4601ad90453e924e88"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluation.evaluate_univariate_forecasting_model (cyclomatic 19): evaluation.evaluate_univariate_forecasting_model has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/evaluation.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f2b70857293752a811d81d21eae33c5c97ffa177b228433b13c3ceb2a9b869"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluation.evaluate_multivariate_mlm_model (cyclomatic 19): evaluation.evaluate_multivariate_mlm_model has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/evaluation.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c1f137099295897fd29d8216b2676b58c267204c00f3f8634a096f2fbddf1d"}},{"ruleId":"D1","level":"warning","message":{"text":"DynSysSampler._generate_ensembles (cyclomatic 18): DynSysSampler._generate_ensembles has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/dyst_data.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca297d5a211db5ed36274a7b6d6ef69dc9a42c46d3e4549d6a534b97757e5a89"}},{"ruleId":"D1","level":"warning","message":{"text":"attractor.check_not_limit_cycle (cyclomatic 17): attractor.check_not_limit_cycle 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":"panda/attractor.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecd69738a49a7975c4b1d064a3b00cd4ccf07ebb7a22958d0d794564d7b6fa8"}},{"ruleId":"D1","level":"warning","message":{"text":"UnivariateTimeSeriesDataset.preprocess_iter (cyclomatic 16): UnivariateTimeSeriesDataset.preprocess_iter has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/dataset.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"34771fec892f367b14bb1acad61f48071978c6eb00fb44f1f8ac0f8c0ec24e80"}},{"ruleId":"D1","level":"warning","message":{"text":"PatchTSTEncoderLayerWithRope.__init__ (cyclomatic 16): PatchTSTEncoderLayerWithRope.__init__ has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/patchtst/patchtst.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"616ff2600d7755da234942b63ec9772fc38ba38f016fae65536fa3938811a7f3"}},{"ruleId":"D2","level":"warning","message":{"text":"plot_utils.plot_all_metrics_by_prediction_length (cognitive 80): plot_utils.plot_all_metrics_by_prediction_length has cognitive complexity 80 (threshold 15). Drivers by points: ternaries 11 (38 pts), if/else 14 (32 pts), loops 4 (6 pts), boolean chains 4 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/utils/plot_utils.py"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aaaa3f149c726b21e0e3cc83b5cc40f9801c73dda8aca4fa4ead0abbd558870"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluation.evaluate_multivariate_mlm_model (cognitive 42): evaluation.evaluate_multivariate_mlm_model has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (31 pts), loops 3 (7 pts), ternaries 3, boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/evaluation.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cd0870280da85865ce2f053b056ca7e3907206c39fc580420b054f0871531e"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluation.evaluate_multivariate_forecasting_model (cognitive 38): evaluation.evaluate_multivariate_forecasting_model has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 5 (15 pts), ternaries 3, boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/evaluation.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"222d739c1c8b5264888539856cebe67e8a759d56d6c14a1f22eb2064af001b5f"}},{"ruleId":"D2","level":"warning","message":{"text":"DynSysSampler._generate_ensembles (cognitive 37): DynSysSampler._generate_ensembles has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 3 (6 pts), ternaries 2 (5 pts), boolean chains 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/dyst_data.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f49980164af7ffdfee4334533e7c7f825d61aa919ee4e2edad0995f330f8621"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluation.evaluate_univariate_forecasting_model (cognitive 35): evaluation.evaluate_univariate_forecasting_model has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 5 (15 pts), ternaries 3, boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/evaluation.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1060588fa012b4fb6827bd7c5aa049458dc3ef1a76fe760804e272f9011cc7b"}},{"ruleId":"D2","level":"warning","message":{"text":"UnivariateTimeSeriesDataset.preprocess_iter (cognitive 34): UnivariateTimeSeriesDataset.preprocess_iter has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 5 (13 pts), boolean chains 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/dataset.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd8bd653b0aa479ea5bf0af87e720456e7a59fc373289c81137163f25faef5b"}},{"ruleId":"D2","level":"warning","message":{"text":"attractor.check_not_limit_cycle (cognitive 31): attractor.check_not_limit_cycle has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/attractor.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cca3cdfe6f365b8174fb321baba4b7c6ab591304a00343a38fe247717d46507"}},{"ruleId":"D2","level":"warning","message":{"text":"DynSysSamplerRestartIC._generate_ensembles (cognitive 29): DynSysSamplerRestartIC._generate_ensembles has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (10 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/dyst_data.py"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b160dfae073f2bcecaa6f5c48a5264829e6a45baa9c67f1bc19db23a7e33d3"}},{"ruleId":"D2","level":"warning","message":{"text":"OnAttractorInitCondSampler.__call__ (cognitive 25): OnAttractorInitCondSampler.__call__ has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 2, error handling 1 (2 pts), loops 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":"panda/sampling.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a122742c66b1c71541eed7df6e9da8ab8639e9551815e723f544bbd0326573"}},{"ruleId":"D2","level":"warning","message":{"text":"SchedulerLoggingCallback.on_step_end (cognitive 24): SchedulerLoggingCallback.on_step_end has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (18 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 15). 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":"panda/schedulers.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a591ca5bb550c947fc2a6e0421a203471820e70db629849725762b8a55a1828"}},{"ruleId":"D2","level":"warning","message":{"text":"plot_utils.plot_grid_trajs_multivariate (cognitive 24): plot_utils.plot_grid_trajs_multivariate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/utils/plot_utils.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbe323be34e1a6dc2d6b45dafe5d041282bd7277a52dc3aa56620d8be79f913"}},{"ruleId":"D2","level":"warning","message":{"text":"plot_utils.apply_custom_style (cognitive 23): plot_utils.apply_custom_style has cognitive complexity 23 (threshold 15). Drivers by points: loops 3 (12 pts), if/else 5 (11 pts) (nesting depth added 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":"panda/utils/plot_utils.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b91d36782cb36fa6c7ce4acb6b54782e08c0567f58afd3c1c6db2792701006a"}},{"ruleId":"D2","level":"warning","message":{"text":"data_utils.process_trajs (cognitive 20): data_utils.process_trajs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/utils/data_utils.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34784d6b18eef30ae73502a2fd870c7623c6df46dff539744699af14ce85767"}},{"ruleId":"D2","level":"warning","message":{"text":"plot_utils.plot_trajs_multivariate (cognitive 20): plot_utils.plot_trajs_multivariate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 3 (6 pts), loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/utils/plot_utils.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73fdd236c70bc1d6005d5d681dcd6e4abf986e24db2e8ba63be8dfe196525a9"}},{"ruleId":"D2","level":"warning","message":{"text":"plot_utils.plot_model_completion (cognitive 17): plot_utils.plot_model_completion has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 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":"panda/utils/plot_utils.py"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b0c4d2630b452a17cfafade53dc62cea3f938791d683791e0415e588f6c050"}},{"ruleId":"D2","level":"warning","message":{"text":"PatchTSTRopeAttention.forward (cognitive 16): PatchTSTRopeAttention.forward has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"panda/patchtst/patchtst.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f363bf84640cfbcf608254cc495edf3f32316b29e690f91fbbcd8de4514fb2fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/plot_utils.py: FileTooLong \u2014 706 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 206 over it, 1.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/utils/plot_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"706dcd4816c550eafe7ad0e652142234e81e150b7ad5b92a0f234dd66b666d85"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: panda/dyst_data.py: FileTooLong \u2014 667 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 167 over it, 1.33\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":"panda/dyst_data.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef636a20ade081865bc19ed4ac59812fbdcdd4a48e8a35bf892a71b7db051e6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (87 corresponding lines): panda/evaluation.py:42-138 | panda/evaluation.py:162-248 \u2014 These two members are one piece of code written twice and then edited apart: 87 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":"panda/evaluation.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdb27b0c9aac616491d1fe053d5bb393a8aebe32d3d6e59ae347f17ce144cee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): panda/utils/dyst_utils.py:21-43 | scripts/dataset/make_dataset_from_params.py:104-125 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/utils/dyst_utils.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1bffaedbe98e32d330ba0ba82538cd4f43ddb0627fb18f9cb8915936ad8ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): panda/coupling_maps.py:303-320 | scripts/dataset/make_skew_systems.py:110-116 \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":"panda/coupling_maps.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4895020ff72c048255155c7118cf655b39d0ed93a4376f99819eb697abe0a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): panda/utils/eval_utils.py:75-86 | panda/utils/eval_utils.py:90-101 \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":"panda/utils/eval_utils.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d93901446883e51216aa342177bc669e03bd6055f119b34c32e15ccf651888"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): panda/dyst_data.py:447-473 | panda/dyst_data.py:760-783 \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":"panda/dyst_data.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d08515c7f50dc2b1c4c625450bf58417448d47aea078387b7d6cf370089f30b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): panda/patchtst/modules.py:73-94 | panda/patchtst/modules.py:163-176 \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":"panda/patchtst/modules.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"79778b23701daccece2f69939267ae13f2ed4a246605f3c48c53ad1859f77527"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): panda/skew_system.py:114-123 | panda/skew_system.py:126-147 \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":"panda/skew_system.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"422433751b2e9ac8572fa75877fc026696ae6e2e12118100f5e36237bfa1a777"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): panda/utils/plot_utils.py:67-70 | panda/utils/plot_utils.py:73-76 \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":"panda/utils/plot_utils.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfeb21731985cb54f8a9a0f0f30b51e6c33d33c090dcd786e997dc8841c9810a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201335 lines \u00D7 2): panda/evaluation.py:104-138 | panda/evaluation.py:219-248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/evaluation.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba88da2a4bec7700b80f165acedeae3e56c76e30fc3c7a5acaccd8c70f4e4c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): panda/utils/dyst_utils.py:21-40 | scripts/dataset/make_dataset_from_params.py:104-123 \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":"panda/utils/dyst_utils.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaa1d1c150efa779ab940731f3cc616e72ccf6d2fc9aff38784a223ebe57851"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): panda/evaluation.py:42-59 | panda/evaluation.py:163-180 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/evaluation.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f8fdefd4afdb4bfdb6f6aaba377c163eabc012373424db7dd61045a3370e60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): panda/dyst_data.py:447-463 | panda/dyst_data.py:760-776 \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 \u0060panda/dyst_data.py:447\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":"panda/dyst_data.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"72940de22f31811fc0e1bf440803a69d5138f10265a1b80ef663bbfc92b1e182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): panda/dyst_data.py:218-228 | panda/dyst_data.py:907-919 \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":"panda/dyst_data.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ffffe49d7f33191b8f9514ab6b9787dbba599c0368276412fe820896d0378b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): panda/dyst_data.py:485-496 | panda/dyst_data.py:792-803 \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":"panda/dyst_data.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d5a7082afa5f0e5f60f6cfb9a7c10d9eedb73a6b76c4b5d581a4239acf4a88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): panda/patchtst/patchtst.py:700-709 | panda/patchtst/patchtst.py:925-934 \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 \u0060panda/patchtst/patchtst.py:700\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":"panda/patchtst/patchtst.py"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"c108596db6fb729d91396ab3a6c739f9cd2beaa8c002fb09ee989bec7faf21bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): panda/patchtst/modules.py:45-52 | panda/patchtst/modules.py:123-131 \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 \u0060panda/patchtst/modules.py:45\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":"panda/patchtst/modules.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d09a899b4af0ea3122ed41c4e635176165650c7c5353a629bf064ca6830d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): panda/dyst_data.py:560-566 | panda/dyst_data.py:609-615 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060panda/dyst_data.py:608\u0060 calls \u0060join\u0060 and \u0060panda/dyst_data.py:559\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":"panda/dyst_data.py"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c0ba1412839eeb5ab09987b59b1728b513f6e4647dd12ce405580d56b58ca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): panda/evaluation.py:309-314 | scripts/analysis/compute_gpdims.py:133-138 \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":"panda/evaluation.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c10065290158e3b4c83b9387f3d764465aca767f8d33b55520497ef3e8aeb5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): panda/coupling_maps.py:303-318 | scripts/dataset/make_skew_systems.py:110-114 \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":"panda/coupling_maps.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed9c6759b0f0c8c8520c0b6a78ef8b97b32ac2176830f37e366f8ded1853d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): panda/utils/eval_utils.py:80-86 | panda/utils/eval_utils.py:95-101 \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":"panda/utils/eval_utils.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1322430c0cbb560904187e877837b08b3ddefae063bad04f5698198f19bfa13"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 21 shared lines): scripts/chronos/evaluate.py:25-162 | scripts/dynamix/evaluate.py:22-150 | scripts/panda/ablation.py:27-158 | scripts/panda/evaluate.py:27-205 | scripts/timemoe/evaluate.py:23-134 | scripts/timesfm/evaluate.py:23-134 \u2014 These 6 members are variants of one another: a block of 21 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/chronos/evaluate.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"92243324b363d50e96960f012d373634d4507f0e85f2f63420f5f49a35431cc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 55 shared lines): scripts/chronos/evaluate.py:25-162 | scripts/panda/ablation.py:27-158 | scripts/timemoe/evaluate.py:23-134 | scripts/timesfm/evaluate.py:23-134 \u2014 These 4 members are variants of one another: a block of 55 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":"scripts/chronos/evaluate.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc49172545e6514c3315d4e9dbfe55116c5b4689b04b09432fa7ca78d9450d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 35 shared lines): scripts/baselines/evaluate.py:26-110 | scripts/chronos/evaluate.py:25-162 | scripts/timemoe/evaluate.py:23-134 | scripts/timesfm/evaluate.py:23-134 \u2014 These 4 members are variants of one another: a block of 35 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":"scripts/baselines/evaluate.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69734f750670f1466e904083f76af15955df86743bf7eef21a727be59b8614a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (87 shared lines): scripts/chronos/train.py:44-270 | scripts/panda/train.py:82-316 \u2014 These two members are variants of one another: 87 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/chronos/train.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f54b34e2d816d4e4635e3913556c49a91e456d650fcce4e935733e16179262"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (61 shared lines): scripts/dataset/make_dyst_data.py:61-151 | scripts/dataset/make_skew_systems.py:301-492 \u2014 These two members are variants of one another: 61 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dataset/make_dyst_data.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bbfd181f42b62ae73032fa5388e04f340b10fa30fedcf6e9a89aefe2651b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (78 corresponding lines): scripts/analysis/compute_inheritance.py:291-376 | scripts/analysis/compute_inheritance.py:384-461 \u2014 These two members are one piece of code written twice and then edited apart: 78 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/analysis/compute_inheritance.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ac64e0d76b4246b147ea43ac79e1cb82ab1406761b701713efa181013f7fe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 57\u002B corresponding lines): scripts/analysis/compute_gpdims.py:163-228 | scripts/analysis/compute_gpdims.py:235-291 | scripts/analysis/compute_gpdims.py:299-362 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 57 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":"scripts/analysis/compute_gpdims.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b82ded90524d8b29b1d6903b7631e00e9d97b85d00c3f2ca19ebde2dc7b53e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201352 lines \u00D7 3): scripts/analysis/compute_gpdims.py:163-214 | scripts/analysis/compute_gpdims.py:235-279 | scripts/analysis/compute_gpdims.py:299-347 \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":"scripts/analysis/compute_gpdims.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"619d71a29f224ca008a4353ad913622a4c63f6121ba85d22837478c84208091e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3): scripts/chronos/evaluate.py:91-123 | scripts/timemoe/evaluate.py:71-103 | scripts/timesfm/evaluate.py:71-103 \u2014 \u0060scripts/chronos/evaluate.py\u0060 and \u0060scripts/timemoe/evaluate.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 119 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/chronos/evaluate.py:91\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/chronos/evaluate.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c36c04f5dda3e4c916d7b4e3b948ca0883e98255bfcaf7d16219583e0f03974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): scripts/timemoe/evaluate.py:36-59 | scripts/timesfm/evaluate.py:34-59 \u2014 \u0060scripts/timemoe/evaluate.py\u0060 and \u0060scripts/timesfm/evaluate.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 9 separate duplicated blocks between them, totalling at least 142 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/timesfm/evaluate.py:34\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":"scripts/timemoe/evaluate.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c638ab5d608a10de6ba98f0712cf53d128fb70643364c762685d93205e21156d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): scripts/chronos/evaluate.py:25-47 | scripts/panda/ablation.py:27-48 \u2014 before extracting anything, compare \u0060scripts/chronos/evaluate.py\u0060 and \u0060scripts/panda/ablation.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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":"scripts/chronos/evaluate.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1106bc0b59ffb89b3e8e0df7a8f823b6db1d4123fe205c4bdf7a75576b19a48b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): scripts/chronos/train.py:214-236 | scripts/panda/train.py:238-260 \u2014 \u0060scripts/chronos/train.py\u0060 and \u0060scripts/panda/train.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/chronos/train.py:214\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":"scripts/chronos/train.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6349e7b1093b324d147ee1e8e46d4b473549a89b75cde0ab6bff1a14d587e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): scripts/dataset/make_dyst_data.py:65-87 | scripts/dataset/make_skew_systems.py:324-344 \u2014 before extracting anything, compare \u0060scripts/dataset/make_dyst_data.py\u0060 and \u0060scripts/dataset/make_skew_systems.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 110 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 \u0060scripts/dataset/make_dyst_data.py:65\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":"scripts/dataset/make_dyst_data.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc31fe38532b4d52b3f21e8333514091f4d6d469eb7c65012cc560b18a8dfd7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): scripts/dataset/make_dyst_data.py:101-120 | scripts/dataset/make_skew_systems.py:356-377 \u2014 before extracting anything, compare \u0060scripts/dataset/make_dyst_data.py\u0060 and \u0060scripts/dataset/make_skew_systems.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 110 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 \u0060scripts/dataset/make_dyst_data.py:101\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":"scripts/dataset/make_dyst_data.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d66f00cfc6d749e5bc145f3baf9bca8fc8d46c8557ae41481f7283e784cbbc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 7): scripts/baselines/evaluate.py:51-71 | scripts/chronos/evaluate.py:98-118 | scripts/dynamix/evaluate.py:79-99 | scripts/panda/ablation.py:98-118 | scripts/panda/evaluate.py:117-137 | scripts/timemoe/evaluate.py:78-98 | scripts/timesfm/evaluate.py:78-98 \u2014 before extracting anything, compare \u0060scripts/chronos/evaluate.py\u0060 and \u0060scripts/panda/ablation.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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 \u0060scripts/baselines/evaluate.py:51\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060scripts/chronos/evaluate.py:96\u0060 calls \u0060LastValueImputation\u0060 and \u0060scripts/baselines/evaluate.py:49\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":"scripts/baselines/evaluate.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f29043fca1335f10b03bb7db010a18799d51a7774fad578421aec91aa261892"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): scripts/chronos/evaluate.py:55-73 | scripts/panda/ablation.py:54-73 | scripts/panda/evaluate.py:55-74 \u2014 before extracting anything, compare \u0060scripts/chronos/evaluate.py\u0060 and \u0060scripts/panda/ablation.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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 \u0060scripts/panda/ablation.py:54\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060scripts/chronos/evaluate.py:53\u0060 calls \u0060eval\u0060, \u0060dict\u0060, \u0060vars\u0060 and \u0060scripts/panda/ablation.py:54\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":"scripts/chronos/evaluate.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c36e8ff35b6fa24d93d7bf622eb6d3162b8b5e17ae2fd38e6d3f5265c0ff609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): scripts/chronos/train.py:103-122 | scripts/panda/train.py:143-161 \u2014 \u0060scripts/chronos/train.py\u0060 and \u0060scripts/panda/train.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/chronos/train.py:103\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":"scripts/chronos/train.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0191b55bd466e129490018237e546849eb5bf9518835bdb326c95d5534518239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): scripts/dataset/make_dyst_data.py:128-145 | scripts/dataset/make_skew_systems.py:441-460 \u2014 before extracting anything, compare \u0060scripts/dataset/make_dyst_data.py\u0060 and \u0060scripts/dataset/make_skew_systems.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 110 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":"scripts/dataset/make_dyst_data.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"332c7fde457018dd8002348614472add4964efc171d80660d81b41245a990337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 2): scripts/panda/ablation.py:143-158 | scripts/panda/evaluate.py:164-183 \u2014 before extracting anything, compare \u0060scripts/panda/ablation.py\u0060 and \u0060scripts/panda/evaluate.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 80 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 \u0060scripts/panda/ablation.py:143\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":"scripts/panda/ablation.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"928066fe30194809d88590bf71d55b7125522f9b6ce8a28434fa611b3bfbb681"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): scripts/dataset/make_dataset_from_params.py:130-145 | scripts/dataset/make_dyst_data.py:68-83 | scripts/dataset/make_skew_systems.py:324-339 \u2014 before extracting anything, compare \u0060scripts/dataset/make_dyst_data.py\u0060 and \u0060scripts/dataset/make_skew_systems.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 110 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":"scripts/dataset/make_dataset_from_params.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"68980243b0240ccf91d792f47a3d153913d3de2fdd28968981c1d7f5b3074e47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): scripts/analysis/compute_inheritance.py:242-256 | scripts/analysis/compute_inheritance.py:264-278 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/analysis/compute_inheritance.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d953fa6a27f49e2a8948e3bd8c86561a827c0a466b0d9000070b83fb18fe8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): scripts/analysis/compute_inheritance.py:362-376 | scripts/analysis/compute_inheritance.py:447-461 \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 \u0060scripts/analysis/compute_inheritance.py:362\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":"scripts/analysis/compute_inheritance.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"4277d908c2563fe6bb8ca48ecd17e161483b6696ee1f69a743b29d965eecb3de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): scripts/analysis/compute_invariants.py:460-474 | scripts/dynamix/evaluate.py:44-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060scripts/analysis/compute_invariants.py:459\u0060 calls \u0060log\u0060 and \u0060scripts/dynamix/evaluate.py:43\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":"scripts/analysis/compute_invariants.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf98874e81c8c21aeeb8a2f054dd7b650ee88b23f84ecaf4e91d76921d12210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): scripts/chronos/train.py:61-75 | scripts/panda/train.py:99-112 \u2014 \u0060scripts/chronos/train.py\u0060 and \u0060scripts/panda/train.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/chronos/train.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1e7797be4c8c492ec721d0dcbc386de78097dac4761b388c25c6aea23e9f79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): scripts/baselines/evaluate.py:97-110 | scripts/chronos/evaluate.py:149-162 | scripts/timemoe/evaluate.py:121-134 | scripts/timesfm/evaluate.py:121-134 \u2014 \u0060scripts/chronos/evaluate.py\u0060 and \u0060scripts/timemoe/evaluate.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 119 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/baselines/evaluate.py:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/baselines/evaluate.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1051f19601a23cd6d88fb490c24e7c63ca7ef59aedbfddaa1275f4a55c7fd4ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): scripts/chronos/evaluate.py:74-87 | scripts/panda/ablation.py:74-87 | scripts/timemoe/evaluate.py:54-67 | scripts/timesfm/evaluate.py:54-67 \u2014 before extracting anything, compare \u0060scripts/chronos/evaluate.py\u0060 and \u0060scripts/panda/ablation.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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 \u0060scripts/chronos/evaluate.py:74\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":"scripts/chronos/evaluate.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f647f6c3109f854615fc3083f55f55cee41febb29353a426d4d8a0aba79c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): scripts/chronos/train.py:183-194 | scripts/panda/train.py:188-201 \u2014 \u0060scripts/chronos/train.py\u0060 and \u0060scripts/panda/train.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/chronos/train.py:183\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"scripts/chronos/train.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f995df1a00005b1259325d1899d242df952ffbe371f91d30f047435d88b998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): scripts/chronos/evaluate.py:59-70 | scripts/panda/ablation.py:59-70 | scripts/panda/evaluate.py:60-71 | scripts/timemoe/evaluate.py:39-50 | scripts/timesfm/evaluate.py:39-50 \u2014 before extracting anything, compare \u0060scripts/chronos/evaluate.py\u0060 and \u0060scripts/panda/ablation.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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, \u0060scripts/chronos/evaluate.py:53\u0060 calls \u0060eval\u0060 and \u0060scripts/panda/ablation.py:54\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":"scripts/chronos/evaluate.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1976e51722e33206f5818cccc2629f275cc4d09cd97434ebe8a5f4848682414e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): scripts/dynamix/evaluate.py:101-112 | scripts/panda/evaluate.py:140-151 \u2014 \u0060scripts/dynamix/evaluate.py\u0060 and \u0060scripts/panda/evaluate.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 53 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/dynamix/evaluate.py:101\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":"scripts/dynamix/evaluate.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb06659aa389dfec69383f986a7fe8d80866336ccca9821c820d1e26268cdae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): scripts/chronos/evaluate.py:135-145 | scripts/panda/ablation.py:125-135 | scripts/timemoe/evaluate.py:105-115 \u2014 before extracting anything, compare \u0060scripts/chronos/evaluate.py\u0060 and \u0060scripts/panda/ablation.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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 \u0060scripts/chronos/evaluate.py:135\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":"scripts/chronos/evaluate.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"860ef146b1b3b20f4546abd8b33c80d62b89075f82d4349233117add35a43b2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): scripts/dynamix/evaluate.py:66-76 | scripts/panda/evaluate.py:104-114 \u2014 \u0060scripts/dynamix/evaluate.py\u0060 and \u0060scripts/panda/evaluate.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 53 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/dynamix/evaluate.py:66\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":"scripts/dynamix/evaluate.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6177012b33a09490e618025c0e93aa0a952bb5a493802d0deda3018d760a8b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): scripts/dynamix/evaluate.py:124-134 | scripts/dynamix/evaluate.py:136-148 \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 \u0060scripts/dynamix/evaluate.py:124\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":"scripts/dynamix/evaluate.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9e80c3e693973b5a962dd512eb72cec3fecdca457e8a0da1b48cdcfda64029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): scripts/analysis/compute_invariants.py:464-472 | scripts/analysis/time_inference.py:126-133 | scripts/dynamix/evaluate.py:48-56 \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 \u0060scripts/analysis/compute_invariants.py:464\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060scripts/analysis/time_inference.py:135\u0060 calls \u0060ValueError\u0060 and \u0060scripts/dynamix/evaluate.py:58\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":"scripts/analysis/compute_invariants.py"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b33c5b4e021d0dcba3fb6abb7c6cfaae9eda72e5e61671a3c2ca2a2200fdac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): scripts/baselines/evaluate.py:35-43 | scripts/dynamix/evaluate.py:63-71 | scripts/panda/evaluate.py:101-109 \u2014 \u0060scripts/dynamix/evaluate.py\u0060 and \u0060scripts/panda/evaluate.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 53 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/baselines/evaluate.py:35\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":"scripts/baselines/evaluate.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"581db4c84434c618a7b176b48144970064b71ab78cbf20348c9af741d75a2e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): scripts/chronos/train.py:44-52 | scripts/panda/train.py:85-93 \u2014 \u0060scripts/chronos/train.py\u0060 and \u0060scripts/panda/train.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/chronos/train.py:44\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060scripts/panda/train.py:82\u0060 calls \u0060set_float32_matmul_precision\u0060 and \u0060scripts/chronos/train.py:42\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":"scripts/chronos/train.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f6052e15e3a946bab213dcd37e1ae312c4b158c1e1d95dd6e98101a1361d6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): scripts/chronos/evaluate.py:90-97 | scripts/panda/ablation.py:89-96 | scripts/timemoe/evaluate.py:70-77 | scripts/timesfm/evaluate.py:70-77 \u2014 before extracting anything, compare \u0060scripts/chronos/evaluate.py\u0060 and \u0060scripts/panda/ablation.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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":"scripts/chronos/evaluate.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d3b1a289b6bf5e447d3981aa27fe371dbc0f9ec432e606b9af997b344452d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): scripts/dynamix/evaluate.py:54-61 | scripts/timemoe/evaluate.py:48-55 | scripts/timesfm/evaluate.py:48-55 \u2014 \u0060scripts/dynamix/evaluate.py\u0060 and \u0060scripts/timemoe/evaluate.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 35 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060scripts/timemoe/evaluate.py:56\u0060 calls \u0060log\u0060 and \u0060scripts/dynamix/evaluate.py:63\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":"scripts/dynamix/evaluate.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"01510e7b4c09b446a488b155abb42296184f5f20ffc636e673625cc4c9bb670c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): scripts/chronos/train.py:84-91 | scripts/panda/train.py:122-130 \u2014 \u0060scripts/chronos/train.py\u0060 and \u0060scripts/panda/train.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/panda/train.py:122\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":"scripts/chronos/train.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e174715d7ce57af96bb5f1b55144c003330e9114549865dd10deb722d03871db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): scripts/chronos/evaluate.py:34-40 | scripts/panda/ablation.py:36-42 | scripts/panda/evaluate.py:34-40 \u2014 before extracting anything, compare \u0060scripts/chronos/evaluate.py\u0060 and \u0060scripts/panda/ablation.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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":"scripts/chronos/evaluate.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf1f2b228a35cc53737e1b6ab8fe54632452d3d7b56c96fcf8b56bd7d01364c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): scripts/chronos/evaluate.py:79-84 | scripts/dynamix/evaluate.py:63-68 | scripts/panda/ablation.py:79-84 | scripts/timemoe/evaluate.py:59-64 | scripts/timesfm/evaluate.py:59-64 \u2014 before extracting anything, compare \u0060scripts/chronos/evaluate.py\u0060 and \u0060scripts/panda/ablation.py\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 122 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 \u0060scripts/chronos/evaluate.py:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060scripts/timemoe/evaluate.py:54\u0060 calls \u0060log\u0060 and \u0060scripts/dynamix/evaluate.py:59\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":"scripts/chronos/evaluate.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfde09c68acebd2dde5e4d2642919a1fe9c171483a68011f292f4e64282cb68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): scripts/dataset/make_dataset_from_params.py:35-57 | scripts/dataset/make_dyst_data.py:32-56 | scripts/dataset/make_skew_systems.py:42-70 \u2014 before extracting anything, compare \u0060scripts/dataset/make_dyst_data.py\u0060 and \u0060scripts/dataset/make_skew_systems.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 110 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":"scripts/dataset/make_dataset_from_params.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c1c2f67fffc6449f5a87825e167a5c775eed6b6a6a02409aeda43e7b6e6d43"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (pytest or unittest), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/analysis/compute_invariants.py: scripts/analysis/compute_invariants.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in compute_invariants.main at line 413. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2025-11-26..2026-02-24, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272025-11-26 10:16:48 -06:00\u0027 --until=\u00272026-02-24 10:16:48 -06:00\u0027 --full-history --no-merges -- scripts/analysis/compute_invariants.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/analysis/compute_invariants.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d08e9872b8246f18bdef1e39c008eedf4e4d7549c97d05f3487cde939548d0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: this needs to be fixed and made cleaner later (HF comment) \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":"scripts/panda/train.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcbb1473e715d687d0c590d1065bceb1f9e12c3039526de06e334613e896efc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: add model_id to this \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":"scripts/chronos/train.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"79499d9c380f0d5eac27da98cc5f98baab129af1b974b05ba46155f93e65f104"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: debug this, the rosenstein implementation expects univariate time series, not broadcastable \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":"panda/attractor.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"192c8bf6712f137c0dda716526a91ad3a3fd83abcb340aea38e13b7eebd1a2ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: this is a bit hacky, need to have a streamlined solution \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":"panda/dyst_data.py"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a850c6b8073e5f9f4093246899ef9d3578d8038b475323c0c7d714fa5dad7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: these arguments are not used \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":"panda/sampling.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5567a744b18df422eeb848796298afb0da3203ab78200189856e628755ea1df0"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # hack: set a dummy param list for param count checks \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":"panda/skew_system.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"14be36fa51f3bb2efa188af428ead2aa70050f002976251b244e21ec81f7d36f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: need to check shapes \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":"panda/patchtst/pipeline.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"862b28e769e54affc601550f1fa3d154d32062709af75d19a450e9b37b73b9b9"}},{"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":"6ed059458dc0d864f79fffc2c8cd3f09ac2213f256b255ba1e07734350228541"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"c39221e7a57c94c8668f293a52beb2217070a9b1a940bee5edd4b6b0b226af4b"},"properties":{"dependency":{"package":"certifi","version":"2022.12.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-135","PYSEC-2024-230","PYSEC-2026-4320"],"reachability":{"kind":"not-imported"}}}},{"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":"7c78387729d93b972f13b84c75c0b92e193300b1e1e296790fdee8873bd11782"},"properties":{"dependency":{"package":"gitpython","version":"3.1.45","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]","PYSEC-2026-2160","PYSEC-2026-2161","PYSEC-2026-2162","PYSEC-2026-2163","PYSEC-2026-3783","PYSEC-2026-3784","PYSEC-2026-3785","PYSEC-2026-3786","PYSEC-2026-3787","PYSEC-2026-3788","PYSEC-2026-3836","PYSEC-2026-3837","PYSEC-2026-3838","PYSEC-2026-3839","PYSEC-2026-3840","PYSEC-2026-3841","PYSEC-2026-3842","PYSEC-2026-3843","PYSEC-2026-3948","PYSEC-2026-3949","PYSEC-2026-3950","PYSEC-2026-3951","PYSEC-2026-3952","PYSEC-2026-3953","PYSEC-2026-3980","PYSEC-2026-3981","PYSEC-2026-3982","PYSEC-2026-3984","PYSEC-2026-3995"],"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":"09eef8b6625b25738f8700358b71be29a093fcfe59905926f2178ad3d178132f"},"properties":{"dependency":{"package":"pillow","version":"11.3.0","advisory":"[GHSA redacted]","aliases":["BIT-pillow-2026-112390","BIT-pillow-2026-112391","BIT-pillow-2026-112392","BIT-pillow-2026-112393","BIT-pillow-2026-112394","BIT-pillow-2026-112395","BIT-pillow-2026-112396","BIT-pillow-2026-112397","BIT-pillow-2026-112398","BIT-pillow-2026-112399","BIT-pillow-2026-112400","BIT-pillow-2026-112401","BIT-pillow-2026-112402","BIT-pillow-2026-112403","BIT-pillow-2026-112404","BIT-pillow-2026-112406","BIT-pillow-2026-112891","BIT-pillow-2026-112892","BIT-pillow-2026-112893","BIT-pillow-2026-112894","BIT-pillow-2026-112895","BIT-pillow-2026-112896","BIT-pillow-2026-112897","BIT-pillow-2026-112898","BIT-pillow-2026-112900","BIT-pillow-2026-112901","BIT-pillow-2026-114501","BIT-pillow-2026-25990","BIT-pillow-2026-40192","BIT-pillow-2026-42308","BIT-pillow-2026-42309","BIT-pillow-2026-42310","BIT-pillow-2026-42311","BIT-pillow-2026-54058","BIT-pillow-2026-54059","BIT-pillow-2026-54060","BIT-pillow-2026-55379","BIT-pillow-2026-55380","BIT-pillow-2026-55798","BIT-pillow-2026-59197","BIT-pillow-2026-59198","BIT-pillow-2026-59199","BIT-pillow-2026-59200","BIT-pillow-2026-59204","BIT-pillow-2026-59205","BIT-pillow-2026-96636","BIT-pillow-2026-96637","BIT-pillow-2026-96638","BIT-pillow-2026-96639","BIT-pillow-2026-96640","BIT-pillow-2026-96641","BIT-pillow-2026-96642","BIT-pillow-2026-96643","BIT-pillow-2026-96644","BIT-pillow-2026-96778","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-165","PYSEC-2026-2249","PYSEC-2026-2250","PYSEC-2026-2251","PYSEC-2026-2252","PYSEC-2026-2253","PYSEC-2026-2254","PYSEC-2026-2255","PYSEC-2026-2256","PYSEC-2026-2257","PYSEC-2026-2874","PYSEC-2026-3451","PYSEC-2026-3453","PYSEC-2026-3454","PYSEC-2026-3493","PYSEC-2026-3494","PYSEC-2026-3495","PYSEC-2026-3496","PYSEC-2026-4326","PYSEC-2026-4327","PYSEC-2026-4328","PYSEC-2026-4329","PYSEC-2026-4330","PYSEC-2026-4331","PYSEC-2026-4332","PYSEC-2026-4334","PYSEC-2026-4335","PYSEC-2026-4336","PYSEC-2026-4337","PYSEC-2026-4338","PYSEC-2026-4339","PYSEC-2026-4340","PYSEC-2026-4341","PYSEC-2026-4342","PYSEC-2026-4343","PYSEC-2026-4363"],"reachability":{"kind":"not-imported"}}}},{"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":"10e04b22e35243729294f2c63d26777ab5e2f09392f1c7f89a239026644367c0"},"properties":{"dependency":{"package":"fsspec","version":"2025.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4217"],"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":"004f87d3ec0057704a5f63052b8513860331a63233db73df591737d95806b1db"},"properties":{"dependency":{"package":"hydra-core","version":"1.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-3850","PYSEC-2026-4221"],"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":"908c75fb62999ae42bccfe1163828c744ce3a0789ef67cdc74f0dbd5e7ceaa59"},"properties":{"dependency":{"package":"orjson","version":"3.11.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-107"],"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":"a22f33ff13534695bdbc83544259b765f67c8be29e88eb8728ab1c3a5e039e5d"},"properties":{"dependency":{"package":"protobuf","version":"6.32.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1805"],"reachability":{"kind":"not-imported"}}}},{"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":"94b71d228747e748e287702e1514bc873875fb8b3f4b6246a77f892c3e552ecc"},"properties":{"dependency":{"package":"pyarrow","version":"21.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-113"],"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":"b86d9b8d43f3f2fee53662cf8f17582ce954f40166d1b853d2e979253871e320"},"properties":{"dependency":{"package":"setuptools","version":"70.2.0","advisory":"[GHSA redacted]","aliases":["BIT-setuptools-2025-47273","BIT-setuptools-2026-59890","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-49","PYSEC-2026-3447"],"reachability":{"kind":"not-imported"}}}},{"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":"b731911f29470ef1a5407e431a8cdd305763bf99e30984614480cbbd5e0ce0a9"},"properties":{"dependency":{"package":"torch","version":"2.9.1","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-3000","BIT-pytorch-2025-3001","BIT-pytorch-2026-24747","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-194","PYSEC-2025-195","PYSEC-2026-139","PYSEC-2026-1856","PYSEC-2026-2286"],"reachability":{"kind":"production","file":"panda/baselines/baselines.py","line":5}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54b704e3373844688e7ce78b4ac7e30ce5b7e900fbe85efb3def08aafd17053b"},"properties":{"dependency":{"package":"tornado","version":"6.5.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]","[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-2025-265","PYSEC-2025-266","PYSEC-2025-267","PYSEC-2026-140","PYSEC-2026-2287","PYSEC-2026-3387","PYSEC-2026-3388","PYSEC-2026-3389","PYSEC-2026-3928"],"reachability":{"kind":"not-imported"}}}},{"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":"d2a2cf9c9925446c52932cb39a40d85d495525f6ee4eaaaeeb84f2373f7c130c"},"properties":{"dependency":{"package":"transformers","version":"4.40.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"],"reachability":{"kind":"production","file":"panda/baselines/fm_baselines.py","line":7}}}},{"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":"64c75a3299a9a190872f0b607fb5f4a2eec4880c08479c856652bbb6b93bd391"},"properties":{"dependency":{"package":"urllib3","version":"1.26.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-192","PYSEC-2023-212","PYSEC-2026-141","PYSEC-2026-1994","PYSEC-2026-1995","PYSEC-2026-1996","PYSEC-2026-1998","PYSEC-2026-1999","PYSEC-2026-4175","PYSEC-2026-4177"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31a4626c8a479d5df95800c40726de18cd5967079c672e4107288cbea5492fb2"},"properties":{"dependency":{"package":"accelerate","version":"0.34.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3804"],"reachability":{"kind":"production","file":"panda/utils/train_utils.py","line":13}}}},{"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":"c19df4d1358b29b373ba4a875a37caf6a28452faa0803b1585703e69e1306b73"},"properties":{"dependency":{"package":"filelock","version":"3.19.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"],"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":"6f825156dcb9a84c4072050a0f4309dcf07b7d69812a2b64c2aff89bf7a794db"},"properties":{"dependency":{"package":"fonttools","version":"4.60.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1389"],"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":"0edbe0c20f21720d5285b2663177b2e3ab8c055b3130ca092c57460fd8d8174a"},"properties":{"dependency":{"package":"idna","version":"3.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2024-60","PYSEC-2026-215"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"854da5cef13784fde7cfff8a79eb2a7417bef798a376f1ff9e501c0d2a107a1d"},"properties":{"dependency":{"package":"pygments","version":"2.19.2","advisory":"PYSEC-2026-2987","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0e6a57015dc23cfdd8374d0bc7df076eac4b337374fa23d10cb0ae918b0187d"},"properties":{"dependency":{"package":"pytest","version":"9.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1845"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9300387b7d5f3c552f43a162e198349c13ada8ea4ea972b22bbf175a9e015bfe"},"properties":{"dependency":{"package":"requests","version":"2.28.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-74","PYSEC-2026-1872","PYSEC-2026-1873","PYSEC-2026-2275"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 38 of 38 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 38 separate risks. Counted over 38 of the 41 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":"panda/patchtst/patchtst.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dd78c46aa2fae4ca6141326be9f613c5e147a01692a00527c68dcf7ae7147d"}},{"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":"panda/dyst_data.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6113e1cb294cff2c95ff309c6784359a935e1027243d93d2f715141646fc2455"}},{"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":"panda/utils/plot_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49da455a1ccd339660c98ee116d85dff9db97a8884eb9e0ccddf3e05a2fcf054"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/analysis/compute_invariants.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfb11bfee8b92e7ab290fb448f41a2d233a4e2b249c37883e6f0f9b9c466840"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/analysis/compute_gpdims.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4534c3dd9b207c84b595e66f2952013b69120e995b4aa97fb3dcce8a4cdbae6f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/attractor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dbfae11219f77d7ae25885b35173659f553a7dc101c174b4851bbc9222088c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/coupling_maps.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed82fe52ffcf5d0f8b368fc232d905b406e2f489dba1fa2fef514d501b07b9c8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/analysis/compute_inheritance.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8747a196f7c085ed14e842593ab1eeb04bd482a050df4720ade6139bf0523d59"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/dataset/make_skew_systems.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"748f4bbb030bcce738aaf399a4880d8b2a51e121c56b5ad52df942849c37f087"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/dataset.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47324c66b25837d559a8f8f8952ea6ea7746dfaef0a79eaf713d7a58c15aa3d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/evaluation.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5df3160644dc214a1a083fa2db568371601b59f6db23180c66373bfb059502c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/utils/data_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a5b301dd0607868fb6dd90e3c00f113bea284a7b752d52683c90ff5ba23bac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/patchtst/modules.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0f4a5dfddbd8f294341c534ed002257562575a7e924a3e00f80b50ec0b8050"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/chronos/model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"374330eaca1d96f11670f9c1e4f7c27097006f4f770c3821423ad14e496eba7d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/panda/train.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf191c8d9bf4f53d8e0e9d2417493706dd1d0ecfd41ad6389fdefbc8e7be843"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/chronos/train.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa406453c4e0bc8a1a7239c63bbcdf8b0d943c676e3f2394892daac8ce91be9f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/utils/dyst_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"194015ebbb76106a06e6c81215cbe5ef9dae7bfa44a89f2f53e44f959e0beed6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/augmentations.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9756ac057fc7b85681581ba026eb4f21699a68833bc4e2ed897763a3902ce8b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/dataset/make_dataset_from_params.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c77d3a306d8606444e10bfc376e75cd0a7dd08f3bce79e3a85a2d03ad99a247"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/utils/train_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d84220ac744e911c2d081f1cd0d4cb1aff458405086c77507cf4bc16a91dc8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/panda/evaluate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3691ac8e513b5b4f78d4ae1b54f25ab72944c941b449495b5e611315ad008a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/analysis/time_inference.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5a7a42bbb7959aa76cbc8423fecbb13b36dbd78f3b83ac411bfd492a3a0312"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/baselines/baselines.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50470ae009ea65fc327a17844087e881dec30921a27f0d1b52aadb2dd185a868"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/chronos/pipeline.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e8d7aa0e0d8cd39d6e0c860f97533b19e75e36486ae0abce992480dc718f1a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/utils/eval_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea55cb2182052c619394979b0f248104972cd709ad3e688a789b6198ee29962c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/sampling.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e123e8aea8ef9e9aef9e12aa19fce316c673fe14090ffbfa329c123c3cf374e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/skew_system.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19791995e903790be87f8b0262bd069b58adc56c01d15092e50bfc963216d3c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/chronos/evaluate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d17c250a62565c8195264a1273db8c0c43521e3157ccaddc0b3fd24168985b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/panda/ablation.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a3e82d6f8a858d1e7d9c56239ab9662b8758f96554fb8ef651629df95e9613"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/patchtst/pipeline.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"151490a2141c9f6d83da6c75338ba6cc87378ae02839a234240fd07f83b306ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/dataset/make_dyst_data.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4876705e77dae5af2882bf92cb17988fc832269a8f2185631f693cb158f30a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/dynamix/evaluate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb60e4c5a40cb7af368919eec60512e73f3c6b8e9a37a9cffc0096c068e4abd4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/timemoe/evaluate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ddd4fd3e08d5bcb8145b5cbbe63d9f052ec22b26f1f89b0d6b3aa9f4378b25"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/timesfm/evaluate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32a9310fdf8ff93bdb69753614452c0559e187f7ae2fb4738bf150e512ab2dd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/baselines/fm_baselines.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5303a014b8b76f4432c13456be2e79835c3ceab319939b10c66237a0b923ed3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/schedulers.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3455cd4b78a5ab6ee1cb478f47d4bd80da00975706660fa8b36b8b7b197f30b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/baselines/evaluate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0fb354a46235ae0bfa5015f7e77bdb02709aafa21d1447c036d7da445dc93c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have 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/analysis/compute_system_metrics.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"579b11c3b1826c2ec01f389da05658d5624ccc5e2ecbc6d9b65dfe35f01a5707"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: evaluate.py \u2194 evaluate.py: \u0060scripts/chronos/evaluate.py\u0060 and \u0060scripts/panda/evaluate.py\u0060 change together 50% of the time (9 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060f871a4e8\u0060 massively refactor evaluators: - remove model specific evaluators (ch\u2026 (at that commit the file was still \u0060scripts/patchtst/evaluate.py\u0060); \u0060f98a2742\u0060 refactor evaluation methods \u002B add timemoe eval script (at that commit the file was still \u0060scripts/patchtst/evaluate.py\u0060); \u0060e5cfc5c6\u0060 nit: batch compute_metrics evals (at that commit the file was still \u0060scripts/patchtst/evaluate.py\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/chronos/evaluate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"407a1aa40bbec3d6e451d0d65c06423f4bac68d011e02a382761db571bc7ff57"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060pyproject.toml\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pyproject.toml"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cb10b4cecf1ff8954b4572fe00acd990e1e486a213ddb60c937a99b3b59c61"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cfg.eval.save_forecasts and cfg.eval.save_contexts\u0060 appears character-identically in 2 files \u2014 scripts/panda/ablation.py, scripts/panda/evaluate.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":"scripts/panda/ablation.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bb046766a74a5f3652f7ff20815528203ad46789ee2fde96be519a73e08ad7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cfg.eval.save_forecasts and predictions is not None and contexts is not None\u0060 appears character-identically in 4 files \u2014 scripts/baselines/evaluate.py, scripts/chronos/evaluate.py, scripts/timemoe/evaluate.py, scripts/timesfm/evaluate.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":"scripts/baselines/evaluate.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9067608dd9dccb15308a1d3216dc5a99bd2bf2cf9df7827e6ec9c4ccac978c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cfg.eval.save_labels and cfg.eval.save_contexts\u0060 appears character-identically in 2 files \u2014 scripts/panda/ablation.py, scripts/panda/evaluate.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":"scripts/panda/ablation.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48be608c3ea259239f9ea058f06681ee4ed7b8f96569b85279c22c70ef8b9f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cfg.eval.save_labels and labels is not None and contexts is not None\u0060 appears character-identically in 4 files \u2014 scripts/baselines/evaluate.py, scripts/chronos/evaluate.py, scripts/timemoe/evaluate.py, scripts/timesfm/evaluate.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":"scripts/baselines/evaluate.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff32a6695a709b9a9d484230de1a398bbda9523f830000441406934177422b69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060completions_output.loc is None or completions_output.scale is None\u0060 appears character-identically in 2 files \u2014 panda/evaluation.py, scripts/analysis/compute_gpdims.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":"panda/evaluation.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd995364cca35219cf90dad2b012bd9a48751747ca9b35282739c997955e5338"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(event, \u0022reset\u0022) and callable(event.reset)\u0060 appears character-identically in 2 files \u2014 panda/dyst_data.py, panda/sampling.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":"panda/dyst_data.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"34af6e9736afdf5a1c027b53f5ce433a0690e1bbe7f906065713449674bdd088"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_nvidia_gpu and torch.cuda.get_device_capability()[0] \u003E= 8\u0060 appears character-identically in 2 files \u2014 scripts/chronos/train.py, scripts/panda/train.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":"scripts/chronos/train.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c55ec6105195008b95b07a47187ab7607c7057a6be83c2af0b189e86917eb22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060labels is not None and contexts is not None\u0060 appears character-identically in 2 files \u2014 scripts/panda/ablation.py, scripts/panda/evaluate.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":"scripts/panda/ablation.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5aaf4f578078f15883c609a79a786cd2bf1dd1f7e76ce09b81803e01b1207d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prediction_length \u003E self.model.config.prediction_length and verbose\u0060 appears character-identically in 2 files \u2014 panda/chronos/pipeline.py, panda/patchtst/pipeline.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":"panda/chronos/pipeline.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38da4e862209a24476d290e5576fcbef6e4e7e6c0491ce88f5f4b5aeb6e5bfb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060predictions is not None and contexts is not None\u0060 appears character-identically in 2 files \u2014 scripts/panda/ablation.py, scripts/panda/evaluate.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":"scripts/panda/ablation.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52f21415f7a7b27f14834e82ea1bae968e658c35f7e5e069487f81abf4db465"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060torch.cuda.is_available() and torch.cuda.get_device_capability()[0] \u003E= 8\u0060 appears character-identically in 5 files \u2014 scripts/chronos/evaluate.py, scripts/panda/ablation.py, scripts/panda/evaluate.py, scripts/timemoe/evaluate.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":"scripts/chronos/evaluate.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b604d8a43afa5f94faa1ff6bc25358ef32c66e71e5af7cb17605422da0e0dbd4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060torch.cuda.is_available() and torch.cuda.get_device_name().lower().find(\u0022nvidia\u0022) != -1\u0060 appears character-identically in 2 files \u2014 scripts/chronos/train.py, scripts/panda/train.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":"scripts/chronos/train.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"991390fcda670f5e167c5ca5ee831e7fd05afb3cea9b75c74abf10dde0ea1428"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060training_info.get(\u0022train_config\u0022) or training_info.get(\u0022training_config\u0022)\u0060 appears character-identically in 2 files \u2014 scripts/chronos/evaluate.py, scripts/panda/ablation.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":"scripts/chronos/evaluate.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"418c02e0613be84007a276dc54d99dcbc09c5598905e9e91f776d05a70b30ecf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"panda/utils/train_utils.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b5517e662a195454b5883de5756f5ec5c301fe72549e50f9aaf21affa2032d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 167 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":"panda/dyst_data.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9e380af2c8acb598bcfeafc2a4d39628c55f7cf3e1637a2efb212348aaa590"}},{"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":"panda/dyst_data.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23cabf2447f52c0e4f47dd359d75b275745361d1bb36a2072d355453d33e8a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 202 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":"panda/dyst_data.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59f89c17408e00d97dec1823c71b3274f42ebfabbfad35951e727ecf93783e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 215 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":"panda/dyst_data.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6f499a0364f3a671419391a607d5e555e2ed581e0c14b18d6b07aa9f253a94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 395 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":"panda/dyst_data.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daeda842c0cd7cd5430e598df2fb69ac12ae88d2d1a951b831813af455c472e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 434 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":"panda/dyst_data.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffff75b544ee429d94163992a91e88f48d18321380bb04b6386fec5e1865612"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 504 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":"panda/dyst_data.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2ab7b225bb641cd018b1b26e0e9d606be68f9425484896817a9c63f2f3de0f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 515 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":"panda/dyst_data.py"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"82be066fac672a90fb590503eb9827a94e4a90d2bb7597f081d1328f125c66a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 560 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":"panda/dyst_data.py"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc4efc998c51242e28a8a9300e16ab1b0aadd168f6ff7a9e2edfa5b3d503483"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 609 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":"panda/dyst_data.py"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"af991ea9effeccc9c8d0ec84d5ff2d385e3873bf6208d0e27aff2cd8b2e0512a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 642 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":"panda/dyst_data.py"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5da7a23727ff54304512a4433b5984eb76cf7ea061a741467fe8a40ef674425"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 749 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":"panda/dyst_data.py"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e13bd5da1f84a20797f3b37bb7e7c6b548773918e4c0d01bf7a413e02c3d63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 811 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":"panda/dyst_data.py"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4aa9dd7a444bc5cca5f3f1d66b6e1bf233d93d9edfbfd1aabb32c2081eecf4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 818 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":"panda/dyst_data.py"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"882bd2fbd045546604e0cb759a2320899789f1997481e17afc5c8f981b495a28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 849 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":"panda/dyst_data.py"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"b191d5ebbf7d26eb186e5973cb7779caa25ad0c43a40c7717236d67b9b73a584"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.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":"panda/dyst_data.py"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5b638f24e0c2717d9957561f4f8c803cec7bf58bed6a4dc22081ba653d74be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 905 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":"panda/dyst_data.py"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7c93300840354693ddb18ec62311881601673e5d65cd00829dd253acec7021"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 922 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":"panda/dyst_data.py"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e4096953fa392c0c8f5bd421a50e31a4a0762fb7da9254caa2064a895e9b46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 936 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":"panda/dyst_data.py"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63a5f010e8228abae9cdc4a5d713021ccab8a099123ce2593010a20564fd768"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 37 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":"panda/events.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"84020846aa281a5e0099df0bd965710948701f49d89d1ce19dbc45c18205a584"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"panda/events.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"606a0ebf08c1aac3c83f9ea59e72f66f1be8f8761693fff6ed6d44e7e69b826c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 84 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":"panda/events.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2306958c1694bb079ba710bf93aa7829e93838c7aa6590d31f85109d8f9723e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 71 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":"panda/sampling.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52bb3bbebaa6b91b8f77c93192485140d65737ec462068018fc65f4a074aa71"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 75 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":"panda/sampling.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01634083b8dd314854ca2e588c0642e70a65bd2bf70b1cdddb9356601df57d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 145 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":"panda/sampling.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f782102f3452ddfe4ffab3567244f224afcc9497c3e89cafc3e4eb954fc118"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 153 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":"panda/sampling.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6318c24a93e8a149314e95a2070c395a315101b6dbf853a45e734f5a34c4284d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 172 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":"panda/sampling.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36814b27574800798e0874282b2b5c48630f62b9b82d8ee863f22873c83547d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 202 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":"panda/sampling.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11b878517a85303e9ed59e9b902fbaebcffd71665266d81ef2aff08a18715fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 204 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":"panda/sampling.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"72103c7e3a40d1b41ba2b041be80da38041cdc4f9d8de87ece4dd14e50e8ae5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 132 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":"panda/utils/eval_utils.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1f100014e978d20c1daadf8603338354013ad0cd52535564a549be783c6ac2"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":21,"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."]}]}