JT / SAGE IDEAS Work with me

03 Evidence

Machine learning · Methodology

Most model wins are leaks. Test for the leak first.

A model that looks great in a notebook usually saw the future somewhere. This is the checklist I run before any number is allowed out of the lab.

Method · lab in buildMethodology pageAlphaStream (engineering only)

FinishedThe method is written down and applied in my research harnesses, and the leakage lab runs in your browser on synthetic data.NextAdd purged cross-validation on a non-trading dataset to the lab.

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

request path / leakage-labMethod · lab in build
Leakage-first evaluation loop1. Point-in-time data: availability timestamps on every row. 2. Features as of t: no look-ahead joins. 3. Walk-forward split: train past, test future, embargo gap. 4. Pre-registered test: pass line fixed in advance. 5. Net, out-of-sample: or a printed limit01Point-in-time dataavailability timestamps on every row02Features as of tno look-ahead joins03Walk-forward splittrain past, test future, embargo gap04Pre-registered testpass line fixed in advance05Net, out-of-sampleor a printed limit
Leakage-first evaluation loop

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

    AlphaStream

    Engineering reference: pipeline and model training code. No performance claims.

    Repogithub.com/JasonTeixeira/AlphaStream

  • Owned

    Field notes

    Write-ups of runs where the gate said no.

    Notes/field-notes.html

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

Have a system that needs to work?

Tell me the problem. I will tell you honestly whether I am the right engineer for it.

Book a 15-minute call Run a free audit Not sure what you need? Answer 3 questions