| { | |
| "_comment": "TCN sequence length config. Generated by N09_tiredeg_sequence_config.ipynb.", | |
| "_usage": "Import in N08. Use global.window_size for the global model; per_compound[compound].window_size for fine-tuned models. C6 has no dedicated model \u2014 use global.", | |
| "global": { | |
| "window_size": 36, | |
| "basis": "p90_all_dry_compounds", | |
| "p50": 21, | |
| "p75": 29, | |
| "p90": 36, | |
| "p95": 42 | |
| }, | |
| "per_compound": { | |
| "C1": { | |
| "window_size": 31, | |
| "basis": "p90", | |
| "p50": 21, | |
| "p75": 27, | |
| "p90": 31, | |
| "p95": 39, | |
| "n_stints": 285, | |
| "status": "ok" | |
| }, | |
| "C2": { | |
| "window_size": 40, | |
| "basis": "p90", | |
| "p50": 23, | |
| "p75": 31, | |
| "p90": 40, | |
| "p95": 44, | |
| "n_stints": 550, | |
| "status": "ok" | |
| }, | |
| "C3": { | |
| "window_size": 38, | |
| "basis": "p90", | |
| "p50": 22, | |
| "p75": 30, | |
| "p90": 38, | |
| "p95": 43, | |
| "n_stints": 1339, | |
| "status": "ok" | |
| }, | |
| "C4": { | |
| "window_size": 34, | |
| "basis": "p90", | |
| "p50": 19, | |
| "p75": 27, | |
| "p90": 34, | |
| "p95": 38, | |
| "n_stints": 859, | |
| "status": "ok" | |
| }, | |
| "C5": { | |
| "window_size": 31, | |
| "basis": "p90", | |
| "p50": 15, | |
| "p75": 25, | |
| "p90": 31, | |
| "p95": 35, | |
| "n_stints": 183, | |
| "status": "ok" | |
| }, | |
| "C6": { | |
| "window_size": null, | |
| "basis": "p90", | |
| "p50": 9, | |
| "p75": 16, | |
| "p90": 25, | |
| "p95": 28, | |
| "n_stints": 4, | |
| "status": "no_model_fallback_global" | |
| } | |
| }, | |
| "padding_strategy": "left_zero_pad", | |
| "truncation_strategy": "truncate_from_start", | |
| "masking": true, | |
| "notes": [ | |
| "window_size = p90 of stint length per compound (or manual override).", | |
| "Stints shorter than window_size are left-zero-padded; mask=True on padding positions.", | |
| "Stints longer than window_size are truncated from the start (most recent laps kept).", | |
| "C6: insufficient stints for a dedicated model; falls back to global at inference time.", | |
| "Overrides can be applied in N09 Step 5 if analysis justifies a different value." | |
| ] | |
| } |