05 · Experiments
Testing the model mid-race
The prediction model is the product's core promise, so changes to it were treated as hypotheses: write down what we believe, test it against the timing data the tracker had already recorded, and only then decide. The pre-race forecast was frozen first, so every change can be judged against it afterwards.
1. His fast swim means he's faster today Rejected
- Observed
- Bradley swam 56:41 against his own 1:10 target, 19% faster. The model carried that into the bike and run, pulling his projected finish to about 6:21 pm.
- Test
- Compare his swim with the whole field's, once nearly everyone was out of the water.
- Result
- The field's median swim was 0:57; he was at the 48th percentile. The river current sped everyone up, so the swim said little about his form.
- Decision
- Swim and transition times no longer set his pace for later legs; only bike and run splits do. Shipped at 9:22 am. His projection settled around 6:30 pm.
2. Weighting his recent speed predicts better Rejected
- Idea
- Our estimate moves only at timing mats. Would his speed over the last stretch, or the last ~15 miles, predict the next mats better than the current model?
- Test
- A backtest on his real bike splits to mile 75.9 (12 stretches). At each mat, every approach predicted when he'd reach later mats, and was scored against when he actually did. The website was not changed during the test.
| Approach | Next mat avg miss | 3 mats ahead avg miss | 3 ahead worst |
| Current model | 1.4 min | 1.9 min | 4.6 min |
| IRONMAN app | 1.7 min | — | — |
| His bike average so far | 1.7 min | 2.7 min | 6.4 min |
| His last ~15 miles | 2.0 min | 3.7 min | 9.7 min |
| His last stretch only | 2.7 min | 5.2 min | 13.0 min |
- Why
- His speed swung between 16.9 and 23.2 mph from stretch to stretch as the out-and-back course turned him into and out of the wind. Recent speed chases that noise. The current model leans on his whole-ride average and on athletes at his pace who had already ridden the next stretch in the same conditions.
- Decision
- No change. The IRONMAN app publishes only a next-mat estimate, so it can't be scored further ahead.
3. On repeated roads, his own first lap is the best guide Supported on the bike Not on the run
- Hypothesis
- Where the course repeats, predicting each stretch from his own time on the same road last lap, scaled by how this lap is going, beats the current model.
- Test
- After the finish, on his real splits: bike lap 2 (miles 56–112, 10 stretches) and run lap 2 (miles 16–25.7, 7 stretches). Each approach predicted the next mat and was scored against when he actually reached it.
| Leg | Own first lap avg miss | Race-day model avg miss | Stretches |
| Bike lap 2 | 1.0 min | 1.9 min | 10 |
| Run lap 2 | 2.0 min | 1.2 min | 7 |
- Why
- The bike's out-and-back repeats the same wind on the same road, so his own first lap carries that. The run's second lap came after 16 miles of fatigue; his lap-1 pace was the wrong baseline, and athletes at his pace who had just run the stretch were a better one.
- Decision
- Worth adding for the bike only, next race. Not shipped mid-race on two data points, which was the right call: the run result would have made the forecast worse.
How the forecasts did
He finished at 7:12 pm, 11:24:59, 13 minutes under the pre-race plan's 7:25 pm. Three forecasts were scored at every one of the 45 timing mats he crossed, each replayed from exactly the data it had at that moment. The prediction accuracy page has the full record.
| Forecast of his finish | Out of the water 8:44 am | Average miss on the bike | Off the bike 2:34 pm | Average miss on the run | Within 10 min from |
| Pre-race plan | 7:25 pm | 13 min | 7:25 pm | 13 min | — |
| This tracker, race day | 6:08 pm | 28 min | 6:45 pm | 10 min | 4:58 pm, run mi 13.8 |
| IRONMAN app | 5:45 pm | 70 min | 6:17 pm | 23 min | 5:45 pm, run mi 18.1 |
Two findings from the record. First, the one-hour miss at the swim exit was a bug, not the model: the T1 mat sits 50 yards into the bike course, so the stretch from swim exit to T1 was charged to the bike leg, and his peers' quick transitions read as "bike 17% faster than plan". With that fixed and replayed on the same data, the swim-exit forecast is 7:09 pm, three minutes off. It's covered by a test now. Second, the remaining miss was the run: everyone's forecast, including the plan, assumed a 4:02 marathon and he ran 4:29. No bike data predicts that, which is why the model deliberately doesn't carry bike form into the run.
What broke on race day
- IRONMAN renamed the run timing mats during the race. RUN5 was mile 7.5 before the start and 6.2 after; three mats were new. For 90 minutes our marker ran a mile ahead of the official app, and two wrong fixes shipped before the right one: load mat positions from the feed on every open and cross-check them against GPS.
- The feed's mat list is paged. The first fix asked for the list without a page size and got 25 mats, none on the run. The tests passed because the test harness served the whole list; it now pages like the real API.
- Phones kept the old build. Safari served the stale page from cache, so a fix wasn't a fix until every phone had it. The page now shows its build id, upgrades itself on open, and a short link always loads fresh.
What this shows
- Freeze the baseline first. Keeping the pre-race forecast is what makes every later change measurable.
- Backtest on data you already have. Recording every split and every estimate turned questions into experiments that took minutes.
- Don't ship on two data points. A promising signal goes on the list to test, not straight into the model a spectator is relying on.