Nusrat Jahan had been building Crease for thirty-seven chapters when she asked the question she'd been circling all year: could this be a job?
In This Chapter
- The question on the whiteboard
- 38.1 What a cricket analyst actually does
- 38.2 Where the work is: a field measured in matches
- 38.3 The skills: what the job needs, mapped to this book
- 38.4 Portfolio piece one: the one-page scouting report
- 38.5 Portfolio piece two: the interview case, answered with code
- 38.6 How interviews test you, and how to prepare
- 38.7 From Crease to a portfolio
- 38.8 Pay, contracts and the economics of a small field
- 38.9 Routes in: franchise, media, betting, technology, freelance, and the women's game
- 38.10 Conduct: data, integrity and honesty
- Spaced Review
- Project Checkpoint: PORTFOLIO.md
- Chapter Summary
- What's Next
Chapter 38 — Building a Cricket Analytics Career: Franchise Analyst, Media, Betting, Technology, and the Emerging Field
The question on the whiteboard
Nusrat Jahan had been building Crease for thirty-seven chapters when she asked the question she'd been circling all year: could this be a job?
So we ran a mock interview. Wendell Baptiste dialled in from Port of Spain to play the head coach. I played the analyst running the panel. Kavya Subramanian, who has sat on the hiring side of a media desk, played the person who decides. We gave Nusrat one question, the kind panels really do ask, and four minutes.
"One of our batters," Wendell said, reading from the card, "had a strike rate of 147.7 in IPL 2025 and 135.1 in IPL 2026. I think he's lost it. Retention deadline is Friday. Tell me I'm wrong."
The batter was Ajinkya Rahane. Nusrat had the book's data on her laptop and she went straight at it.
"His strike rate fell 12.6 points. That's a big drop. He's been in the IPL since 2008. Probably he's declining and you should let him go."
Wendell nodded slowly, the way coaches do when they've heard what they wanted to hear. Kavya wrote something down. I asked Nusrat to try again, and this time to answer three questions before giving a verdict. Was the drop bigger than the noise? Did the league around him change? Did his job change?
Second attempt, eleven minutes later, with code:
His IPL seasons (SR+ with 90% innings-bootstrap interval):
balls runs sr par_sr sr_plus lo90 hi90
year
2023 189 326 172.5 136.8 126.1 105.3 143.7
2024 196 242 123.5 145.3 85.0 73.6 93.1
2025 264 390 147.7 147.8 100.0 91.8 108.0
2026 248 335 135.1 155.1 87.1 74.8 96.4
Change 2025 -> 2026: -12.9 SR+ points (90% bootstrap -27.7 to -0.4); P(change < 0) = 0.956
"The league got faster around him," Nusrat said. "Par for the phases he batted in rose from 147.8 to 155.1 between the two seasons. Adjusted for that, it's still a fall: from exactly par, 100.0, to 87.1. It's probably a real fall. The interval stops just short of zero. But look at 2023 and 2024. He went from 126 to 85 in one year, then back to 100. One IPL season for one batter is 200 to 260 balls, and that is not much evidence. Across the league, when a batter's SR+ falls by fifteen points or more, it comes back by about ten points the next year on average. My central guess for 2027 is SR+ 98, somewhere between 80 and 116."
"And his job?" I asked.
"It changed. In 2025 about half his balls came in the powerplay and he went at 124 there. In 2026 nearly two-thirds came in the powerplay and he went at 81. All of the fall is in the powerplay. So the question for the coach is whether you want him opening."
Wendell was quiet for a moment. "That," he said, "is the first time a spreadsheet has asked me a better question than I asked it."
Kavya circled the second answer. "First answer, we'd thank her and move on. Second answer, we'd hire her. The cricket knowledge was the same both times. The difference was what she did with the uncertainty, and that she ended with a question the coach can actually act on."
That gap between the two answers is what this chapter is about. You've spent thirty-seven chapters learning to measure cricket honestly. This chapter is about turning that into work someone will pay for: which jobs exist and who offers them, what the work actually involves, how to prove you can do it, how interviews test it, and what the pay looks like (to the extent anyone can honestly say). We're careful throughout. The cricket analytics field is small, and it's full of confident claims about salaries, hiring and "how to break in" that nobody can check. Where we can show you real evidence (a published job advert, a public tender, the volume of cricket in the data), we do. Where we can't, we say so and show you how to find out.
The chapter also has code, and the code is the point. Two scripts produce portfolio pieces: a one-page scouting report, run on two very different real batters, and the interview case above, answered properly. A checkpoint script audits the Crease package you've built, and the chapter's project deliverable is project/PORTFOLIO.md, a template that turns Crease into something a hiring manager will read.
🏏 Fan Track: Read the hook, §38.1 (what analysts actually do), §38.2 (where the work is), §38.8 (pay, honestly) and §38.9 (routes in). The scouting report figures in §38.4 are worth a look even if you skip the code. They show what a franchise analyst's one-pager looks like.
📊 Analyst Track: Everything, and §38.4–§38.7 twice. Run both scripts, then rebuild the scouting report for a player you care about and the interview case for a bowler. Fill in
project/PORTFOLIO.mdbefore you move on to Chapter 39.🧑💼 Franchise Track: §38.1, §38.4, §38.5 and §38.6 show what a good analyst hire produces and how to test for it in an interview. §38.10 covers the conduct standards you should expect from anyone who handles your data.
38.1 What a cricket analyst actually does
Start with a cricket question: on a match day, what is the analyst for?
The romantic answer is "finding the edge": the matchup no one else saw, the auction steal, the declaration the numbers called before the captain did. Every one of those is real, and this book has built tools for all of them. The everyday answer is more ordinary, and you need to know it before you apply for anything. Most cricket analysis jobs, especially inside teams, are performance analysis jobs. A large share of the work is capturing and coding video and data, preparing opposition material, supporting coaches during the game, and reviewing afterwards. The statistical modelling this book teaches is usually a part of the job, not the whole of it.
We don't have to guess at that. Teams publish job descriptions. Durham Cricket's employment pack for a Lead Performance Analyst (applications closed 31 January 2025) lists thirteen duties. Among them: managing the analysis department and its interns; "Provide Live Analysis: Deliver real-time insights during matches"; preparing "pre-match opposition analysis for all 1st XI fixtures"; post-match reviews; maintaining performance databases "to support opposition analysis and player recruitment"; tactical analysis across first-class, List A and T20 cricket; recording and evaluating training sessions; recruitment analysis; supporting sports science with filming; and maintaining equipment. Under the essential criteria it names expertise in PCS Pro, a cricket video-and-data capture system. Python, R, Tableau and Power BI appear under desirable.
Glamorgan's advert for a Performance Analyst across its women's and academy programmes (published in 2026) reads similarly: live in-match analysis, opposition analysis and post-match reviews, maintaining performance databases "to support both opposition scouting and recruitment processes", coding home matches, managing interns, supporting the club's live-streaming service, and keeping up with "emerging innovations in performance analysis".
Read those two lists side by side and four kinds of work stand out. They are the core of the team-side job everywhere:
- Before the match: opposition and planning. Who are their dangerous batters, and how do they get out? Which of our bowlers should take which phase? This book's tools for it: matchup analysis (Chapter 11), phase profiles (Chapter 8, Chapter 14), bowling plans (Chapter 31).
- During the match: live support. Capturing and coding every ball, and feeding the dugout what it asks for, quickly. "What does he do against left-arm spin in the middle overs?" has to be answered in the time it takes to bowl an over.
- After the match: review. What happened, what we planned, what we'd change. This is where honest measurement matters most, because the dressing room wants a story and the analyst's job is to stop the story outrunning the evidence.
- Across the season: recruitment and development. Which players to sign, retain or develop, and with what evidence. This is the auction work of Chapter 13 and Chapter 34 and the projection work of Chapter 25.
Outside teams, the same skills are used for different ends:
- Media and broadcast analysts turn data into stories and graphics on a deadline: the match-night piece, the graphic that shows why a chase turned, the explainer before a final. Chapter 37 is that job, and Kavya's world.
- Betting and trading analysts at licensed bookmakers and data suppliers price matches before and during play. Probability, calibration and speed matter more there than anything else. Chapter 35 is that job, and Tom Ashworth's former world.
- Data and technology roles build the systems underneath: ball-tracking and video pipelines, data feeds, apps, models served to broadcasters and teams. These are software jobs first and cricket jobs second.
- Boards, leagues and governing bodies need analysis of competitions themselves: scheduling, playing conditions, scoring trends, the effect of a rule like the Impact Player, pathway and talent identification, and the growth of the women's game.
- Academic research asks the long questions: how DLS should work, how to model a Test pitch, what "pressure" means in data. Chapter 23's critique of resource tables is the kind of question that ends up in journal papers.
📐 Definition — the four analyst job families. In this chapter, a performance analyst works inside a team or programme on preparation, live support, review and recruitment; a data journalist / media analyst turns analysis into published stories and graphics; a trader or quantitative analyst prices outcomes for a licensed betting operator or data supplier; a sports data scientist / engineer builds models, pipelines and products for a club, league, broadcaster or technology company. Real job titles mix these freely: read the duties, not the title.
⚠️ Common pitfall: applying for a "performance analyst" role with a portfolio that's all models. Many team roles are video-and-coding-heavy, and the published duties say so (both the Durham and Glamorgan adverts put live coding and footage capture near the top). A portfolio that shows you can also do the unglamorous work (a clean opposition one-pager, a post-match review that a coach can read in two minutes) will beat one with a fourth gradient-boosting model. Read the person specification line by line and make sure something in your portfolio answers each essential criterion.
🔄 Check your understanding 1. Name the four kinds of match-cycle work that appear in both the Durham and Glamorgan job descriptions. 2. In the Durham pack, is Python listed as essential or desirable? What does that tell you about where the job's centre of gravity is? 3. Which job family values calibration and speed of pricing above everything else?
Answer
- Pre-match opposition analysis; live in-match analysis (including coding); post-match review; and maintaining databases that support opposition scouting and recruitment.
- Desirable (alongside R, Tableau and Power BI). The essential criteria centre on performance-analysis experience in elite sport and expertise with a capture system (PCS Pro). The job's core is match-cycle support. Statistical programming is an advantage, not the entry ticket. That can change from employer to employer, which is why you read every advert.
- Trading/quantitative roles at licensed betting operators and data suppliers.
38.2 Where the work is: a field measured in matches
Start with a cricket question: is cricket analytics a growing field, or does it just feel like one?
Nobody publishes a count of cricket analytics jobs, and you should be suspicious of anyone who quotes one. What we can count is the raw material: professional matches that someone (a team, a broadcaster, a bookmaker, a data company) wants analysed. Every match in the book's data snapshot is a match Cricsheet recorded ball by ball. That isn't the same as all the cricket played, and it's certainly not the same as jobs. But it does track the thing jobs depend on, which is how much top-level cricket there is to analyse. Here's the count by calendar year:
def all_matches() -> pd.DataFrame:
"""Every match in the 19 book competitions (The Hundred included), with a `group` label."""
frames = []
for code in MEN_INTL + MEN_LEAGUES + WOMEN + ["hnd"]:
g = load_matches(code)[["match_id", "competition", "gender", "start_date"]].copy()
frames.append(g)
m = pd.concat(frames, ignore_index=True)
m["year"] = m["start_date"].dt.year
m["group"] = "Men's internationals"
m.loc[m["competition"].isin(MEN_LEAGUES), "group"] = "Men's T20 leagues"
m.loc[(m["competition"] == "hnd") & (m["gender"] == "male"), "group"] = "Men's T20 leagues"
m.loc[m["gender"] == "female", "group"] = "Women's cricket (all)"
return m
Full script: code/03_field_landscape.py.
matches: 16,946 across 19 competitions (2001-2026)
2015 vs 2020 vs 2025 (last complete calendar year in the snapshot):
Men's T20 leagues Men's internationals Women's cricket (all) women_share_% men's leagues active
year
2015 280 215 35 6.6 5.0
2020 320 138 109 19.2 7.0
2025 535 679 607 33.3 10.0

