Chapter 32 Exercises — F1 Through the Eras
Difficulty: ⭐ concept check · ⭐⭐ calculation or short code · ⭐⭐⭐ analysis and judgment · ⭐⭐⭐⭐ open-ended research
All data come from the book's snapshot: Jolpica-F1 1950 → 2026 round 21 and OpenF1 2023 → 2026 round 21. Run code from the chapter directory with the module boxbox.eras on the path, as in code/01_champions_and_dominance.py. Do not enable any network fetching.
Part A — Concepts ⭐
A1. Give two reasons why the fastest qualifying lap at Silverstone in 2009 (78.119 s) cannot be compared with the fastest one in 2025 (84.892 s) to judge the drivers.
Answer
(1) The layout may differ. The data show a 14.7% step in 2010 that persists, which is what a layout change looks like, and circuit_ref does not record layouts. (2) The rules differ: cars, power units, tyres and weight all changed. Chapter 28's cross-circuit pace index moved by +2.81% in 2014, −2.89% in 2017 and +1.98% in 2022 at resets alone. Either effect is larger than any plausible driver difference.
A2. Define the Herfindahl–Hirschman index of wins and say what $1/\text{HHI}$ means.
Answer
HHI = Σ sᵢ², where sᵢ is entity i's share of the season's wins. 1/HHI is the "effective number of winners": the number of equally successful winners that would give the same concentration. It equals the count of winners only when they all won equally often.
A3. The turbo era is dated 1977–1988 in some sources and 1983–1988 in others. What does each convention count from, and which does the toolkit use?
Answer
1977 counts from the first turbo car, Renault's RS01 at the 1977 British GP (Goodwood). 1983 counts from turbo dominance, "turbos took over from 1983" (Goodwood). The toolkit's history.eras() uses 1983–1988.
A4. Why is a one-two share less comparable across eras than a win share?
Answer
A one-two needs both cars to finish. When half the starters retired (1950s–1990s), even a dominant team often lost a car to failure. When 85–90% finish (2020s), one-twos are mechanically easier. Teams in the 1950s also entered three or more cars, which changes the odds again. A win needs only one car.
A5. What is the difference between "the one-scale leader" and "the champion who should have won"?
Answer
The one-scale leader is a measurement: who scored most when every season's results are re-scored with 25-18-…-1. "Should have won" is a counterfactual, and it ignores that drivers and teams optimised for the scoring rules actually in force, such as dropped scores and points for fewer places.
A6. Why do the teammate-chain confidence intervals widen for drivers whose careers are far in time from Hamilton's?
Answer
Each rating is pinned to Hamilton = 0 through a path of teammate links. Every link is an estimated gap with its own sampling error, and the errors accumulate along the path. In the chapter's run, CI width correlates with distance in career midpoint at r = 0.68 (52 drivers with ≥ 60 rounds).
A7. Before 1994, what is the only teammate comparison available in the book's data, and what are its two main biases?
Answer
The grid head-to-head: who started ahead on the grid. Biases: (1) teammate quality, because a strong teammate pulls the share towards 50%; (2) team size before the 1980s, because three- and four-car teams add duels against third and fourth drivers. The grid also includes penalties, so it is not pure qualifying pace.
A8. True or false: "Since the data show no significant trend in the top-team win share, the sport is no more dominated today than in the 1950s." Explain.
Answer
Partly true. No trend was detected (Spearman ρ = 0.150, p = 0.192). But "no trend detected" is not "no difference": the era medians vary a lot (34.7% in 1977–82, 73.9% in 2014–21). Dominance comes in waves, and a single linear trend is the wrong model for waves.
Part B — Calculations ⭐⭐
B1. In 2026 after 21 races, Mercedes has 12 wins, and the other wins are Ferrari 2, McLaren 3 and Red Bull 4. Compute the HHI of team wins and the effective number of winning teams. Check against the module's output.
Solution
Shares: 12/21 = 0.5714, 4/21 = 0.1905, 3/21 = 0.1429, 2/21 = 0.0952. HHI = 0.3265 + 0.0363 + 0.0204 + 0.0091 = 0.3923. 1/HHI = 2.549. The module (project_checkpoint.py, line 1) prints effective_n 2.549 ✓.
B2. Alfa Romeo won 6 of 7 rounds in 1950, Red Bull 21 of 22 in 2023 and McLaren 15 of 16 in 1988. Using metrics.wilson_ci, give each share with its 95% interval and say whether the data can rank them.
Solution
1950: 85.7% (48.7–97.4%). 2023: 95.5% (78.2–99.2%). 1988: 93.8% (71.7–98.9%). All three intervals overlap heavily, so win share alone cannot rank them. The 1950 interval is so wide because 7 races is a tiny sample.
B3. Re-score this hypothetical three-race season with 25-18-15-12-10-8-6-4-2-1. Driver X: 1st, retired, 1st. Driver Y: 2nd, 2nd, 2nd. Then score it with "9-6-4-3-2-1, best two results count". Who leads under each?
Solution
One scale: X = 25 + 0 + 25 = 50; Y = 18 × 3 = 54, so Y leads. Old scale, best two: X = 9 + 9 = 18; Y = 6 + 6 = 12, so X leads. The scale changes the winner. That is why re-scoring is a measuring tool, not a verdict.
B4. 1988: Prost's race points as awarded total 105, but his standings total is 87. Senna's are 94 and 90. Explain the difference and compute how many points each lost to dropped scores.
Solution
Only a driver's best results counted, so lower scores were dropped. Prost dropped 105 − 87 = 18 points and Senna 94 − 90 = 4. Senna won the title 90–87 while scoring 11 fewer points in total.
B5. The pace margin in 2015 was 0.835% (Mercedes over Ferrari) and in 2023 0.251% (Red Bull over Ferrari). Convert both to seconds on a 90 s lap and on the 2025 Monza pole lap (78.792 s).
Solution
90 s: 0.835% → 0.752 s; 0.251% → 0.226 s. Monza 78.792 s: 0.835% → 0.658 s; 0.251% → 0.198 s. The percentage is the cross-circuit unit, and seconds depend on the lap.
B6. 🧪 Using the toy independence model, compute the probability that both cars of a team finish in 1986 (DNF rate 59.6%) and in 2025 (10.7%). If a team's chance of winning with either car is unaffected, by what factor is a one-two harder to achieve in 1986, from reliability alone?
Solution
1986: (1 − 0.596)² = 0.404² = 0.163. 2025: 0.893² = 0.797. Ratio ≈ 0.797 / 0.163 = 4.9. Under this model a one-two was about five times harder to achieve on reliability alone in 1986. Independence and equal failure rates are assumptions: teammates' failures are correlated, and a top team's reliability differs from the field's.
B7. The 2025 team spread was 1.06% and the 2026 spread 2.94% (like-for-like Q1). On a 90 s lap, how many seconds separated the fastest and slowest teams in each season, and by what factor did the spread grow?
Solution
2025: 0.954 s. 2026: 2.646 s. Factor 2.94 / 1.06 = 2.77.
Part C — Data & Code ⭐⭐–⭐⭐⭐
C1. Analyze this session ⭐⭐. 2023 Singapore GP, Qualifying. Using eras.team_round_gaps(years=[2023], basis="like_for_like"), compute Red Bull's Q1 gap to the fastest team in Q1 and compare it with the best-lap basis (1.225%, P8 of 10). Expected output: one row per team for round 15, with gap_pct and rank. Explain why the two bases can rank Red Bull differently, given that both Red Bull drivers were eliminated in Q2.
Answer (from the chapter's run)
On the Q1 basis Red Bull ranks P2 (0.117% behind AlphaTauri, whose Tsunoda set the fastest Q1 lap, 91.991 s), with Haas third (0.118%) and Ferrari fifth (0.378%). On the best-lap basis Red Bull ranks P8 (1.225%). The bases disagree because Red Bull's best laps came from Q2, where it was eliminated, while the top teams' best laps came from an evolved Q3 track. Q1 is like-for-like but captures only how hard each team pushed in Q1. Neither basis is "the" answer: report both, and say which question each one answers.
C2. Compare these drivers ⭐⭐. Use eras.teammate_grid_h2h() to compute Prost's and Senna's grid head-to-head against each other in 1988 and 1989 only. Then compute each driver's share against all other teammates. Expected output: a table of season × teammate with duels, ahead and Wilson intervals. Does Senna's 89.0% career share come mainly from the Prost seasons or from others?
Answer (from the chapter's run)
Against each other: Senna started ahead of Prost in 14 of 16 races in 1988 and 13 of 15 in 1989 (27 of 31). Against all other teammates: Senna 111 of 124 (89.5%), Prost 129 of 165 (78.2%). Senna's 89.0% career share is not driven by the Prost seasons: his share against other teammates is almost identical. Prost's career share (67.9%) is pulled down mainly by the two Senna seasons.
C3. Analyze this era ⭐⭐. Extend code/01_champions_and_dominance.py to compute the top-team win share with Wilson intervals for every season, then redraw ch32-fig-01 with error bars. Expected output: the same line with vertical bars, much wider before 1960. Which pre-1960 seasons have intervals that overlap with 2023's?
C4. Build the ruler ⭐⭐⭐. Re-run eras.rescored_champions() with a different common scale: scale=(10, 6, 4, 3, 2, 1) (a 1990s-style scale). Expected output: a new list of seasons where the leader differs from the champion. Do the eight seasons from the chapter survive? Which seasons change because the scale now rewards wins relatively more (10/6 = 1.67 vs 25/18 = 1.39)?
C5. Predict the race ⭐⭐⭐. The checkpoint's early-season prior uses whole seasons from 1950–2025. Restrict it to 1983–2025 (the turbo era onward) and to k = 4. Expected output: n seasons, median rest-of-season win share with a bootstrap CI, and the list of seasons. Does the median move from the all-era k = 5 value (0.777)?
Answer (from the chapter's run)
1983–2025, k = 4: n = 12 seasons (1988, 1991, 1992, 1994, 1996, 2004, 2005, 2014, 2016, 2019, 2020, 2023). Median rest-of-season win share 0.679 (bootstrap 95% CI 0.417–0.841). The range runs from 0.267 (2005 Renault) to 0.944 (2023 Red Bull). That is lower than the all-era k = 5 median (0.777), as you would expect for a weaker trigger (four wins rather than five) and a more competitive period. With n = 12 the intervals overlap.
C6. Analyze this era ⭐⭐⭐. Use eras.relative_performance("team", years=range(2014, 2027)) to plot each top-four team's median qualifying gap (q_gap_pct) per season on one chart. Expected output: four lines, 2014–2026. Mark the reset years from boxbox.regs.RESET_YEARS. Which team's gap changed most at the 2022 and 2026 resets?
C7. Analyze this era ⭐⭐⭐. The DNF table has a cause split only to 2022. For 2023–2026, compute the share of retirements occurring on lap 1 from Jolpica (laps_completed == 0 among DNFs), by season. Expected output: four rows. Compare with the 2014–2021 lap-1 share, and say why this is a partial proxy for accident retirements, not a measure of them.
Answer (from the chapter's run)
Share of DNFs with zero laps completed: 2023 10.0%, 2024 22.4%, 2025 21.6%, 2026 3.6%. For 2014–2021 it ranged from 3.4% (2019) to 22.4% (2021). A lap-1 retirement is usually contact, but it can also be a failure on the grid or formation lap, and many crashes happen after lap 1. So the share is a partial proxy at best: it neither captures all accidents nor excludes failures. Chapter 37 adds a race-control incident proxy for 2023+.
C8. Analyze this session ⭐⭐. 2023 Singapore GP, Race. Using metrics.gap_to_leader_by_lap(session, wide=True), compute Verstappen's gap to Sainz at the end of laps 39, 41 and 62 and his lap-time difference to Sainz over laps 45–62. Expected shape: three gaps (s) and one median delta (s/lap). Relate it to the fresh-tyre delta the book measured (median 1.08 s/lap).
Part D — Strategy & Judgment ⭐⭐⭐
D1. Call the pit stop. 2023 Singapore GP, lap 43, VSC deployed on the leader's lap 44. You are Ferrari with Sainz leading (HARDs from lap 20) and Leclerc fifth, 4.75 s behind. Mercedes are 0.9 s and 2.5 s behind Sainz on the same-age HARDs. The VSC pit loss is 15.7 s [14.5, 16.8] (book value). Lay out the options for both Ferrari cars (stay out / pit one / pit both), the risk to the race win under each, and your call. Then compare with what happened (both Ferraris stayed out; Mercedes pitted both cars on lap 44).
Discussion
Staying out with Sainz keeps track position. Mercedes need about 1 s/lap over 17 laps on fresh MEDIUMs, close to the median fresh-tyre delta, so it is a coin flip on pace. Pitting Sainz gives up the lead to whoever stays out. Pitting Leclerc alone, as a "split", would cover the Mercedes strategy with one car. It costs him track position, and he was 4.75 s back with a lot to lose. The data show Ferrari kept both cars out and Sainz won by 0.812 s (official). Per the FIA race report, he used Norris within DRS range as a buffer. A defensible call is "stay out with Sainz". Pitting Leclerc is the contrarian hedge, and the data cannot tell you whether it would have finished higher.
D2. Design the ruler. A broadcaster wants one "dominance score" on screen for any season since 1950. Pick at most three of this chapter's measures, propose a way to combine them, and list the eras in which your score is weakest. Defend your choice against the objection that it favours modern seasons.
Discussion
A defensible trio: (1) the top-team win share with a Wilson interval (available everywhere, outcome-based); (2) the one-scale points share as a fraction of the two-car ceiling (scale-free, rewards beating everyone); (3) pole share (removes race-day attrition). Combine them as an average of percentile ranks within the 77 seasons, so that no one scale dominates. Weak eras: the 1950s (multi-car teams, 7–9 rounds, the Indianapolis 500 in the data) and 1977–1988 (very high attrition). Against the "favours modern seasons" objection: shares and ranks do not grow with season length, but modern reliability does make the points ceiling easier to approach, so report a version with a field finishing-rate adjustment beside it.
D3. Judge the claim. "Red Bull 2023 was more dominant than McLaren 1988." Write a 200-word verdict using at least three measures from the chapter, with numbers and intervals. Your verdict must say which measures favour which season and why they disagree.
Discussion
Favouring 2023: win share 95.5% vs 93.8% (intervals 78.2–99.2% and 71.7–98.9%, overlapping) and the driver's one-scale points share 0.234 (the highest of all seasons). Favouring 1988: pole share 93.8% vs 63.6%, one-two share 62.5% vs 27.3%. Tie: points vs the two-car ceiling, 83.8% vs 82.3%. The rulers disagree because 2023 was won largely from race pace, with a small qualifying margin and a weaker second driver, while 1988 was won from the front row with two closely matched drivers in a high-attrition era. A sound verdict is "indistinguishable on outcome, different in style".
D4. Judge the bet. In February of a reset year, a bookmaker offers the reigning constructors' champion at even money to retain the title. Using the chapter's base rates (champion changed at 4 of 5 resets since 2009; constructors repeat 65% since 2006), argue whether the price is attractive, and list what in-season evidence would change your mind. Be explicit about the sample sizes.
Discussion
Even money implies 50%. The reset base rate says the champion changed at 4 of 5 resets since 2009, which implies about 20% retention (Wilson interval roughly 4–62% at n = 5). The 65% repeat rate since 2006 is a non-reset base rate and should not be used for a reset year. With n = 5 you cannot be confident, but the price looks generous to the backer of "retain" only if you have specific evidence, such as testing long runs or a PU supplier's known advantage. Evidence that would change your mind: the team's pace margin in the first three rounds, its reliability in the first races, and whether its PU supplier also supplies the main rival.
Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐
M1. Ch 32 + Ch 21. Chapter 21 found that the car's share of qualifying-pace variance ranges from 28% to 80% by season (ridge regression; 2025 0.280, 2026 0.801). How does that range help explain why 2026 shows a high pace margin (0.357%) but only a 57.1% top-team win share? (Hint: the variance share and the margin measure different things.)
Discussion
The 2026 car share of qualifying variance (0.801) says that most of the spread in lap times that season is between cars. That fits a widened field, with a 2.94% team spread. The pace margin (0.357%) measures only the gap between the top two teams. A season can have a huge between-team variance and still a modest gap at the very front, where several teams cluster. The win share (57.1%) then depends on that front cluster, not on the variance share.
M2. Ch 32 + Ch 28. Chapter 28 found that the constructors' champion changed at 4 of 5 resets (p = 0.031). This chapter found that runaway teams keep the top-winning spot in 11 of 15 following seasons. Reconcile the two. Are they in tension? Count how many of the 15 runaway seasons were followed by a reset year.
Answer
Only one of the 15 runaway seasons (2016) was followed by a major reset year (2017), and Mercedes retained the title through it, the one reset of the five where the champion did not change. So the two findings concern largely different seasons. Runaway teams usually stay on top within a rule set, and resets are where they are most likely to lose it. They are complementary, not in tension.
M3. Ch 32 + Ch 14. The book's SC base rate is 48.4% of races with at least one SC in 2023–26 (race control). The historical detector cannot separate SC, VSC and red flags. Explain why "safety cars are more common now" cannot be tested over 75 years with the book's data, even though the safety milestones (first SC 1973, VSC 2015) are sourced.
Discussion
Race-control data start in 2023 (OpenF1). Before that, safety-car laps come from the lap-time detector, which exists only from 1996, when Jolpica lap times begin. It cannot separate SC, VSC and red flag, and it has measured precision and recall (0.94 / 0.87 on 2023–25). For 1950–1995 there are no lap times at all. A 75-year SC series therefore cannot be built from the book's data. Even 1996–2022 counts would be "detector-flagged neutralisations", not safety cars.
M4. Ch 32 + Ch 17. Lap-1 mean absolute position change fell from 2.16 (V10 era) to 1.51 (2022–25) and rose to 1.97 in 2026. Using the DNF chart in 32.6, propose one explanation linking reliability to lap-1 churn, and one test you could run on Jolpica data to check it.
M5. Ch 32 + Ch 39. Chapter 39 showed that the post-stop lap-time step was +0.38 s in the refuelling era and −1.21 s after it. Would the refuelling ban (2010) be expected to change the dominance indices in this chapter? Check the top-team win share for 2006–2009 against 2010–2013, and say what else changed in 2009–10 that confounds the comparison.
Answer (from the chapter's run)
Top-team win share 2006–2009: 50.0, 52.9, 44.4, 47.1%. 2010–2013: 47.4, 63.2, 35.0, 68.4%. The medians are similar (48.6% vs 55.3%), and the spread is larger after the ban. The confounders are serious: 2009 brought a major aero reset and slick tyres, 2010 brought three new teams, and 2011 brought DRS and Pirelli tyres. No refuelling effect on dominance can be isolated from four seasons either side.
Part E — Research & Extension ⭐⭐⭐⭐
E1. A grid-based teammate chain for 1950–1993. Build a teammate chain like Chapter 21's, using grid-position gaps (or the log-odds of out-qualifying) instead of time gaps, for 1950–1993. Use eras.teammate_grid_h2h and boxbox.ratings.chain_fit (adapted). Report how many drivers fall into one connected component, how long the shortest chain from Fangio to Senna is, and how wide the bootstrap intervals are. Discuss whether multi-car teams help (more links) or hurt (weaker comparisons).
E2. Dominance and money. Combine this chapter's dominance_index with the prize-fund structure from data/reference/f1_business.csv (Chapter 33). Is there any measurable relationship, in the years the reference table covers, between a team's dominance and its later spending or results? State clearly which figures are public and which are not.
E3. A reliability-adjusted one-two index. Design an index of team dominance that adjusts for the field's finishing rate and for the number of cars entered, so that 1952 Ferrari, 1988 McLaren and 2023 Red Bull can be compared fairly. Validate it on seasons where you have independent pace evidence (1994+ pace margins) and report where it disagrees with the raw one-two share.