Peter Parker

Project 12: The Whole Field, Called Before the Gun

Predictions published before the gun, scored after it

How fast will you run on race day? Written down before the gun, and checked after.

Every registered runner at a Newfoundland road race gets a predicted finish time, a range it should land in, and a likely place, worked out from eighteen years of public race results. Each prediction is a blend of two models, because the two make different mistakes and the average of them is more accurate than either one. The predictions are locked in a public record before the race starts, so nobody can adjust them afterwards, and once the official results are posted the error is published right beside them. A race director can plan pacers, the finish-line clock and medical staff from expected finishing times, and a runner gets a goal time with an honest range around it.

See this year's predictions

An independent project. Every time on this site is an unofficial estimate, not a result, and the project is not affiliated with or endorsed by the Newfoundland and Labrador Athletics Association or any race organiser.

The two models used for the predictions are a hierarchical Bayesian model and LightGBM gradient-boosted trees, averaged 0.35 to 0.65 on the log scale. Point at either name for what it means, and Does it work? has both measured against three rules of thumb.

4.9 min average miss for a runner with four or more past races an average, not a margin every prediction carries: about half are closer than this and a few are further out. It is 5% of a finish time, and the benchmark, "you will run what you ran last time", misses by 7.4 min
34% closer than that benchmark measured on 19,800 predictions across 56 real races, each predicted only from races run before it
77% of finishes landed inside the 80% range for runners with four or more past races; a range that promises four in five should hold about four in five
100% of the field answered, first-timers included "you will run what you ran last time" can answer for 71% and a race calculator for 57%: 29% of entrants have no past result to carry forward

How far out a prediction usually is, by race length, for runners with four or more past races. The big figure is the average miss. The line underneath gives the miss half the predictions beat and the one nine in ten beat; a handful are further out still, which is why every published prediction comes with its own range.

5 km44 secavg miss,3.8% of the finish timehalf within 27 sec,90% within 1.6 min8 km1.1 minavg miss,3.3% of the finish timehalf within 41 sec,90% within 2.3 min10 km1.6 minavg miss,3.4% of the finish timehalf within 1.1 min,90% within 3.5 min16 km (the Tely 10)3.6 minavg miss,4.7% of the finish timehalf within 2.5 min,90% within 7.8 min20 km4.2 minavg miss,4.1% of the finish timehalf within 3.0 min,90% within 8.6 minMarathon10.4 minavg miss,4.8% of the finish timehalf within 10.2 min,90% within 20.6 min

76,062 finishes by 23,908 runners in 289 races, 2008 to 2026. Nothing is modelled in your browser: every number on this page was computed in advance and can be reproduced from the public repository, and every one carries a 95% confidence interval there. See how it's built, in three diagrams.

This year's races

Pick a race. From seven days before it, every runner on the entrant list gets a prediction the first morning they appear; the day before, the whole field is predicted again with the latest weather forecast and given places. Until then, you can see how the same model would have done at this race last year, and what the course and its history look like. One race here has already been run: it shows every runner against what the model would have said, which is not the same thing as a prediction and is marked as such.

Every race below comes from the association's own calendar of events, last read on 2026-09-20, rather than from a list kept here. One of them is a race this project does not predict, listed so that the season looks as busy here as it is on the road.

How this model would have done here last time

This race, edition by edition

How it was built, and how it works

From a folder of old results pages to a prediction you can hold it to

The rest of this page is the whole method, in the order it happens. Each part starts in plain language, with a picture. Where there is more to say for someone who builds models for a living, it is folded away under For the technical reader, so you can skip it if you only want the idea.

The whole idea in one picture

Seven steps, and the order matters: the prediction is fixed in public before the race is run, so it cannot be adjusted once the result is known.

  1. 1ReadEvery public road-race result in the province since 2008, fetched once, politely.
  2. 2ResolveJoin results into people, with no ID number to go on.
  3. 3AdjustPut every race on one scale: distance, course, heat, wind.
  4. 4ModelEstimate each runner's fitness, borrowing strength from similar runners, and average that with a second model that learns differently.
  5. 5PredictA time, an honest range and a likely place for everyone registered.
  6. 6LockCommit, fingerprint and date-stamp the prediction in public before the gun.
  7. 7ScoreCompare against the official results, and publish the error.

