A good result is a bug until proven otherwise
The results that look best are the ones most likely to be wrong. How we try to break a promising result before we trust it.
Bad results get investigated automatically. Nobody ships a change that lost money without asking why. Good results get the opposite treatment: they feel like confirmation, so they’re waved through. That asymmetry is how most broken research ends up in production.
We try to flip it. A result that looks better than expected is treated as a bug until it has survived a few deliberate attempts to break it.
How a model learns the future
The classic failure is leakage: information from after the decision sneaking into what the model sees at decision time. It is rarely as blatant as using tomorrow’s price. Usually it hides in a feature that was computed later, in bulk, than the live system ever could.
One example from our own work: a set of features describing how a wallet had behaved in the past was backfilled for historical training data. Live, those features only ever saw what had already happened. The backfill, through a subtle counting bug, also counted the very trades the model was trying to predict. Trained on that, the model looked dramatically better. The improvement was the leak, and nothing more. It took the features being promoted, and then a careful second look, to find it. They were demoted the same day.
Our checklist for a result that looks too good
- Is the jump plausible? A modest feature that suddenly dominates the model’s importance ranking is a red flag, not a discovery.
- Out of time, not just out of sample. Fit on earlier data, test on later data. Random cross-validation lets the future leak into training in subtle ways; a time split mostly doesn’t.
- Shuffle the labels. A model trained on shuffled outcomes should score like a coin flip. If the pipeline still finds signal, the pipeline is leaking.
- Rebuild the feature the way live computes it. Compute it from exactly what was knowable at that moment and compare it with the backfilled value, row by row.
- Compare live and backfill distributions. If a feature looks different in production than in history, one of them is wrong.
- Check the seed. Retrain with a different random seed. If the “improvement” is smaller than the difference between two seeds, it is noise.
Writing down what didn’t work
We also keep a list of closed ideas: things that looked promising, were tested properly and didn’t hold up, with the reason. It saves rediscovering the same dead end three months later with fresh enthusiasm, and it is a useful reminder of how often a good first result doesn’t survive.
The rule we try to live by is uncomfortable but simple: trust what the numbers show after you’ve tried to break them, not what you hoped they would show.