Chapter 28 Notes — Tournament Prediction

Chapter link: Chapter 28

Overview and learning objectives

Chapter 28 turns Chapter 24's match probabilities into tournament forecasts. The hook: Ireland v Zimbabwe at Pallekele on 17 February 2026 was abandoned without a ball, Zimbabwe got the point they needed, and Australia (beaten by Zimbabwe and Sri Lanka that week) were out of the men's T20 World Cup. On the eve of the event the simulator had made Australia second favourites at 15.9% with an 11.4% chance of a first-round exit. India, the favourites at 46.1%, won the final by 96 runs.

The chapter builds crease.tournament, freezes IPL 2026 at its eve (favourites RCB 15.9%, and they won), rebuilds the World Cup from the data with its gaps (Afghanistan withheld, two washouts with no file), adds a tiered Elo for associates and updates both events match by match. Punjab Kings were at 96.0% for the IPL top four after 36 matches and finished fifth. An oracle experiment gives the best team only 19.3% of IPL-format titles, and a backtest scores 26 real tournaments. There is no 🪞 check-in or 🚪 threshold concept. The idea that comes closest is that probabilities moving as results arrive are not evidence that the model is learning.

By the end of the chapter students should be able to:

  1. Explain why a title probability cannot be found by multiplying match probabilities, and reproduce the toy event's P(top) 0.473 / P(title) 0.511 by simulation.
  2. Name the four ways information from after the eve leaks into a forecast (ratings, team sheets, model weights, structure) and freeze a forecast correctly.
  3. Compute Monte Carlo error with √(p(1 − p)/N), choose a simulation count, and round published probabilities to whole percentages.
  4. Rebuild a round-robin structure from match data, check match counts against n(n − 1)/2, and list missing fixtures with a reason for each.
  5. Compute an Elo match probability with a home bonus, and explain why associates need a lower starting rating (1,100 v 1,500; log loss 0.6565 → 0.6091).
  6. Separate the two sources of in-tournament movement (banked results and re-rating), and interpret the oracle results (19.3% / 38.7% / 52.6%).
  7. Score tournament forecasts with the champion's log score, knockout Brier skill and calibration, and explain why "the favourite won" is not a score.

Where students struggle

  • The multiplication answer. "70% × 70% = 49%" is the first instinct for a World Cup. The toy event in §28.1 cures it fastest. Have students write down their three guesses before showing 0.473, 0.511 and 0.06.
  • "RCB won, so the model was right." At 15.9% the model's best guess was that RCB would not win, by more than five to one. Pair this with Punjab Kings' 96% that failed. Neither single case says much on its own.
  • Calibrated but useless. IPL forecasts were calibrated (slope 1.14) yet gave the champion only 13.0% against 11.4% for a know-nothing forecast. Separate honest from sharp on the board.
  • Moving probabilities read as learning. India went from 53.0% to 36.8% in a day and to 74.9% before the final, mostly from banked results. The dynamic IPL model differed from the static one by 1.2 points on average by match 35, and its top-four Brier was worse at most checkpoints.
  • Monte Carlo error v model error. Some students run 1,000,000 simulations and report three decimals. The model's uncertainty is far larger: a log-odds uncertainty of 0.5 moved India from 46.1% to 40.4%. Exercise B2 makes the point with numbers.
  • The hindsight squad. Using 2026 team sheets for a 2026 pre-season forecast feels harmless. Revisit the §28.2 pitfall: the sheets were revealed match by match and carry injury, form and selection news.
  • Data that isn't there. Washouts without a ball have no Cricsheet file and Afghanistan's men's internationals are withheld; a pipeline that reads only match files never learns those matches existed. The group letters A–D are the code's, not the ICC's.
  • The oracle is simulated. Its worlds are invented, with spreads from Chapter 24 (0.040 IPL, 0.119 men's FM T20Is, 0.191 women's), and it makes no claim about a real team.
  • Running the code. Run from the chapter directory with PYTHONIOENCODING=utf-8 on Windows. Script 03 takes about 90 seconds, the rest under 20. Scripts overwrite CSVs and figures, so edit live on a copy.

Pacing

50-minute session. - 0–6: The hook. Ask who knocked Australia out. Reveal the Pallekele washout. - 6–14: The toy event (§28.1) with guesses first, then the three-building-blocks idea. - 14–24: §28.2–28.3: freezing the eve; the IPL 2026 table; "three joint favourites at about 15%"; Monte Carlo error. - 24–34: §28.4–28.5: the rebuilt World Cup, tiered Elo, Afghanistan's sensitivity table; Punjab Kings' 96% and the Kavya–Nusrat exchange. - 34–44: §28.6: the oracle table and "The IPL is a lottery" Try it. - 44–50: §28.7: 26 tournaments, the IPL v internationals contrast; exit ticket.

75-minute session. As above, plus the live coding demo (15 minutes) after §28.3 and the in-class activity after §28.4. Lab time: 40–60 minutes for the five scripts, case studies and checkpoint.

Lecture outline

  1. Pallekele, 17 February 2026: a washout as a forecasting event.
  2. A tournament is a chain: Monte Carlo simulation, the toy event, random tie-breaks.
  3. Freezing the eve: four leakage routes; the pooled model (an IPL-only fit gives Elo a negative weight).
  4. IPL 2026: Elo range 37 points, average fixture favourite 56%; RCB/GT/MI at about 15%; expected v real points correlation 0.058.
  5. A simulated season: 16 points is the usual cut; 4th and 5th level in 53.3%; champion from the top two 75.1%.
  6. Monte Carlo error: SD 0.0390 at 100 sims, 0.0029 at 10,000.
  7. Rebuilding an ICC event: connected components, 46 of 52 numbered matches, the qualifier-slot rule.
  8. Tiered Elo: one-tier Nepal 1,634 above South Africa 1,584; associates' combined title chance 15.9% v 0.3%.
  9. Updating by conditioning: PBKS 96.0% then six straight defeats; India 53.0% → 36.8% → 74.9%.
  10. The oracle: 19.3% / 38.7% / 52.6%; 288 games for the best IPL team to top the table half the time.
  11. Twenty-six tournaments: Brier skill +0.037 / +0.424 / +0.389; IPL champions ranked 6, 8, 9, 10 in 2022–25.
  12. What the simulator cannot see (§28.8).