Most predictions of this kind are never checked. A backtest, where a model predicts races that have already happened, is useful and is done here too, but it is always possible to tune a model until its backtest looks good. A prediction locked before the race cannot be tuned afterwards.

Eighteen years of results

The Newfoundland and Labrador Athletics Association has published the results of nearly every road race in the province for decades, as plain text pages. This project reads 289 of them: 76,062 finishes by 23,908 runners over 52 courses. There are no results for 2020, when the races did not run.

Finishes read per year. The jumps are the Tely 10, the province's biggest race, in the years its results are in the archive.

Before any of it was read, the two organisations whose pages it uses were told what would be fetched and why, and offered the chance to say no. The crawler enforces this: it refuses to run until it has been told the notes went out, and the automated checks confirm that it refuses. It fetches one page a second, each page once, and keeps it.

For the technical reader: parsing pages with no column contract

The pages are fixed-width text inside a <pre> block, in three layouts across the years, and two thirds of them draw no ruler under the header. Column boundaries are measured from the character positions that are blank in every row, and header words are assigned to a column rather than sliced by it, because several pages centre their headers left of their data. A header the parser does not recognise stops it with an error naming that header, so values never end up in the wrong fields. 5 pages still fail this way, and each is listed in the repository.

Two things turned up along the way. Eight years of the archive were missing and nothing reported it, because older index pages say "Road Race Series" where newer ones say "Road Running". And what looked like eighty courses were really 52, because older pages name a race after that year's sponsor. There is a regression test for each.

Working out who is who

Results pages print a name, and sometimes an age group and a hometown. There is no runner ID. So before anything can be predicted, the results have to be joined into people, and the obvious way to do it turns out to be wrong.

The obvious rule: same name and same town

Runners move, and most pages print no hometown at all. Of the 1,656 names printed under two or more towns, 1,103 show one clean switch over time, which is what moving house looks like. Splitting on the town turned one runner into two people with half a history each.

The rule used: nobody gets younger

Every age group printed on a dated race implies a range of birth years, and one person's ranges must overlap. That is the only thing allowed to split a name. The hometown only breaks a tie.

An invented example of how the rule works. Two runners called Chris Walsh.
RaceName as printedAge groupBirth years this allowsAssigned to
2021Chris Walsh50 to 591961 to 1971Runner A
2023Chris Walsh20 to 291993 to 2003Runner B
2025Chris Walshnot printedcould be eitherheld back, counted

Runners it cannot tell apart are left out. Splitting one runner in two costs some accuracy. Merging two people into one would publish a confident prediction for a real person built from somebody else's results. So 369 runners the archive cannot tell apart are left out of every published prediction and counted, rather than guessed at.

For the technical reader: what this rule can get wrong

Names are compared on a normalised key (case, accents, apostrophes, spacing, hyphens) and never by fuzzy matching. Nicknames are not merged, because Mike and Michael Power are often two people. Within a name key, results are clustered by intersecting birth-year windows; a result compatible with more than one cluster and carrying no age group is held back. Allowing towns to change means two people of one name and a compatible age can merge. The README reports how often that may have happened: the share of resolved runners whose printed town switches back and forth, which is what two merged people would look like. Read one by one, most are one person spelling their town two ways.

For a live race the same rules link each person on the entrant list to at most one history, using the list's sex, and its hometown where it prints one, to break ties.

A 5 km and a marathon on one scale

A runner's history is a mix of distances. To compare them, every time is converted to a single fitness number using Jack Daniels' running tables, which runners know as VDOT. Two performances with the same VDOT are equally good, whatever the distance.

An invented runner's three races, put on one scale. Computed with this project's own implementation of Daniels' formulas.
RaceTimeVDOTWorth, as a 10 km
5 km in the spring24:0040.249:48
10 km in the summer49:3040.549:30
Half marathon in the autumn1:50:0040.449:37

The model then works on one quantity: how much slower or faster than a reference runner each finish was, as a percentage. That puts every race in the archive on one scale before anything is estimated. What is left for the model is what the tables cannot know: this runner, this road, this year and this morning.

For the technical reader: the response variable

The model's outcome is log(time / Daniels time for VDOT 50 at that distance). On the log scale 0.05 is five percent of a finish time wherever it was run, errors are roughly symmetric, and the population's fade over distance is Daniels' curve. Each runner's own fade departs from it by a coefficient that shrinks to zero for anyone who has raced only one distance. A population-wide departure is not estimated at all: every course is run at one distance, so it cannot be told apart from the course effects, and fitting both left it unidentified. It is why the course chart further down is read in a column per race length rather than across.

