Independent project · IRONMAN California · October 18, 2026

Don't miss him: a race-day tracker built in the hours before the start.

My friend Bradley raced 140.6 miles through Sacramento. I built him a spectator tracker, scoped around one job: be standing in the right place when he comes by. Then I kept building from the course while he raced.

30 minfrom first request to a live page on the site
~5 hrof build before Bradley started at 7:47 am
35shipped changes by 8:31 am, mid-swim
2,852athletes on course, all timed through the same public feed

The problem a spectator actually has

An IRONMAN is a 2.4-mile swim, a 112-mile bike and a 26.2-mile run, and most athletes are out there for 11 to 16 hours. A spectator gets a few chances to see their athlete: a few seconds each, spread across a course you can't walk.

The official app shows an estimated dot on a map. That answers "where is he?" But it doesn't answer what a spectator needs to decide:

  • Where should I stand, and when will he pass it?
  • When do I have to leave to get there in time?
  • How do I get there on foot, from where I am now?
Miss him at a spot and the next chance can be hours away. The cost of a wrong estimate is asymmetric: early is boring, late is a lost moment.

Who it's for

One spectator (me), plus friends I could send the link to. All on phones, often one-handed, outdoors in bright sun, with spotty signal near 3,000 athletes' worth of crowds. That ruled out anything that needed an account, an install, or an API key, and pushed every screen to answer one question at a glance.

Priorities set by the race clock

The roadmap ordered itself by when each need would hit. Anything needed before Bradley got in the water had to ship first. Everything else could be built in the long waits between sightings. All times below are Pacific, on race day.

P0Before the start: never miss him

  1. First request: a product brief before any code
  2. Tracker live on this site: a prediction from start time and paces, plus spots to see him with ETAs
  3. Map moved to OpenStreetMap tiles, after the first tile service wanted a key
  4. Bradley's official timing splits pulled live, the real course drawn, and the whole field's times used to sharpen estimates
  5. Map filters by sport, with arrows showing direction of travel
  6. Every spot gets a Map button and walking directions in Google Maps, Apple Maps or Waze
  7. Map locks until tapped, so scrolling the page doesn't drag it, and gets a full-screen mode
  8. Predictions re-based on the swim, bike and run targets Bradley shared that morning, with forecast vs actual kept side by side

P1Race morning: trust the estimate, and don't lose the data

  1. IRONMAN app's estimated position shown next to ours, with an Ours / IRONMAN / Both toggle
  2. Every estimate saved over time for a post-race replay, with a download
  3. A backup recorder running in the cloud, so the race record survives even if my phone dies
  4. Live place, overall and in his age group, at his latest timing mat
  5. Bradley starts. Start time and race clock shown on the Now card
  6. Before the app publishes its own estimate, we approximate it from the field, labeled as an approximation

P2While he swims and rides: understand the race

  1. Race timetable: every athlete as one line (a Marey chart), with where people dropped out
  2. Transition times across the field
  3. Anonymized field data refreshed hourly and redeployed automatically
  4. Bradley's place through the day
  5. Course crowding: how many athletes were on each stretch at each time
  6. Wind on the bike, with weather saved through the day
  7. River flow during the swim saved alongside it

P2 work overlaps the end of P1 on purpose: once the core loop worked, the charts were built in the gaps while P1 fixes came from watching the live page.

What shipped

Five tabs, with the most urgent answer first. Now opens by default: where he probably is, his finish range, and every spot with when he'll pass and when to leave. Map puts our estimate, the official app's estimate and your own location on the real course. Plan keeps the original forecast next to actual times. Log holds the replay data. Charts covers the whole race.

The Now tab mid-swim: estimated at swim mile 1.5, started 7:47 am, projected finish 7:25 pm with a range of 6:59 to 8:13 pm, and the swim exit spot at 8:57 am.
Now, 43 minutes into his swim: the estimate, a range rather than a single time, and the next place to see him.
Full-screen map at the swim course: Bradley's photo marks our estimate under the I-5 bridge, an IM marker shows the approximated official estimate, with sport and estimate filters at the top.
Map in full screen during the swim, with both estimates shown. My phone, at the river, 8:16 am.
The Charts tab listing the race timetable, transitions and other charts, each marked Live or Planned.
Charts that fill in as the timing data does, each marked Live or Planned.

Decisions and trade-offs

Ranges, not false precision

Every ETA is a window from fast to slow. For a spectator, the early edge is what matters, so leave-by times are computed from it.

Be a good guest on someone else's API

The timing feed is public but not ours. Field pulls were cut to about one request a second, the public charts refresh hourly, and full pulls run at four checkpoints.

Privacy by default

The public charts cover about 3,000 athletes with no names, bibs or ages; only Bradley is identified. The raw data stays in a private repository.

Label the guesses

When the official estimate isn't published yet, we approximate it and say so on the map. Simulated test data was never published as real.

No keys, no installs

OpenStreetMap tiles and a static page on GitHub Pages. Nothing to sign up for, and nothing to break at 6 am.

Redundancy where loss is permanent

Race-day data can't be re-collected, so it's recorded twice: on the phone and in the cloud.

A trade-off we saw live

During the swim, our approximation of the official estimate ran ahead of the real app. The only athletes it could learn from were the fastest swimmers, who were already out of the water, so it skewed fast. Since the official estimate replaces it at the first mat, I kept the "approximate" label and didn't change the model mid-race.

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.
ApproachNext mat
avg miss
3 mats ahead
avg miss
3 ahead
worst
Current model1.4 min1.9 min4.6 min
IRONMAN app1.7 min——
His bike average so far1.7 min2.7 min6.4 min
His last ~15 miles2.0 min3.7 min9.7 min
His last stretch only2.7 min5.2 min13.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.
LegOwn first lap
avg miss
Race-day model
avg miss
Stretches
Bike lap 21.0 min1.9 min10
Run lap 22.0 min1.2 min7
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 finishOut 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 plan7:25 pm13 min7:25 pm13 min—
This tracker, race day6:08 pm28 min6:45 pm10 min4:58 pm, run mi 13.8
IRONMAN app5:45 pm70 min6:17 pm23 min5: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.

How it was built, and what's next

I worked as product owner with Claude Code as the engineer, in a cloud session, mostly from my phone. I set the problem, the priorities and the constraints, reviewed screenshots, and caught issues from real use: a key-gated map, an athlete list that quietly stopped short of the full field, and a confirm button nobody needed once official times were flowing. Each fix went live on this site within minutes.

The first thing written was a product brief, not code. It defined the job, the users and the failure that mattered most: missing him. It meant the 5 am work was the right work.

What's next

  • Own-first-lap pacing on the bike (hypothesis 3), for the next race.
  • A full-race replay built from the recorded estimates.
  • The remaining charts (pacing and fade) from the final data pull.

Open the live tracker → · Race timetable →