The problem
Leakage is the most common reason a model fails after launch: a feature computed with information that did not exist at prediction time, a random split across time, a scaler fit on the whole dataset, or a target that quietly encodes the answer.
Most of my modelling work is on market data, where leaks are easy and expensive. The habits transfer to any tabular problem: churn, fraud, demand, pricing.
Constraints
- Every feature is joined as of the time it was available, never as of today.
- Evaluation is out of sample and walk-forward; in-sample numbers are not reported.
- Costs are included before a result is called a result.
- The pass line is written down before the test runs.
Architecture
A deliberately leaky baseline runs beside the honest pipeline. If the leaky one wins by a lot, the gap is the size of the lie the notebook would have told.
What shipped
- The checklist above, applied in my own research harnesses.
- AlphaStream, a public ML engineering project that trains five model families behind a FastAPI pipeline (engineering reference only).
Evidence and receipts
Owned
Engineering reference: pipeline and model training code. No performance claims.
Owned
Write-ups of runs where the gate said no.
What I would do differently
- Add real purged cross-validation on a non-trading dataset to the lab, so the method is checked on more than one synthetic world.
- Publish the pre-registration files next to each result instead of inside the research repo.
Honest limitations
01 Input
Next step
Bring an AI feature or workflow that has to keep working. We scope the first verifiable step on a 15-minute call, and I give an honest answer on fit either way.
Book a 15-minute call Not sure what you need? Answer 3 questions