Case Study 2 — Can Friday's Weather Fix Friday's Tyre Forecast?

A multi-season analytics study: 39 dry Grand Prix weekends, practice long runs against race stints, with and without a temperature correction. The analysis is in code/case_study_02.py, and its output is in code/case_study_02_output.txt.

Setup

On Friday evening a strategy team has one big block of tyre data: the long runs from second practice (FP2). On Sunday it needs a degradation rate for each compound, because that rate sets the stop lap (Chapter 12) and the stop count. Anchor B, in Chapter 22, showed how much hangs on this. At the 2025 Mexico City GP, a model fed with practice degradation called the stop seven laps after Norris made his, while the same model with the race's early-stint degradation was two laps off.

The obvious suspect is the weather. Friday and Sunday run at different times of day and on different days. If Sunday is hotter, the tyres should wear faster than Friday's runs suggest. So the natural fix is to adjust Friday's rate to Sunday's forecast temperature, using the within-circuit slope from Section 36.3 (+0.017 s/lap per +10 °C). Does that fix work?

Ines: So the tyres wear differently on Sunday because it's hotter? Aisha: That's the theory. It's testable: we have both days' temperatures and both days' lap times. Ines: And if the theory's wrong? Aisha: Then we've learned which part of the Friday forecast is broken, and it isn't the thermometer.

