Case Study 1 — 287 for 3: Reading the IPL's Highest Total Through Two Eras' Tables

Setup

On 15 April 2024, at the M Chinnaswamy Stadium in Bengaluru, Sunrisers Hyderabad batted first against Royal Challengers Bengaluru and made 287 for 3 — the highest first-innings total in the IPL data in the book's snapshot. Bengaluru replied with 262 for 7 and lost by 25 runs. Travis Head was player of the match.

When a side makes a total nobody has made before, two questions follow. The fan's question is how: who scored the runs, off whom, and when. The analyst's question is how surprising: given the state of the innings at each moment, how far outside the expected range was this going? The second question needs a model of what was expected — and the answer depends heavily on which era's model you use. This case study reads the innings through the chapter's tools: an Expected Runs table for each IPL era, a Markov chain fitted only on innings played before this match, and Expected Runs Added for both sides.

The data

The script code/case_study_01.py loads every men's T20 first innings in the snapshot, fits the hybrid Expected Runs table on the twelve-competition pool, and rescales it to each IPL era's level (the shape-from-pool approach of §19.5 and §19.7). It then fits a separate Markov chain on IPL first innings from the 2023 season up to the day before this match, with an innings-level tilt chosen to match the spread of those innings' totals:

2024-04-15 M Chinnaswamy Stadium, Bengaluru: Sunrisers Hyderabad v Royal Challengers Bengaluru; winner Sunrisers Hyderabad by 25.0 runs; player of the match TM Head
  innings 1: Sunrisers Hyderabad 287/3
  innings 2: Royal Challengers Bengaluru 262/7

IPL complete first innings before this match: 1018; of them 287+: 0; highest 277
  pre-2023 table: par 163.4
  2023+ table: par 190.3

Chain fitted on 100 earlier IPL 2023-24 first innings; tilt sd 0.05

Before this match, the data held 1,018 complete IPL first innings. None had reached 287. The highest, 277, had come less than three weeks earlier, on 27 March 2024 — a sign in itself that the scoring environment had moved.

Analysis

How far ahead of each table?

Here is the innings at four checkpoints, with the total projected by each era's table (score so far plus expected runs to come), and the Markov chain's simulated distribution of finishing totals from that state:

 after_overs score  proj_new_table  proj_old_table  sim_median  sim_p90  P(287+) %
           0   0/0          190.26          163.36       185.0    226.0       0.16
           6  76/0          225.89          204.70       215.0    245.0       0.19
          10 128/1          242.24          226.09       233.0    258.0       0.38
          15 205/2          269.67          260.53       263.0    280.0       3.51

Read the columns left to right. Before a ball was bowled, a side in this era's IPL was expected to make about 190 — or 163 on the pre-2023 table. The chain, which simulates whole innings from per-ball probabilities, put the chance of 287 or more at 0.16%: about one innings in 600.

After a powerplay of 76 without loss, the new-era table projected 226 and the old one 205. The chance of 287 had barely moved (0.19%): a brilliant start makes 220 likely, not 290. At halfway, 128 for 1, the projection was 242 and the chance 0.38%. Even at 205 for 2 after fifteen overs — 82 runs needed off the last thirty balls to reach 287 — the chain gave it only a 3.51% chance, and its 90th-percentile finish was 280.

So the innings never stopped being surprising. Figure CS1.1 shows the projected total after every ball under both tables.

Line chart of Sunrisers Hyderabad's projected total, ball by ball, under the IPL 2023-26 table (solid) and the pre-2023 table (dashed), rising from about 190 and 163 at the start to 287 at the end, with wickets marked.

📊 Figure (described): The projected total (score so far plus expected runs to come) after every legal ball of Hyderabad's innings. The solid line uses the IPL 2023–26 table and starts at about 190; the dashed line uses the pre-2023 table and starts at about 163. Both lines climb almost continuously; red crosses mark the three wickets, each of which knocks the projection down by a few runs. The two lines converge in the last overs, where the eras' tables differ least, and meet the final 287 only on the last ball — at no point did either table "expect" the total that was made.

The gap between the two lines is itself a lesson. At the start, the eras disagree by 27 runs; at halfway, by 16; at fifteen overs, by 9. That is the expected pattern: the old and new tables differ by a roughly constant proportion (§19.5), so in runs they differ most when the most innings is left.

Where the runs above expectation came from

Every delivery's run value is its runs plus the change in expected runs. Summed over the innings, the values equal the total minus par — here +96.7 runs (287 − 190.3) on the new-era table. Here is how that surplus built up, over by over:

Over by over (value = runs above what the state expected):
over          1           2         3           4            5           6         7                  8           9            10          11                 12           13         14                 15          16           17          18          19                 20
runs           7          20         4           7           18          20        21                 11          11            9          14                 16           13         18                 16          12           14          10          25                 21
wkts           0           0         0           0            0           0         0                  0           1            0           0                  0            1          0                  0           0            1           0           0                  0
value        1.2        14.4      -2.4         0.0         10.3        12.1      13.7                3.7        -2.5          1.4         5.7                7.2          0.1        8.6                5.8         1.2          0.9        -2.1        11.5                5.8
bowler  WG Jacks  RJW Topley  WG Jacks  Yash Dayal  LH Ferguson  Yash Dayal  WG Jacks  Vijaykumar Vyshak  RJW Topley  LH Ferguson  Yash Dayal  Vijaykumar Vyshak  LH Ferguson  MK Lomror  Vijaykumar Vyshak  RJW Topley  LH Ferguson  Yash Dayal  RJW Topley  Vijaykumar Vyshak

