Sid Bagga

Data scientist · Coach · Runner

How are runner ratings and race difficulty calculated?

Each result is treated as the combination of a runner effect and a race effect. Distance and the date within the fall season are accounted for separately.

log(time) = baseline + 1.06 × log(distance) + runner effect + race effect + fall timing + error

The baseline is the modeled time of the central reference athlete on a neutral course. A runner effect says how much faster or slower an athlete was than that reference level during a particular season. A race effect says how much faster or slower that edition ran after accounting for its entrants.

The effects are fitted simultaneously. An athlete who runs several races (a “linked runner”) connects those races: once the model estimates that athlete’s level, their performances help distinguish a fast course from a strong field. The same process works in the other direction, as estimated race effects make performances from different courses comparable.

We choose runner and race effects to minimize:

Σ(observed log time − fitted log time)2

Different years of the same course share information, such that an edition with few linked runners is allowed to deviate less from the course’s historical effect.

How are finishes predicted before a race?

For every historical race, the archive repeats the calculation as though that race had not happened yet. The target race is held out, and every runner rating is rebuilt using only results dated before race day.

  1. Estimate each entrant’s current-season rating from earlier races.
  2. If necessary, carry forward the most recent rating from the preceding two seasons. It counts as one prior performance and receives progressively less weight as new results accumulate.
  3. Use only completed earlier seasons to estimate the course history and fall-timing curve.
  4. Convert each pre-race rating to the target distance and apply the historical course adjustment.
  5. Sort the predicted times to obtain predicted finishing places.
predicted time = pre-race rating × (race distance / rating distance)1.06 × course adjustment × date adjustment

The held-out race’s times and places are used only afterward to measure error. The displayed prediction is conditional on the recorded field: it answers how the known entrants would have been ordered using information available before that race, not who would have registered or started.

In the 2016–2026 forward test, 83.0% of entrants had a pre-race rating. After matching those forecasts back to the archive, the least-squares model ordered rated pairs correctly 93.7% of the time. Its median absolute time error in the underlying model test was 2.8%.

How are unobserved and hypothetical races simulated?

The simulator begins with a particular runner-season rating and a selected course edition. It calculates the athlete’s expected time with the same distance and course conversion used by the prediction model.

expected course time = runner-season rating × (course distance / rating distance)1.06 × course adjustment

This estimate can be used even when the athlete did not enter that race, when athletes from different seasons are placed together, or when the assembled race never happened, because it is a counterfactual.

A simulation runs 1,000 trials. Each trial adds independent log-normal performance variation, sorts the field, and scores the teams. Five runners score and the sixth finisher supplies the first tiebreak.

trial time = expected course time × random performance variationvariation σ = 0.02 + 0.025 / √(recorded races), plus 0.005 for provisional ratings

Uncertainty is wider for runner-seasons supported by fewer races. A fantasy-team entry always represents one athlete in one season, so different years of the same athlete are distinct possible selections.

How should course percentages be read?

The percentage on a race page compares that edition’s estimated race effect with the modeled 5K road-race baseline. Fall timing is excluded. A value of 4.1% means the fitted race effect was 4.1% slower than the road baseline at the same distance. It is the geometric mean slowdown of every finisher with known ability, on top of what we already saw of the course historically.

Road editions are fitted separately with the same runner-and-race decomposition. Exact source IDs, or exact name, sex, and inferred birth year, connect non-PA runners across results without creating public profiles for them. Only runners who entered at least two road races in the same year identify race effects. Thin editions are pulled toward that event’s history at the same distance, and the displayed percentage is measured against the central fitted 5K road field.

The estimate is most credible when many athletes connect that race to other races and when the course appears in several seasons.

Why are some races or runners missing from the simulation?

The archive can display a result that the rating model cannot use. The current fit begins in 2016 and keeps races from 4,000 through 12,000 meters. A result is excluded when it lacks a usable time, date, distance, sex classification, or reliable identity match.

A race may also lack a conversion when it cannot be matched confidently to the modeled course record. Its original results can still remain in the archive.

Assumptions and limits
  • The additive model gives every athlete the same race adjustment. It does not estimate that a particular runner is unusually good on hills, mud, or turns.
  • The fall-timing curve represents average improvement across the season; an individual athlete may improve, decline, or peak differently.
  • The simulator treats individual performance variation as independent. It does not model pack effects, tactics, injuries, weather response, or dependence between teammates.
  • Course names and advertised distances are imperfect, and a layout may change while retaining the same name.
  • Simulation results describe the model and its assumptions, not probabilities derived from betting markets or direct observations of the hypothetical field.
Allure de Soi