Lab: Model v1, honest baselines and ADR-001
Module 3 · Lab · About 60 minutes · Needs: lessons 1 to 3 of this module, and the Module 2 lab (or nothing: Step 1 rebuilds Modules 1 and 2)
What you are building
Adaeze wants one model she can sign off, with the evidence beside it. The lessons compared six families, found the attempts leak and tuned LightGBM; this lab turns that work into model v1, a tuned LightGBM calibrated with Platt scaling, judged on the validation weeks against every honest baseline the course has built.
The lab puts the lessons' twelve files into the repository unchanged and adds four: kestrel/train_v1.py (the model and its comparison), reports/model-v1.md (generated by code, never edited), tests/test_leakage.py (forbidden columns can never reach training) and docs/adr/ADR-001-model-family.md, the course's first decision record. No cell calls a hosted model.
Open a new Colab notebook, call it module-03-lab.ipynb, and run each cell in order.