📊 Figure (described): Three lines show matches per calendar year in the book's data snapshot from 2005 to 2025: men's internationals (solid blue), men's T20 leagues (dashed orange) and all women's cricket (dotted green), with grey bars for the number of men's T20 leagues active each year. Men's internationals are flat at about 200 a year until 2018, then jump to 600–750 from 2022. Men's league matches climb from zero before 2008 to about 500 a year in the 2020s. Women's cricket rises from a handful a year before 2012 to 607 in 2025, a third of all matches recorded that year. The takeaway: there is several times more professional cricket to analyse than a decade ago, and the women's game has grown fastest.
Three things in that chart matter for a career.
The volume has multiplied. In 2015 the snapshot holds 530 matches across the three groups. In 2025 it holds 1,821. Some of the jump in men's internationals reflects the ICC's 2018 decision to give T20I status to all its members, which put a great many associate-nation matches into the international record. Some of it is new leagues. The first-year table in the script output shows the men's franchise calendar filling up: IPL from 2008, BBL 2011, BPL 2012, CPL 2013, PSL 2016, LPL 2020, The Hundred 2021, and ILT20, SA20 and Major League Cricket all from 2023. Ten men's T20 leagues were active in 2025 in the snapshot (twelve in 2023 and 2024), against five in 2015. Every one of those leagues has teams, and every team has to prepare for opponents.
The women's game is now a third of the record. Women's matches made up 6.6% of the snapshot's matches in 2015 and 33.3% in 2025. Women's T20Is alone went from 36 matches in 2016 to 415 in 2025, and the WPL (from 2023) and The Hundred's women's competition (from 2021) added professional franchise cricket. As the Glamorgan advert shows, analysis jobs now exist specifically for women's programmes. We come back to this in §38.9.
Matches are not jobs. A league with eight teams doesn't create eight full-time analyst posts. Some teams staff a department, some hire a single analyst per season, some buy services from a provider, and some lean on their national board's support. Even national-team analysis can be bought in rather than staffed. In March 2026 the BCCI publicly invited proposals from "reputed entities" for "the provision of Performance Analysis Services for the National Teams", through a formal tender with financial and technical eligibility criteria (including at least five years' experience in areas such as real-time match analysis, video analysis, data collection and statistical modelling). That tender is a useful reminder that there are two sides to this market. Some analysts work directly for teams. Others work for companies that sell analysis to teams, boards and broadcasters.
🧩 Productive struggle: Before reading on, take the 2025 row above and estimate how many analyst-days of match-cycle work it implies. Assume every match needs pre-match preparation, live coding and a post-match review for each of the two teams, and that a competent analyst can cover one team's match cycle in one and a half working days. What does your estimate tell you, and what does it hide?
One way to think about it
1,821 matches × 2 teams × 1.5 days ≈ 5,460 analyst-days, or about 25 full-time people at roughly 220 working days a year. That figure is almost certainly far too low, because it leaves out recruitment work, development work for academy and pathway sides (not in Cricsheet at all), domestic first-class and List A cricket outside our competitions, media and betting coverage of the same matches, and the off-season. And it's too high for teams that share providers. The real lesson is that a Fermi estimate tells you where the work comes from (matches, teams, levels of the pathway), not how many vacancies there are. Treat any confident headcount for "cricket analytics jobs" with the same scepticism you'd give a 40-ball strike rate.
🔄 Check your understanding 1. Why is "matches recorded per year" a reasonable proxy for demand for cricket analysis, and why is it not a count of jobs? 2. What share of the snapshot's 2025 matches were women's matches, and what was it in 2015? 3. What did the BCCI's March 2026 tender invite?
Answer
- Every professional match is something teams, broadcasters and bookmakers want analysed, so more matches means more analysis work. But jobs depend on how organisations staff that work: in-house, shared, outsourced or not at all. And Cricsheet doesn't record pathway, academy or most domestic multi-day cricket.
- 33.3% in 2025; 6.6% in 2015.
- Proposals from entities to provide performance analysis services for India's national teams, through an RFP with eligibility criteria.
38.3 The skills: what the job needs, mapped to this book
Start with a cricket question: what separates the analyst a coach trusts from the one the coach ignores?
Wendell has an answer, and it's not statistics. "I've had analysts who knew everything about regression and nothing about why you bowl a bouncer to a new batter. I stopped listening after a week. I've had analysts who knew the game and couldn't tell me how sure they were. Those were worse, because I believed them."
The hiring panels we can see, through published adverts and the way interviews are structured, test four things. None of them alone is enough.
1. Cricket knowledge. Not trivia. It's the ability to turn a coach's question into a data question and back again. "Does he struggle against the short ball?" can't be answered from Cricsheet, which records no line or length (as we've said since Chapter 2). A good analyst says so at once, then offers what the data can answer: dismissal modes by bowler type, scoring rate against pace in the first ten balls, and the video clips to check. Knowing what the data can't see is cricket knowledge.
2. Statistical judgement. Thirty-seven chapters of this book have come back to the same few ideas: compare with par (Chapter 4, Chapter 8), respect small samples and shrink (Chapter 6, Chapter 11), measure value in win probability (Chapter 9, Chapter 20), check calibration (Chapter 24), and never conflate formats (Chapter 5). An interview case is almost always one of these ideas in disguise. Nusrat's first answer to Wendell failed because it skipped the second idea.
3. Tools. Python or R, SQL, a charting library, version control, and whatever capture and video system the employer uses. The Durham pack names PCS Pro as essential and Python, R, Tableau and Power BI as desirable. A media desk will care more about charts and speed, a trading desk about probability and code that runs live, a technology company about software engineering. You can learn a capture system on the job much faster than you can learn judgement, but you do need to show willingness, and if you can get access to one as a volunteer or intern, take it.
4. Communication. The analyst's product is a decision someone else makes. A recommendation needs to fit on a page, lead with the answer, give the uncertainty in words a coach uses ("probably", "can't tell yet", "only if he opens"), and end with what would change your mind. Kavya's verdict on Nusrat's second answer was about communication as much as statistics: the final sentence handed the coach a decision he could make.
Here's how the book's chapters line up against the work a typical job description asks for:
| The work | What a panel will ask | Where this book taught it |
|---|---|---|
| Opposition analysis | "How do we bowl to him?" | Ch 8 phase profiles · Ch 11 matchups · Ch 14 bowling · Ch 18 spin v pace · Ch 31 bowling plans |
| Live support | "What's par from here? Who bowls the 18th?" | Ch 9 & 20 win probability · Ch 19 expected runs · Ch 27 in-match forecasting |
| Post-match review | "Did we lose it, or did they win it?" | Ch 7 charts · Ch 9 WPA · Ch 37 storytelling |
| Recruitment | "Who's undervalued? Is this form real?" | Ch 6 shrinkage · Ch 13 & 34 auction value · Ch 25 projection · Ch 26 league translation |
| Conditions and venues | "What does this ground do?" | Ch 16 Test bowling · Ch 22 toss/venue · Ch 29 Test pitch |
| Strategy | "When do we declare? Who bats four?" | Ch 21 composition · Ch 30 batting order · Ch 33 declarations |
| Pricing | "What's the true probability?" | Ch 23 DLS · Ch 24 match models · Ch 28 tournament simulation · Ch 35 betting |
🔍 Why this works: panels test judgement with small, messy cricket questions rather than big modelling tasks for a reason. In a forty-minute interview, the only way to see how you'll behave on a Tuesday in August is to give you a Tuesday-in-August problem: one player, two seasons, a coach with an opinion. Big models take weeks and mostly test persistence. Small cases test whether you check the denominator, compare with par, size the noise, and finish with a decision. Those four habits predict most of what goes right or wrong in the real job, which is why this chapter's code is two small cases done carefully and not one big model.
⚠️ Common pitfall: treating "cricket knowledge" as memorised statistics. An interviewer who asks "what was X's average in 2019?" is rare. One who asks "a left-hander is struggling against off-spin in the powerplay: what do you check first?" is common. The right answer starts with the sample size and the comparison group (what do all left-handers do against off-spin in the powerplay? Chapter 11 found that left-handers as a group score at 116.0 against off-spin in men's T20, an index of 87.9 against their overall rate), not with a number from memory.
🔄 Check your understanding 1. Give an example of a coach's question that Cricsheet can't answer, and what you'd offer instead. 2. Which four habits does a good interview case test?
Answer
- "Does he struggle against the short ball?" Cricsheet has no length. Offer dismissal modes and scoring rate against pace (overall and early in the innings), with sample sizes, and flag that the answer needs video or ball-tracking data.
- Checking the denominator (sample size), comparing with par, sizing the noise (intervals or shrinkage), and finishing with a decision the questioner can act on.
38.4 Portfolio piece one: the one-page scouting report
Start with a cricket question: a franchise has two days before an auction and asks you about one player. What do you hand them?
You hand them one page. Not a notebook, not a dashboard, not fifteen charts. The person reading it has twenty players to get through. They need to know in thirty seconds what the player is, how good, how sure you are, and what the data can't tell them. That's the most commonly requested piece of work in team analytics, and it's the first thing to put in a portfolio, because it shows almost everything at once: cricket knowledge, the right metrics, honest uncertainty, a clear layout.
Our report has a header and four panels, and every number on it comes from a Crease module you've already written:
- Header: runs, balls, innings, average, strike rate and the par strike rate for the same competitions, seasons and phases. Then SR+ with a 90% interval. SR+ is Chapter 8's season- and phase-adjusted strike rate, where 100 is par.
- Where the runs come from: SR+ by phase, with balls faced in each.
- How the player compares: percentile ranks among peers with a stated minimum sample.
- Bowler types: strike rate against the six bowler types from Chapter 11, raw and shrunk toward expectation, with the league rate for the same batting hand.
- Season by season: SR+ by competition and year, marker size proportional to balls.
📐 Definition — innings-bootstrap interval for SR+. Resample the batter's innings with replacement (here 4,000 times), recompute SR+ = 100 × Σ runs ÷ Σ par runs on each resample, and report the 5th and 95th percentiles. Resampling innings, not balls, keeps the within-innings dependence (a set batter scores faster) inside each draw, so the interval is honest about how lumpy batting is.
The code is a few dozen lines of glue around functions you already own. Here's the core:
from crease import batting as bat
from crease import matchups as mu
def by_id(b):
"""Swap the name columns for registry ids so the canonical tables count PEOPLE, not spellings."""
return b.assign(batter=b["batter_id"], non_striker=b["non_striker_id"], player_out=b["player_out_id"])
def peer_table(b, min_balls):
prof = bat.batting_profile(by_id(b), by="batter", min_balls=min_balls)
plus = bat.sr_plus(b, by="batter_id", keys=("competition", "year", "phase"))
prof = prof.join(plus[["par_sr", "sr_plus"]])
prof["balls_per_dis"] = prof["balls"] / prof["outs"].where(prof["outs"] > 0)
return prof
def innings_bootstrap(b, pid, n_boot=4000, seed=38):
par = bat.phase_par(b, keys=("competition", "year", "phase")).rename("par_rpb")
faced = b[(b["wides"] == 0) & (b["batter_id"] == pid)].join(par, on=["competition", "year", "phase"])
inn = faced.groupby(["match_id", "innings"]).agg(runs=("runs_batter", "sum"), par=("par_rpb", "sum"))
rng = np.random.default_rng(seed)
idx = rng.integers(0, len(inn), size=(n_boot, len(inn)))
r, p = inn["runs"].to_numpy()[idx].sum(1), inn["par"].to_numpy()[idx].sum(1)
return tuple(np.percentile(100 * r / p, [5, 95]))
Full script: code/01_scouting_report.py. Two details in it are worth a portfolio reviewer's attention, and you should point them out in your write-up. First, by_id swaps every name column for its Cricsheet registry id before calling the toolkit's canonical batting_summary. Names collide (the book has warned about that since Chapter 2), and grouping by batter_id alone would miscount outs and innings, because the toolkit credits outs through player_out and innings through non_striker. Second, par is computed by competition × year × phase, so a batter who played IPL and T20Is isn't flattered or penalised by the mix.
We ran the report on two very different batters.
Report 1: Vaibhav Suryavanshi, IPL 2025–26 and men's T20Is
=== Scouting report: V Suryavanshi (IPL 2025–26 + men's T20Is (full members), 2025–26) ===
role (from the data): opened in 32 of 33 innings · 2% of balls faced at the death
registry id 470f446b; peers = 86 batters with >= 300 balls in the pool
runs 1323, balls 608, outs 33, innings 33, average 40.09, SR 217.60, par SR 151.07, SR+ 144.0 (90% innings-bootstrap 131.5-155.7)
By phase:
balls runs outs strike_rate par_sr sr_plus dot_pct boundary_ball_pct
phase
powerplay 416 911 16 218.99 153.09 143.0 39.18 38.94
middle 182 383 16 210.44 145.43 144.7 27.47 31.87
death 10 29 1 290.00 169.46 171.1 30.00 50.00
Percentiles among peers:
value percentile
strike_rate 217.60 98.84
sr_plus 144.00 98.84
average 40.09 87.21
balls_per_dis 18.42 31.40
dot_pct 35.53 43.02
boundary_ball_pct 37.01 98.84
nbsr 48.83 1.16

📊 Figure (described): A one-page scouting report. The header gives 1,323 runs off 608 balls, SR 217.6 against a par of 151.1, and SR+ 144 with a 90% interval of 132–156. Panel 1 shows SR+ of 143 in the powerplay (416 balls), 145 in the middle overs (182) and 171 at the death on only 10 balls. Panel 2 shows his percentiles among 86 batters: near the top for strike rate, SR+ and boundary-ball %, around the 31st percentile for balls per dismissal, and the 1st percentile for non-boundary strike rate. Panel 3 compares his strike rates against six bowler types with the league rate for left-handers. Panel 4 shows SR+ by season and competition: IPL 2025 (139, 122 balls), IPL 2026 (152, 327 balls) and T20Is 2026 (130, 159 balls).
How would you write this up for an auction room? Something like this:
An opener who scores at 44% above par across 608 balls. The 90% interval (132–156) sits entirely above 130, so "very fast" is not a small-sample illusion. Nearly all the value is boundaries: he hits a four or six off 37% of balls (99th percentile) but scores at only 48.8 per 100 balls off everything else (1st percentile), so on days the boundaries don't come, he contributes little. He gets out every 18.4 balls (31st percentile among regular batters in this pool), which is the price of the method, and normal for an attacking opener. The data says almost nothing about him at the death (10 balls). Against every bowler type he scores above the left-handers' league rate, even against off-spin, his weakest (152 raw on 90 balls, 186 after shrinkage, against a league rate of 137), but every type is a small sample, so that panel is the weakest on the page. Recommendation: an elite powerplay option. Bid on the strength of 600 balls of evidence, not 600 balls of highlights. Review the video for how he's being bowled to by the teams who've seen him twice.
Look at what the write-up does. It leads with a number and its interval. It turns the percentile panel into a description of how he plays (boundary-or-nothing). It says what the page can't support (death overs, matchups). And it gives a decision. Notice also what it doesn't do. It doesn't mention his age (not in the data and not your business on this page), and it doesn't compare him with famous players from memory.
⚠️ Common pitfall: quoting a percentile without its peer group. "99th percentile strike rate" means nothing until you say among whom (here: 86 batters with at least 300 balls in IPL 2025–26 and full-member men's T20Is in 2025–26) and at what minimum. Change the minimum to 1,000 balls and Suryavanshi drops out of the peer group altogether. Put the peer definition on the chart, as the axis label in panel 2 does.
Report 2: Richa Ghosh, WPL, WBBL and women's T20Is, 2023–26
The same code, a different player, a different job:
=== Scouting report: RM Ghosh (WPL + WBBL + women's T20Is (full members), 2023–26) ===
role (from the data): opened in 0 of 84 innings · 49% of balls faced at the death
registry id 721e0199; peers = 61 batters with >= 600 balls in the pool
runs 1706, balls 1159, outs 59, innings 84, average 28.92, SR 147.20, par SR 128.49, SR+ 114.6 (90% innings-bootstrap 107.6-121.3)
By phase:
balls runs outs strike_rate par_sr sr_plus dot_pct boundary_ball_pct
phase
powerplay 29 22 0 75.86 112.92 67.2 65.52 13.79
middle 564 662 15 117.38 119.13 98.5 41.49 15.60
death 566 1022 44 180.57 138.62 130.3 30.74 29.15
Bowler types (batting hand Right; 97.8% of balls faced have a known bowler type; k = 268):
balls runs dis sr_raw sr_exp sr_shrunk league_sr
Right-arm pace 515.0 719.0 24.0 139.6 148.4 142.6 120.2
Left-arm pace 34.0 73.0 2.0 214.7 153.4 160.3 124.2
Off-spin 174.0 287.0 15.0 164.9 151.5 156.8 122.7
Left-arm orthodox 244.0 332.0 8.0 136.1 139.2 137.7 112.7
Leg-spin 167.0 251.0 7.0 150.3 141.2 144.7 114.4

📊 Figure (described): The same one-page layout for Richa Ghosh. The header gives 1,706 runs off 1,159 balls, SR 147.2 against a par of 128.5, and SR+ 115 (90% interval 108–121). Panel 1 shows SR+ 67 in the powerplay on 29 balls, 98 in the middle overs (564 balls) and 130 at the death (566 balls). Panel 2 puts her at the 95th percentile for strike rate and 93rd for boundary-ball % among 61 batters. Panel 3 shows strike rates against five bowler types, all well above the league rate for right-handers; against off-spin the raw 164.9 shrinks to 156.8, and against left-arm pace a raw 214.7 on only 34 balls shrinks to 160.3. Panel 4 shows SR+ by season, between about 100 and 125 in every competition-year.
This is a finisher's report, and the data says so without being told. She never opened in 84 innings, and half her balls come at the death, where she scores at 30% above par on 566 balls, a solid sample by T20 standards. In the middle overs she's at par. The innings-bootstrap interval (108–121) is clear of 100, so "above-par batter" is well supported. "Elite at the death" is the specific claim the phase panel supports.
The bowler-type panel shows why shrinkage belongs on the page. Her raw strike rate against left-arm pace is 214.7, but on only 34 balls. Shrunk toward what we'd expect from her overall level and the league's left-arm pace index (with Chapter 11's women's prior strength, k = 268 balls), it becomes 160.3. That's still her best matchup, but 54 points less exciting. Off-spin, a much bigger sample (174 balls), moves less: 164.9 raw, 156.8 shrunk. A captain reading the raw number would think left-arm pace is suicide against her. The shrunk number says it's a mistake, not a catastrophe.
Notice one honest wrinkle in the header: the pool is labelled "WPL + WBBL + women's T20Is", but she has no WBBL balls in the window. The trend panel shows it, since there are no WBBL markers. Labels should describe what the pool could contain. The panels show what it does contain. A reviewer who spots that you noticed will trust everything else more.
📋 Try it — Evaluate this player: Run
scouting_reporton Smriti Mandhana in the same women's pool (2023–26, peers ≥ 600 balls). Before you look at the output, write down which phase you expect to carry her value and whether her SR+ interval will clear 100. Then compare her page with Ghosh's: how do the two pages tell you the players have different jobs?
Worked answer
Call
scouting_report(women, "S Mandhana", "female", "WPL + WBBL + women's T20Is (full members), 2023–26", min_balls=600, out=IMAGES / "my-mandhana.png"). Look first at the role line (opening share, death share) and panel 1. An opener's value sits in the powerplay and middle overs, with few death balls. Then look at the interval in the header. Whatever you find, the comparison should be phase by phase against par, never raw strike rate against raw strike rate: Ghosh's raw 147.2 is earned mostly at the death, where par is 138.6, and an opener's raw rate is earned where par is lower. The SR+ column has already made that adjustment. Write two sentences for each player that a selector could act on.🏏 Eye test: Wendell read both reports and said the same thing twice: "Good. Now where's the video?" He's right. Neither page knows how Suryavanshi plays the short ball, whether Ghosh's keeping workload affects her batting late in a tournament, or how either of them reacts to being targeted with a plan. A franchise analyst's one-pager is the cover sheet for a set of video clips, not a substitute for them. The best portfolios show both: the page, and a note on which clips you'd pull and why ("all 16 powerplay dismissals; every ball of left-arm orthodox", "her 15 middle-overs dismissals; does she get out trying to accelerate?"). That note costs you nothing and tells a reviewer you know how the job really works.
🔄 Check your understanding 1. Why does the report resample innings rather than balls? 2. Suryavanshi's non-boundary strike rate is at the 1st percentile. Is that a weakness? 3. Why does Ghosh's off-spin strike rate fall from 164.9 to 156.8 after shrinkage?
Answer
- Balls within an innings aren't independent (a set batter scores faster, and an innings ends with a dismissal), so resampling balls would understate the uncertainty. Innings are closer to independent units.
- It's a description of his method more than a weakness: almost all of his scoring comes in boundaries. It becomes a weakness if conditions or bowling plans cut the boundaries off, because then his rotation can't carry him. That's a question for the video and for matchup analysis.
- 174 balls is a small sample for a matchup cell. Shrinkage pulls the raw rate toward what we'd expect from her overall level and the league's off-spin index, in proportion to k/(balls + k) = 268/442 ≈ 61% of the way. The remaining gap is her evidence of being genuinely better against off-spin.
38.5 Portfolio piece two: the interview case, answered with code
Start with a cricket question: when a player's numbers fall, how much of the fall should you believe?
This is the most common analytics interview question in every sport, and cricket's version is the one Wendell asked in the hook. It comes in many disguises: "our opener's strike rate dropped", "our spinner's economy went up a run", "she averaged 50 last year and 30 this year". The structure of a good answer is always the same, and code/02_interview_case.py walks through it in five steps. We built it so you can drop in any player.
Step 1: find the case honestly. We didn't pick Rahane because we had a story about him. The script searched for the IPL batter with the biggest fall in SR+ between 2025 and 2026 among those with at least 200 balls in both seasons:
IPL batters with >= 200 balls in both 2025 and 2026: 21
median SR+ change +1.4; SD of change 10.6
Largest falls in SR+ (2025 -> 2026):
name balls_25 sr_25 srp_25 balls_26 sr_26 srp_26 change
AM Rahane 264.0 147.7 100.0 248.0 135.1 87.1 -12.9
H Klaasen 282.0 172.7 113.8 390.0 160.0 103.5 -10.3
YBK Jaiswal 350.0 159.7 106.8 280.0 152.5 98.0 -8.8
JC Buttler 330.0 163.0 107.6 345.0 152.5 98.9 -8.7
SS Iyer 345.0 175.1 115.2 295.0 168.8 109.0 -6.2
MR Marsh 383.0 163.7 109.7 345.0 163.2 104.9 -4.8
Only 21 batters faced 200 balls in both seasons. That's a reminder in itself of how few regulars an IPL season produces (theme 3). The typical change was close to zero (median +1.4) with a spread of 10.6 points, so Rahane's −12.9 is notable but not extraordinary. It's about 1.2 standard deviations. A good interview answer says that early, because it sets the tone: this is a big fall, but a fall this size happens to someone every season.
Step 2: put intervals on each season. We've already seen his last four seasons in the hook. The full record shows how noisy single seasons are for one batter:
balls runs sr par_sr sr_plus lo90 hi90
year
2012 433 560 129.3 119.0 108.6 95.8 117.7
2013 458 488 106.6 115.6 92.1 80.9 101.0
...
2019 285 393 137.9 130.2 105.9 93.6 114.9
2020 107 113 105.6 125.3 84.3 51.8 96.8
...
2023 189 326 172.5 136.8 126.1 105.3 143.7
2024 196 242 123.5 145.3 85.0 73.6 93.1
2025 264 390 147.7 147.8 100.0 91.8 108.0
2026 248 335 135.1 155.1 87.1 74.8 96.4

📊 Figure (described): Ajinkya Rahane's IPL SR+ by season (seasons with at least 50 balls), each with a 90% innings-bootstrap interval, plus a 2027 projection in orange. Most seasons sit between about 85 and 108, around the par line at 100. 2023 stands out at 126 with a wide interval (105–144 on 189 balls) and is followed by 85 in 2024. The 2027 projection is 98 with a wide prediction interval (80–116). The takeaway: one season's swing of ±20 points is ordinary for this batter, and the projection sits between his last two seasons.
He has batted in 18 of the 19 IPL seasons in the snapshot, and his season intervals are typically fifteen to twenty-five SR+ points wide (2023's, on 189 balls, was 38). The difference between his 2025 and 2026 seasons has its own interval:
Change 2025 -> 2026: -12.9 SR+ points (90% bootstrap -27.7 to -0.4); P(change < 0) = 0.956
So the fall is probably real in the narrow sense: his true 2026 level was probably below his true 2025 level. But "probably real" and "permanent" are different claims, and the coach asked about the second one.
Step 3: check whether the job changed. This is the step most candidates skip, and it's often the most useful:
Phase mix and SR+ by phase:
balls share strike_rate par_sr sr_plus
year phase
2025 middle 137 51.9 111.0 144.4 76.9
powerplay 127 48.1 187.4 151.5 123.7
2026 middle 92 37.1 144.6 148.3 97.5
powerplay 156 62.9 129.5 159.1 81.4
In 2025 he split his balls evenly between powerplay and middle overs, and he was outstanding in the powerplay (SR+ 123.7) and poor in the middle (76.9). In 2026, 62.9% of his balls came in the powerplay and he was poor there (81.4), while his middle-overs batting actually improved (97.5). The fall isn't spread evenly. It is a powerplay collapse in the phase where he faced the most balls. Two readings fit those numbers. Either he's lost something specific to the new ball and the fielding restrictions (pace, movement, or the IPL powerplay par that rose to 159.1 in 2026), or one season of 156 powerplay balls is noise layered on a role change. The data can't separate those, but it can tell the coach exactly what to look at on video: the powerplay dismissals and dot balls of 2026.
Step 4: learn how much a fall carries forward. Now the league-wide evidence. For every IPL batter with at least 150 balls in three consecutive seasons, we regressed SR+ in the third season on SR+ in the first two:
tt = t[t["balls"] >= MIN_BALLS_MODEL][["batter_id", "year", "sr_plus", "balls"]]
m1 = tt.assign(year=tt["year"] + 1).rename(columns={"sr_plus": "srp_lag1", "balls": "b_lag1"})
m2 = tt.assign(year=tt["year"] + 2).rename(columns={"sr_plus": "srp_lag2", "balls": "b_lag2"})
trip = tt.merge(m1, on=["batter_id", "year"]).merge(m2, on=["batter_id", "year"])
fit = sm.OLS(trip["sr_plus"], sm.add_constant(trip[["srp_lag1", "srp_lag2"]])).fit()
Carry-over model, IPL 2010-2026: SR+(N) ~ SR+(N-1) + SR+(N-2), all three seasons >= 150 balls; n = 345 batter-seasons, 84 batters
const 58.460
srp_lag1 0.312
srp_lag2 0.126
R^2 0.161; residual SD 11.0
Batters whose SR+ fell >= 15 points in one season (n = 58): mean fall -23.2; mean change the NEXT season +9.8 (median +10.4); share that rose again 75.9%
Slope of next change on this change: -0.408 (intercept -1.09); corr -0.437

📊 Figure (described): A scatter of 345 IPL batter-seasons from 2010 to 2026. The horizontal axis is the change in SR+ from one season to the next. The vertical axis is the change in the following season. The points slope clearly downward (fitted line: next change = −0.41 × this change − 1.1): batters who fell tend to rise again, and batters who rose tend to fall back. A dotted vertical line marks Rahane's −12.9 for 2025→26. The takeaway: about 40% of any one season's change reverses the next year, on average.
Read those coefficients as a sentence. Next season's SR+ keeps about 31% of last season's level and 13% of the season before. The remaining 56% is pulled toward the average of regular IPL batters, which is 104.7 in this sample. And when a batter fell by fifteen points or more, he rose again the following season 75.9% of the time, by about ten points on average. That's regression to the mean, the threshold concept of Chapter 6. It's the single most useful idea in a performance-review interview.
Step 5: the projection and the 60-second answer.
2027 projection for AM Rahane: SR+ 98.2 (90% prediction interval 80.0-116.3); league-average regular in the model sample: 104.7
THE 60-SECOND ANSWER
- The fall is real in the sense that it is bigger than his own innings-to-innings noise: -12.9 SR+ points, 90% interval -27.7 to -0.4.
- But one season is a noisy guide to the next: league-wide, next season keeps 0.31 of last season's level and 0.13 of the one before.
- Our 2027 central estimate is SR+ 98 (90% 80-116), i.e. between his two seasons.
- What would change the answer: an injury, a technical change the coaches can see, or a role change; the phase table is the first thing to check.
Add the phase finding, and that's the answer Nusrat gave on her second attempt. Notice what the model can't do. It has no idea of age, because Cricsheet records no dates of birth. A player who has been in the IPL since 2008 is plausibly on the downslope of an ageing curve (Chapter 25 builds them), and the regression above averages over players of every age. A good candidate says that too: "This projection ignores age. If the coach's 'lost it' is really 'he's getting older', the ageing curves from the projection model would pull my 98 down. I'd want to add age before Friday." That's how you show judgement in an interview. You name the omitted variable yourself, before the panel does.
🧩 Productive struggle: Before running anything, predict: if you repeat Step 4 for bowlers' economy in the IPL (season-adjusted, ≥ 150 balls in three consecutive seasons), will next season keep more or less of last season than batters' SR+ did? Use what you know from Chapter 14 and Chapter 6 about which metrics repeat. Then run it (Exercise C3).
Hint
Chapter 6 found IPL season-to-season repeatability of 0.48 for batting strike rate but only 0.07 for bowling average. Economy sits between strike rate-like and average-like metrics: it has no wicket denominator, but bowlers' phase roles change from year to year. Your prediction should name the mechanism (denominator noise, role change), not just the direction. Whatever you find, report the coefficient with its sample size.
🔄 Check your understanding 1. Of the 21 IPL batters with ≥ 200 balls in both 2025 and 2026, what was the median change in SR+? Why does that number belong in your answer? 2. In the carry-over model, what share of next season's SR+ is "pulled toward the league average"? 3. Which variable does the projection leave out, and which way would including it probably move Rahane's projection?
Answer
- +1.4 (SD 10.6). It gives the panel the base rate: a typical regular's SR+ barely moves on average but varies by about ten points either way, so −12.9 is notable but not unusual.
- About 56%: 1 − 0.312 − 0.126 = 0.562.
- Age. Cricsheet records no dates of birth. For a batter with a long career, an ageing curve would most likely pull the projection down from 98.2.
38.6 How interviews test you, and how to prepare
Start with a cricket question: what is a panel actually trying to find out in forty minutes?
Three things: whether you can do the work, whether you'll be honest about what you don't know, and whether the people you'll work with can understand you. Hiring processes vary a great deal, and we won't pretend to know any particular organisation's. But the formats themselves are well established across sports analytics, and you'll meet some mix of these:
The take-home task. A dataset (often public, sometimes the organisation's own), a question, and a deadline of a day to a week. You're judged on the answer, the clarity of the write-up, and whether the code runs. Case Study 1 at the end of this chapter is a worked example: rank a league's death bowlers honestly. Common mistakes: spending all the time on a model and none on the write-up; ignoring sample size; never stating what the data can't see; and handing in a notebook nobody can re-run.
The live case discussion. Like the hook. Someone gives you a cricket situation and numbers, and you reason aloud. The panel isn't waiting for the right number. They're watching for the habits from §38.3: denominator, par, noise, decision. Think aloud. "Before I answer, how many balls is that?" is never a bad first sentence.
The technical screen. Write a function, debug some code, explain a model you've built. For team and media roles this is usually light. For technology and trading roles it can be the main event. Practise by rebuilding any Crease function from memory: sr_plus, a shrinkage function, a win-probability lookup.
The presentation. Present a piece of your own work, or the take-home, to people who may include a coach. This is where communication carries the most weight. Rehearse with someone who doesn't know statistics. If they can't say back to you what you found, simplify.
The cricket conversation. Often informal, sometimes with a coach. "Who's the most underrated player in the WPL?" "What would you change about how we bowl at the death?" There's no data on the table, so they're testing whether you think like a cricket person. Have three or four opinions you can defend with numbers you've computed yourself, and say where your numbers come from.
Here are the cases we see most often, in some form, with the chapter that equips you for each:
| Case type | Example prompt | Core idea | Chapter |
|---|---|---|---|
| Form slump / hot streak | "His strike rate fell from X to Y. Has he lost it?" | Regression to the mean, intervals | 6, 25 |
| Matchup | "Should we open the bowling with off-spin to him?" | Shrinkage of small cells | 11 |
| Who bowls when | "Who bowls the 19th, given these four options?" | Phase economy, assignment | 14, 31 |
| Was it luck? | "We lost five of our last six. Is the team worse?" | Luck share, base rates | 6, 24 |
| Value | "Is this player worth his auction price?" | Runs above replacement, market inefficiency | 13, 34 |
| Decision in context | "Should we have batted first?" | Toss/venue effects, WP | 22, 20 |
| Test strategy | "When should we have declared?" | Simulation, win/draw/loss | 29, 33 |
| Pricing | "What's the fair price for team A?" | Calibration, overround | 24, 35 |
📋 Try it — Settle this debate: In an interview, a panel member says: "Klaasen's strike rate fell from 172.7 to 160.0 between IPL 2025 and 2026. He's finished as an elite hitter." Using only the numbers in §38.5, give a three-sentence response.
Worked answer
"His SR+ fell from 113.8 to 103.5, a drop of 10.3 points, close to one standard deviation of the typical season-to-season change among the 21 batters with 200 balls in both seasons (10.6). He's still above IPL par after adjusting for the league's faster scoring in 2026, and on the league-wide carry-over model a batter at 113.8 then 103.5 projects to about 58.5 + 0.312 × 103.5 + 0.126 × 113.8 ≈ 105 next season, which is still above par. I'd want to check his phase mix and the video before calling him 'finished', and I'd say 'above-par hitter whose last season was ordinary' rather than 'finished'." (The ≈105 is the model's arithmetic: 58.46 + 32.29 + 14.34 = 105.1. Run
fit.get_predictionfor the interval.)⚠️ Common pitfall: giving the panel a model when they asked for a decision. "My gradient-boosted model with 47 features has an AUC of 0.71" answers a question no coach asked. Lead with the decision and the uncertainty, mention the method in one clause, and keep the details for when they ask. In every format above, the strongest candidates finish with a sentence that starts "So I would…".
🔄 Check your understanding 1. Name the five interview formats described in this section. 2. What's a safe first sentence in a live case discussion?
Answer
- Take-home task; live case discussion; technical screen; presentation; cricket conversation.
- Some version of "Before I answer, how many balls (or innings, or matches) is that, and compared with what?"
38.7 From Crease to a portfolio
Start with a cricket question: if a hiring manager gives your work five minutes, what should they see?
Not everything. You've built a package with dozens of modules and hundreds of functions, and that's a real achievement. But nobody will read it in five minutes, so the portfolio's job is to choose. A reviewer usually skims in roughly this order: a one-paragraph summary, a few pieces of finished work with figures, evidence that the code is real and runs, and then (only if they're still interested) the repository itself.
The chapter's checkpoint script audits what you've built, the way a reviewer would. It parses every module in project/crease/, reads each docstring's first line, counts public functions and how many of them are documented, and tries to import every module:
def inventory(folder: Path = CREASE) -> pd.DataFrame:
"""One row per module: chapter, summary line, public functions, documented functions, lines."""
rows = []
for path in sorted(folder.glob("*.py")):
if path.stem == "__init__":
continue
src = path.read_text(encoding="utf-8")
tree = ast.parse(src)
doc = (ast.get_docstring(tree) or "").strip().splitlines()
summary = doc[0].split("—", 1)[-1].strip() if doc else ""
funcs = [n for n in tree.body if isinstance(n, ast.FunctionDef) and not n.name.startswith("_")]
documented = sum(1 for f in funcs if ast.get_docstring(f))
code_lines = sum(1 for ln in src.splitlines() if ln.strip() and not ln.strip().startswith("#"))
rows.append({"module": path.stem, "chapter": CHAPTER_OF.get(path.stem), "summary": summary,
"public_functions": len(funcs), "documented": documented, "code_lines": code_lines})
...
Here's one run of it, on the finished copy of Crease, with all 36 planned modules from Chapters 2–37 in place. Your run will list whatever you have built, and the "not yet" line tells you what's missing:
Crease modules found: 36 (chapters 2-37)
public functions: 588, with docstrings: 583 (99.1%)
non-blank, non-comment lines: 14,969
Planned modules not yet in this copy of Crease (0):
Modules with an undocumented public function: impact, match_model, batting_order

📊 Figure (described): Horizontal bars, one per Crease module present in this run, ordered by chapter and coloured by the book's Part. Each bar's length is the module's number of public functions, and the label adds its non-blank code lines: for example
charts.py(Chapter 7) with 23 functions and 605 lines,test_sim.py(Chapter 29) with 22 functions and 537 lines. The takeaway: by this point the project is a substantial, documented package, which is precisely the evidence a technical reviewer looks for. The modules missing from a given run are the gaps to fill before you call it a portfolio.
A note on the count. This script counts only top-level public functions (def statements whose names don't start with an underscore), so it reports 588. Chapter 39's architecture script also counts the 29 public classes, so for the same 36 modules it reports 617 public functions and classes (612 documented, 99.2%). Same package, two definitions; say which one you mean when you quote it.
Two lines in that output are worth acting on. Even on the finished package the audit finds three modules with an undocumented public function (impact, match_model and batting_order, five functions in all), and that's exactly what a careful reviewer opening the files would notice. Fix them before you share. On this run the "not yet" line is empty; on yours, any module listed there is a gap in the story you can tell. If you skipped Part V, say so honestly in the portfolio, or go back and build it.
The template project/PORTFOLIO.md has nine sections. Here's why each one is there:
- In one paragraph. The pitch. If this is weak, nothing else gets read.
- What's in this repository. The checkpoint prints a table you can paste in. Trim the summaries to plain English and add one example question per module.
- Three flagship pieces. Each one gets the same six lines: question, data, method, result, limits, reproduce. Pick pieces that answer different kinds of question: a player (§38.4), a decision (§38.5), a model (Chapter 20's win probability, say).
- Reproducibility. Install, download, one command per piece, the snapshot date, the seeds. Cricsheet updates, so your numbers will move by a match or two when you refresh, and you should say that before someone else notices.
- Model cards. One short card per predictive model: training data, target, held-out evaluation, calibration, known failure modes, what it must not be used for.
- What is real and what is simulated. Every 🧪 value labelled. A portfolio that passes off simulated pitch maps as real Hawk-Eye analysis will be found out, and it will cost you more than the pretty chart ever earned.
- Writing samples. Two or three short public pieces, each with one chart and the takeaway in its first sentence.
- Which pieces to lead with, by role. The same work, reordered for a franchise, a media desk, a trading firm, a technology company, or a board.
- A checklist before you share. Including the licence. Cricsheet's data is released under the Open Data Commons Attribution License, so acknowledge it.
⚠️ Common pitfall: a portfolio of notebooks. A folder of thirty Jupyter notebooks with names like
Untitled12.ipynbtells a reviewer you can explore, not that you can deliver. Keep notebooks for exploration and present finished pieces as scripts that produce figures (as every chapter of this book does), with a written summary and one command to reproduce each. The checkpoint's import test is a small version of what a technical reviewer does first: does it even run?📋 Try it — Build this metric: Extend
inventory()with a columnhas_example: True if the module's docstring contains at least one line starting with>>>or a code example. Then rank modules by "documentation completeness" = documented functions ÷ public functions, with ties broken byhas_example. Which three modules would you improve first before sharing the repository?
Worked answer
Add
has_example = ">>>" in (ast.get_docstring(tree) or "") or "```" in (ast.get_docstring(tree) or "")inside the loop. Computeinv["doc_complete"] = inv["documented"] / inv["public_functions"]and sort by["doc_complete", "has_example"]. In the run above every module exceptimpact.py,match_model.pyandbatting_order.pydocuments every public function, so the ranking is driven almost entirely byhas_example. The modules a reviewer is most likely to open first (data.py,batting.py, and whatever your flagship pieces import) are where examples pay off most. Prioritise by likely to be read, not alphabetically.
38.8 Pay, contracts and the economics of a small field
Start with a cricket question: what does an analyst in cricket earn?
Here's the honest answer: it depends enormously on the employer, the country and the kind of role, and very little of it is published. We'll show you the few figures we could verify from primary sources, tell you plainly where we couldn't find any, and then show you how to research the question yourself, because any number in a book goes out of date faster than the book.
What we could verify (UK county cricket, team-side performance analysis):
| Advert | Role | Salary as published | Contract | Date |
|---|---|---|---|---|
| Durham Cricket employment pack | Lead Performance Analyst (leads the department, line-manages two analysts, manages interns) | £28,000–£30,000 depending on experience | 2-year fixed term | applications closed 31 Jan 2025 |
| Glamorgan Cricket job description | Performance Analyst, women's and academy programmes | £28,000 | until 31 Oct 2029 | document dated March 2026 |
Two adverts don't make a market. Our search results pointed to other county analyst adverts as well, but we couldn't open those documents, so we don't quote them. We've listed only the two we read in full. What they do show is useful. Team-side performance analysis in English county cricket was being advertised at modest salaries, the lead role included managing people and interns, and fixed-term contracts were normal. Many employers, including national boards, publish no figure at all, or describe pay only in general terms.
What we could not verify: published salary figures for IPL or other franchise-league analysts, for data roles at broadcasters, or for cricket-specific trading and data-science roles. Franchises don't publish staff pay, and we found no franchise job advert with a figure. You'll find numbers quoted online for all of these, some of them very precise. We don't repeat them here, because we couldn't trace any of them to an employer or an advert. General salary-aggregator sites report figures for "performance analyst" or "data scientist" across all industries, but those aren't cricket figures, and the sports-specific subset is rarely large enough to mean much.
🔍 Why this works (and why the online numbers don't): a self-reported salary site is a small, self-selected sample. Treat it the way you'd treat a 40-ball strike rate from Chapter 6. Ask how many observations sit behind the figure, who chose to report (people who are pleased with their pay? people who've left?), and what the comparison group is (all "analysts" in a country, or the specific role you mean). A "typical salary" built from eleven submissions across every industry tells you almost nothing about a franchise analyst job. Shrink it hard toward your prior, which in this case is "unknown", and go and get better data.
How to research pay properly:
- Read live adverts. Sports job boards (in the UK, the UK Sport "jobs in sport" listings carry county and board analysis roles) and the careers pages of clubs, leagues, broadcasters and data companies. Save every advert you see with its date and salary, if any. In a year you'll have a better dataset than any website.
- Ask people, privately and politely. Analysts in the field will often give a range in a private conversation that they would never post publicly. Ask about ranges and structures (fixed-term or permanent? seasonal? match fees?), not their own salary.
- Compare like with like. A county analyst role, an IPL franchise contract for a season, a trading role at a licensed bookmaker and a data-science job at a technology company are four different labour markets. A data scientist who happens to work on cricket is usually paid like a data scientist in that company and city, not like a cricket analyst.
- Account for the whole package. Fixed-term contracts, seasonal work, travel, evenings and weekends (both job packs say so explicitly), and the value of the experience to your next move.
- Date everything. Pay changes quickly in a growing field. A figure without a date is not evidence.
⚠️ Common pitfall: choosing a path on the strength of a salary number you can't source. The field is small, so a single anecdote ("a friend of a friend at a franchise earns X") spreads widely and can't be checked. Base your decisions on adverts you've read and conversations you've had, and expect the cricket-specific end of any role to pay less than the same skills would earn in finance or technology. Many people in sport accept that trade-off knowingly. Make sure you're accepting it knowingly too.
🔄 Check your understanding 1. What salary did each of the two verified adverts publish, and on what contract? 2. Why does the chapter quote no figure for IPL franchise analysts? 3. Name two reasons a self-reported salary site is weak evidence for a specific cricket role.
Answer
- Durham's Lead Performance Analyst: £28,000–£30,000 depending on experience, two-year fixed term (closing date 31 January 2025). Glamorgan's Performance Analyst (women's and academy): £28,000, contract until 31 October 2029 (document dated March 2026).
- We found no published figure traceable to a franchise or a franchise advert. Repeating untraceable numbers would break this book's rule that every number has a source.
- Small samples; self-selection in who reports; comparison groups that mix industries and roles; undated figures.
38.9 Routes in: franchise, media, betting, technology, freelance, and the women's game
Start with a cricket question: how does someone like Nusrat, a statistics student in Dhaka with an old laptop, get from here to there?
Nobody has a guaranteed route, and anyone selling one is selling something. What we can do is describe the doors that exist and what tends to open each one.
The team route (franchise, county, state, national programme). Entry usually comes through internships, academy and pathway roles, and part-time match-day work. Both job packs we read put the lead analyst in charge of recruiting and supervising interns, so internships are part of how these departments are built. What helps: evidence that you can do the match-cycle work (an opposition one-pager, a post-match review, video you've coded yourself), willingness to work evenings and weekends, and cricket credibility. Playing or coaching at any level helps with the last of these. So does being able to talk with a coach like Wendell without hiding behind numbers. Volunteer for a local club or an academy side: code their matches, build them a one-page report each week. That's real experience, and it's a portfolio piece with a reference attached.
The media route. Media is the most open door, because you can start without anyone's permission: publish. A blog, a newsletter, a thread with one well-made chart the morning after a big match. Chapter 37 taught the craft. Case Study 2 at the end of this chapter is a worked example: a 2025 Women's World Cup piece built in a couple of hours. Editors hire people whose work they've already seen, and work that's accurate, quick and readable gets seen. Kavya's advice: "Publish ten pieces before you pitch one. The tenth will be good, and you'll have nine to show you didn't just get lucky."
The betting and trading route. Licensed bookmakers and sports-data suppliers in jurisdictions where betting is legal and regulated hire people who can price outcomes: probability, calibration, fast reliable code, and comfort with markets (Chapter 35). Two cautions. First, legality differs sharply by country. Betting is illegal in most of India, and India's 2025 legislation on online gaming changed the position of real-money fantasy contests (Chapter 36 covers what changed). Know the law where you live and where your employer operates. Second, this route carries ethical weight that the others don't. Tom Ashworth's test, when Nusrat asked him about it, was simple: "If you can't explain to your family exactly what your models are for, don't build them."
The technology route. Ball-tracking, video, data feeds, apps and broadcast graphics are built by engineers. If you love building systems more than answering cricket questions, this is your door, and your portfolio should look like software: tests, documentation, a clean package, a working dashboard. That's Chapter 39's capstone. Technology companies with real tracking data will ask what you'd do with data the public doesn't have. Your 🧪 work from Chapter 15 is your answer, as long as you label it honestly as a simulation that taught you the method.
The board, league and research route. Governing bodies, leagues and universities ask questions about the competition itself: how a rule change shifts scoring (Chapter 1's Impact Player era), how rain rules should work (Chapter 23), how to identify talent in pathways. A postgraduate degree helps here more than elsewhere. So does a track record of careful, published analysis.
The freelance and consulting route. Some analysts work for several clients: a club side, a fantasy-content site, a media outlet, a data company. Others sell services to teams, as the BCCI's 2026 tender shows organisations can buy analysis as a service. Freelancing rewards reliability and a clear offer ("I'll deliver an opposition one-pager for every fixture by 9 a.m. on match day"), and it needs basic business sense: contracts, invoices, and keeping one client's data away from another.
The women's game. Two facts from this chapter belong together. Women's cricket is now a third of the professional matches Cricsheet records (33.3% in 2025, up from 6.6% in 2015), with the WPL and The Hundred adding franchise competitions since 2021. And the women's game needs its own analysis, because men's baselines don't transfer. The book has shown this repeatedly. Spin bowls 51–54% of legal balls in women's internationals against roughly 37–41% in men's (Chapter 5). Chapter 9's win-probability tables put a women's chase needing 54 off 30 with eight wickets in hand at 0.256, against 0.652 on the men's table. A model trained on men's data is simply wrong for women's cricket. Analysts who know the women's game, its players, its conditions and its own baselines are doing work that was barely done a decade ago, and published adverts now name women's programmes specifically. Whoever you are, publishing good work on women's cricket is one of the most direct ways to stand out, because the public body of serious analysis is still thin compared with the men's game.
Networking, without the cringe. The field is small, so reputation travels. The most effective networking is showing your work where analysts already look: share the code with the chart, credit your data sources (Cricsheet is maintained by Stephen Rushe, and the whole public conversation depends on it), engage seriously with other people's published analysis, correct your own mistakes in public, and answer questions when you can. Sports-analytics conferences, the best known being the MIT Sloan Sports Analytics Conference, are useful if you can get to them, but they're not required. Open-source contributions count too: R packages such as cricketr and yorkr (by Tinniam V. Ganesh) and Python tools around Cricsheet data are the kind of projects where a good pull request is a visible credential.
📋 Try it — Analyze this match: You have ninety minutes the morning after the IPL 2026 final (Royal Challengers Bengaluru 161/5 in 18 overs beat Gujarat Titans 155/8; Virat Kohli 75* off 42). Plan a media piece: the one question it answers, the one chart, the three numbers in the text, and the one thing the data can't tell the reader. Then build it with
charts.wormandexplore.scorecard.
Worked answer (one good plan)
Question: where did the chase stop being close? Chart: the worm of both innings (Chapter 7's
charts.worm), annotated with the over in which RCB's required rate fell below the run rate, or a win-probability curve if you've built Chapter 20's model. Three numbers: the target (156), Kohli's 75 off 42 with his phase split fromexplore.batting_card, and the over-by-over runs fromexplore.over_by_overfor the decisive period. Compute each one yourself and quote nothing from memory. What the data can't tell you:* why the Titans' bowling plan unfolded as it did. Field placings, conditions and dew aren't in Cricsheet, so say so in one sentence. Publish within the ninety minutes. Speed is part of the craft.🔄 Check your understanding 1. Which route can you start today without anyone's permission, and what's the first step? 2. Give two numbers from this book showing that men's baselines don't transfer to women's cricket.
Answer
- Media: publish analysis (blog, newsletter, social posts with one clear chart). Volunteering to analyse a local club's matches is a close second.
- Spin's share of legal balls (51–54% in women's internationals against about 37–41% in men's, Chapter 5); a chase needing 54 off 30 with eight wickets in hand has win probability 0.256 on the women's table against 0.652 on the men's (Chapter 9).
38.10 Conduct: data, integrity and honesty
Start with a cricket question: what can an analyst do that would end their career faster than a bad model?
Three things, and none of them is a statistical error.
Leaking information. Team analysts handle information that matters to opponents and to betting markets: selections before they're announced, injury and fitness details, tactical plans. Cricket's governing bodies run anti-corruption codes (the ICC's Anti-Corruption Code at international level, with equivalents for domestic competitions), and these generally apply to team support staff as well as players. Their core concerns are betting on matches, misusing inside information, and failing to report an approach. Read the code that applies to your employer on your first day. If your analysis role sits anywhere near a team, assume you may not bet on the sport at all and may not pass on non-public information to anyone, and check exactly what the code says.
Mishandling player data. Tracking, workload and medical data are personal data, and in many countries they are protected by data-protection law. A wellness score or a GPS trace is not yours to put in a portfolio, a blog post or a conference talk. Public ball-by-ball data like Cricsheet's is a different matter, which is one reason this book builds everything on it. Your portfolio should contain nothing you received in confidence.
Overclaiming. The quiet career-killer. A model presented as more certain than it is, a simulated value passed off as a fact about a real player, a salary figure with no source, a "proprietary insight" that's really one season of noise. The book's rules (intervals on every rate, 🧪 on every simulated value, a source for every number) aren't academic fussiness. They're what makes a coach, an editor or a trading desk trust you a second time.
🏏 Eye test: Imran Qureshi, who runs analysis for a club side in Leeds, put it this way when we asked what he looks for in a new analyst: "I can teach the software in a month. What I can't teach is someone saying 'I don't know yet' in a dressing room full of people who want an answer." The data never tells you to say that. Your conduct does.
Spaced Review
Before restating anything, try these.
-
From Chapter 6: the carry-over model in §38.5 found that next season keeps 31% of last season's SR+ and 13% of the season before. Without looking back, explain in one sentence why the remaining weight goes to the league average. Then: in Chapter 6 you found a "balls until half signal" for strike rate of about 98 balls. Does a 248-ball season for Rahane carry more or less than half signal by that measure? (More: 248 balls is well past the ~98-ball half-signal point. But "more than half signal" for a single season's level is not the same as "predicts next season", because true ability itself drifts from year to year, which the carry-over model captures and the half-signal calculation doesn't.)
-
From Chapter 8: Suryavanshi's raw strike rate is 217.6 and his SR+ is 144.0. What two adjustments turn the first into the second, and why does the scouting report compute par by competition as well as year and phase? (SR+ divides his runs by the par runs for the league, season and phase of every ball he faced. Adding competition matters because his pool mixes IPL and T20Is, which have different pars.)
-
From Chapter 11: Ghosh's off-spin strike rate shrank by 61% of the gap toward expectation with k = 268. If she'd faced 1,000 balls of off-spin at the same raw rate, roughly what share of the gap would shrinkage remove? (268 ÷ 1,268 ≈ 21%.) What does the comparison teach about when matchup numbers are worth acting on?
If any of these felt shaky, go back to the chapter before Chapter 39. The capstone reuses all three ideas.
Project Checkpoint: PORTFOLIO.md
This chapter adds no module to Crease. It adds the document that turns Crease into a career asset: project/PORTFOLIO.md, plus a checkpoint script, code/project_checkpoint.py, that audits the package the way a reviewer would.
Nusrat ran the checkpoint on her laptop in Dhaka, where it took a few seconds even on her old machine because it only parses source files and imports modules, with no data loading. Her first run flagged two things: a public function without a docstring, and the modules she hadn't built yet because she'd skipped ahead from Part IV to Part VI. She fixed the docstring that evening. The missing modules went into section 1 of her portfolio as an honest line: "Part V's projection and tournament models are next; the win-probability work below is built on Chapter 9's lookup model." Kavya, reading the draft, said that line made her trust the rest more.
The checkpoint's core is three small functions. inventory() (shown in §38.7) builds the module table, import_check() imports each module and records the time or the error, and markdown_table() prints the rows you paste into section 2 of the portfolio:
def markdown_table(inv: pd.DataFrame) -> str:
"""The 'What's in this repository' table for PORTFOLIO.md."""
lines = ["| Module | Chapter | What it does | Public functions |", "|---|---|---|---|"]
for _, r in inv.iterrows():
chap = "" if pd.isna(r["chapter"]) else str(int(r["chapter"]))
lines.append(f"| `{r['module']}.py` | {chap} | {r['summary']} | {r['public_functions']} |")
return "\n".join(lines)
PORTFOLIO.md present: True
PORTFOLIO.md sections (9): 1. In one paragraph | 2. What's in this repository | 3. Three flagship pieces | 4. Reproducibility | 5. Model cards | 6. What is real and what is simulated | 7. Writing and communication samples | 8. Which pieces to lead with, by role | 9. Checklist before you share
Paste into PORTFOLIO.md -> 'What's in this repository':
| Module | Chapter | What it does | Public functions |
|---|---|---|---|
| `data.py` | 2 | the data layer of Crease (Chapter 2). | 9 |
| `explore.py` | 3 | first look at a competition (Chapter 3). | 17 |
| `traditional.py` | 4 | traditional cricket statistics and "where it lies" diagnostics. | 11 |
...
What to do now, in order:
- Run
python code/project_checkpoint.py, fix every undocumented function it reports, and paste its table into section 2 ofPORTFOLIO.md. Rewrite the summaries in plain English. - Run
python code/01_scouting_report.pyfor a player you know well, and fill in flagship piece 3.1 with the six lines. - Adapt
code/02_interview_case.pyto a bowler or a women's player and fill in 3.2. - Choose a model for 3.3 (win probability from Chapter 20, or match prediction from Chapter 24) and write its model card in section 5.
- Fill in section 6 honestly. List every 🧪 value you show.
The portfolio plugs straight into the next chapter. Chapter 39 builds the Streamlit dashboard and the smoke tests that make "it runs" something a reviewer can check with one command. Link both from PORTFOLIO.md. Chapter 40 adds ROADMAP.md, the "what I'd build next" page that interviewers love to ask about.
Chapter Summary
The field at a glance
| Job family | Typical work | What to show | Book chapters to lead with |
|---|---|---|---|
| Performance analyst (team, county, franchise, board) | Opposition prep, live coding and support, post-match review, recruitment | One-page scouting reports; matchup sheets; a review a coach can read in two minutes; video-coding experience | 8, 11, 14, 25, 31, 34 |
| Media / data journalist | Match-night pieces, graphics, explainers | Published pieces with one clear chart; speed; accuracy | 7, 9, 20, 37 |
| Trader / quantitative analyst (licensed operators, data suppliers) | Pre-match and in-play pricing | Calibrated models; honest backtests; model cards | 20, 24, 27, 28, 35 |
| Sports data scientist / engineer | Pipelines, tracking, products, dashboards | A clean, tested package; a dashboard; how you'd use real tracking data | 2, 15, 39 |
| Board, league, academia | Competition design, rules, pathways, research | Careful long-form analysis; women's and associate cricket | 1, 5, 23, 26 |
Key numbers from this chapter (all from this chapter's code)
| Quantity | Value |
|---|---|
| Matches in the snapshot, 2015 → 2025 (three groups) | 530 → 1,821; men's leagues active 5 → 10 |
| Women's share of recorded matches, 2015 → 2025 | 6.6% → 33.3% |
| IPL batters with ≥ 200 balls in both 2025 and 2026 | 21; SR+ change median +1.4, SD 10.6 |
| Carry-over model (IPL 2010–26, n = 345) | SR+(N) = 58.46 + 0.312·SR+(N−1) + 0.126·SR+(N−2); R² 0.161 |
| After a ≥ 15-point fall (n = 58) | next season +9.8 on average; 75.9% rose |
| Suryavanshi, IPL 2025–26 + T20Is | SR+ 144.0 (90% 131.5–155.7) on 608 balls |
| Ghosh, women's pool 2023–26 | SR+ 114.6 (90% 107.6–121.3); death SR+ 130.3 on 566 balls |
| Verified county analyst adverts | £28,000–£30,000 (Durham, 2025); £28,000 (Glamorgan, 2026) |
Decision framework: before you send an application
- Read the duties, not the title. Map every essential criterion to something in your portfolio.
- Lead with one page. A scouting report or a case answer, with intervals and limits.
- Show it runs. One command per piece; the checkpoint passes; the data source and snapshot are stated.
- Label what's simulated. 🧪 everywhere it applies; no simulated value presented as fact.
- Know the conduct rules. Anti-corruption code, data protection, betting law where you live.
- Research pay from adverts and conversations, dated and like-for-like. Never from untraceable numbers.
- End every answer with a decision, and say what would change your mind.
What's Next
You have the tools and now a way to show them. Chapter 39 assembles every Crease module into one working platform, with a dashboard, an end-to-end pipeline on a real 2026 match, and smoke tests. That's the centrepiece your PORTFOLIO.md has been waiting to link to.