Profile, quality, outliers, features. Describe again after every repair. Leaves a table Fit can trust.
Prepare the table FeaturesMethod card · identity HUD
A model earns its place one stage at a time
Four arcs turn a raw table into a monitored score that can stay relevant: files the next stage can refuse, one validation read and one test read, a previous version that still answers, a signed sheet before the score owns the decision, and Watch that starts a new version — never a silent overwrite.
- Prepare · 1–4
- Fit · 5–6
- Ship · 7–8
- Watch · 9
Four arcs · handbook chapters
Freeze test ids at Split. Select on the inner slice of train. One validation read. Leaves one validation-cleared candidate.
Fit without spending the holdoutTest once: passed or rejected. Serve a named bundle as a candidate. Previous live stays callable.
Ship and watchDaily signals, each with its own return stage. New version id. No silent retrain.
Ship and watchFit loops · validation stays unread until the end
Inner slice of train only. Max 20 trials. Stop early after 5 trials that gain less than 0.005.
One feature-spec change per pass, then A with 10 trials. Stop at 3 revisions or a gain under 0.005.
The single best inner-cleared candidate gets one read: val_reads = 1. A hard threshold is frozen here.
Named defect only: wrong labels, duplicates, clock failure, wrong units. New split. Old test ids discarded unread.
blocked at Fit, rejected at Test. Never served. Never retuned on test.
Status words · use these only
Validation unread or failed. Test never loaded.
Test failed. Not released.
Evidence the evaluation holds. Not permission.
Packed and reversible. Scores in parallel only.
A line is blank or nobody accepts it. Parallel only.
Accepted for the named use. Not live until cutover.
Owns the decision. Rollback restores the previous live way.
Passed is not approved, and approved is not live.
Before the score owns the decision · stage 10
What the version may change in the workflow.
What it must not decide, including policy calls.
A decision owner and a technical owner, by name.
Test report, baseline, slices, spec hash.
The previous version id or rule, callable in one action.
Every line filled and accepted → approved. Otherwise held.
Name what the version may do — the sheet is filled after Serve and reviewed while the version stays live.
Always on
Features that harm
Watch signals
0.25 and monitor_margin 0.05 are this recipe’s operating defaults, each with an owner — not universal laws.
Files the next stage refuses without
| # | Stage | Writes | Pass line |
|---|---|---|---|
| 1 | Profile | profile.json | Every column has one role |
| 2 | Quality | quality.json + quarantine.parquet | Labels valid on matured rows; key unique; clock clean; quarantine ≤ quarantine_rate_max (default 0.05) |
| 3 | Outliers | outlier_policy.json | Policy + touch-rate per numeric |
| 4 | Features | feature_spec.json | fit_on train, clock pass, drops listed with a reason |
| 5 | Split | split_ids.parquet | Matured only; embargo on both sides; disjoint ids; test hash frozen |
| 6 | Train | preprocess.joblib + model.joblib + val_metrics.json | Inner selection; val_reads = 1 — or blocked |
| 7 | Test | test_report.json + model_card.json | passed — or rejected |
| 8 | Serve | bundle/<version>/ | Signature match; missing feature errors; previous live callable → candidate |
| 9 | Monitor | monitor/<date>.json | Each signal names its return stage |
| 10 | Governance | governance sheet | Every line filled and accepted → approved — or held |