Four overs did most of the damage: the 2nd (20 runs, +14.4), the 5th to 7th (18, 20 and 21 runs, worth +10.3, +12.1 and +13.7) and the 19th (25 runs, +11.5). Notice that the 20th over cost 21 runs but was worth only +5.8: in the last over the state already "expected" about 15 runs from a side with seven wickets in hand, so 21 is good but not extraordinary. The 2nd over's 20 runs were worth far more (+14.4), because the expected runs for a single early over are only about six.

Notice too what a wicket costs at different points. The 9th over (11 runs, one wicket) was worth −2.5; the 17th (14 runs, one wicket) +0.9. Losing a wicket in the 17th over with only two down barely dented the expectation — the table charges about two runs for that wicket — so 14 runs more than covered it.

Who added it, and who paid

SRH batters (xRA, raw: the sum of their balls' values minus extras):
           name  balls  runs  outs  strike_rate   xra
        TM Head     41   102     1       248.78 47.45
    Abdul Samad     10    37     0       370.00 13.72
      H Klaasen     31    67     1       216.13 16.86
     AK Markram     17    32     0       188.24  0.53
Abhishek Sharma     22    34     1       154.55  3.17
RCB bowlers (runs saved; negative = cost):
             name  balls  runs  wickets  economy    xra
      LH Ferguson     24    52        2    13.00 -10.67
       Yash Dayal     24    51        0    12.75 -15.78
         WG Jacks     18    32        0    10.67 -12.54
Vijaykumar Vyshak     24    64        0    16.00 -22.57
        MK Lomror      6    18        0    18.00  -8.63
       RJW Topley     24    68        1    17.00 -24.55

Travis Head's 102 off 41 added +47.5 runs above what his states expected — half of the side's surplus from one innings. Heinrich Klaasen's 67 off 31 added +16.9, and Abdul Samad's 37 off 10 +13.7 in ten balls. Aiden Markram's 32 not out off 17, a strike rate of 188, added almost nothing (+0.5): he batted at the death, where a strike rate near 190 is roughly what the state expects of a side with wickets in hand. Abhishek Sharma's 34 off 22 at the top of the innings (+3.2) was a positive start, partly offset by the price of his dismissal.

Every Bengaluru bowler cost runs against expectation. Reece Topley (68 off four overs) and Vijaykumar Vyshak (64) were charged the most, around −23 to −25 each. Lockie Ferguson conceded 52 but took two wickets, and xRA credits those wickets at the state's price, leaving him the least costly of the four-over bowlers (−10.7). Will Jacks went for only 10.67 an over, the best economy in the attack, but bowled in the powerplay, where the state expects far fewer runs, so his 32 still cost −12.5.

What it means (and doesn't)

It means that the chapter's tools can say how surprising an innings was while it happened, not just after. On the information available on the morning of the match — every IPL first innings before it — 287 was roughly a one-in-600 outcome from the first ball and still under 4% with five overs left. The innings was genuinely extreme even for the new era.

It means that the era matters for every number. On the old table, Hyderabad's surplus over par would be 123.6 runs (287 − 163.4) instead of 96.7; every batter's xRA would be inflated, every bowler's made worse. Judging a 2024 innings against 2008–22 expectations confuses "good" with "modern".

It doesn't mean that the chain's 0.16% was the "true" probability. The chain knows the state, a scoring tilt, and the IPL's recent history. It does not know that this was a small ground with a fast outfield, that Hyderabad's top order was in the form of its life, or that the bowling attack had struggled all season. A model that knew the venue (Chapter 22) and the teams (Chapter 24) would have rated 287 more plausible — still unlikely, but less so.

It doesn't mean that the bowlers were as bad as their xRA. On a day when the scoring environment is several standard deviations above the league's, every bowler will look expensive against a league table. That is the same lesson as the associate-nations pitfall in §19.8: the table measures against the average context, and this was not an average context.

Discussion questions

  1. The chain gave 287+ a 0.16% chance before the match. How would you check, on many innings rather than one, whether the chain's small probabilities are well calibrated?
  2. Head's xRA (+47.5) is about four times Markram's (+0.5), though their strike rates differ by "only" 60 points. Explain, using the idea of a state's expected runs, why the timing of their innings matters so much.
  3. Ferguson took two wickets and conceded 52; Dayal took none and conceded 51. How much of the 5-run gap in their xRA is "the wickets", and how could you estimate that from the table?
  4. Would you use the IPL 2023–26 table or the pre-2023 table to judge the bowlers in this match? Make the case for each.
  5. Bengaluru replied with 262 for 7. Why is it wrong to compute xRA for the chase with the same table, and what would you use instead?

Your turn

Find the second-highest IPL first-innings total in the data: build the states with innings_states, keep complete innings, drop duplicates by match_id and sort by final_total. Rerun the analysis for that match: projections under both eras' tables at 0, 6, 10 and 15 overs; the chain's P(reaching that total) at each checkpoint, fitted only on earlier innings; and the xRA table for both sides. Was it more or less surprising, as it happened, than 287?