Live coding demo

Script 1: code/project_checkpoint.py (about 5 seconds).

  1. Run it unchanged. Expected first line: P(top the group) = [0.473 0.284 0.161 0.082] | P(title) = [0.511 0.285 0.143 0.06 ]. Then IPL 2026 pure Elo (RCB 0.154, GT 0.138, KKR 0.108) and the World Cup (India 0.465; from the Super 8 start 0.530).
  2. Live change: in the toy matrix P, set team 0's win chance against team 1 to 0.5 (and team 1's against team 0 to 0.5). Ask students to predict whether team 0's title chance falls more or less than its chance of topping the group. Don't promise numbers; let the output answer.

Script 2: code/02_t20wc_2026_preseason.py (about 4 seconds).

  1. Run unchanged. Expected: the tuning table (1,500 → 0.6565; 1,100 → 0.6091), India 0.461, Australia 0.159, P(out in the first round) 0.114, Zimbabwe v Australia 0.173, and the Afghanistan sensitivity table (India's title 0.463 at 1,300, 0.386 at 1,700).
  2. Live change: set N_SIMS to 100 and run twice with different SEED values. Students watch India's title probability jump by several points between runs. Connect it to §28.3's 100-simulation SD of 0.039 and restore 20,000.

Optional: code/04_variance_lesson.py (about 8 seconds; expected 0.193 / 0.387 / 0.526). Add a SPREADS entry at 0.080, Chapter 24's PSL spread, and have the class predict the title share first (previews M1 and E3).

In-class activity — "Play the Super 8 by hand"

Groups of three take the eve-of-event tiered ratings for the real Super 8 group of India (1,717, +25 as host), South Africa (1,492), West Indies (1,428) and Zimbabwe (1,351). (a) Compute the six match probabilities with the chapter's Elo formula. From these ratings: India beat South Africa 0.808, West Indies 0.859, Zimbabwe 0.905; South Africa beat West Indies 0.591, Zimbabwe 0.692; West Indies beat Zimbabwe 0.609. (b) Play the group ten times with a phone's random-number generator, breaking ties on points at random, and record who finishes top and second. (c) Pool the class's results, estimate India's chance of topping the group, and compute its Monte Carlo error from the pooled count. (d) Reveal what happened: South Africa won the group unbeaten and India finished second, after losing to South Africa by 76 runs. Ask each group how surprised to be, in numbers, and note that by the Super 8 the real ratings had moved.

Answers and teaching notes for key exercises

  • B1. Neutral 0.641; India at home 0.674; England ≈ 0.33. Note that the script for the real semi-final uses ratings updated through the tournament.
  • B2. SE ≈ 0.0037; about 134,000 simulations for SE below 0.001. Rarely worth it, because model uncertainty (about 6 points for India under a 0.5 log-odds uncertainty) dwarfs it.
  • B5. P(at most one win from seven at 50%) = 8/128 = 0.0625, against the model's 0.040. They differ because 15 points sometimes qualifies and PBKS's match probabilities were not all 50%. Use this to show that 96% was roughly "two wins from seven coin flips".
  • B6. No titles in five best-team seasons: 0.807⁵ ≈ 0.342; at least two: ≈ 0.249. This is the franchise owner's reply in D4, in numbers.
  • B8. The tiering fix (0.0474) is about 130% of the one-tier model's whole gain over a coin (0.0366). The one-tier model was wasting more than half the skill available on cross-tier matches.

Assessment ideas

  • Timed write: quiz question 20 (the semi-final morning graphic; India 50.5%, New Zealand 15.1% → 30.4%).
  • Short essay: the §28.6 "IPL is a lottery" verdict in two sentences, plus what would make it literally true.
  • Code task: Exercise C2 (a top-four tracker with first crossings of 90% and 10%) or C6 (does Qualifier 1 matter?). Grade on the table and on whether the student flags that PBKS crossed 90% and fell back.
  • Portfolio piece: one national team's rating history (tiered_elo) and funnel for a past event, with a range wherever a rating is a guess.

Format, gender and region diversity notes

  • Case Study 1 is a women's case and should be taught, not assigned as an extra. Australia were favourites at 49–60% in every edition from 2018 to 2026 and won four of them. In 2024 New Zealand won from 0.6% (log score −5.150), after winning 3 of their 18 decided T20Is in the previous year. Women's knockout Brier skill was +0.389, and in the oracle the best team wins 52.6% of titles, against 19.3% in the IPL. The women's associate start tuned to 900, against 1,100 for men.
  • The 2026 field included nine associates, from Nepal to Italy; the tiered Elo treats them fairly rather than flatteringly. Zimbabwe's run (a 29.0% Super 8 chance, then a win over Australia priced at 17.3%) deserves telling from Harare's point of view.
  • Afghanistan's absence is a data policy, not a judgement on Afghan cricket. Teach the sensitivity table and Exercise E1 as the honest response.
  • Format transfer: D1 (World Test Championship: win 12, tie 6, draw 4, loss 0, ranked by percentage of points) and D5 (the ODI World Cup) stop students assuming that every tournament behaves like a T20 one.

Connections