The data

  • Weekends: dry Grands Prix 2023–2026 (the book's dry-race filter: no INTERMEDIATE/WET lap and no rain flag in the race) whose FP2 was also dry, and which had an FP2 at all. Sprint weekends have only one practice session, so they drop out.
  • Practice long runs: FP2 stints with at least 6 clean laps after the out-lap (metrics.degradation on raw lap times).
  • Race stints: the same dry stints as Section 36.3 (at least 8 usable laps).
  • Fuel treatment: raw lap times on both days, no fuel correction. The canonical correction needs a start fuel load and a lap count, and practice runs carry unknown fuel. Applying the race's assumption to practice would be invented precision. Raw slopes on both days keep the comparison like for like: both include the fuel burn of the run. They understate the true tyre wear on both days.
  • Track temperature: each stint's mean over its laps, dropouts removed.
  • Pairs: for each weekend and compound with at least 3 stints on each day, the median FP2 slope against the median race slope.
FP2 long runs (>= 6 clean laps after the out-lap, dry FP2): 656 stints in 44 weekends
Weekend-compound pairs (>= 3 stints on each side): 66 in 39 weekends
Practice minus race track temperature: median -3.9 C, IQR -7.5 to -0.4

There are 66 weekend-compound pairs in 39 weekends. FP2 typically ran 3.9 °C cooler than the race (IQR −7.5 to −0.4 °C). If temperature drove wear, a cooler Friday would under-state Sunday's wear.

Analysis

1. The size of the forecast error

raw practice forecast: median error +0.072 s/lap [+0.043, +0.109], MAE 0.097, overstates in 82%
temperature-adjusted: median error +0.077 s/lap [+0.052, +0.112], MAE 0.102, overstates in 86%
By compound (raw forecast):
          pairs  median_err    mae     dT
compound                                 
HARD         12       0.037  0.069 -4.105
MEDIUM       37       0.114  0.113 -4.035
SOFT         17       0.063  0.080 -1.813

Friday's long runs overstate Sunday's degradation by a median 0.072 s/lap (bootstrap 95% CI 0.043–0.109), and they overstate it in 82% of pairs. The error is largest on the MEDIUM (0.114 s/lap, 37 pairs). For scale, the whole MEDIUM degradation rate is 0.051 s/lap with the canonical correction (Section 36.3). The Friday error is larger than the quantity being forecast.

This is the opposite of the weather story. FP2 is cooler, so temperature predicts that it should show less wear, not more.

2. Does temperature explain any of it?

FP2-minus-race degradation against FP2-minus-race track temperature

📊 Figure (described): One point per weekend and compound, coloured by compound. The x-axis is how much warmer the FP2 long runs were than the race, and the y-axis is how much more wear FP2 showed. Most points sit well above zero, at +0.03 to +0.25 s/lap, whatever the temperature difference. The blue line is what the temperature slope alone predicts: a shallow line through the origin, at −0.035 s/lap for a 22 °C cooler Friday. The points do not follow it.

Error regressed on dT (compound FE, cluster by weekend): -0.007 s/lap per 10 C [-0.042, +0.028]; R² 0.117
Share of the squared error removed by the temperature adjustment: -9.6%

Regress the error on the temperature difference and the slope is −0.007 s/lap per 10 °C (95% CI −0.042 to +0.028), indistinguishable from zero. If temperature drove the error, it would be about +0.017. Applying the temperature adjustment makes the forecast worse: it removes −9.6% of the squared error, which is to say it adds 9.6%. The reason is mechanical. Friday is usually cooler, so the adjustment raises Friday's already too-high rate.

3. Anchor B again

2025 Mexico City GP (Anchor B):
compound  fp_deg  race_deg  fp_track  race_track   err  err_adj
  MEDIUM   0.184     0.007    36.870      50.307 0.177    0.198
    SOFT   0.119     0.014    35.944      49.428 0.105    0.127

Mexico City 2025 is the extreme case of the pattern. Sunday was 13.4 °C hotter than Friday's MEDIUM runs, and its MEDIUM wear rate was 0.177 s/lap lower (raw). Correcting for temperature moves the forecast the wrong way, to an error of 0.198 s/lap.

4. What the error would do to a strategy call

How much does a 0.072 s/lap overstatement matter? Use the one-stop / two-stop line from Section 36.3, $d^* = 12L/N^2$, and the per-circuit table that 02_track_temp_and_deg.py prints (code/02_output.txt). For each circuit, the table gives the median canonical race deg and the line $d^*$. The gap $d^* - \text{deg}$ is how much extra wear it would take for a second stop to pay.

Of the 25 circuits in that table, five already sit past the line (Catalunya, the Red Bull Ring, Bahrain, Interlagos and the Hungaroring). Of the other 20, fifteen have a gap smaller than 0.072 s/lap: from Mexico City (0.001) and Zandvoort (0.007) through Suzuka (0.040) to Monza (0.067). Only five have a gap larger than the median Friday error: Jeddah, Madring, Baku, Las Vegas and Losail, the low-wear street and desert circuits.

So, as a piece of arithmetic: a strategist who took Friday's rates at face value would find a "two-stop race" at 15 of the 20 one-stop circuits. The raw-versus-canonical difference does not rescue this, because the error is a difference between two raw slopes, and the canonical correction adds the same amount to both.

Now compare the temperature effect. The median Friday-to-Sunday temperature difference is 3.9 °C, which at +0.0017 s/lap per °C is worth about 0.007 s/lap: about one-tenth of the Friday error, and of the opposite sign. On these numbers, a team that spent Friday night worrying about Sunday's forecast temperature, and not about the gap between practice running and race running, would be solving the wrong problem.

Ray: So the weatherman isn't the one who got it wrong. Aisha: No. Friday's tyres were telling the truth about Friday.

What it means (and doesn't)

What it means. The gap between Friday's tyre wear and Sunday's is not a weather problem. Track temperature differences between FP2 and the race are real (a median 3.9 °C) and they do affect wear (Section 36.3), but the effect is a few hundredths of a second per lap. The Friday-to-Sunday gap is several times larger, with the opposite sign. For a strategist, the temperature correction is the last thing to fix in a Friday deg forecast, not the first.

What it doesn't mean. It does not tell us why Friday overstates. Several explanations fit the data, and we cannot separate them:

  • Track evolution. Rubber laid down over the weekend raises grip. A rubbered track slides the tyres less, which reduces both their wear and their lap-time drop-off. Race-day stints run on the most rubbered track of the weekend.
  • Run plans. Practice runs are not race stints. Teams vary fuel, engine modes and push levels through a run, and they can deliberately push a tyre to find its limits. We see none of those settings: the free data have no fuel load and no ERS state.
  • Selection. On race day, teams choose compounds and stint lengths because they know which tyres last. A stint that lasted 25 laps is a stint the team expected to last. Practice runs are not selected in the same way.
  • Fuel effect differences. We used raw lap times on both days. If a practice run burns fuel more slowly per lap than a race stint (a lighter, less loaded car), its raw slope hides less wear. Without fuel loads we cannot correct for this.

For Box Box: conditions.temp_adjusted_deg exists and is used to shift a race-trim deg model (for example, last year's race at the same circuit) to the forecast temperature. It should not be used to "repair" practice degradation. For that, the evidence of Anchor B and this case study is to prefer the race's own early-stint data as soon as it exists, and to treat Friday's rates as an upper bound.

Discussion questions

  1. FP2 ran cooler than the race in most weekends, yet showed more wear. Which of the explanations above could you test with the free data, and how? (Hint: track evolution shows up in lap times across a session.)
  2. The MEDIUM has the largest error (0.114 s/lap) and the HARD the smallest (0.037). Suggest a reason connected to how teams use each compound in practice.
  3. We used raw lap times on both days. Suppose instead you applied the canonical correction to the race stints only. What would happen to the size of the error, and why would that comparison be unfair?
  4. If you were allowed only one adjustment to the Friday forecast, would you choose temperature, a fixed "Friday discount" (say −0.07 s/lap), or a blend with last year's race deg at the same circuit? How would you test your choice on these 39 weekends without overfitting?
  5. Anchor B's model with race-trim deg landed within two laps. Why does a flat cost curve (laps 33–40 within 1 s of the best) make a large deg error less harmful than it sounds?

Your turn

Extend code/case_study_02.py with a leave-one-weekend-out test of three Friday forecasts:

  1. raw FP2 (as above);
  2. FP2 minus a constant discount, where the discount is the median error of the other 38 weekends;
  3. last year's race deg at the same circuit, shifted to this year's race temperature with conditions.temp_adjusted_deg.

For each weekend-compound pair, compute the absolute error of each forecast. Report the median absolute error of each and the number of pairs each could be computed for (forecast 3 needs the same circuit in the previous year, so it covers fewer pairs). The expected shape of the answer: a table with three rows, and a sentence on which forecast you would hand to the pit wall on Friday night, with its n.