apex·forecast
Method

How it works

Two models, stacked. One measures pace from lap times; the other infers strength from finishing orders. They are deliberately independent, so when they agree it is evidence rather than a model agreeing with itself.

Layer 0 — pace deconvolution

A raw lap time is mostly not car pace. It is fuel load, tyre age, track evolution and traffic, with the thing you want buried inside. So one robust regression is fitted per race:

lap_time ~ C(Driver) + C(Compound) + C(Compound):tyre_age + lap_c + dirty_air

Each term exists to stop the driver coefficient absorbing something it should not:

Fitted with Huber regression rather than least squares. Traffic laps and lift-and-coast laps are real laps that lie about pace; a hard cutoff would need an arbitrary threshold, so they are downweighted continuously instead. Laps are filtered to green flag only, excluding in and out laps, the first two laps, and anything slower than 1.12× the race median.

Two things it cannot do

Driver and team are collinear within one race. Every team runs exactly two cars, so the team effect is definitionally the mean of its two drivers. Layer 0 gives driver-in-car pace and cannot split it. That is Layer 1's job.

Fuel burn and track evolution are not separately identifiable from race laps alone — both are smooth functions of lap number. Rather than assume a textbook kg/lap coefficient and present the split as measured, the model carries one honest combined term. A related constraint binds that term against degradation: within a stint, tyre age is an affine function of lap number, so if every driver pitted on the same lap the two would be perfectly collinear. Real races separate them only because drivers stop at different laps.

Layer 1 — separating driver from car

The generative story: to produce a finishing order, repeatedly draw a car from those still unplaced, with probability proportional to exp(θ), where θ = driver skill + constructor strength. That is the Plackett-Luce model.

The regulation change is encoded in the prior structure:

Each vector has its mean subtracted. Without that the model is degenerate: you can add a constant to every driver and subtract it from every car with no change in likelihood. Even with it, the split is only weakly identified — within a fixed team-mate pairing skill and car trade off freely, and what breaks the tie is the 19 drivers who appear in both seasons plus hierarchical shrinkage. The intervals are the real answer; the point estimates are indicative.

Why the model runs backwards

The obvious formulation draws the best remaining car first. It fails. Being classified 15th after first-lap damage looks identical to being slow, and three such races were enough to rate Mercedes' car below Ferrari's despite eight wins.

This model instead draws the worst remaining car and reads the order in reverse, so the strongest cars are the ones that survive longest and an isolated bad result costs far less. That is the attrition model of Graves, Reese & Fitzgerald (2003), proposed for NASCAR for precisely this reason — Henderson & Kirrane summarise the problem as the forward model "penalising the good drivers too harshly for the occasional lowly finish", finishes that are "commonplace … due to reliability issues with the cars which are beyond the driver's control, crashes and so on".

Switching to it moved the constructor share of explained spread from 76% to 90%, in line with the 88% of van Kesteren & Bergkamp and the 86% of Bell et al., and lifted agreement with Layer 0 from ρ 0.93 to ρ 0.98.

A contamination model was tried and rejected

Mixing a uniform noise component into each selection step — so a share of positions are decided by contact rather than pace — is the textbook robust answer and the rank-data analogue of a contaminated-normal likelihood. It estimated a plausible 5.5–6% and forecast no better than the model it was meant to repair. It is kept in the results table because a negative result that cost real work is still a result.

Retirements are excluded

A DNF is a reliability event, not a pace event; keeping retired cars in the ranking would let a gearbox failure look like a slow car. van Kesteren & Bergkamp make the same choice and note the consequence plainly: skill then excludes any measure of reliability. Positions outside the top ten are modelled as an unordered group rather than a precise ranking, following Henderson & Kirrane, who motivate the same cut from the points system.

Producing a forecast

For each posterior draw, every constructor is pushed one step forward along its random walk, so uncertainty grows with distance. Then an ordering is sampled by Gumbel-max — adding standard Gumbel noise to each θ and sorting is an exact draw from the Plackett-Luce distribution. Because whole orderings are sampled rather than marginal probabilities, joint outcomes are correct: P(one driver beats another) is a real quantity in there, not reconstructed from two independent marginals.

When qualifying has run, the grid is known and is the single strongest predictor available. A starting-position term β · −log(grid) is fitted across all races — log, because the gap between P1 and P2 is worth far more than P15 to P16. β is a championship-wide average, so it understates pole at a circuit as hard to overtake at as the Hungaroring, and grid penalties applied after qualifying are not reflected.

The model is fitted twice, because conditioning on the grid answers a different question: qualifying is itself caused by skill and car, so a grid-conditional fit deliberately absorbs part of the effect the unconditional fit is trying to measure. The driver-versus-car figures come from the unconditional fit; the race forecast comes from the conditional one.

Championship projection

A title is not twelve independent races. The per-race forecast gives marginal finishing probabilities — the chance a car finishes third on Sunday, averaged over everything the model is still unsure about. Multiplying twelve of those together would quietly assume the car that is quick in September is a fresh coin flip in October, and a championship is decided by exactly the persistence that assumption throws away.

So each simulated season draws one version of the field from the posterior and races it through every remaining round, redrawing only what genuinely varies week to week: retirements, safety cars and race-day noise. Uncertainty about how good a car is stays correlated across the season; uncertainty about what happens on a given Sunday does not. Four thousand such seasons give the title probabilities and the points fan.

Both points tables are read off the season rather than transcribed from the rulebook: grouping every 2026 result by finishing position returns 25/18/15/12/10/8/6/4/2/1 for a race and 8/7/6/5/4/3/2/1 for a sprint with zero variance, which also rules out a fastest-lap bonus. Sprint retirement risk is measured the same way — 5 retirements in 86 sprint starts against 41 in 235 race starts, a ratio of 0.333 against a distance share of 100/305 — so the race-fitted risk is scaled to sprint distance instead of being reused whole.

What it does not contain, because none of it is known for December: a starting grid, a circuit effect, weather, or car development. Each car's strength is its posterior today held flat to the end of the season, which understates how uncertain December really is — the fitted random walk is not propagated forward.

Calibration

For each evaluation round the model is refitted on everything before it and asked to predict a race it has never seen. Nothing about that round touches the fit. Baselines are expressed as the same kind of object — a Plackett-Luce distribution whose single scale parameter is fitted by maximum likelihood on the training races — so "grid position predicts the finish" is a genuinely strong opponent rather than a straw man.

Six evaluation races is a small sample and the margins are narrow. The results table on the dashboard is published exactly as measured, including when a baseline wins.

Why team colours never encode a value

Run through a colour-vision validator against the dark surface, the 2026 constructor palette fails outright: Haas silver and Mercedes teal are ΔE 0.6 apart under deuteranopia — effectively the same colour — and Alpine against Red Bull is ΔE 9.2 apart under normal vision, below the legibility floor. Haas silver also falls under the chroma floor and reads as grey. So team colour is a chip beside a text label and nothing more; every quantitative scale uses a validated ramp instead.

References