{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"TimesFM3Forecaster.predict_batch (cyclomatic 77): TimesFM3Forecaster.predict_batch has cyclomatic complexity 77 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/torch/timesfm3_forecaster.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d11f38302206b79930244ee1d184adbe13e594b0fa2a238db2400c3c9d02ec"}},{"ruleId":"D1","level":"warning","message":{"text":"TimesFM3Evaluator.predict_batch (cyclomatic 39): TimesFM3Evaluator.predict_batch has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/torch/evaluator.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a70a08cda68beaf69983b25269b5ad58636cdcfaffd28616cbdc4dd6b8f9dc"}},{"ruleId":"D1","level":"warning","message":{"text":"TimesFM3Forecaster.predict_batch (cyclomatic 28): TimesFM3Forecaster.predict_batch has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/mlx/timesfm3_forecaster.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a090948e232f7d8acb2fbb5e337be74171d8b1fcdc223ee548548238b09d50e3"}},{"ruleId":"D1","level":"warning","message":{"text":"TimesFM3Torch.decode (cyclomatic 27): TimesFM3Torch.decode has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/torch/model.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e4acb57cd7fe3c12199f77444e51ba2f213f4263f335468e05cad24ebb550c"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchedInContextXRegBase._assert_covariates (cyclomatic 26): BatchedInContextXRegBase._assert_covariates has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/utils/xreg_lib.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40fead6f90f207351b60dde54545e5294f6d1de08b19e329b74331f86601c0b"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchedInContextXRegBase._assert_covariates (cyclomatic 26): BatchedInContextXRegBase._assert_covariates has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/timesfm/xreg_lib.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0b8f231205579e87c914d0f7147d22295bb850ce29854f253a9255a0879c32"}},{"ruleId":"D1","level":"warning","message":{"text":"TimesFM3Mlx.decode (cyclomatic 25): TimesFM3Mlx.decode has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/mlx/model.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e15af26fb7de415f93dbfa1e11d941ad598e9addbb5a7ef64dc6803ed43b25a"}},{"ruleId":"D1","level":"warning","message":{"text":"TimesFM_2p5.forecast_with_covariates (cyclomatic 24): TimesFM_2p5.forecast_with_covariates has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/timesfm_2p5/timesfm_2p5_base.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"994f61ec3878145d5293da2b18ee5fad043fee1fa0722f3e20d90594e46ac880"}},{"ruleId":"D1","level":"warning","message":{"text":"TimesFmBase.forecast_with_covariates (cyclomatic 20): TimesFmBase.forecast_with_covariates 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":"v1/src/timesfm/timesfm_base.py"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a893ecd385eb1314408aeddb9cc2d8a298c930f4378f36c8fae47723bf95fa"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiHeadAttention.forward (cyclomatic 16): MultiHeadAttention.forward 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":"src/timesfm3/torch/transformer.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"6477a35cbaa76c91c023b770b132aa804ce5087ae6bc718e98bb1b70aa9eb30b"}},{"ruleId":"D1","level":"warning","message":{"text":"check_system.recommend_batch_size (cyclomatic 16): check_system.recommend_batch_size 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":"timesfm-forecasting/scripts/check_system.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6bc88b77c7b10056a1adba0d4a49ebf6e9815e6715c531f88014af7c2dc8c1"}},{"ruleId":"D2","level":"warning","message":{"text":"TimesFM3Forecaster.predict_batch (cognitive 161): TimesFM3Forecaster.predict_batch has cognitive complexity 161 (threshold 15). Drivers by points: if/else 45 (86 pts), loops 19 (41 pts), ternaries 12 (26 pts), boolean chains 8 (nesting depth added 77). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/torch/timesfm3_forecaster.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9236e5f3fd91facc700ce70b976d60b1bd94113eaf6887f77305c2335331c0"}},{"ruleId":"D2","level":"warning","message":{"text":"TimesFM3Evaluator.predict_batch (cognitive 90): TimesFM3Evaluator.predict_batch has cognitive complexity 90 (threshold 15). Drivers by points: ternaries 16 (42 pts), if/else 14 (28 pts), loops 7 (18 pts), boolean chains 2 (nesting depth added 51). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/torch/evaluator.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc71831ed40d0af9914dae6877db67b0ffee86e885acd09a2df03932fa51fdd0"}},{"ruleId":"D2","level":"warning","message":{"text":"TimesFM3Forecaster.predict_batch (cognitive 65): TimesFM3Forecaster.predict_batch has cognitive complexity 65 (threshold 15). Drivers by points: if/else 14 (39 pts), loops 6 (14 pts), ternaries 5 (9 pts), boolean chains 3 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/mlx/timesfm3_forecaster.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5b4530d20c02aa6825ad241113229f44ccd56fdb3908d76146b98dcd281e77"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchedInContextXRegBase._assert_covariates (cognitive 51): BatchedInContextXRegBase._assert_covariates has cognitive complexity 51 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 7 (16 pts), boolean chains 6 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/utils/xreg_lib.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"811f7d7ee2fc7e889db962163ad95bb82687cc505dd4999162eb2048ee050606"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchedInContextXRegBase._assert_covariates (cognitive 51): BatchedInContextXRegBase._assert_covariates has cognitive complexity 51 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 7 (16 pts), boolean chains 6 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/timesfm/xreg_lib.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"1165efaad26915ce78c79fb0ab068cee2970bc53a47930251daf934a96bc037b"}},{"ruleId":"D2","level":"warning","message":{"text":"TimesFM3Torch.decode (cognitive 41): TimesFM3Torch.decode has cognitive complexity 41 (threshold 15). Drivers by points: if/else 28 (40 pts), ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/torch/model.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6e10cf5f86d619cdc4b87b5ac2b348e52a1ef97b585863effa182173208d5a"}},{"ruleId":"D2","level":"warning","message":{"text":"TimesFM_2p5.forecast_with_covariates (cognitive 36): TimesFM_2p5.forecast_with_covariates has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (23 pts), loops 4 (7 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/timesfm_2p5/timesfm_2p5_base.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"732ef47d7075553a625f565831228c247340afeb36ee8008e418bc6c9285ffc5"}},{"ruleId":"D2","level":"warning","message":{"text":"TimesFM3Mlx.decode (cognitive 35): TimesFM3Mlx.decode has cognitive complexity 35 (threshold 15). Drivers by points: if/else 23 (32 pts), ternaries 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/mlx/model.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fff2ca4524bf39d3be0c041eb9b632dd224be561af3590f6042151b55e9c24"}},{"ruleId":"D2","level":"warning","message":{"text":"TimesFmBase.forecast_with_covariates (cognitive 33): TimesFmBase.forecast_with_covariates has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 4 (7 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/timesfm/timesfm_base.py"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"b387a01177468491457a9a44d45cbadb674eb63e545aa555e30c939f68cebf9c"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiHeadAttention.forward (cognitive 29): MultiHeadAttention.forward has cognitive complexity 29 (threshold 15). Drivers by points: if/else 21 (26 pts), loops 1 (3 pts) (nesting depth added 7). 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":"src/timesfm3/torch/transformer.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cd7b97d46646e27f8b1e62a5d4315bdbdaa3e37bf0cb5716e6911b4335201f"}},{"ruleId":"D2","level":"warning","message":{"text":"utils._merge_adapter_weights (cognitive 21): utils._merge_adapter_weights has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (7 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":"v1/src/adapter/utils.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"064f0f1a606577e274a29fbf26afae7de0c5ecc0f8c25f278693c149c847eaca"}},{"ruleId":"D2","level":"warning","message":{"text":"finetune.finetune (cognitive 20): finetune.finetune has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/peft/finetune.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d66780b2c8115948f460fd0c87266616b021220a0dcf38b9758b1acdead6569"}},{"ruleId":"D2","level":"warning","message":{"text":"check_system._get_available_ram_gb (cognitive 19): check_system._get_available_ram_gb has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 2 (4 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"timesfm-forecasting/scripts/check_system.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5221b2ebdb2bd41a9b0e530e636e3bdc95db17d34a68a0af15bd804d6960da41"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.get_adapter_params (cognitive 19): utils.get_adapter_params has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (7 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. This shape REPEATS in the file: 2 other methods here (utils._get_adapter_weight_params, utils._initialize_adapter_params) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/adapter/utils.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f380be63e0dce007aff5fb67a1010eee941da69747b1b3bef020977b0283fc2"}},{"ruleId":"D2","level":"warning","message":{"text":"utils._get_adapter_weight_params (cognitive 19): utils._get_adapter_weight_params has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (7 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. This shape REPEATS in the file: 2 other methods here (utils.get_adapter_params, utils._initialize_adapter_params) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/adapter/utils.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfaa48ab71ea7de43fb8accba2241d69e9cc6c496d3f894d39b51e575a71768e"}},{"ruleId":"D2","level":"warning","message":{"text":"utils._initialize_adapter_params (cognitive 19): utils._initialize_adapter_params has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (7 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. This shape REPEATS in the file: 2 other methods here (utils.get_adapter_params, utils._get_adapter_weight_params) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/adapter/utils.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec5a6e768a8aecb672c9d04d966122072bbcbab44df963af281c6fcd2ec3bd6"}},{"ruleId":"D2","level":"warning","message":{"text":"TimesFmBase.forecast (cognitive 19): TimesFmBase.forecast has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/timesfm/timesfm_base.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c8ff5b0a9691d6bfc9f9a5865be06bb167d70fefc7fc203363122b8cadbe1e"}},{"ruleId":"D2","level":"warning","message":{"text":"TimesFmBase.forecast_on_df (cognitive 18): TimesFmBase.forecast_on_df has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/timesfm/timesfm_base.py"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7289a74ff9cd03e1a417800ae68c2751d337073e631db9b76c86a91335f945"}},{"ruleId":"D2","level":"warning","message":{"text":"TimesFM3Forecaster._init_model (cognitive 17): TimesFM3Forecaster._init_model has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/torch/timesfm3_forecaster.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"9221a677bb3b9c34498138d69c688f37c768ba54a6badc44982ad622d437bb1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: torch/timesfm3_forecaster.py: FileTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 97 over it, 1.19\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":"src/timesfm3/torch/timesfm3_forecaster.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a854271875f206b2d6c64daa28c1f0b70de1d4eede4f84e9ac04643f90dcdce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/check_system.py: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 8 over it, 1.02\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":"timesfm-forecasting/scripts/check_system.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa7cfd2f90b40cadf45d8496d3f425d847f035eb34a28788a62fba2382cdee3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (99 shared lines): src/timesfm/timesfm_2p5/timesfm_2p5_base.py:217-442 | v1/src/timesfm/timesfm_base.py:448-642 \u2014 These two members are variants of one another: 99 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":"src/timesfm/timesfm_2p5/timesfm_2p5_base.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a462e47a552e47d1cd66d895a483b9f824d0e69c2d51bbecb761fc39d1412c51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): src/timesfm/utils/xreg_lib.py:344-415 | v1/src/timesfm/xreg_lib.py:310-388 \u2014 These two members are one piece of code written twice and then edited apart: 72 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":"src/timesfm/utils/xreg_lib.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c99ebf657f7da5a0c3e150448f5d5afa65c23c1136d84afd843bbc7554f398"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (89 corresponding lines): v1/src/timesfm/timesfm_jax.py:247-353 | v1/src/timesfm/timesfm_torch.py:80-168 \u2014 These two members are one piece of code written twice and then edited apart: 89 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":"v1/src/timesfm/timesfm_jax.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f27f9864e44c3327a7f443beb936ef462fcdc3e88db9414057e5ca1ad07d029"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): v1/src/timesfm/patched_decoder.py:407-479 | v1/src/timesfm/pytorch_patched_decoder.py:722-787 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/timesfm/patched_decoder.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"143944c454c5d374099dc23782ee0c3f44a66ff914cd6324de6edfa2bec0c87d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): src/timesfm/flax/transformer.py:295-336 | src/timesfm/torch/transformer.py:311-352 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/flax/transformer.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f5d1046e46d1fbbf591e2cbfd5629d494e79d5f527c057528f09e59cb278b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): src/timesfm/flax/transformer.py:85-115 | src/timesfm/torch/transformer.py:75-111 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"src/timesfm/flax/transformer.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f5fd45a015079a79dc0ad276cef92236a56fcf1ca6e3c1105d67e367dcb007"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): v1/src/timesfm/patched_decoder.py:159-203 | v1/src/timesfm/pytorch_patched_decoder.py:65-109 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/timesfm/patched_decoder.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24209796cdff114ce24f48c5724e624243723db8656b1cd393a359c8cd781be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): v1/src/adapter/utils.py:46-98 | v1/src/adapter/utils.py:284-331 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/adapter/utils.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95022d041cad171f0672d55c6cb7f033bc51de4b263a4a7c1eea18cf8b02772"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/timesfm3/mlx/transformer.py:65-84 | src/timesfm3/torch/transformer.py:174-223 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/mlx/transformer.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3701a8e4234baee651efd93552a1d2e8c39da6f7330d59a7a6292644583d9022"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): v1/src/adapter/dora_layers.py:89-118 | v1/src/adapter/dora_layers.py:127-163 | v1/src/adapter/dora_layers.py:172-202 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 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":"v1/src/adapter/dora_layers.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a8bc8723063520234805f2dd6ca526e605c08cd3ad0e999a37fc853e28685a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): src/timesfm/timesfm_2p5/timesfm_2p5_base.py:52-83 | v1/src/timesfm/timesfm_base.py:95-127 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/timesfm_2p5/timesfm_2p5_base.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7239b86170583f5eeb9eefe9b923f61ccdfc2bde12a4b885aa9885fb74e390"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/timesfm/flax/util.py:97-108 | src/timesfm/torch/util.py:83-95 \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":"src/timesfm/flax/util.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab1c2659369435a6c3c662749bce8a39a9f4499acdaf883c98bdedf9d4b1cdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/timesfm/flax/dense.py:78-98 | src/timesfm/torch/dense.py:63-82 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/flax/dense.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cebd499e4597043df3d44e49f3f900c376757bc46f7ebca3ae78d2cec836f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): v1/src/finetuning/finetuning_torch.py:281-310 | v1/src/finetuning/finetuning_torch.py:313-337 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/finetuning/finetuning_torch.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7965bd173ae180d3205f1cf33143c0aa10c332814eb37cf79e7ba8421f7cb06c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/timesfm/timesfm_2p5/timesfm_2p5_flax.py:134-148 | src/timesfm/timesfm_2p5/timesfm_2p5_torch.py:94-115 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/timesfm_2p5/timesfm_2p5_flax.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b69fd5e00d9c5630901adfe65db92348318e515f87b9a3759d19f4ae710e557"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/timesfm/flax/transformer.py:52-64 | src/timesfm/torch/transformer.py:38-53 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/flax/transformer.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a070b8cb968e397084e65a70f78c2e06f6e1a8832822ad610c0cc4b83b07d05e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/timesfm/flax/transformer.py:344-356 | src/timesfm/torch/transformer.py:360-370 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/flax/transformer.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"199659067cd2f0b6ec267b95c3b21039a13f0b3a72a955f585d73cca8622646d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/timesfm/utils/xreg_lib.py:67-74 | v1/src/timesfm/timesfm_base.py:132-136 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/utils/xreg_lib.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd128485d9ad7f4edb4e5399a79a0bca52971fce70d35be46d66efb16da6bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (92 corresponding lines): src/timesfm/utils/xreg_lib.py:127-218 | v1/src/timesfm/xreg_lib.py:103-196 \u2014 These two members are one piece of code written twice and then edited apart: 92 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/utils/xreg_lib.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d4eee9bef4196ca132142b87d5d0d0ecd55ae102b8b3cd1077358dbacb3c66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/timesfm/__init__.py:55-77 | src/timesfm3/__init__.py:54-71 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/__init__.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cc79b89c9d100c88510bd0cec6e63a67c97708c319982c639c2a4c4205015d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): v1/src/adapter/dora_layers.py:28-38 | v1/src/adapter/lora_layers.py:28-36 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/adapter/dora_layers.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5886f00ae40d0d6751b1aef22f36fdee9ffdd2fda261a599f2f38bbcc0f9f7ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): v1/src/timesfm/patched_decoder.py:307-309 | v1/src/timesfm/pytorch_patched_decoder.py:625-627 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/timesfm/patched_decoder.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f62e5f0b606fe4f6fc27bae0fc4f27780e16d68ef538ead38ec431b46c7048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (103\u2013115 lines \u00D7 2): src/timesfm/utils/xreg_lib.py:221-335 | v1/src/timesfm/xreg_lib.py:199-301 \u2014 before extracting anything, compare \u0060src/timesfm/utils/xreg_lib.py\u0060 and \u0060v1/src/timesfm/xreg_lib.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 219 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. 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":"src/timesfm/utils/xreg_lib.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"54363107a2a7f8b381762c2edf2a3d7968ec20733f20ececc78614ebb3723d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201338 lines \u00D7 2): src/timesfm/utils/xreg_lib.py:344-381 | v1/src/timesfm/xreg_lib.py:310-345 \u2014 before extracting anything, compare \u0060src/timesfm/utils/xreg_lib.py\u0060 and \u0060v1/src/timesfm/xreg_lib.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 219 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":"src/timesfm/utils/xreg_lib.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"96204b4b4ee39723343ebd5242bfe454e02d88cf247e4ca8144753afc2763f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201332 lines \u00D7 2): src/timesfm/timesfm_2p5/timesfm_2p5_base.py:303-334 | v1/src/timesfm/timesfm_base.py:521-547 \u2014 before extracting anything, compare \u0060src/timesfm/timesfm_2p5/timesfm_2p5_base.py\u0060 and \u0060v1/src/timesfm/timesfm_base.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 153 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 \u0060src/timesfm/timesfm_2p5/timesfm_2p5_base.py:303\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/timesfm_2p5/timesfm_2p5_base.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26fe87ab56dc9ddc4554a9329635a88d28f59166c69f0b34b6e963b23cb29b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): src/timesfm/timesfm_2p5/timesfm_2p5_flax.py:518-545 | src/timesfm/timesfm_2p5/timesfm_2p5_torch.py:407-433 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/timesfm_2p5/timesfm_2p5_flax.py"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca98bc301ea0a9b979e9894a4dcb813669064ade92c9e7c29fbd0b078fbdcd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): v1/src/adapter/dora_layers.py:127-154 | v1/src/adapter/lora_layers.py:109-136 \u2014 before extracting anything, compare \u0060v1/src/adapter/dora_layers.py\u0060 and \u0060v1/src/adapter/lora_layers.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 79 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":"v1/src/adapter/dora_layers.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ae26a39328f0a3d198352d0e67de1f6e3be8f851b557e983354bd35567ac3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): src/timesfm/timesfm_2p5/timesfm_2p5_base.py:52-77 | v1/src/timesfm/timesfm_base.py:95-121 \u2014 before extracting anything, compare \u0060src/timesfm/timesfm_2p5/timesfm_2p5_base.py\u0060 and \u0060v1/src/timesfm/timesfm_base.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 153 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":"src/timesfm/timesfm_2p5/timesfm_2p5_base.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"658f43f150ed6a0d2263eae577c6687e1c2b791ed664b8c1148a06f8bdb6ed0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): src/timesfm/timesfm_2p5/timesfm_2p5_base.py:356-375 | v1/src/timesfm/timesfm_base.py:565-586 \u2014 before extracting anything, compare \u0060src/timesfm/timesfm_2p5/timesfm_2p5_base.py\u0060 and \u0060v1/src/timesfm/timesfm_base.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 153 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":"src/timesfm/timesfm_2p5/timesfm_2p5_base.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc081338d6e9ca456603abb70a3e3b9e502a5d42eea69859de3f92729f44f36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): v1/src/adapter/dora_layers.py:172-193 | v1/src/adapter/lora_layers.py:145-166 \u2014 before extracting anything, compare \u0060v1/src/adapter/dora_layers.py\u0060 and \u0060v1/src/adapter/lora_layers.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 79 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":"v1/src/adapter/dora_layers.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d511fa3f5a2b1afaa17c734b64b0450cf5b74fa598ff0ec45d603e6ba77b4aee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): src/timesfm/timesfm_2p5/timesfm_2p5_base.py:399-417 | v1/src/timesfm/timesfm_base.py:603-623 \u2014 before extracting anything, compare \u0060src/timesfm/timesfm_2p5/timesfm_2p5_base.py\u0060 and \u0060v1/src/timesfm/timesfm_base.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 153 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":"src/timesfm/timesfm_2p5/timesfm_2p5_base.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"6320c17f75e2c714726a5f2a06119cfdbebdfb984a76f85968db46d92d81503f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): timesfm-forecasting/scripts/check_system.py:145-165 | timesfm-forecasting/scripts/check_system.py:206-226 \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 \u0060timesfm-forecasting/scripts/check_system.py:145\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"timesfm-forecasting/scripts/check_system.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3727bfdd2a7e41617dfdbdeae975435504f75d99330d647339ae43de28d660ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): v1/src/adapter/dora_layers.py:89-109 | v1/src/adapter/lora_layers.py:80-100 \u2014 before extracting anything, compare \u0060v1/src/adapter/dora_layers.py\u0060 and \u0060v1/src/adapter/lora_layers.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 79 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":"v1/src/adapter/dora_layers.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cea201acc2af7c129808898e00be1c4155eed5e569f47f57085fbf0315715f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): v1/src/timesfm/data_loader.py:157-177 | v1/src/timesfm/data_loader.py:200-219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/timesfm/data_loader.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2107fa1a86573a41e65ca77bbd6dbe6a1089033d412a8a6c5338998b6bdca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/timesfm3/mlx/timesfm3_forecaster.py:150-166 | src/timesfm3/torch/timesfm3_forecaster.py:461-477 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/mlx/timesfm3_forecaster.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a70196e190d12641400ee1706bd41d48aacad50846ae79a61ef2f2551576749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 4): src/timesfm/timesfm_2p5/timesfm_2p5_base.py:357-370 | src/timesfm/timesfm_2p5/timesfm_2p5_base.py:400-413 | v1/src/timesfm/timesfm_base.py:566-581 | v1/src/timesfm/timesfm_base.py:604-619 \u2014 before extracting anything, compare \u0060src/timesfm/timesfm_2p5/timesfm_2p5_base.py\u0060 and \u0060v1/src/timesfm/timesfm_base.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 153 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 \u0060src/timesfm/timesfm_2p5/timesfm_2p5_base.py:357\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":"src/timesfm/timesfm_2p5/timesfm_2p5_base.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e57f111376b26174e7d7b9f5a8ffe93fdf390fdd93390e7d883ad82513f0b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/timesfm/timesfm_2p5/timesfm_2p5_base.py:252-272 | v1/src/timesfm/timesfm_base.py:482-497 \u2014 before extracting anything, compare \u0060src/timesfm/timesfm_2p5/timesfm_2p5_base.py\u0060 and \u0060v1/src/timesfm/timesfm_base.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 153 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":"src/timesfm/timesfm_2p5/timesfm_2p5_base.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"566554a808b4c920911ec43385eab8ec6dadf64714eaaf30de12176117bf7529"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/timesfm/utils/xreg_lib.py:47-62 | v1/src/timesfm/xreg_lib.py:43-58 \u2014 before extracting anything, compare \u0060src/timesfm/utils/xreg_lib.py\u0060 and \u0060v1/src/timesfm/xreg_lib.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 219 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":"src/timesfm/utils/xreg_lib.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae433122f83a6cf9306f621040de033d965cc5c6237a2c60ebd79314fda80e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/timesfm3/torch/model.py:92-106 | src/timesfm3/torch/timesfm3_forecaster.py:299-314 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/timesfm3/torch/model.py:92\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/torch/model.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3b091a6477922e4255e9405e243dbe4244c127ff6f08258faccd906207d5c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): src/timesfm3/torch/timesfm3_forecaster.py:720-733 | src/timesfm3/torch/timesfm3_forecaster.py:740-754 \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, \u0060src/timesfm3/torch/timesfm3_forecaster.py:739\u0060 calls \u0060full\u0060 and \u0060src/timesfm3/torch/timesfm3_forecaster.py:719\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":"src/timesfm3/torch/timesfm3_forecaster.py"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8d84e7eef3c4790a1a1ac89cb171d49ba9c5d69f18ac54b3dac9d4b1c1aa63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/timesfm/timesfm_2p5/timesfm_2p5_base.py:277-290 | v1/src/timesfm/timesfm_base.py:500-512 \u2014 before extracting anything, compare \u0060src/timesfm/timesfm_2p5/timesfm_2p5_base.py\u0060 and \u0060v1/src/timesfm/timesfm_base.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 153 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 \u0060src/timesfm/timesfm_2p5/timesfm_2p5_base.py:277\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":"src/timesfm/timesfm_2p5/timesfm_2p5_base.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"941cdbb0d4c15a1b9447b3fec5acb2ce82f35cc8ec2fbf487e58b178f538c41f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): src/timesfm/flax/transformer.py:99-107 | src/timesfm/torch/transformer.py:93-105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/timesfm/torch/transformer.py:93\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060inputs\u0060 to \u0060Float[Array, \u0022b ... d\u0022]\u0060 in one and \u0060torch.Tensor\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/flax/transformer.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c96c0a1186a7c8c75cff04e5e90e3bfc7e39ed17deb13eb8982f19d7cfaff51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/timesfm/timesfm_2p5/timesfm_2p5_flax.py:104-116 | src/timesfm/timesfm_2p5/timesfm_2p5_torch.py:47-59 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/timesfm/timesfm_2p5/timesfm_2p5_flax.py:100\u0060 calls \u0060devices\u0060 and \u0060src/timesfm/timesfm_2p5/timesfm_2p5_torch.py:44\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":"src/timesfm/timesfm_2p5/timesfm_2p5_flax.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84b5ff4aec91d778aa297ab2ef4ea82172694eedd4f6e0c4e4637831e9b8885"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): v1/src/timesfm/timesfm_jax.py:278-290 | v1/src/timesfm/timesfm_torch.py:108-120 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/timesfm/timesfm_jax.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e908ee68701b9f7e8fe71f11eda702d75a8b8f092bcbe924ab654138eaccb20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): v1/src/timesfm/timesfm_jax.py:340-352 | v1/src/timesfm/timesfm_torch.py:154-166 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/timesfm/timesfm_jax.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d0a233eb557772be32e00ea9e264f335f5ad059cf2cad00e041181d084c826"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/timesfm/timesfm_2p5/timesfm_2p5_base.py:378-388 | src/timesfm/timesfm_2p5/timesfm_2p5_base.py:424-435 \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 \u0060src/timesfm/timesfm_2p5/timesfm_2p5_base.py:424\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":"src/timesfm/timesfm_2p5/timesfm_2p5_base.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c832182cd08e0a2471f2b02afe1f70a9661ed4372e36bea84523612a38f0f98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/timesfm/utils/xreg_lib.py:390-415 | v1/src/timesfm/xreg_lib.py:363-388 \u2014 before extracting anything, compare \u0060src/timesfm/utils/xreg_lib.py\u0060 and \u0060v1/src/timesfm/xreg_lib.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/utils/xreg_lib.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52745770b20473cd16c988a5abf7ff62b5114e21c4d7d144c8d463b39ce7850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/timesfm/utils/xreg_lib.py:476-487 | v1/src/timesfm/xreg_lib.py:460-471 \u2014 before extracting anything, compare \u0060src/timesfm/utils/xreg_lib.py\u0060 and \u0060v1/src/timesfm/xreg_lib.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/timesfm/utils/xreg_lib.py:489\u0060 calls \u0060devices\u0060, \u0060default_device\u0060 and \u0060v1/src/timesfm/xreg_lib.py:473\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":"src/timesfm/utils/xreg_lib.py"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a91299a9cc277799e768bbc68da1dd330c64e28ca600ea1234f6e7f858a5ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): src/timesfm/utils/xreg_lib.py:498-509 | v1/src/timesfm/xreg_lib.py:473-481 \u2014 before extracting anything, compare \u0060src/timesfm/utils/xreg_lib.py\u0060 and \u0060v1/src/timesfm/xreg_lib.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 219 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/timesfm/utils/xreg_lib.py:489\u0060 calls \u0060devices\u0060, \u0060default_device\u0060 and \u0060v1/src/timesfm/xreg_lib.py:471\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":"src/timesfm/utils/xreg_lib.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd909007a411e2a3af094b060ee4d0646fc7b31d888307aedf4518e9265addc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): timesfm-forecasting/scripts/check_system.py:128-138 | timesfm-forecasting/scripts/check_system.py:175-186 \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 \u0060timesfm-forecasting/scripts/check_system.py:128\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"timesfm-forecasting/scripts/check_system.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce41ef894fdb56dd700f86e778ab7c3a350152c2bfa1fd5557805a70666e8fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): src/timesfm3/torch/timesfm3_forecaster.py:617-625 | src/timesfm3/torch/timesfm3_forecaster.py:627-637 \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. 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":"src/timesfm3/torch/timesfm3_forecaster.py"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d88a85130abb0bd87c36e1628cce54695a90cb5a5e6da4e9d4ff4ffe4d4b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/timesfm/timesfm_2p5/timesfm_2p5_flax.py:558-567 | src/timesfm/timesfm_2p5/timesfm_2p5_torch.py:396-405 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/timesfm_2p5/timesfm_2p5_flax.py"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c205ed978321824ef85d512172e0f7cdfc9e23145cb465e5b7a0c7214668d7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): v1/experiments/extended_benchmarks/run_timegpt.py:93-102 | v1/experiments/extended_benchmarks/run_timesfm.py:137-146 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/experiments/extended_benchmarks/run_timegpt.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadbfdef69ba0da313f73045d4645a616b604ce1a2108cdaca32a954dd7089dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): v1/src/finetuning/finetuning_torch.py:301-310 | v1/src/finetuning/finetuning_torch.py:328-337 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060v1/src/finetuning/finetuning_torch.py:297\u0060 calls \u0060zero_grad\u0060, \u0060backward\u0060, \u0060step\u0060 and \u0060v1/src/finetuning/finetuning_torch.py:327\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":"v1/src/finetuning/finetuning_torch.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2932ebf4c9486b54320cc44b4c0f74eed70684f8101f19423ae29996def921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): v1/src/adapter/utils.py:232-240 | v1/src/adapter/utils.py:262-270 \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":"v1/src/adapter/utils.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8eeda8fe97286ebeee467588cdb3844f5f914f74b9be11d5df55c14493e4263"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/timesfm/timesfm_2p5/timesfm_2p5_torch.py:137-144 | src/timesfm/timesfm_2p5/timesfm_2p5_torch.py:195-202 \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":"src/timesfm/timesfm_2p5/timesfm_2p5_torch.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a692a08660faf6a8280487df61e9472e01e23f675237978f2da2d42196a99dfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/timesfm/flax/util.py:81-87 | src/timesfm/timesfm_2p5/timesfm_2p5_flax.py:68-74 \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":"src/timesfm/flax/util.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db9567f8db47cf33c059142b36d76a73a9c45508bbbddf62609bee8b5fea074"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/timesfm/flax/util.py:97-103 | src/timesfm/torch/util.py:83-89 \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":"src/timesfm/flax/util.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6371ec9a97ea99bd8dace69ca5a8b24762005a089eda9272c32da52f7636a820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/timesfm3/torch/timesfm3_forecaster.py:735-742 | src/timesfm3/torch/timesfm3_forecaster.py:756-761 \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 \u0060src/timesfm3/torch/timesfm3_forecaster.py:735\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":"src/timesfm3/torch/timesfm3_forecaster.py"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"744dfb215f66b8b6fde95a4514b3c3f3dded35364bc12342ce7f8372219ace7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/timesfm3/torch/model.py:406-410 | src/timesfm3/torch/model.py:414-419 \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 \u0060src/timesfm3/torch/model.py:406\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/timesfm3/torch/model.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"47dc568a58a1f8052fd6da5870dcbf04f1b791b0536ec805a53b8fb690376c63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/timesfm3/mlx/timesfm3_forecaster.py:39-46 | src/timesfm3/torch/timesfm3_forecaster.py:168-175 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/mlx/timesfm3_forecaster.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c2f806cbe667fc7313610b7c55d6c8065c2f6b962d1b817c7b25c6876b1d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): v1/src/adapter/dora_layers.py:56-63 | v1/src/adapter/dora_layers.py:66-73 | v1/src/adapter/lora_layers.py:47-54 | v1/src/adapter/lora_layers.py:57-64 \u2014 before extracting anything, compare \u0060v1/src/adapter/dora_layers.py\u0060 and \u0060v1/src/adapter/lora_layers.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/adapter/dora_layers.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"712b33dbc4f2da5d05657a5b8bd3df1739893dab9aa12d56cfeb15b3c1460b16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): v1/src/finetuning/finetuning_torch.py:238-249 | v1/src/timesfm/patched_decoder.py:517-530 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060actual\u0060 to \u0060torch.Tensor\u0060 in one and \u0060JTensor\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/finetuning/finetuning_torch.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b53587dd21670d4980dec284aa3b4a4ddca79aa2d7ccaece4ca8e714fa63b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): timesfm-forecasting/examples/covariates-forecasting/demo_covariates.py:215-225 | timesfm-forecasting/examples/covariates-forecasting/demo_covariates.py:299-309 \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 \u0060timesfm-forecasting/examples/covariates-forecasting/demo_covariates.py:215\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":"timesfm-forecasting/examples/covariates-forecasting/demo_covariates.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8974909d52dd19eabcc5ceedb9b909cfd6c6433ffc7e85edd31c6279f878cee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): timesfm-forecasting/examples/anomaly-detection/detect_anomalies.py:503-512 | timesfm-forecasting/examples/covariates-forecasting/demo_covariates.py:568-578 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060timesfm-forecasting/examples/anomaly-detection/detect_anomalies.py:503\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":"timesfm-forecasting/examples/anomaly-detection/detect_anomalies.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec5f86f32a238d9e7283b700e511e6450e342948c02f160ff29c9f75b83e780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): timesfm-forecasting/examples/covariates-forecasting/demo_covariates.py:216-225 | timesfm-forecasting/examples/covariates-forecasting/demo_covariates.py:328-340 \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 \u0060timesfm-forecasting/examples/covariates-forecasting/demo_covariates.py:216\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":"timesfm-forecasting/examples/covariates-forecasting/demo_covariates.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2e0e93cc6ca3d66d1982a26209ea61269c8f0d3bc44f8f4ae74fa0ed9c0a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): timesfm-forecasting/examples/covariates-forecasting/demo_covariates.py:318-325 | timesfm-forecasting/examples/covariates-forecasting/demo_covariates.py:374-380 \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 \u0060timesfm-forecasting/examples/covariates-forecasting/demo_covariates.py:318\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":"timesfm-forecasting/examples/covariates-forecasting/demo_covariates.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"90de6dbf9586bb6d21af58174effcb996413c07f87afdccaa9a2eee452f656c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/timesfm3/torch/timesfm3_forecaster.py: src/timesfm3/torch/timesfm3_forecaster.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in TimesFM3Forecaster.predict_batch at line 479. 3 of those changes were fix/bug commits, 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 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 04:53:10 \u002B00:00\u0027 --until=\u00272026-11-13 04:53:10 \u002B00:00\u0027 --full-history --no-merges -- src/timesfm3/torch/timesfm3_forecaster.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":"src/timesfm3/torch/timesfm3_forecaster.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da70a1a5da8a0135fb0e549ebbad27d8e5586d43543e84d5a152821a817bc24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/timesfm3/mlx/timesfm3_forecaster.py: src/timesfm3/mlx/timesfm3_forecaster.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in TimesFM3Forecaster.predict_batch at line 168. 2 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 04:53:10 \u002B00:00\u0027 --until=\u00272026-11-13 04:53:10 \u002B00:00\u0027 --full-history --no-merges -- src/timesfm3/mlx/timesfm3_forecaster.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":"src/timesfm3/mlx/timesfm3_forecaster.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b5d05c48fbb8720374fd1c7a2c21526e843a8f8ab3a33c22a75605a6e6504d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/timesfm3/mlx/model.py: src/timesfm3/mlx/model.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in TimesFM3Mlx.decode at line 126. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 04:53:10 \u002B00:00\u0027 --until=\u00272026-11-13 04:53:10 \u002B00:00\u0027 --full-history --no-merges -- src/timesfm3/mlx/model.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":"src/timesfm3/mlx/model.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"43158440342e240eb5d16516dba669e26fa8bb5c1a804572d982b44da671cd80"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/timesfm3/torch/evaluator.py: src/timesfm3/torch/evaluator.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in TimesFM3Evaluator.predict_batch at line 46. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 04:53:10 \u002B00:00\u0027 --until=\u00272026-11-13 04:53:10 \u002B00:00\u0027 --full-history --no-merges -- src/timesfm3/torch/evaluator.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":"src/timesfm3/torch/evaluator.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efe6c633bf0f2a11af1fbeb81dc004b408fa2bbb4dee2e63fe45277676936e0"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: src/timesfm3/torch/util.py, src/timesfm3/torch/cpm_revin_refine.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d63d3f1df85e13ca1bb4a11e7977b8f65bce4c6f3f225d82321c5969a8cb74ed"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (3 single-owned of 46 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 46 of the 76 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: src/timesfm3/torch/transformations.py."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: add compilation. \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":"v1/src/timesfm/timesfm_torch.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f043b4fc8b56e2bb1e1ac9d71705f689018502cffe161fc64a2064e02c12e81b"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (11149 LoC, 94 module-visible types across 15 directories) overshoots its size bounds. 1 of 2 build unit(s) (Python) overshoot their size bounds, lowering Project Cohesion to 0.5/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pyproject.toml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4842ad367a78941ccec73d857627e21e838b932492f4ae73cdd87ada79a9f00"}},{"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":"2d4a941906ee01744df019fe1d5043e939414ca3b5beab0554d05fa10425b158"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11fe67732f8e60200a5a6170b702963a682b2b87e140abd8001b2afec1262f22"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c1cbd089327725348aa548c13c26ab0596f569e46fc35ba8ca45dbca30047a5"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e018a5e047edf90722cd3aad2e51a1c9aa908638975fba0bdb700376befad8f"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90a70eae7bc8d2ec2f96ee1a6933f624004d0854c93978fc8dc207e08581fa37"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ff5d2bf8d5b9299dd061e67ceb2c80e4f10b4bcc15a57c11306004e83480121"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"77d7292ceae5b72f5c78ea0a085bfe5be55d01b0e5d85b1dd078fd117dc8be09"},"properties":{"dependency":{"package":"anyio","version":"4.11.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-4024","PYSEC-2026-4025"],"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":"a504db9759b391e268cd0b86aa98cecf4705ea85ee7c078ce16e554d315aa109"},"properties":{"dependency":{"package":"certifi","version":"2025.10.5","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"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":"970a506bfa5c60d11f15aacc15617091d220302c6081a9a4fd004e06ea014420"},"properties":{"dependency":{"package":"anyio","version":"4.7.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-4024","PYSEC-2026-4025"],"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":"cdd1dd38386eeae33d4f7aed5fdcc5dcc9979fa757e2415437e61fd4f0a1d69a"},"properties":{"dependency":{"package":"certifi","version":"2024.12.14","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"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":"37529aa460d058ccc849f1c6666928c34c1566830c397ea1fdad78af6b23e718"},"properties":{"dependency":{"package":"gitpython","version":"3.1.43","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":"ff0247e9eaf8b29a065804c4299b16432ed3867ce4b8e7752fe2b74c8e156adb"},"properties":{"dependency":{"package":"h11","version":"0.14.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-348"],"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":"74abefa4e3b285a24d410f6d2ed978d3faa98999874fc371679ce5f1827f4dc0"},"properties":{"dependency":{"package":"jupyter-server","version":"2.15.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2187","PYSEC-2026-2532","PYSEC-2026-3472","PYSEC-2026-366","PYSEC-2026-4054","PYSEC-2026-67","PYSEC-2026-68","PYSEC-2026-69"],"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":"20288201382bbfebe9abad8dffe5ff5f566d257e23f526e4ebf1c825640dc259"},"properties":{"dependency":{"package":"keras","version":"2.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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-121","PYSEC-2025-76","PYSEC-2026-1486","PYSEC-2026-1487","PYSEC-2026-2324","PYSEC-2026-2547","PYSEC-2026-3629","PYSEC-2026-3630","PYSEC-2026-3631","PYSEC-2026-3632","PYSEC-2026-3633","PYSEC-2026-3634","PYSEC-2026-369","PYSEC-2026-3856"],"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":"ada6a6c01cb0d282f132b902e2dc46bd0bfec67a3eb8c2707ae414da21cf3cd9"},"properties":{"dependency":{"package":"nltk","version":"3.9.1","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]","[CVE redacted]","[CVE redacted]","[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]","PYSEC-2026-2078","PYSEC-2026-2085","PYSEC-2026-2235","PYSEC-2026-2236","PYSEC-2026-2237","PYSEC-2026-3581","PYSEC-2026-3582","PYSEC-2026-3583","PYSEC-2026-3584","PYSEC-2026-3657","PYSEC-2026-3722","PYSEC-2026-3723","PYSEC-2026-3724","PYSEC-2026-3728","PYSEC-2026-3729","PYSEC-2026-3730","PYSEC-2026-3731","PYSEC-2026-3732","PYSEC-2026-3733","PYSEC-2026-3734","PYSEC-2026-3735","PYSEC-2026-3736","PYSEC-2026-3737","PYSEC-2026-3738","PYSEC-2026-3739","PYSEC-2026-3740","PYSEC-2026-3741","PYSEC-2026-3748","PYSEC-2026-3749","PYSEC-2026-3750","PYSEC-2026-3751","PYSEC-2026-3752","PYSEC-2026-3868","PYSEC-2026-3869","PYSEC-2026-3870","PYSEC-2026-3871","PYSEC-2026-3954","PYSEC-2026-3955","PYSEC-2026-4318","PYSEC-2026-597","PYSEC-2026-96","PYSEC-2026-97","PYSEC-2026-98","PYSEC-2026-99"],"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":"8d3b3abb8e6313a0df93d02fc775235622cee5264575c23ce9a22843b2cbcae7"},"properties":{"dependency":{"package":"pillow","version":"11.0.0","advisory":"[GHSA redacted]","aliases":["BIT-pillow-2026-112390","BIT-pillow-2026-112391","BIT-pillow-2026-112392","BIT-pillow-2026-112393","BIT-pillow-2026-112394","BIT-pillow-2026-112395","BIT-pillow-2026-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-25990","BIT-pillow-2026-40192","BIT-pillow-2026-42308","BIT-pillow-2026-42310","BIT-pillow-2026-42311","BIT-pillow-2026-54058","BIT-pillow-2026-54059","BIT-pillow-2026-54060","BIT-pillow-2026-55379","BIT-pillow-2026-55380","BIT-pillow-2026-55798","BIT-pillow-2026-59197","BIT-pillow-2026-59198","BIT-pillow-2026-59199","BIT-pillow-2026-59200","BIT-pillow-2026-59204","BIT-pillow-2026-59205","BIT-pillow-2026-96636","BIT-pillow-2026-96637","BIT-pillow-2026-96638","BIT-pillow-2026-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]","[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-2252","PYSEC-2026-2253","PYSEC-2026-2254","PYSEC-2026-2255","PYSEC-2026-2256","PYSEC-2026-2257","PYSEC-2026-2874","PYSEC-2026-3451","PYSEC-2026-3453","PYSEC-2026-3454","PYSEC-2026-3493","PYSEC-2026-3494","PYSEC-2026-3495","PYSEC-2026-3496","PYSEC-2026-4326","PYSEC-2026-4327","PYSEC-2026-4329","PYSEC-2026-4330","PYSEC-2026-4331","PYSEC-2026-4332","PYSEC-2026-4334","PYSEC-2026-4335","PYSEC-2026-4337","PYSEC-2026-4338","PYSEC-2026-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":"31946b595d43a7a3494fb2ca487afc09788f1c5794b6c3c7b985e6f52520a1bf"},"properties":{"dependency":{"package":"tensorflow","version":"2.9.3","advisory":"[GHSA redacted]","aliases":["BIT-tensorflow-2023-25658","BIT-tensorflow-2023-25659","BIT-tensorflow-2023-25660","BIT-tensorflow-2023-25661","BIT-tensorflow-2023-25662","BIT-tensorflow-2023-25663","BIT-tensorflow-2023-25664","BIT-tensorflow-2023-25665","BIT-tensorflow-2023-25666","BIT-tensorflow-2023-25667","BIT-tensorflow-2023-25668","BIT-tensorflow-2023-25669","BIT-tensorflow-2023-25670","BIT-tensorflow-2023-25671","BIT-tensorflow-2023-25672","BIT-tensorflow-2023-25673","BIT-tensorflow-2023-25674","BIT-tensorflow-2023-25675","BIT-tensorflow-2023-25676","BIT-tensorflow-2023-25801","BIT-tensorflow-2023-27579","BIT-tensorflow-2023-33976","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]","PYSEC-2026-1951","PYSEC-2026-1952","PYSEC-2026-1953","PYSEC-2026-1955","PYSEC-2026-1956","PYSEC-2026-1957","PYSEC-2026-1958","PYSEC-2026-1959","PYSEC-2026-1960","PYSEC-2026-1961","PYSEC-2026-1962","PYSEC-2026-1963","PYSEC-2026-1964","PYSEC-2026-3098","PYSEC-2026-3106","PYSEC-2026-3111","PYSEC-2026-3115","PYSEC-2026-3116","PYSEC-2026-3120","PYSEC-2026-3122","PYSEC-2026-3123","PYSEC-2026-3130","PYSEC-2026-3131","PYSEC-2026-3142","PYSEC-2026-3143","PYSEC-2026-3166","PYSEC-2026-3169","PYSEC-2026-3176","PYSEC-2026-3182","PYSEC-2026-3189","PYSEC-2026-3190","PYSEC-2026-3206","PYSEC-2026-3231","PYSEC-2026-3236","PYSEC-2026-3271","PYSEC-2026-3276","PYSEC-2026-3279","PYSEC-2026-3281","PYSEC-2026-3282","PYSEC-2026-3286","PYSEC-2026-3287","PYSEC-2026-3293","PYSEC-2026-3294","PYSEC-2026-3300","PYSEC-2026-3301","PYSEC-2026-3314","PYSEC-2026-3317","PYSEC-2026-3321","PYSEC-2026-3330","PYSEC-2026-3331","PYSEC-2026-3362","PYSEC-2026-3366","PYSEC-2026-548","PYSEC-2026-549","PYSEC-2026-550","PYSEC-2026-954","PYSEC-2026-956","PYSEC-2026-960","PYSEC-2026-961","PYSEC-2026-967","PYSEC-2026-973","PYSEC-2026-985","PYSEC-2026-999"],"reachability":{"kind":"production","file":"v1/src/timesfm/data_loader.py","line":23}}}},{"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":"16a97ffac5434da735d9baf15b73683c9f431f4936d73197f36a371ac2c591f9"},"properties":{"dependency":{"package":"torch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2024-48063","BIT-pytorch-2025-2148","BIT-pytorch-2025-2149","BIT-pytorch-2025-2953","BIT-pytorch-2025-2998","BIT-pytorch-2025-2999","BIT-pytorch-2025-3000","BIT-pytorch-2025-3001","BIT-pytorch-2025-32434","BIT-pytorch-2025-3730","BIT-pytorch-2025-46148","BIT-pytorch-2025-55551","BIT-pytorch-2025-55552","BIT-pytorch-2025-55553","BIT-pytorch-2025-55554","BIT-pytorch-2025-55557","BIT-pytorch-2025-55558","BIT-pytorch-2025-55560","BIT-pytorch-2026-24747","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2024-259","PYSEC-2025-189","PYSEC-2025-190","PYSEC-2025-191","PYSEC-2025-192","PYSEC-2025-193","PYSEC-2025-194","PYSEC-2025-195","PYSEC-2025-198","PYSEC-2025-203","PYSEC-2025-204","PYSEC-2025-205","PYSEC-2025-206","PYSEC-2025-207","PYSEC-2025-208","PYSEC-2025-209","PYSEC-2025-41","PYSEC-2026-139","PYSEC-2026-1856","PYSEC-2026-1970","PYSEC-2026-2286"],"reachability":{"kind":"production","file":"v1/experiments/long_horizon_benchmarks/run_eval.py","line":26}}}},{"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":"448e25127a4a95e81ac82198974b5f996394248c747a6947804f426c35a32920"},"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":"ac4d81113be431255da5ace4b4459440cbdaf0fc34f2b097f9d1bca4f2a29136"},"properties":{"dependency":{"package":"fsspec","version":"2024.12.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":"b14dc8f9db8bfb99301d7af1fef606420e39a7903fd227061e7002126bf5b3f2"},"properties":{"dependency":{"package":"jupyter-core","version":"5.7.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1477"],"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":"7a5601dc391d46bfd6b8d8535b383bb895e37b59b077c57b6afad33217fb447b"},"properties":{"dependency":{"package":"jupyterlab","version":"4.3.4","advisory":"[GHSA redacted]","aliases":["BIT-jupyter-base-notebook-2026-40171","BIT-jupyter-base-notebook-2026-42557","BIT-jupyter-notebook-2026-40171","BIT-jupyter-notebook-2026-42557","BIT-jupyterlab-2025-59842","BIT-jupyterlab-2026-102904","BIT-jupyterlab-2026-40171","BIT-jupyterlab-2026-42266","BIT-jupyterlab-2026-42557","BIT-jupyterlab-2026-67338","BIT-jupyterlab-2026-73415","BIT-jupyterlab-2026-73417","BIT-jupyterlab-2026-73626","BIT-jupyterlab-2026-73627","[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]","PYSEC-2026-1482","PYSEC-2026-164","PYSEC-2026-2537","PYSEC-2026-2538","PYSEC-2026-2681","PYSEC-2026-2682","PYSEC-2026-3671","PYSEC-2026-3672","PYSEC-2026-4055","PYSEC-2026-4056","PYSEC-2026-4059"],"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":"4fb2a42ef090ea5c91a1d22389dc18cf87bee65b6f53f2d483077aedf6d42dd5"},"properties":{"dependency":{"package":"lxml","version":"5.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-87"],"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":"183cf773348b6429706e7b6432640a5669e271477c7ad44d3ec11115bca4c2c8"},"properties":{"dependency":{"package":"mistune","version":"3.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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-168","PYSEC-2026-2206","PYSEC-2026-2207","PYSEC-2026-2208","PYSEC-2026-2209","PYSEC-2026-2210","PYSEC-2026-2211","PYSEC-2026-2212","PYSEC-2026-2213","PYSEC-2026-2214","PYSEC-2026-2215","PYSEC-2026-2216","PYSEC-2026-2217","PYSEC-2026-2218","PYSEC-2026-2651","PYSEC-2026-2652"],"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":"00ee2d732e0360ba9465cb90d8160e13e16c6ef4ce1c87f07e28690f54310fc8"},"properties":{"dependency":{"package":"msgpack","version":"1.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-3625"],"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":"7fd14a94d6e433450ba4b0d367165034b8028474a524d9e4205f8461df4a4c61"},"properties":{"dependency":{"package":"nbconvert","version":"7.16.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1691","PYSEC-2026-2229","PYSEC-2026-2230"],"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":"4e2d70dbf67118d7d2e8a251cda127aba3dfc1efe322b63785db8551e7dca4a8"},"properties":{"dependency":{"package":"notebook","version":"7.3.2","advisory":"[GHSA redacted]","aliases":["BIT-jupyter-base-notebook-2026-40171","BIT-jupyter-base-notebook-2026-42557","BIT-jupyter-notebook-2026-40171","BIT-jupyter-notebook-2026-42557","BIT-jupyterlab-2026-40171","BIT-jupyterlab-2026-42557","[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-2537","PYSEC-2026-2538","PYSEC-2026-2681","PYSEC-2026-2682"],"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":"120fe833bfd7ea79bf9dcf8735c232c90c0da845e7f1ee34be2226ce9505ed05"},"properties":{"dependency":{"package":"oauthlib","version":"3.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4113","PYSEC-2026-4114"],"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":"c43b230b5a598531bb348af592e9384ba2b987374692ce9977abe301dcea5af1"},"properties":{"dependency":{"package":"protobuf","version":"3.19.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-1805","PYSEC-2026-1806"],"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":"a22b9c44969c62b9803d39448be0b4dd11c574965d4ebd8a513e158eba649d29"},"properties":{"dependency":{"package":"pyasn1","version":"0.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1810","PYSEC-2026-2263","PYSEC-2026-3455","PYSEC-2026-3456","PYSEC-2026-3457"],"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":"11115ce89552f18e2b71880b2b020573e6b4c241d93ae3cb53f90b1a9033b437"},"properties":{"dependency":{"package":"sentencepiece","version":"0.1.99","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1909"],"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":"6d7bfb0a58480ddd6481024349d663dc83bfad5f4c19d1f56f8e3b2e73c38ba6"},"properties":{"dependency":{"package":"setuptools","version":"75.6.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":"b5aac8959c1688d34d54de2be62e4a8522e7d39b4ff85205e858fd8cb75635d0"},"properties":{"dependency":{"package":"soupsieve","version":"2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-3071","PYSEC-2026-3072","PYSEC-2026-4170","PYSEC-2026-4171"],"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":"d798fe0282fcdc5e160ac1ee76713e5e3c914973cd7890badc29dd6eca016f43"},"properties":{"dependency":{"package":"tornado","version":"6.4.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]","[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-2025-265","PYSEC-2025-266","PYSEC-2025-267","PYSEC-2026-140","PYSEC-2026-1974","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":"81f9533e9cb4f9f9af4d337e2603a134feab76f572a83ed5d43015757a6b426b"},"properties":{"dependency":{"package":"transformers","version":"4.47.1","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":"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":"7a12e27dedd9b9b86dac721e9c95b0db3557ee028ef2d102fe4630c3004cbc38"},"properties":{"dependency":{"package":"urllib3","version":"2.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-141","PYSEC-2026-1994","PYSEC-2026-1996","PYSEC-2026-1997","PYSEC-2026-1998","PYSEC-2026-1999","PYSEC-2026-4175","PYSEC-2026-4177"],"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":"90339fff658185afd2b999e7616082a684f4ae3bda3f220dc12088f15064894f"},"properties":{"dependency":{"package":"wheel","version":"0.45.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2047"],"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":"d84a1341a982660b0cedd5be0fa1d80ca3db728a418a7a61e41807ab54390972"},"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":"d1b555baa143fe7711fb442e4b8561a6045a5ad478b5640203145a3e86705982"},"properties":{"dependency":{"package":"idna","version":"3.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-215"],"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":"a4c7856bc174013dcd6718504899e60e01062317b4d53c9b50381a1b82ced721"},"properties":{"dependency":{"package":"bleach","version":"6.2.0","advisory":"[GHSA redacted]","aliases":["[GHSA redacted]"],"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":"949740a4c0d059f2a0f1880f332d5bb161daa1525e078a2876fc618d003a7bab"},"properties":{"dependency":{"package":"filelock","version":"3.16.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1374","PYSEC-2026-1375"],"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":"eea41e044fce57567e894973d957da765a665076dc98abe4ce72720bb343692f"},"properties":{"dependency":{"package":"fonttools","version":"4.55.3","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":"f0885a3d2675e05349c7c5b0ed3e99c6ea27bb4f7f3460423bf2bbcdf3750a8c"},"properties":{"dependency":{"package":"idna","version":"3.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-215"],"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":"2bc2ffec24ecfb0d9cb24cac58b91719591ab9be44813e907f143ab051fcef0a"},"properties":{"dependency":{"package":"jinja2","version":"3.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1471"],"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":"83853acf723be4be1b0733f56413454c938389ed16e91678de649562e31938af"},"properties":{"dependency":{"package":"markdown","version":"3.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-89"],"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":"cd22d61a1feabf9232b07bef68c67e06bfa6216d3a5facfebb74afdcd17768a7"},"properties":{"dependency":{"package":"pygments","version":"2.18.0","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":"9bee57057838cecf5427bf7a63793d399c2075868e40b8c781fd6c38571fbb18"},"properties":{"dependency":{"package":"pytest","version":"8.3.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1845"],"reachability":{"kind":"test-or-tooling","file":"v1/tests/test_timesfm.py","line":20}}}},{"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":"5f403d1c9cd20c1599f0a67429f0a6e5a16fac5ef2dc67e769fc2cc3f9ea339b"},"properties":{"dependency":{"package":"requests","version":"2.32.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-1872","PYSEC-2026-2275"],"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":"fa444352d1007cc8b13db1b72cb6792758eb44da1fa4e33418efe1b197888d3c"},"properties":{"dependency":{"package":"werkzeug","version":"3.1.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-2044","PYSEC-2026-2046","PYSEC-2026-2320","PYSEC-2026-4312"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/torch/model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e0d4b6d967713fa6b0584c2c30b6c913e11fa8fa13aa98125836efa408ffc5"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 7 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: v1/peft/finetune.py, v1/src/finetuning/finetuning_torch.py, v1/src/finetuning/finetuning_example.py, v1/src/adapter/utils.py, src/timesfm3/torch/dense.py, v1/src/adapter/dora_layers.py, v1/src/adapter/lora_layers.py (8 orphaned of 49 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 49 of the 76 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/adapter/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9bf841358a0655907638105ef60f025ad10f73011a41511e2a7a357d5acf74"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/peft/finetune.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de319954c736d961a7b3648a048a1fe72be3de577d66279a55b3f9cc472c3952"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/finetuning/finetuning_torch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ebc93f05c64c585364bdf292c68265d47e62e96da595aa4e39c9042b82e252"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/finetuning/finetuning_example.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb789c7d342704252baed0f286d12044fc99e229c4a4009c516c0fc9273b9b0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/adapter/dora_layers.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3e754444af657ef0f7d0a461be06e593abdd6713d0c8288e5c6893e248c5d3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/adapter/lora_layers.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfe954afb20b98e51b2aa7ec445ea13c1ae46286d91ef166d45c0f8aae794aa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm3/torch/dense.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af372a064f1bd4d4f9e9f0aba5e628bda2432ddf5c2a541b7367f5948f40896"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76302cd13f20580a528f72d66fbf2e2e8b7cc5f2ffff7e9573267c9cdab0864e"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: This repository serves requests \u2014 a request handler (app.run() (v1/src/finetuning/finetuning_example.py:403) \u2014 and no route guard, auth-gate middleware, global guard or imperative check that refuses a caller (401/403, an Unauthorized/Forbidden error) was found: its endpoints may be unprotected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"v1/src/finetuning/finetuning_example.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e2614cc5c7e2202be1b433d136b39e7fecb7a61754c14d9ad4a49f6a2fb13a"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/main.yml"},"region":{"startLine":6}}}],"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":16}}}],"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: \u0060dynamic_numerical_covariates or dynamic_categorical_covariates or static_numerical_covariates or static_categorical_covariates\u0060 appears character-identically in 2 files \u2014 src/timesfm/timesfm_2p5/timesfm_2p5_base.py, v1/src/timesfm/timesfm_base.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":"src/timesfm/timesfm_2p5/timesfm_2p5_base.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0851f8c11c3e89f235ef39f1adc1f0c8949bb3c1c4af2db0d8d28520bfd8ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fc.use_continuous_quantile_head and (fc.max_horizon \u003E self.model.os)\u0060 appears character-identically in 2 files \u2014 src/timesfm/timesfm_2p5/timesfm_2p5_flax.py, src/timesfm/timesfm_2p5/timesfm_2p5_torch.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":"src/timesfm/timesfm_2p5/timesfm_2p5_flax.py"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9f9ee5c2e85b0e23e3bf9e9d7759257b8f93f117d8a0705292ffa3aaeaee80"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not np.isfinite(sigma) or sigma \u003C _SIGMA_THRESHOLD\u0060 appears character-identically in 2 files \u2014 src/timesfm3/mlx/timesfm3_forecaster.py, src/timesfm3/torch/timesfm3_forecaster.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":"src/timesfm3/mlx/timesfm3_forecaster.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d532f45145a308c515013c18b7997fec736a15267e7ca546244b59e93191207"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not self.train_dynamic_categorical_covariates and self.test_dynamic_categorical_covariates\u0060 appears character-identically in 2 files \u2014 src/timesfm/utils/xreg_lib.py, v1/src/timesfm/xreg_lib.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":"src/timesfm/utils/xreg_lib.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"421feec662bd4a6f53acaf083f814cd9b6fd2f2b38210e1d10a641cba749e0f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not self.train_dynamic_numerical_covariates and self.test_dynamic_numerical_covariates\u0060 appears character-identically in 2 files \u2014 src/timesfm/utils/xreg_lib.py, v1/src/timesfm/xreg_lib.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":"src/timesfm/utils/xreg_lib.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"14118f5c268646345df43d74e763a6d2f163e347f542270b3a287648ddb5f14e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060return_forecast_on_context and step_index == 0\u0060 appears character-identically in 2 files \u2014 v1/src/timesfm/patched_decoder.py, v1/src/timesfm/pytorch_patched_decoder.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":"v1/src/timesfm/patched_decoder.py"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"f892e395772be4838ac8224c00dd4d192c38792ff50df5988068ba566e55bbb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.train_dynamic_categorical_covariates and not self.test_dynamic_categorical_covariates\u0060 appears character-identically in 2 files \u2014 src/timesfm/utils/xreg_lib.py, v1/src/timesfm/xreg_lib.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":"src/timesfm/utils/xreg_lib.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b87aa381af09b7c507322b79d7da218511d4dedac7fc854dec1e489c3841a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.train_dynamic_numerical_covariates and not self.test_dynamic_numerical_covariates\u0060 appears character-identically in 2 files \u2014 src/timesfm/utils/xreg_lib.py, v1/src/timesfm/xreg_lib.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":"src/timesfm/utils/xreg_lib.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3ba57ab5525843da43dfae4aeb0cb66f3ab71023bac75ef5a6004ea9077d65"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"timesfm-forecasting/scripts/check_system.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe25e152cb0988a4078f3afc87f20b2342a7cdc2aeea7642556bd5bb9818ea36"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"timesfm-forecasting/scripts/check_system.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"575afd98f257e67b87343374283b8188eea632f3aa47dde0490df7d51afe319a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"timesfm-forecasting/scripts/forecast_csv.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"04615893046baeb4623bf16605dee340cae658d49f17110513d7bee0587e1605"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/timesfm/timesfm_2p5/timesfm_2p5_torch.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9106b08867dad3de94b829001367e102e633b45cf0a95a508a1063ca04ceef5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 360 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":"v1/src/finetuning/finetuning_torch.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6bd7c435d7c4f0d0035432729e7436cf7ff6fb7daff45e7293761830bcc9f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 362 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":"v1/src/finetuning/finetuning_torch.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c025bd1a69b261ba2afc6381e9df8a578b997dbe29746f8ea9185859a8c1a71"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 363 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":"v1/src/finetuning/finetuning_torch.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"07332271265f8c63069330f0181d0a7daae89b388234c8c9b33c3715d4c84940"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 386 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":"v1/src/finetuning/finetuning_torch.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"1834c3d5e6d4ced14c3b56cdbe15cdd5dd56fe1c64b906af23316bdd06da3496"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060recommend_batch_size\u0060 returns \u006032\u0060 when \u0060(ValueError, IndexError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"timesfm-forecasting/scripts/check_system.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"114ba0476355ca046ceaeb2887ba9be383085172c71983595f9c0ec6bb78b13b"}}],"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-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-95","guid":"400bba4e-483c-5c50-a695-114fa9168003","name":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/95.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":55,"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."]}]}