Some roads are slower than others

Cape to Cabot climbs Signal Hill at the finish; Turkey Tea runs mostly downhill. Runners cross from course to course, so each course's difficulty can be measured from the results themselves: the same people, on different roads. Each dot is a course; the line through it is how sure the measurement is.

Read down a column, not across the chart. Every finish is scored against a reference time for its own distance, and this population fades over the long distances a little harder than the reference expects. That departure has nowhere to go but the courses that are long, so the tall columns on the right are partly a race length and not a road. Two courses in the same column are two roads, measured on the same runners, and that comparison is clean.

How much slower than a flat road each course runs, with its 95% interval, in a column per race length. Courses with at least 30 finishes; the dashed line is the typical course at that length, and the races on this page are marked. Point at a dot for both numbers: against a flat road, and against the other courses of its own length.

The Tely 10 is a fast road, and only its own column says so. Against the flat reference it reads +0.2%, which looks like any other course. Measured against its own length it is 4.1% faster than the only other course of that length on the archive (95% interval 3.3 to 4.9), and that is the figure that describes the road: the Tely drops more than it climbs and the prevailing westerly is behind the field. Both figures come out of the same fit; the first still has the race length inside it and the second does not. One caveat: at 10 miles this archive has one other course, the hilly Bell Island Blast, so that is two roads compared, not ten.

