The question
Baseball has the box score. Cycling has the results sheet: who showed up, where each of them finished, and how far behind the winner they were, in time and in places. It says nothing about the weather, the elevation profile, the cobbles or the gravel, or how the race actually unfolded. This project started from a simple curiosity. If that sheet is all you look at, how much can you learn about bike racing? How much signal is in it?
The bookmakers are how I put that question to the test. Their odds carry everything the market knows: team news, tactics, course knowledge, form and gossip. When the model’s prices land close to theirs, the box score was carrying more than it looks. When they don’t, the gap shows what the results sheet can’t see.
The project has grown since then, but the rule hasn’t changed. Every feature the models are trained on is still derived from box scores. Even “what kind of race was this?” is read from the shape of the finish: how strung out the field was, how big the front group was, how the gaps fell. The one forward-looking addition is a key. Before each stage, a plausible guess about the shape the race will take goes in: what the distribution of finishing times will look like, and which kinds of riders will land where in it. The models do the rest from the box scores.
So far that’s 38 races, 102 prediction pages and 110 settled calls, all published before the start and settled against the result. The point isn’t to beat the bookmakers. It’s to find out how much a results sheet can tell you, and to be honest about it in public.
What it does
Under the hood is a small stack of LightGBM models trained on FirstCycling results from 2016 to 2026: about 668,000 rider-race rows across 5,905 competitions, and about 1.1 million point-in-time snapshots going back to 2010. Every feature is computed as of the day before the race, so the model never gets to peek. Rather than one model, there are seven “heads,” each answering a different question.
- Who are the contenders?A bucket head ranks the whole startlist and picks a top 15.
- Who wins, podiums, or makes the top five?A contender cascade, trained only on those top-15 riders.
- What’s a fair price for everyone?A LambdaRank head over the full field, for a calibrated win book.
- How far back?A time-gap head, in seconds behind the winner.
- Who doesn’t finish?A DNF head.
- How’s the GC shaping up?A mid-race outlook head that reads the current standings.
- Who has won the contested fights?A “contested Elo” built only from disputed head-to-heads, used as a feature.
A pricing layer turns those into probabilities: one fitted correction to the cascade, a blend of 20% cascade and 80% LambdaRank, and a DNF adjustment. Since August 2026 there is also the key: each stage is keyed to one of eleven kinds of day (flat sprint, summit finish, and so on), defined by the shape of finishes in past box scores, and a ranker uses it to re-pick the shortlist. It is deliberately not allowed to touch anyone’s price.
Around the models sits a crew of agents that runs every night: one fetches results, one reads what kind of day a stage will be, one writes the previews and retrospectives, and a coordinator keeps them on schedule. Anything that needs a human lands in my inbox, and every draft waits for my verdict before it goes out. Every race ends with a written review of what the model got right and wrong.
Why calibration, not tips
For a one-day race the model names the winner about one time in four. That isn’t the interesting number. The interesting question is whether, over a season, things the model calls 30% happen about 30% of the time. Bookmaker odds sit on every page as the measure of how much signal the box score is carrying, not as betting guidance.
What it has taught me so far
- The model reads a race about as well as the market, but it’s shy at the top.At the 2026 Tour, it found the right contenders as well as the book did, but when it said 63.5% for a top five, it happened 82.1% of the time.
- Know what kind of day it is.Most of the Tour deficit came from a handful of hard-man and breakaway days. That finding became the day-type channel.
- Let the day type change the shortlist, never the prices.Every version that let it move prices made the predictions worse.
- One Tour is a single sample.By the Vuelta the model had closed a 0.46-nat-per-stage gap to finish level with the market on stage winners, and clearly ahead on days the bunch or the GC group settled.
- Escapes are still the hard problem.In 12 of 13 hindsight runs it couldn’t find the breakaway winner. Neither, mostly, could the market.
Next
From the Vuelta review: put the GC outlook head on the GC page, teach the day key to ask “who has a reason to chase,” and calibrate against the current race rather than a fixed July constant.