The core identity
Read each term in seconds relative to the field baseline. Positive values mean slower than the field; negative values mean faster. The terms always sum to exactlypace_delta not approximately, but exactly.
What pace_delta means
pace_delta is each lap’s deviation from the trimmed-mean field pace, smoothed over a 5-lap centred window. Before computing the median, the fastest and slowest 10% of cars at each lap are excluded to remove cars on extreme strategies or with mechanical issues.
A driver running at exactly the field median pace has pace_delta ≈ 0. Positive is slower than field; negative is faster. Normalising against the field removes the circuit characteristic Monza averages around 80 s, Singapore around 100 s so a driver residual of −0.4 s at Monza means the same thing as −0.4 s at Singapore: 400 ms faster than the field median, net of all physics.
The six physics terms
1. Fuel
is the estimated fuel mass at lap in kilograms. It is computed deterministically never measured from the lap count and a seeded per-circuit burn rate: where is the per-lap burn rate (kg/lap, seeded indim_circuits as fuel_consumption_rate_kg_per_lap), is the race lap count, and is the full-race start-line load (safety factor 1.0). Because is fixed by arithmetic, the only fitted quantity in the fuel term is the weight penalty in seconds per kilogram, calibrated per circuit using the corner count and average lateral G:
This gives s/kg at Monza (few corners, high speed), s/kg at Monaco (tight, high corner count), and s/kg at Suzuka (high downforce, high lateral G). The fuel term is always positive and decreasing: a driver on lap 3 of a 55-lap race runs 0.8–1.0 s slower than their end-of-race pace from fuel mass alone.
2. Compound (tyre degradation)
This hockey-stick polynomial captures the full tyre wear trajectory. is the cliff onset lap estimated via Kaplan-Meier survival analysis (see Tyre Cliff). is the post-cliff degradation acceleration the additional pace loss per lap once the cliff begins. s/°C captures temperature sensitivity. All coefficients and are stored per(circuit, compound, season) in dim_compounds_season, pre-computed from 2018–2024 data. For a Soft compound at a high-wear circuit, the full trajectory from new tyres to cliff can span 1.5–2.5 s of pace loss.
3. Rubber (track evolution)
is the race-level rubber accumulation index a smoothed measure of grip improvement as rubber builds on the racing line. The rubber term is typically negative (improving pace), grows through the first 30–40 laps, then plateaus. It is identified from the field pace curve residual after removing fuel and compound contributions.4. Ambient (weather)
is the track temperature deviation from the session’s thermal baseline. Higher temperatures reduce tyre grip, particularly for Soft compounds near their thermal ceiling. The ambient term is identified jointly with the rubber term by exploiting a key asymmetry: rubber accumulation is monotonically increasing over the race, while temperature can move in either direction.5. Constructor
The constructor’s structural pace relative to the field median, estimated from a panel fixed-effects regression on race-year-constructor combinations pre-computed from 2018–2024. Subtracting this term removes the car quality signal so the driver residual reflects execution, not machinery.6. Dirty air
dirty_air_share measures the proportion of each lap run in the aerodynamic wake of another car. , in seconds per unit share, is calibrated from a partial residual panel after removing fuel, compound, rubber, ambient, and constructor contributions. Higher dirty-air exposure increases pace delta the car simply cannot generate the same downforce in turbulent air.
Driver skill residual (the closure)
The driver skill term is defined as the closure not estimated independently, but derived. Subtract all six physics terms frompace_delta and whatever remains is the driver’s contribution. A large negative residual means the driver is running faster than the physics predicts; a large positive residual means the opposite. Defining it as a closure rather than an independent estimate is intentional: it guarantees the identity holds exactly and prevents the residual from silently absorbing model error.
The CI invariant
A stated invariant is documentation. An enforced invariant is a contract. The following SQL test runs in CI on every model change. If it returns any rows meaning any lap where the seven terms diverge frompace_delta by more than 0.1 ms the dbt test fails and the merge is blocked. It is one of fourteen identity-closure tests enforced the same way see Identity Closure for the full set:
Methodology
How each physics term is identified and estimated from lap time data
Tyre Cliff
Kaplan-Meier cliff detection and per-lap ML prediction
Residual Decomposition
The nine models that compute this identity and the closure it defines