The measurement agrees with the physics, without being tuned to it. Cape to Cabot measures about 9% slower than flat. Run that number backwards through the energy cost of running uphill (Minetti's curve) and the published 550 m of climb implies an average grade of about 10 percent on the hills. The race's own course page says "grades of more than 10 per cent in some parts". The two independent routes agree only roughly: at 20 km it is the only course on the archive, so a point or so of that 9% is the same race-length effect, and the grade that explains the rest is nearer 8 to 10 percent.

For the technical reader: separating the course from the runners on it, and the length from the road

A side effect of the reference time. The outcome is a finish over Daniels' time for a reference runner at that distance, and each runner carries one level for their whole career, so a population that fades over distance differently from Daniels' curve leaves that difference in the effects of the long courses. It shows in the archive: the 5 marathons on it read between +4.4% and +11.7% against a flat road, which would make every marathon in the province about as hard as Signal Hill. Measured against each other the marathons scatter around zero, which is what five ordinary road marathons should do. Course and length cannot be separated from finishes alone, because every course is run at one distance, so the page gives both numbers and says which is which. The Tely read from runners who also race a half marathon or longer is 1.3 points faster than the same course read from runners who never go beyond 15 km, which is the same effect showing up inside a single course. None of this affects a prediction. A course factor is only applied to its own course at its own distance, and there the length effect should be included.

Course and edition effects are estimated jointly with per-runner levels and trends by alternating least squares on the log-ratio scale, with a bootstrap over runners for the intervals; the full model then carries a zero-sum course effect with editions summing to zero within their course. Without the per-runner trend the fit said something false: every well-covered course seemed to get about 0.6% harder a year. That was the field getting older, and the fit had put it on the course. With the trend in, the drift is zero and the signs go both ways. A test plants ageing on unchanged courses and checks that it stays out of the course effects.

What the weather costs

A warm, sunny morning slows a field, and it costs a marathoner far more than a 5 km runner, who is only out in it for twenty minutes. The model reads the hourly weather at St. John's airport for the hours each race was actually running, and learns what heat and wind cost.

How much slower a field runs as the felt temperature rises, by race length. Below 12 C the model charges nothing; above it, each degree costs more the longer the race. Full sun adds about 2 C of felt heat.

Wind, measured along each course's own road. A 20 km/h wind in the runners' faces for a whole race costs about 1.2% of the finish time (95% interval 0.4 to 2.0%), some 36 seconds on a 50-minute 10 km. The same wind at their backs gives back only about 0.4% (-1.1 to +0.4%), a third of that, which is why an out-and-back like Run to Remember still pays on a windy morning: about 0.4% with a 20 km/h wind along its trail, and nothing with the same wind across it.

Weather moves a whole field by a few percent, and that is easy to miss. A few percent of a finish time is small next to how much one person varies from race to race, so adding weather barely changes the average error per runner, and an early version of this project wrongly concluded that weather did not matter here. Measured at the level of a whole race, it clearly does: without it, the model's errors grow with the heat; with it, they do not.

For the technical reader: a hinge on felt temperature, and why not a straight line

Heat enters the race effect as max(0, T + s x sun - 12 C) x (h0 + h1 log(d / 5 km)), where sun is the direct radiation over the race hours as a share of a clear noon and s, the degrees a full sun adds, is estimated (posterior median 2.3 C, 95% interval 0.3 to 9.0, from a prior on the US National Weather Service's 15 F). Both heat coefficients are constrained positive, so a hot morning never makes a race faster. Wind is met leg by leg along each course's road, split as air resistance splits it: a part linear in the wind along each leg and a part in its square, so a headwind leg costs more than the same tailwind gives back and an out-and-back is never free. Fitted on every result before Run to Remember 2026: +0.097% per (10 km/h)2 of wind along the road (95% interval +0.048 to +0.142) and -0.040% per km/h of net push (-0.077 to -0.003), the first time a wind direction has cleared zero here.

The straight line in temperature that most race models use was built and backtested too. In two leave-one-year-out tests over eighteen years it was the worst of the shapes tried. On 19,035 runners who ran the same race in consecutive years, it predicted the change between years worse than assuming no change. Some of the heat effect also ended up in the calendar-year term, where it could not be seen. The full write-up is the rejected approach.

For a live race the weather is a forecast, not an observation, so its error was measured on past race mornings at this airport for each lead time from one to seven days, and the forecast is corrected and spread by that error before it enters the prediction.

The model: borrowing strength

Most runners have only one or two results in the archive. One race is a thin basis for a prediction: it might have been a great day or a bad one. So the model does what a good coach does with a new athlete: start from what is typical for someone of that age and sex, and move toward the runner's own results as more of them arrive.

An illustration, not data: three invented runners of one age group. Hollow dots are their past races, the band is what is typical for the group, the solid dot and bar are the prediction and its range. The fewer the results, the more the prediction leans on the group, and the wider its range.

This is what "hierarchical" means. Every runner has their own fitness, but those fitness levels are estimated together, each pulled toward its group by exactly as much as its own evidence is weak. A runner with eight races is predicted almost entirely from them; a first-timer is predicted from people like them.

For the technical reader: the model, as written
log(time / Daniels time) = alpha_i + beta_i log(d / 10 km) + walk_i[year]
                           + course[c] + year[t] + heat + wind + edition + noise

alpha_i      ~ Normal(mu_group[g_i], sigma_alpha)        fitness in the first year raced
beta_i       ~ Normal(0, sigma_beta)                     own fade over distance
walk_i[y]    = walk_i[y'] + Normal(mu_trend[g_i] gap,    form, carried between racing
                                   sigma_walk sqrt(gap))  years, drifting with age
course       ~ ZeroSumNormal(sigma_course)
year[t]      = year[t-1] + Normal(0, sigma_year)         what every race that year shared
noise        ~ StudentT(nu, 0, sigma_eps)                a bad day is not Gaussian

Fitted in PyMC with the nutpie sampler, non-centred throughout. PyMC's default NUTS hit its maximum tree depth with R-hat above 2 on this model; nutpie sampled the same model cleanly. A prediction is kept as the full set of posterior draws. Each draw is carried forward to race day and given its own race morning and its own noise. The median is the headline time and the quantiles feed the ranges below.

One known limitation, which the repository states next to the numbers: years since a runner's first race and the calendar year move together, so the group drift, the year effect and the group means trade off along a ridge the sampler mixes poorly on (worst R-hat 1.41 to 2.15 across fits). The quantities a returning runner's prediction reads converge (median R-hat 1.006). A first-timer's starting level does not fully converge, so first-timers' ranges are calibrated separately. One constraint was tried as a fix. It made every chain disagree and was removed.

The first version gave each runner a straight-line career trend. It failed the backtest. A line fitted through a runner's early, improving years keeps improving when it is extended to race day, and the predictions came out 8.3% too fast across 49 races. A random walk for form replaced it.

Ranges that keep their promise

Each runner gets a range that should contain their finish four times in five (80%) and a wider one for nine in ten (90%). The test of a range is simple: across many runners, does it hold as often as it claims?

How often the range held in the backtest, by how many past races a runner had. Hollow: the model's own range. Solid: after calibration on earlier races. The dashed line is the promise. Bars are 95% intervals.

The model's own ranges were a little too narrow for runners with one to three races, and calibration fixes that. Before each race, the ranges are widened or narrowed by exactly as much as they missed on earlier races, separately for each depth of history. A first-timer's range is wide, around 53 minutes, and a runner with a long history gets about 12: the less history a runner has, the wider the range.

What the promise is, and is not. The calibration method, split conformal prediction, guarantees coverage on average over races within a group, provided a new race's errors look like earlier races' errors. It is not a promise about any one runner or any one race, and it will fail on a morning unlike any before it: a gale on Signal Hill is exactly that. This caveat is printed beside every coverage table this project publishes.

For the technical reader: Mondrian split conformal, rolled forward in time

Conformalised quantile regression on the log scale. Each scored runner's non-conformity score is how far outside the model's own interval their finish fell; a new race's interval is stretched multiplicatively by the finite-sample quantile of the scores from races dated strictly before it, per history-depth stratum (0, 1, 2 to 3, 4 or more prior results). Races on the same morning are not used to calibrate each other. A stratum with fewer than fifty earlier scores is left unadjusted and counted, and coverage intervals resample races rather than runners, because runners in one race share its morning.

From times to places

A place depends on everyone else in the race. So the whole field is simulated together, thousands of times, and each runner's place is read off the simulations: a most likely place and a range.

One morning per simulated race

In each simulation every runner shares the same weather and the same course. A hot morning slows the whole field together and barely changes the order, and simulating each runner's morning separately would get that wrong.

Runners from away

At the biggest races, visitors with no results here reach the top ten. The model cannot know which newcomer is a visiting elite runner, so at those races newcomers are drawn from how past first-timers on that course actually finished, and the predicted top 20 shows the places they are expected to take as placeholders rather than handing them to a name.

For the technical reader: comparing placing fairly

The simple way to build a placing table ranks each model among the runners it answers for, which ranks "last time" only among runners with a history and the model over the whole field, newcomers included, whose order is close to a guess. On that table the model looked twice as bad as it is. The fair comparison ranks both over exactly the runners both answered for, race by race, with a bootstrap over races for the interval. Both tables are published.

Does it work?

Every race from 2024 on was predicted from results dated strictly before it, as if it were tomorrow's race, and compared with what actually happened. The model has to beat three simple rules of thumb, which are always shown first, and a standard machine-learning challenger given the same information.

The rules of thumb are not free: this project computes them. "You will run what you ran last time" sounds like something anybody could do, and for one runner with one race in front of them it is. For a field of several hundred it is not. It needs eighteen years of results pages read and parsed, the same person's results joined across those years with no runner ID to go on, their last race converted to this race's distance through Daniels' tables, and this course's difficulty measured against every other course in the province. All of that is this project, and the rules of thumb are computed by it. So the comparison below is this model against the best simple answer the same machinery can give, a harder test than anything a runner could look up.

And a rule of thumb cannot answer for everybody. "Last time" has nothing to say about a runner with no past result, and about 29% of a field is that runner: it answers for 71% of these entrants and a race calculator for 57%, while the published model answers for 100% and carries a measured error for the ones it is least sure about. A race director planning a finish-line clock needs the whole field, not the two thirds of it with a history.

Last time
You will run what you ran in your most recent race, adjusted for distance and course. Simple, and hard to beat.
Race calculator
Your best recent race, converted with Daniels' tables. What most runners use.
Your category
The typical time for your age group and sex. All there is for a first-timer.
Bayesian model
The hierarchical model described above, on its own: every runner estimated together with runners like them.
LightGBM challenger
Gradient-boosted trees, the workhorse of applied machine learning, on the same history, course and weather. Is the Bayesian model worth its complexity?
What this site publishes
The two of them averaged. They make different mistakes, and the average is better than either.

Average error in minutes (lower is better), by how many past races a runner had, with 95% intervals. A missing bar means that rule cannot answer for those runners at all: "last time" has nothing to say about a first-timer.

For runners with a real history, the model is 34% closer than "last time": 4.9 minutes against 7.4. For runners with one or two races the gain is small, which is expected: one result is one result. For first-timers every method is out by about 18 minutes, because nothing about them is known but their age group. That is the size of the problem for a first-timer, and it is why every prediction carries a range.

On the same runners, the LightGBM challenger is more accurate than the Bayesian model for runners with one past race (8.7 against 9.3 minutes, 0.5 to 1.6 points of a finish time); runners with two or three past races (7.6 against 8.3 minutes, 0.7 to 1.3 points of a finish time); runners with four or more past races (5.0 against 5.3 minutes, 0.2 to 0.6 points of a finish time). The two are level for first-timers (18.4 against 17.9 minutes). On the order of a field, it is 4.2 places closer than "last time" on the same runners, against the Bayesian model's 1.9.

What this site publishes is the two models averaged. The average is taken on the log scale, leaning about two thirds on the trees, and how far to lean was read off the 2022 and 2023 races alone, so nothing in the tables on this page helped choose it. Against the Bayesian model, the average is better for runners with one past race (8.6 against 9.3 minutes, 0.7 to 1.4 points of a finish time); runners with two or three past races (7.6 against 8.3 minutes, 0.7 to 1.1 points of a finish time); runners with four or more past races (4.9 against 5.3 minutes, 0.4 to 0.6 points of a finish time), and level for first-timers (17.9 against 17.9 minutes). Against the trees, the average is better for first-timers (17.9 against 18.4 minutes, 0.2 to 0.9 points of a finish time); runners with four or more past races (4.9 against 5.0 minutes, 0.0 to 0.2 points of a finish time), and level for runners with one past race (8.6 against 8.7 minutes); runners with two or three past races (7.6 against 7.6 minutes). Averaging two models that make different mistakes is a standard forecasting method, and the gain here is small: a few tenths of a percent of a finish time, seconds rather than minutes.

Is five minutes good? It depends what you are running

An average error in minutes is not one claim across distances. The same model that is out by a minute and a half over 5 km is out by a quarter of an hour over a marathon, and both are about the same fraction of the runner's day. So here it is both ways, for the whole field and for the runners the archive knows well, with two more columns beside the average: the miss half the runners beat and the one nine in ten beat, while a handful, usually somebody having a very bad day or a very good one, are further out than any of these numbers.

The published prediction's error by race length, over every race since 2024.
Race lengthRunnersTypical finish, minutesAverage miss, whole fieldHalf within9 in 10 withinAverage miss, 4+ past races
5 km2,49428 min3.5 min, 10%1.6 min8.7 min1.4 min, 5%
8 km1,15442 min2.7 min, 6%1.6 min6.6 min1.8 min, 4%
10 km2,45558 min4.4 min, 7%2.4 min10.6 min2.7 min, 4%
16 km (the Tely 10)10,901103 min12.7 min, 11%7.4 min30.8 min6.5 min, 6%
20 km2,471128 min8.9 min, 7%5.4 min20.0 min5.9 min, 5%
Marathon325270 min25.4 min, 9%19.0 min58.4 min17.3 min, 6%
For the technical reader: how two models become one prediction

Averaging is on the log scale, which is the scale everything here is measured on, and the weight sits on the trees: log(published) = 0.35 log(Bayesian) + 0.65 log(trees). But a published prediction is not one number. It carries two ranges and a place in a field of several hundred, and a place needs every runner drawn together on one shared morning. Quantile trees give seven numbers per runner and no joint draws, so there is nothing to simulate a field from.

So the published distribution is the Bayesian model's, shifted. Each runner's draws are multiplied by the single factor that puts their median on the averaged centre, which shifts their whole range with their time and leaves the shared morning intact, so a runner's time and place come from the same draws. The calibration step then runs on the average's own backtest errors, not the Bayesian model's, so the coverage is measured on what is actually published. A first-timer at one of the biggest races is drawn instead from how first-timers actually finished on that course, and is left out of the average: that pool is already made of observed finishes, so the trees are not averaged in.

How far to lean was chosen on the 2022 and 2023 races only, the same window the challenger's own settings were tuned on, and never on the races scored above. On that window the best weight was 0.65, the curve was flat between 0.60 and 0.75, and resampling races put it between 0.50 and 0.80, so the data settle that the weight leans toward the trees, but not its second decimal. Choosing it on the races in the tables above would have tuned the weight on the same races it is scored on.

For the technical reader: how the backtest avoids cheating

The only way any model sees the archive is through a history object that takes the origin date and keeps nothing dated on or after it, so a model has no way to reach later results, and the backtest checks this again at every origin date. The tests found two leaks, both now closed: races on the same morning are not each other's history, and the runner handed to a model carries only the results the history carries. The model is refitted once per calendar quarter on the history before the quarter, so it knows less about a race late in a quarter than the baselines do, which biases the comparison against it. Errors are reported per history depth with bootstrap intervals, and a baseline that cannot answer for a runner reports nothing rather than falling back to another rule.

Written down before the gun

This is how anyone can check that a prediction was not changed. Each prediction file is saved into the public repository with a fingerprint, and the save is stamped with the time. If a single character were changed later, the fingerprint would no longer match.

  1. Seven days outEvery runner already registered gets a prediction, using that morning's weather forecast.
  2. Each morning afterOnly the runners who registered since are added, so nobody's prediction is published twice.
  3. The day beforeThe whole field is predicted again with the latest forecast, and given places. This is the final file. After it, nothing changes.
  4. Race dayThe gun goes. The system refuses to write a prediction within 24 hours of it.
  5. Results postedThe file is read back from its timestamped record, never from a working copy, and the errors are published beside it.

A mistake found after the gun is scored as it stands and written up, not fixed.

One race on this site was not written down before its gun, and it says so on its own card. The Uniformed Services Run was run on 13 September 2026, between the day this project started watching entrant lists and the day it first published anything. Nothing was tagged for it, so it is not in the record above and never will be. What is shown there is what the model would have said: rows from the backtest, made by a fit that had seen no result from July 2026 onward. It is here because it is the only place the whole thing can be seen end to end before the first real prediction, and it is labelled as such and kept out of the record.

For the technical reader: check a prediction yourself

Each file is canonical JSON (sorted keys, fixed precision, UTF-8, LF), committed, and tagged with its SHA-256 in the tag message; the tag time is the record. Git is told never to touch the files' line endings, so the bytes on a Windows checkout match the published hash. To verify one:

git clone https://github.com/Peter-A-P/finish-line-forecast
cd finish-line-forecast
git tag --list "predictions/tt-2026/*"                    # one tag per file
git show predictions/tt-2026/daily-2026-09-27             # the tag, its time and the SHA-256
sha256sum predictions/tt-2026/daily-2026-09-27.json       # the same hash, or it was changed

During a race's week a scheduled task runs each morning at 06:15: it takes the entrant list, writes the day's file with a model fitted once for the week, commits, tags and pushes it, and the website rebuilds itself from the push. Each entrant's random numbers are seeded by their name, not their position on the list, so a runner's prediction is the same whichever morning computes it.

What the data proved wrong

The plan was written before any code. Measured against the data, 49 of its designs turned out to be wrong, and every one is logged in the repository with the evidence, so a reader can tell a decision from a guess. A few of them:

"Weather does not matter here"

The first estimate said so. Small races, where the average is mostly noise, were outvoting large ones. Weighted by field size, the effect was clear.

Courses getting harder every year

They were not. The runners were getting older, and without a career trend per runner that ageing was blamed on the road.

The first model lost

Its first backtest was worse than "last time" by 26%. A straight-line career trend predicted years of improvement nobody has. Replaced, it now wins by 34%.

Same name, same town, same person

Runners move. The rule that works is that nobody gets younger.

Eight years missing without a sound

Older index pages used different wording, and the parser found nothing and said nothing. It now fails loudly, and a test holds both spellings.

The recommended sampler

The standard sampler could not fit the model at all. A different one ran the same model cleanly, and the reason is pinned beside the dependency.

One approach is written up in full as rejected: weather as a straight line in temperature, the design most race models use. It looked fine in the headline table, which is why it is the one worth reading. Read it here, or the whole log.

Real people, handled carefully

Every prediction is about a real, named person, so what is published and what is not was decided before anything was built.

Where it is weakest

First-timers get a wide range

About 29% of a field has no past result. For them every method is out by about 18 minutes, because nothing is known but their age group, so their range is around 53 minutes.

Visiting fast runners are unknown

At the biggest races, visitors with no results here reach the top ten. The model cannot know which newcomer is an elite runner, so their expected places are shown as placeholders, not given to a name.

A morning unlike any before

The ranges hold on average when a race's errors look like earlier races'. A gale on Signal Hill would not, and the ranges would fail on it.

Race results only

Strava's terms rule out runners' activity data, so the model sees only race results. It is weaker for that, and the repository says so first.

Some runners are left out

369 runners the archive cannot tell apart get no published prediction, so a few real entrants are never predicted.

One part of the model does not fully converge

A first-timer's starting level mixes poorly in the sampler, so first-timers' ranges are calibrated separately. What a returning runner's prediction uses does converge.

How it is engineered

The code is typed and tested and the pipeline is automated, so anyone can regenerate the numbers on this page from the repository.

478automated tests, including golden pages for the parser, a leakage test on the backtest, and closed-form checks on the running formulas
18,131lines of typed Python, strict type checking and linting clean on every push
1command to rebuild every table in the README from the cached data
06:15when the morning task publishes each day's predictions in a race week, unattended
For the technical reader: the choices that are easy to get wrong
  • Long runs are checkpointed. A full backtest is eight quarterly model fits of about twenty minutes each on a desktop CPU. Each fit is saved as it finishes, keyed on a hash of the model's source, the data and the settings, so a crashed run resumes and a stale one is never reported.
  • The reports are generated. The README's tables and this page's numbers are written by the same command from the same objects, so they cannot disagree.
  • The refusals are enforced in code. The crawler refuses until the courtesy notes are acknowledged; the freeze refuses inside 24 hours of the gun, with uncommitted code, or without a backtest that matches today's code and data.
  • A gun time must carry a time zone. 08:00 in St. John's is 10:30 UTC, and a comparison that ignores the zone can pass when it should refuse, so a gun time without a zone is refused.
  • The website has no framework and makes no outside request. Charts are hand-built SVG, and the content security policy forbids anything inline or off-site.

How this was built

I designed this project and made the calls in it: what to model, how to test it, and what to do when a test came back wrong. I have raced and coached on these courses for years, and some of what is in the model I knew from running before I had the data to check it. The Tely has the prevailing westerly behind it for almost the whole race. The biggest races bring in fast visitors who have never raced here, so the archive has no record of them. Both held up when I measured them. The weather model came the same way, after four other designs failed: heat costs nothing up to a certain temperature, then each degree costs more than the one before, and more the longer the race. Set up that way, the weather explains twice as much of the difference between one edition of a race and the next as a straight line in temperature did.

I used an AI coding assistant (Claude Code) for implementation and drafting, which is now standard practice in software, data science and machine learning work. Every number on this page can be reproduced from the repository, and every live prediction has a timestamp from before its race.

The running arithmetic comes from Overload, my own running application: Daniels' formulas, the age-grading tables, and the heat and wind corrections. The figure for full sun is one of them, and Overload takes it from the US National Weather Service. Here I checked it against eighteen years of races instead of taking it as given. Any constant that came over from Overload is treated as a starting assumption and labelled that way where it is used. Anything the archive can measure, I measured.

Glossary
Backtest
Predicting races that already happened, using only what was known before each one, and scoring the predictions against the results.
Baseline
A simple rule a model must beat to be worth anything, such as "you will run what you ran last time".
Bayesian hierarchical model
A statistical model in which each runner's parameters are estimated together with their group's, so runners with little data borrow strength from runners like them.
Calibration
Widening or narrowing a model's ranges by exactly as much as they missed on earlier races, so that an 80% range holds about 80% of the time.
Conformal prediction
A way of calibrating prediction ranges on past errors so that they hold as often as they claim, on average, under stated assumptions.
Coverage
How often a range actually contained the outcome. An 80% range should cover about 80% of finishes.
Ensemble, or blend
Averaging the predictions of two models that make different mistakes. Where one is too fast and the other too slow, the average lands closer than either, which is why the published prediction here is an average of two.
Gradient-boosted trees (LightGBM)
Many small decision trees, each one fitted to the errors of the ones before. It learns patterns nobody specified, and here it is the more accurate of the two models for every runner with a past race.
Log scale
Measuring differences as proportions rather than minutes, so 0.05 is five percent of a finish time whether the race is a 5 km or a marathon.
Mean absolute error
The average size of a miss, ignoring whether it was too fast or too slow. It describes a pile of predictions, not any one of them: roughly half the misses are smaller than the average and a few are much larger, which is what pulls an average above the middle. For one runner, the range published beside their time is the honest statement of how sure the model is.
Pre-registration
Publishing a prediction, fixed and dated, before the event it predicts, so it cannot be adjusted after the fact.
SHA-256
A fingerprint of a file. Change one character and the fingerprint changes completely.
VDOT
Jack Daniels' single number for running fitness, which puts performances at different distances on one scale.