Rosa Delgado gets home from a night shift, makes coffee, and does something she has been putting off since Chapter 10. She exports her rounds to a file called rosa.csv and types one line:
In This Chapter
- 40.1 Thirty-nine chapters in one pipeline
- 40.2 The right yardstick: four baselines, one plan
- 40.3 Inside the categories: sub-categories and the Holm adjustment
- 40.4 Your pattern and your aim
- 40.5 Equipment: what on-course numbers can and can't tell you
- 40.6 The plan, and how long it takes to prove
- 40.7 Validation: does the report recover the truth?
- 40.8 Dev's model, and the limits of the whole toolkit
- Epilogues (SIMULATED)
- Spaced Review
- Project Checkpoint: dashboard and cli
- Chapter Summary
- The Last Hole
Chapter 40 — Capstone: Your Personal Golf Analytics Dashboard — Built, Calibrated, and Ready to Lower Your Handicap
Rosa Delgado gets home from a night shift, makes coffee, and does something she has been putting off since Chapter 10. She exports her rounds to a file called rosa.csv and types one line:
python -m yardbook report --shots rosa.csv --handicap 15.4 --name Rosa --out rosa.html
Thirteen seconds later her browser opens a single page. At the top it says:
Biggest gap to a 12 (your target): Approach −3.29 strokes per round (clear). Against typical 15.4s on the same course: biggest leak Approach −2.20; biggest strength Putting.
Below that are nine charts and three boxes of advice. Put 20 of your next 20 practice hours into approach. On approaches with trouble on one side, aim about 9 yards left of the flag. Log every round, and judge the plan after about 126 rounds, not 5.
Rosa has read thirty-nine chapters. She knows what every one of those numbers means. What she wants to know now is the question every golfer should ask of every dashboard, app and coach: is it right?
For a real golfer that question has no clean answer. Nobody knows Rosa's "true" approach skill. All she has is her rounds, and her rounds are a sample. If the report says approach and her gut says putting, which one is wrong? You can't check a real golfer's report against the truth, because nobody has the truth.
Rosa is not a real golfer. That is this chapter's superpower. Every one of her shots came from golfkit.shotsim, and the simulator was told exactly what is wrong with her. Her approach dispersion is 1.30 times a typical golfer's. Her putting is that of an 11-handicapper. Everything else is a 12.6 preset, calibrated so that her Handicap Index comes out at 15.4. It's written in the docstring of yardbook/cast.py, and it's the same for all six members of the cast. So we can do something no golf app has ever been able to do for its users. We can run the report, compare it with the answer key, and count how often it gets the right answer.
That is the plan for the last chapter of the book:
- Assemble the dashboard from the modules you built: strokes gained against the right baseline, sub-categories, dispersion by club, an aim calculator, an equipment summary, a practice plan, a progress test and a handicap trend, plus a one-page "three things to do next". It becomes one Python call and one command-line tool.
- Run it on all six cast members and read their reports.
- Validate it. Does the report recover each golfer's built-in truth? How often, at 20 rounds and at 60? Where does it fail, and why?
- Close the arcs. Simulate what happens when Rosa practises, Marcus plays boring golf, Walt changes his attack angle and Dev fixes his putting. Report the outcomes the simulator produces, and nothing more.
Then we'll close the book.
Learning paths for this chapter - ⛳ Golfer: read the hook, §40.1 (how to run it), §40.2 (which baseline your plan uses, and why), §40.6 (the plan and how long it takes to prove), the epilogues and the closing section. Then run the report on your own rounds. - 📊 Analyst: everything. §40.7 (validation against the simulator's truth) is the heart of the chapter; the Project Checkpoint documents
dashboard.pyandcli.py. - 🏌️ Coach/Fitter: §40.2, §40.4 (dispersion and aim), §40.5 (what on-course distances can and can't tell a fitter) and Case Study 2, where Coach Tasha reads her own report. - 🎰 Betting/DFS: §40.6 and §40.8 (Dev's model and the limits of proof), plus Case Study 1, which runs the dashboard's progress test on real tour players.
40.1 Thirty-nine chapters in one pipeline
A dashboard is only as good as the parts inside it, and you've already built and tested every part. The capstone's job is to wire them together in the right order, so that each section uses the right yardstick and every number carries its uncertainty.
Here is the pipeline the report runs, top to bottom:
| Report section | What it computes | yardbook module (chapter) |
|---|---|---|
| Data check | schema, lies, units, shot chains, hole-outs | rounds (2) |
| Strokes gained by category | OTT / APP / ARG / PUTT per round, bootstrap CIs, four yardsticks | sg_core, sg_report (10, 11), golfkit.baselines (12) |
| Same-course peers | your categories minus a typical golfer of your level on the same holes | benchmarks (30), the Chapter 15 caveat |
| Sub-categories | distance and lie bands with Holm-adjusted flags | sg_deep (13) |
| Dispersion by club | robust bivariate-normal patterns, bias tests | dispersion (19) |
| Aim calculator | your fitted pattern on a demo hazard hole | aim (18) |
| Equipment summary | on-course distances, gap flags, driver model scenario | distances, gapping, driver (4, 24, 25) |
| Practice plan | hours to categories by the gap model | practice (27) |
| Progress test | before/after test, power-based rounds needed | signal, progress (14, 28) |
| Handicap trend | WHS posting and the running index | handicap (29) |
| Three things to do next | practise / play / prove | dashboard (40) |
The whole thing is two functions:
# project/yardbook/dashboard.py — the two calls behind `python -m yardbook report`
from yardbook import cast, dashboard
shots = cast.cast_rounds("rosa") # or rounds.load_shots_csv("my_shots.csv")
rep = dashboard.build_report( # runs every section, in the order above
shots, handicap=15.4, name="Rosa Delgado",
note="SIMULATED — yardbook.cast Rosa Delgado, seed 154023")
dashboard.render_html(rep, "rosa_report.html") # one self-contained page (PNGs as base64)
for k, x in enumerate(rep.next, 1): # the 'three things' page, as text
print(k, x["title"])
build_report returns a Report object, so every table behind the page is there for you to inspect. render_html writes one HTML file with every chart embedded as base64, so you can email it to your coach or open it on a phone at the range. Pass embed=False, or --images-beside on the command line, and the PNGs are saved in a folder next to the page instead.
The command-line version does the same from any shot file in the book's schema (Chapter 2's round_id, hole, par, shot_no, club, start_lie, start_dist, …):
python -m yardbook report --shots my_shots.csv --handicap 15 --out report.html
python -m yardbook report --shots my_shots.csv --handicap 15 --target 10 --change-after 20 \
--driver-speed 92 --attack -3 --course-rating 71.2 --slope 128
python -m yardbook cast-csv rosa --out rosa.csv # a SIMULATED file to try it on first
Three design decisions shape everything that follows.
Every section degrades gracefully. Many trackers don't record where you aimed. Without aim coordinates there's no dispersion pattern and no aim calculator, so the report says "skipped: needs aim coordinates" and carries on. A scorecard-only file (Chapter 15's importers) can still produce categories after conversion. The report never invents the missing columns.
Every number carries its interval. A strokes-gained category is a mean over rounds, so the report gives the 95% bootstrap interval beside it, and it says "clear" only when that interval excludes zero. This is Chapter 14's theme 5 built into the software: one round says almost nothing, and twenty start to tell a story.
The report refuses to run on bad data. build_report calls rounds.validate_shots first and raises an error, with the list of problems, if the file has any errors. Rosa's file has 1,835 shot rows and passes with 0 errors and 1 warning (a distance_increase: one shot genuinely finished farther from the hole than it started, the same warning Chapter 15 found).
Run on Rosa's representative 20-round sample (seed 154023; see cast.py for how the default seeds were chosen), the report takes about 10 seconds to build. The slowest part is the aim search.
⚠️ Common Pitfall: the "it ran, so it's right" fallacy A pipeline that runs without errors has passed a software test, not a golf test. The report would happily compute strokes gained against the wrong baseline, or fit a dispersion pattern to six shots, if you let it. That's why the rest of this chapter spends more words checking the report than building it. The fix is to validate any analytics tool on data where you know the answer before you trust it on data where you don't. Simulated golfers are the only such data that exist.
🔄 Check Your Understanding 1. Why can't a real golfer validate their own strokes-gained report? 2. What does the report do when your file has no aim coordinates? 3. What has to be true of a category's interval before the report calls a leak "clear"?
Answers
- Nobody knows a real golfer's true skill; their rounds are a sample of it. There's no answer key to compare the report with.
- It skips the dispersion and aim sections, says why, and runs everything else.
- The whole 95% interval must be below zero (for a leak) or above zero (for a strength).
40.2 The right yardstick: four baselines, one plan
Strokes gained, as Chapter 10 defined it, prices every shot against a baseline, a table of expected strokes to hole out from each lie and distance:
$$SG = E(\text{start}) - E(\text{end}) - 1 - \text{penalty strokes}.$$
In words: a shot gains strokes when it moves you closer to the hole, in expected-strokes terms, than one stroke's worth. Add up a category's shots over a round and you get that category's strokes gained per round.
The equation says nothing about whose expected strokes. That is a choice, and Chapter 12 showed it changes the answer. The report shows Rosa's rounds against four yardsticks at once:
| Category | vs SIM 12 (target) | 95% CI | vs SIM 15.4 (own level) | vs PGA TOUR (Broadie) | vs typical 15.4s, same course | 95% CI |
|---|---|---|---|---|---|---|
| Off the tee | −0.59 | −1.24 to +0.03 | +0.36 | −3.80 | +0.61 | −0.12 to +1.27 |
| Approach | −3.29 | −5.30 to −1.35 | −1.55 | −13.40 | −2.20 | −4.16 to −0.33 |
| Around the green | −0.24 | −0.85 to +0.39 | +0.48 | −4.00 | +0.08 | −0.59 to +0.82 |
| Putting | +0.28 | −0.57 to +1.26 | +0.93 | −3.11 | +0.81 | −0.02 to +1.79 |
| Total | −3.84 | −6.26 to −1.26 | +0.21 | −24.32 | −0.69 | −3.09 to +1.87 |
SIMULATED — Rosa's representative 20 rounds (seed 154023), member course. Bootstrap 4,000 resamples (seed 7). Peer norms: 1,000 SIMULATED rounds of a typical 15.4 on the same course (seed 2026).
The first three columns reproduce the book's headline numbers for Rosa exactly: −1.55 against her own level and −3.29 against a 12, with putting a gain (+0.93 against her level). The fourth column is new to the report, and we'll come back to it in a moment.

📊 Figure (described): Horizontal diverging bars for Rosa's four categories and total, against the SIMULATED 12-handicap baseline, with 95% bootstrap error bars. Approach is a long orange bar at −3.29 whose interval (−5.30 to −1.35) sits wholly left of zero. Off the tee (−0.59) and around the green (−0.24) are short orange bars whose intervals cross zero. Putting is a short blue bar at +0.28, interval crossing zero. The total is −3.84.
Which column is "the" answer?
All four are right. They answer four different questions.
- Against the PGA TOUR baseline (Broadie, ShotLink 2003–2010), every category is a big loss, and approach is the biggest by far (−13.40). True, and useless for planning: it tells Rosa she isn't a tour player.
- Against her own level's SIMULATED baseline (15.4), approach is her leak (−1.55) and putting her strength (+0.93). This is the "what makes me different from other 15s" view. It's the one that busts her myth: she practises putting most, and putting is the one thing she's already good at.
- Against her target level's SIMULATED baseline (12), approach is a clear gap (−3.29) and nothing else much matters. This is the "what separates me from the golfer I want to become" view.
- Against typical 15.4s on the same course, approach is a clear leak (−2.20) and putting a near-clear strength (+0.81).
The plan has to use one of them, and the book has settled which: personal plans price categories against the golfer's target-level SIMULATED baseline, and say so. That is a decision this book made in Chapter 30, and the report prints it at the top of the strokes-gained section. The reason is a finding about Walt that is worth repeating.
Chapter 30 restored Walt's lost driving distance in the simulator, which was worth 1.81 strokes per round. Against the PGA TOUR baseline, that saving splits 0.92 off the tee and 0.81 on approach. A short drive leaves a long approach, and the tour baseline books part of the cost of the long approach as an approach problem. Against the SIMULATED 14 baseline the same 1.81 splits 1.62 off the tee and 0.14 on approach, and Walt's top priority flips to off-the-tee. Same golfer, same strokes, different yardstick, different practice plan. A target-level amateur baseline charges a short hitter's driving to his driving.
The default target is $\text{round}(h - 3)$, which turns Rosa's 15.4 into 12, the target the book has used for her since Chapter 10. You can change it with --target.
🧩 Productive Struggle Before reading on: Walt's report sets his target at 16 (18.9 − 3, rounded). Against the SIM 16 baseline his off-the-tee number is −3.29 per round, the same size as Rosa's approach gap against a 12. Approach is +0.68. Against his own level (18.9) he is −1.62 off the tee and +2.37 on approach. Write down which category gets his 20 practice hours, and what you'd expect if the plan were priced against the PGA TOUR baseline instead (his PGA numbers are −5.64 off the tee and −13.40 on approach).
One way to think about it
Against the target, all 20 hours go off the tee: it's the only gap, and the gap model (§40.6) spends hours where the gaps are. Against the PGA TOUR baseline, approach (−13.40) dwarfs off the tee (−5.64), and the same model would spend most hours on approach, partly treating the symptom (long approaches) instead of the cause (short drives). That's Chapter 30's flip, reproduced by the report.
The baseline-course caveat, and the peers column
There is a catch in the "own level" column, and Chapter 15 found it. golfkit's SIMULATED baselines are built on its generic holes: randomised straight holes with no particular hazards. Real courses, including the book's member course, aren't generic. So even a perfectly typical golfer of your level isn't zero by category on a real course.
How big is the effect? case_study_02.py measures it for each cast level. It plays 1,000 SIMULATED rounds of a typical golfer of each level on the member course (seed 2026) and scores them against that level's own SIM baseline:
| Typical golfer of level | OTT | APP | ARG | PUTT | Total |
|---|---|---|---|---|---|
| +1.2 | +0.03 | +0.57 | +0.07 | −0.05 | +0.63 |
| 3.0 | −0.05 | +0.74 | +0.07 | +0.01 | +0.77 |
| 7.8 | −0.66 | +1.05 | +0.06 | −0.08 | +0.37 |
| 12.0 | −0.30 | +1.27 | +0.15 | −0.05 | +1.08 |
| 15.4 | −0.47 | +1.22 | +0.09 | +0.06 | +0.90 |
| 18.9 | +0.00 | +1.30 | +0.20 | −0.01 | +1.49 |
SIMULATED. Chapter 15's own run (4,000 rounds, seed 1540) gave the typical 15.4 OTT −0.53 / APP +1.20 / ARG +0.20 / PUTT −0.03, within sampling noise of this row.
On the member course a typical amateur "gains" about a stroke on approach against his own baseline, and the mid-handicaps lose half a stroke off the tee. Approach shots there are, on average, a little easier than on the generic holes; tee shots a little harder. That's exactly the real-world problem of applying the tour baseline to your own course, in miniature: a baseline built on different holes shifts each category's zero point.
The report's answer is the fourth column. For any golfer on the member course, it subtracts what a typical golfer of the same level scores on the same holes, both measured with the same yardstick (the PGA TOUR table):
$$SG^{\text{peers}}_c = SG^{\text{PGA}}_c(\text{you}) - SG^{\text{PGA}}_c(\text{typical golfer of your level, same course}).$$
In words: how much better or worse than your peers you are in category $c$, with the course's quirks cancelled because both of you played them. For Rosa's approach: her −13.40 against the tour table, minus a typical 15.4's −11.20 on the same holes, is −2.20. That's Chapter 15's "Rosa against same-course peers" idea (it found −2.75 with a different sample) turned into a column.

📊 Figure (described): Grouped horizontal bars, one group per category plus total, three bars each: against the target (SIM 12, blue), against her own level (SIM 15.4, orange) and against typical 15.4s on the same course (green). Approach is the most negative category on all three: −3.29, −1.55 and −2.20. Putting is positive on all three (+0.28, +0.93, +0.81). Off the tee is −0.59 against the target but positive against her level (+0.36) and peers (+0.61). The totals are −3.84, +0.21 and −0.69.
The peers column only exists for the member course, because that's the only course where the book has SIMULATED norms. For your own course, the report omits it and says why. You'll still see the own-level and target columns, and you should read the own-level column with Chapter 15's caveat in mind.
🔍 Why Does This Work? Subtracting a peer removes the course Suppose the member course's approach shots are easier than the generic holes by some amount $\delta_{\text{APP}}$. Then your own-level number is (your true approach edge) + $\delta_{\text{APP}}$, and so is a typical peer's number, except that a typical peer's true edge is zero. Subtract one from the other and $\delta_{\text{APP}}$ cancels, whatever its size and whichever yardstick both are measured with. That's why the peers column can use the PGA table, which is nowhere near anyone's level: the yardstick cancels too. The price is noise. The peer norm is itself an estimate (1,000 rounds), and your own 20 rounds are the bigger source of noise by far.
🔄 Check Your Understanding 1. Rosa's approach is −1.55 against her level and −2.20 against same-course peers. Why are they different, and which one is free of the course effect? 2. Why does the book price plans against a target baseline rather than the golfer's own? 3. A typical 18.9 on the member course gains +1.30 on approach against the SIM 18.9 baseline. Is the course easy?
Answers
- The own-level number includes the member course's approach offset (about +1.2 for a typical 15.4). The peers number subtracts a typical 15.4 who played the same holes, so the offset cancels.
- A plan is about reaching a level. The target baseline shows what separates you from that golfer, and it charges a short hitter's driving to his driving (Chapter 30's Walt finding).
- Not necessarily. Its approach shots are easier than the generic holes the SIM baseline was built on. Easy or hard compared with what is always the question.
40.3 Inside the categories: sub-categories and the Holm adjustment
A category total is a sum of many small things. Chapter 13 split approach into seven distance bands, putting into six, around-the-green into four lies and off-the-tee into driver and "other club". With 20 rounds that's 18 sub-categories with at least half a shot per round each. Test all 18 at α = 0.05 and you should expect almost one false alarm even if nothing is wrong. Chapter 13 measured it: for a SIMULATED golfer with no defect at all, a 20-round report flagged at least one "weakness" 48.8% of the time unadjusted, and 10.6% of the time with the Holm adjustment.
The report therefore runs Chapter 13's round bootstrap (2,000 resamples) and then adjusts the p-values with Holm's step-down rule. Sort the $m$ p-values from smallest to largest, $p_{(1)} \le \dots \le p_{(m)}$, and set
$$p^{\text{Holm}}_{(i)} = \max_{j \le i} \, \min\{1,\ (m - j + 1)\, p_{(j)}\}.$$
In words: the smallest p-value is multiplied by the number of tests, the next by one fewer, and so on, never letting an adjusted value fall below the one before it. A sub-category is flagged only if its adjusted p-value is below 0.05.
On Rosa's 20 rounds against the SIM 12 baseline, one sub-category survives:
| Sub-category | Shots per round | SG per round | 95% CI | p | Holm p |
|---|---|---|---|---|---|
| APP 100–125 yd | 3.60 | −0.75 | −1.41 to −0.21 | 0.003 | 0.051 |
| APP 125–150 yd | 3.80 | −0.57 | −1.06 to −0.14 | 0.013 | 0.208 |
| APP 150–175 yd | 4.45 | −0.86 | −1.71 to +0.03 | 0.059 | 0.885 |
| APP 225+ yd | 5.00 | −1.00 | −1.65 to −0.42 | < 0.0005 | 0.009 |
| OTT driver | 14.40 | −0.59 | −1.27 to +0.03 | 0.061 | 0.885 |
| PUTT 3–6 ft | 4.55 | −0.17 | −0.63 to +0.28 | 0.476 | 1.000 |
SIMULATED, Rosa seed 154023, vs SIM 12; 18 sub-categories tested.

📊 Figure (described): Eighteen horizontal diverging bars with bootstrap error bars, from "OTT driver" at the top through seven approach bands, four around-the-green lies and six putting bands. Most approach bands are orange (losses), the largest being 225+ yards (−1.00), labelled "Holm-flagged" at the right. The 175–200-yard band is a small blue gain whose interval crosses zero. The putting bars are short and straddle zero.
Read that table with care. The 225-yard-plus band is "flagged", but Rosa plays five shots a round from there (mostly second shots on par 5s and long par 4s), and the 100–125 band missed the flag by a hair (0.051). Chapter 27's long-run measurement for Rosa (5,000 SIMULATED rounds against same-course peers) put 73% of her approach loss in the 100–175-yard bands. In this 20-round sample the practice section's own band table puts 27% of the loss at 225+ and 23% at 150–175. Twenty rounds point at "approach" reliably and at "which approach" much less reliably. Her truth, after all, is the same 1.30 multiplier on every approach distance.
⚠️ Common Pitfall: practising the one flagged band A Holm flag says "this band's loss is unlikely to be zero". It doesn't say "this is where all of the loss lives", and it doesn't say the unflagged bands are fine. Rosa's 100–125 band had a raw p of 0.003 and missed the flag only because 17 other tests were run. The fix: let the flags rank where to start, practise the whole family the category points to, and rerun the sub-categories after more rounds.
🔄 Check Your Understanding 1. With 18 tests and m = 18, what does Holm multiply the smallest p-value by? 2. Rosa's 100–125-yard band has raw p = 0.003 but Holm p = 0.051. Is the band fine?
Answers
- By 18 (the number of tests); the next smallest by 17, and so on, never letting an adjusted value fall below the one before it.
- No. It just isn't flagged on 20 rounds after the adjustment. Her truth is the same approach multiplier at every distance; the band is part of the approach leak the category already shows.
40.4 Your pattern and your aim
The strokes-gained sections tell you where strokes go. The next two sections tell you how to get some back on the course, without hitting a single extra range ball.
Dispersion by club
The dispersion section fits Chapter 19's robust bivariate-normal pattern to each club with at least 15 full swings from the tee or fairway: driver first, then the most-used clubs. The robust fit sets aside shots beyond the 99% ellipse when it estimates the core (they still count in strokes gained; they're real shots), and a one-sample t-test asks whether the pattern's centre is off your aim point.
For Marcus, the report's driver panel is the most important picture in his file:
| Club | Shots | Core | Centre, lateral (yd, + right) | Centre, distance (yd) | Lateral SD | p (lateral bias) | Set aside |
|---|---|---|---|---|---|---|---|
| D | 285 | 262 | +6.0 | −6.3 | 20.8 | < 0.0005 | 8.1% |
| 3W | 27 | 27 | −0.9 | −19.9 | 21.2 | 0.822 | 0.0% |
| 8i | 28 | 27 | +0.9 | −3.8 | 11.2 | 0.688 | 3.6% |
| LW | 33 | 33 | +0.5 | −3.3 | 7.9 | 0.719 | 0.0% |
SIMULATED, Marcus's representative 20 rounds (seed 78035).

📊 Figure (described): Four square panels of shot errors (lateral on the horizontal axis, distance on the vertical) for the driver, 3-wood, 8-iron and lob wedge, each with dashed 1σ and solid 2σ ellipses, a cross at the aim point and a dot at the pattern centre. The driver panel has 285 points with the centre visibly right of the cross and a cluster of hollow "set aside" points far short of the aim (mishits). The other three panels have far fewer points and centres close to the aim.
His built-in truth is a 1.5° right miss, with 75% of his big misses going right. In his driver's Gaussian core that's a centre about +7.0 yards right at 266 yards (Chapter 18's number). The report, from his 20 rounds, says +6.0, with a p-value so small it rounds to zero. With 285 drives, even a 20-round sample pins down a 6-yard bias. His irons tell a different story: with 28 eight-iron shots, the same test can't see a bias of that size (Chapter 19's power table for his approach bias: 30% at 20 shots, 85% at 80).
The aim calculator
The aim section takes your fairway approaches from 130–190 yards, fits a plain (not robust) pattern to them, keeping the big misses because they cost strokes, and runs Chapter 18's optimal_aim on the book's water-right demo hole from 160 yards. Each aim's expected score is
$$EV(\text{aim}) = 1 + \sum_k p_k(\text{aim}) \, E_k,$$
the probability-weighted cost of every place the ball can finish (green, fringe, rough, sand, water), each priced with your own level's SIMULATED baseline. The calculator searches a 2-yard grid of aims for the smallest $EV$.
For Marcus, the 38 approach shots in his 20 rounds give a pattern with lateral SD 17.7 yards and the best aim 12 yards left and 4 yards long of the flag: 4.096 expected strokes against 4.306 at the flag, a saving of 0.21 on that one shot. That's exactly Chapter 18's checkpoint result, reproduced through the dashboard. The book's headline number for this hole uses Marcus's true pattern and the full shot model (4.13 at the pin against 3.74 at the optimum, 0.39 saved). The report, working only from his 20-round sample, finds the right direction and about half the size.

📊 Figure (described): An overhead map of the water-right demo hole near the green, overlaid with a shaded expected-strokes surface (darker is better). Water runs down the right side. The flag (triangle) sits right of the green centre (circle). The best aim (star) is well left of the flag, inside a black outline marking every aim within 0.05 strokes of the best, an area several yards across.
📋 Play the Shot: 160 yards, flag right, water right Situation: Marcus, 160 yards from the fairway, flag tucked 7 yards right of centre, water hugging the right edge. His pattern (from his own rounds): lateral SD 17.7 yards, centre 1.1 yards right. Options (SIMULATED, his fitted pattern, SIM 7.8 baseline): at the flag 4.306 expected strokes; at the centre of the green 4.148; 12 yards left and 4 long 4.096. Decision: aim left of centre. The centre of the green gets him three-quarters of the saving (0.16 of 0.21), and it's a target he can see. The fully optimal point adds 0.05.
Rosa's version is milder. Her lateral SD on the same shots is 21.3 yards, her best aim is 9 yards left of the flag, and the saving is 0.095 per shot (4.407 against 4.502), most of which the centre of the green already captures (4.425).
How much is aiming worth over a round?
The aim calculator prices one shot. For a whole round we have two simulated answers, and they measure different decision-makers.
- The book's Marcus number: golfkit's built-in
policy="optimal"(aim points, tee club and tee aim, and go-or-lay-up decisions, all chosen against his SIM 7.8 baseline) saves 0.81 strokes per round (95% CI 0.65–0.99) over his flag-hunting habit in 4,000 SIMULATED rounds per policy. About 0.48 of that is the tee plan (aiming away from his right miss). - Chapter 38's prototype caddie makes the same three kinds of decision (tee club and aim, approach aim, go or lay up) with this book's own smoother tools: Chapter 18's aim search and Chapter 21's tee plans. On a calm day it saves Marcus 1.45 strokes per round (95% CI 1.29–1.62), Rosa 1.00 and Walt 1.08 (SIMULATED). Its explainable rule-of-thumb aims keep 89–96% of that. Putting pace was evaluated separately in Chapter 38 and isn't in those numbers.
The gap between 0.81 and 1.45 is partly machinery: golfkit's built-in optimal policy chooses aims on a coarse grid that Chapter 18 found lumpy at hazard lines (its "optimum" can even lose to the centre of the green when re-priced). Whichever number you prefer, both say the same thing to Marcus: the cheapest strokes in his game are decisions, not swings.
🔄 Check Your Understanding 1. Why does the report fit a robust pattern for the dispersion section but a plain one for the aim calculator? 2. With 285 drives the report detects Marcus's right bias; with 28 eight-irons it can't. What's the general rule? 3. The 0.81 and 1.45 strokes-per-round savings both come from the simulator. Why aren't they the same?
Answers
- The dispersion section describes your normal swing (the core), with the outliers shown separately. The aim calculator must price what actually happens, and the big misses are part of what actually happens.
- The standard error of a pattern's centre is SD/√n. Bias detection needs many shots with one club; Chapter 19's
shots_to_detect_biasgives 68 shots for Marcus's iron bias at 80% power.- They're different decision-makers. golfkit's built-in optimal policy chooses on a coarse grid; Chapter 38's caddie uses smoother aim searches and its own tee plans. Both are model outputs on SIMULATED rounds.
40.5 Equipment: what on-course numbers can and can't tell you
The equipment section has two parts. The first reads your shot file; the second runs a model only if you give it launch-monitor inputs.
On-course distances and gaps
From your full swings off the tee and fairway (starting 50 yards or more out, not finishing in water or out of bounds), the report computes each club's median on-course total distance, its spread, and the gap to the next club, then applies Chapter 25's flags: "compressed" if a gap is less than half the median gap, "hole" if more than 1.5 times it, "inverted" if the shorter club goes farther. Each gap gets a 95% interval from the two clubs' spreads and shot counts, and a flag is called "firm" only if it holds at both ends of that interval.
One honest change from Chapter 25: on the course, shot-to-shot spreads run 15–40 yards (you hit a 6-iron 160 yards on one hole and 135 on the next because the hole asked for it). Chapter 25's overlap test would call every pair "compressed". The report flags on gap size alone and leaves the overlap test to launch-monitor sessions.
For Walt, the section finds the one thing the simulator built into him:
| Club | n | Median total (yd) | Gap to next | Flag |
|---|---|---|---|---|
| D | 283 | 194 | 2.8 | compressed |
| 3W | 44 | 191 | 10.8 | ok |
| HY | 55 | 180 | 7.3 | ok |
| 4i | 25 | 173 | 11.1 | ok |
| 5i | 31 | 162 | 3.8 | compressed |
SIMULATED, Walt's representative 20 rounds (seed 189019); the full table is in code/_out/02_output.txt.

📊 Figure (described): Horizontal bars of median on-course total distance by club, driver at the top (194 yards) down to lob wedge (70). Bars are coloured by the flag on the gap below them. The driver bar is orange ("compressed", gap 2.8 yards to the 3-wood at 191). Two other bars are orange (5-iron and pitching wedge) and three are amber "holes" (6-iron to 7-iron, 8-iron to 9-iron, and gap wedge to sand wedge at 26.4 yards).
Walt's driver goes barely farther than his 3-wood on the course. His truth: his driver's total is 86% of a typical 18.9's. In the simulator his driver totals 200.9 yards and his 3-wood 205.4. The report doesn't know why. It just sees that the longest club in his bag isn't buying him any distance, which is the right question to take to a fitter. Across 60 fresh 20-round samples, the driver gap was flagged compressed or inverted in 82% of them (§40.7).
For Rosa, the same section flags five "holes" (driver to 3-wood 36.0 yards, for instance), but none is firm: the driver-to-3-wood interval runs from 10.3 to 61.7 yards, because she hits her 3-wood only ten times in 20 rounds. One more limit applies to her: golfkit's simulator applies her approach-dispersion multiplier to 3-woods off par-4 and par-5 tees too (a known toolkit quirk, found in Chapter 21: her tee 3-wood has a 24.4-yard lateral SD instead of 18.8). Her simulated 3-wood numbers are a little worse than her docstring truth says they should be. We left the quirk in place, because fixing it would shift every seeded number in the book, and the report reads what the simulator produced.
⚠️ Common Pitfall: reading on-course totals as stock carries A 7-iron's median on-course distance is where you chose to hit 7-iron: it depends on the holes, your club selection and the roll, not just on how far the club carries. A launch-monitor session (Chapter 4's
distance_matrix) measures carries under controlled conditions. Use the on-course table to spot questions (Walt's driver ≈ 3-wood) and the launch monitor to answer them.
The driver model scenario
Give the report a driver speed, an attack angle and a dynamic loft (--driver-speed 88 --attack -5 --dynamic-loft 12 for Walt) and it runs Chapter 24's driver_payoff: a MODEL scenario from golfkit's flight and impact models at sea level in calm air, using the TrackMan Combine smash interpolation at your handicap. For Walt it reproduces his story to the tenth of a yard:
| Lever (MODEL) | Carry change |
|---|---|
| Today: 88 mph, attack −5°, dynamic loft 12° | 178.7 yd carry |
| Best loft at his −5° attack (equipment) | +3.0 (total −4.0) |
| Attack 0°, best loft (coach) | +13.4 |
| Attack +3°, best loft | +19.3 |
| +5 mph, same delivery (training) | +17.1 |
| +1.5% speed, same delivery | +4.7 |
| +5 mph and attack 0° | +28.9 |

📊 Figure (described): Horizontal bars of carry change against Walt's 178.7-yard carry today, MODEL scenario. "Best loft at attack −5.0" is a short bar (+3.0). "Attack +0.0, best loft" is +13.4 and "attack +3.0" +19.3. "+5 mph, same delivery" is +17.1, "+1.5% speed" only +4.7, and "+5 mph and attack +0.0" is the longest bar at +28.9.
The lesson hasn't changed since Chapter 1: the launch monitor finds the yards, but equipment alone recovers about 3 of them. The rest needs an attack-angle change (a coach-and-fitter job) or more speed, and speed is the hard one: the training trials the book cited found gains of about 1.5–1.6% (+4.7 yards for Walt), not 5 mph.
🧪 Assumption: no launch monitor, no model The report never guesses your delivery. Without
--driver-speedthe driver section is skipped. If you enter numbers, they should come from a launch-monitor session averaged over many swings (Chapter 23's protocol), not from a single best swing.🔄 Check Your Understanding 1. Why does the report flag on-course gaps by size only and not by Chapter 25's overlap test? 2. What does a "firm" flag mean, and why are none of Rosa's flags firm? 3. Of Walt's 28.9 yards, how many can equipment alone deliver?
Answers
- On-course spreads (15–40 yards) are so wide that every pair would "overlap": the test can't separate a real gap problem from course-driven club selection.
- The flag holds at both ends of the gap's 95% interval. Rosa hits some clubs only 10–20 times in 20 rounds, so her gap intervals are tens of yards wide.
- About 3.0 (the best loft at his current −5° attack angle). The rest needs a delivery change and more speed.
40.6 The plan, and how long it takes to prove
Everything so far describes the golfer. The last three sections tell her what to do and when to believe it worked.
The practice plan
The practice section is Chapter 27's gap model. Each category's gap to the target, $g_c = \max(-SG_c, 0)$, closes by a fraction $r$ of what remains for every hour of practice:
$$\text{gain}_c(t) = g_c \left[1 - (1 - r)^t\right].$$
In words: the first hour on a big gap buys the most, and each later hour buys a little less. The model hands out hours one at a time to whichever category's next hour buys most.
🧪 Assumption: the practice-response rate $r = 0.03$ of the remaining gap per hour, in every category, is golfkit's default. No published practice-response rates exist in our references, so it's an assumption, and the report labels it one. Treat the plan's "expected gain" as a way of ranking where hours should go, not as a forecast of your next handicap.
For Rosa, with gaps of 0.59 (off the tee), 3.29 (approach), 0.24 (around the green) and 0 (putting) against a 12, every one of 20 hours goes to approach, priced at 1.50 strokes per round. Her habit (🧪 half her time on putting) is priced by the same model at 0.44. Those are the book's numbers for Rosa, reproduced by the report. The other five reports split their hours like this (SIMULATED, representative samples):
| Golfer (target) | Off the tee | Approach | Around the green | Putting | Priced gain |
|---|---|---|---|---|---|
| Rosa (12) | 0 h | 20 h | 0 h | 0 h | 1.50 |
| Marcus (5) | 6 h | 14 h | 0 h | 0 h | 0.63 |
| Walt (16) | 20 h | 0 h | 0 h | 0 h | 1.50 |
| Emma (+4) | 0 h | 12 h | 0 h | 8 h | 0.41 |
| Coach Tasha (scratch) | 12 h | 8 h | 0 h | 0 h | 0.82 |
| Dev (9) | 4 h | 0 h | 0 h | 16 h | 0.73 |
Walt's 1.50 is no typo: his off-the-tee gap to a 16 happens to be 3.29 strokes, the same size as Rosa's approach gap to a 12, so the model prices both plans identically.

📊 Figure (described): Four horizontal bars of practice hours by category. Only approach has a bar: 20 hours, labelled "20 h → 1.50 strokes/rd (gap 3.29)". Off the tee, around the green and putting show 0 hours with their gaps (0.59, 0.24 and 0.00).
The progress test
Now Rosa does the work. Her "after" golfer in the simulator is the book's 🧪 assumed improvement: approach dispersion multiplier 1.30 → 1.187, which the long run prices at 1.54 strokes per round (93.24 → 91.70 over 5,000 SIMULATED rounds each). We put her 20 representative rounds and 20 "after" rounds (seed 154100) in one file, tell the report the change came after round 20 (--change-after 20), and read the progress section:
| Test (one-sided Welch, bootstrap 95% CI) | Improvement | 95% CI | p | Verdict |
|---|---|---|---|---|
| Score (93.40 → 92.20) | +1.20 | −1.90 to +4.40 | 0.237 | not yet distinguishable from luck |
| SG: Approach vs SIM 12 | +2.09 | −0.25 to +4.53 | 0.054 | not yet distinguishable from luck |
The improvement is real (we built it in) and the test can't see it. That is exactly the book's headline result for Rosa, now produced by her own dashboard. The power formula from Chapter 14 says why:
$$n = 2\left(\frac{(z_{1-\alpha} + z_{1-\beta})\,\sigma}{\delta}\right)^2.$$
In words: the rounds you need in each period grow with the square of the noise-to-signal ratio $\sigma/\delta$. With a one-sided α of 0.05 and 80% power, $z_{0.95} + z_{0.80} = 1.645 + 0.842 = 2.487$. For Rosa's score, $\sigma = 4.75$ (her long-run round SD) and $\delta = 1.54$, so $n = 2 \times (2.487 \times 4.75 / 1.54)^2 = 2 \times 7.67^2 \approx$ 118 rounds before and 118 after. For SG: Approach ($\sigma = 3.61$, $\delta = 1.57$) it's 66 and 66. With 20 rounds each, the score test finds the change only 27% of the time and the approach test 39% (signal.power).

📊 Figure (described): Rosa's 40 SIMULATED scores as grey dots (inverted axis, so better is higher), a blue rolling 10-round mean and its pale 95% noise band. A dashed orange line marks "change" after round 20. The rolling mean drifts upward (lower scores) through rounds 15–25 and then wanders around 91–94; the noise band is about ±3 strokes wide throughout, and most single rounds fall outside it.
The report's own "Prove" box sizes the plan the same way but with what it can know from your file: the SIMULATED round SD for your level (4.79 at 15.4, from Chapter 28) and the plan's priced gain (1.50). That gives 126 rounds each side for Rosa, and 284 to see a 1-stroke change.
What would 40 more rounds settle? We gave her two more 20-round blocks with the same improved golfer (seeds 154101 and 154102). Twenty before against sixty after: score +1.02 (p 0.244), SG: Approach +1.49 (p 0.098). Still not proof. Sixty rounds is two golf seasons for a lot of people.
A false alarm, caught
Here is the moment the report earns its keep. Run it on Rosa's 20 representative rounds alone (no change at all happened in them), and without a change point it compares the first and second halves of the file. Rounds 1–10 against rounds 11–20: +4.40 strokes, p = 0.045. By the usual rule, "significant".
It isn't. Nothing changed; this is luck, the kind Chapter 11 saw when it split the same sample into halves (approach −2.88 in the first ten, −0.22 in the second). The report prints the test, but labels it a noise check: "No change was logged, so this split is a noise check, not evidence." It also keeps it out of the "three things" page. An analytics tool that hunts through your rounds for a split that looks good will always find one. The rule built into the software is the rule of Chapter 28: decide what you're testing, and when, before you look.
📋 Play the Shot: "Ten rounds in, and I'm four shots better" Situation: Rosa has practised approach for a month. Her last ten rounds average 4 strokes better than the ten before. Her friend says she should tell the handicap committee she's "really improved". The numbers: a 10-versus-10 split of rounds in which nothing changed produced +4.40 (p 0.045) in her own simulated file. Her real plan is worth about 1.5 strokes a round (assumed), and proving 1.5 at her noise level takes about 118–126 rounds each side. Decision: keep logging, keep practising, change nothing else. A four-shot jump in ten rounds is mostly luck in both directions. Her handicap will catch up on its own (next section).
The handicap trend
The handicap section posts every round the way the World Handicap System does (Chapter 29): Course Handicap from your index, net double bogey on each hole, the Score Differential, and the index after each round as the average of the best 8 of the most recent 20 differentials. There's no 0.96 multiplier; that belonged to the pre-2020 USGA method.
Rosa's 20 representative rounds give an index of 14.9 after round 20, the same value Chapters 2 and 29 found. The book's expected index after her improvement is 14.69 (60 simulated histories); Chapter 29 checked it with 400 histories and got 14.35. Both show a fall of 0.7–1.1, not the 3 strokes golf folklore would promise.
And the index lags. Chapter 29 found that after the same improvement the index falls 1.08 over about 18 rounds, and that about 1 in 5 Rosas (0.21) still has a higher index 60 rounds after the change than at it. Rosa's own 80-round file shows it: 14.9 after round 20, 15.0 after 40, 13.8 after 60, 16.2 after 80, higher than when she started practising, with a genuinely better golfer.

📊 Figure (described): Rosa's 80 SIMULATED Score Differentials (grey dots, mostly between 12 and 25) and her running Handicap Index (blue line), with a dashed orange line at her starting index of 15.4. The index first appears at round 3 near 19, settles around 15–17.5 for the first 20 rounds, dips to about 13.5 around rounds 50–65 and climbs back to 16.2 by round 80. The improvement after round 20 is not visible as a clean step.
⛳ On-Course Action Before your next round, open your report and write down three things on the back of your scorecard: your plan's category (where the practice hours go), your aim rule for trouble holes (for Rosa, "left-centre when there's water right"), and the date. Log every round after that, including the bad ones. Rerun the report every 10 rounds, and don't judge the plan until you have the number of rounds the "Prove" box gives you.
🔄 Check Your Understanding 1. Rosa's improvement is real, built into the simulator, and the 20-versus-20 test says p = 0.237. Is the test wrong? 2. Using the power formula, roughly how many rounds each side would Rosa need if her round SD were 3.61 instead of 4.75, for the same 1.54-stroke gain? 3. Why does the report refuse to put a "first half vs second half" result on its three-things page?
Answers
- No. It correctly says the data can't yet distinguish the change from luck. Not significant isn't the same as not real; the power at 20 rounds each is only 27%.
- $n = 2 \times (2.487 \times 3.61/1.54)^2 = 2 \times 5.83^2 \approx 68$, about 68 rounds each side. Halving the noise-to-signal ratio cuts the rounds needed by four.
- Nothing was logged as changing, so any split is chosen after the fact; Rosa's own no-change file produced p = 0.045 that way. Only a pre-declared change point is a test.
40.7 Validation: does the report recover the truth?
Now the question from the hook. Each cast member has a truth written into cast.py. The headline quirks are:
| Golfer | Built-in truth (SIMULATED) | The report should find |
|---|---|---|
| Rosa (15.4) | approach dispersion 1.30×; putting of an 11 | biggest leak: approach |
| Marcus (7.8) | aims at every flag, goes for greens 40 yd beyond reach, misses 1.5° right (75% of big misses right) | biggest leak: off the tee (tee-shot penalties from the right miss); a right bias in his pattern |
| Walt (18.9) | driver total 86% of a typical 18.9's | biggest leak: off the tee |
| Emma (+1.2) | driver and fairway woods 4% longer | biggest gain: off the tee |
| Coach Tasha (3.0) | short-game error 0.75× | biggest gain: around the green |
| Dev (12.0) | putting of a 17 | biggest leak: putting |
One report each
On each member's representative sample, the report finds the headline truth against the own-level baseline six times out of six (02_cast_reports.py):
| Golfer | Own level: found, value | Clear? | Same-course peers: found, value | Clear? |
|---|---|---|---|---|
| Rosa | APP −1.55 | no | APP −2.20 | yes |
| Marcus | OTT −0.73 | yes | APP −0.44 | no |
| Walt | OTT −1.62 | yes | OTT −0.51 | yes |
| Emma | OTT +0.64 | yes | OTT +0.46 | no |
| Coach Tasha | ARG +0.60 | yes | ARG +0.54 | yes |
| Dev | PUTT −1.03 | yes | PUTT −1.00 | yes |

📊 Figure (described): For each of the six golfers, two dots with 95% intervals showing strokes gained per round in that golfer's built-in truth category: blue against the own-level SIM baseline, orange against same-course peers. Rosa's approach dots sit well left of zero (−1.55, −2.20), the blue interval reaching just past zero. Marcus's off-the-tee blue dot is at −0.73 with its interval just below zero, but his orange peer dot is at about zero. Walt's are both negative. Emma's and Tasha's are both positive. Dev's are both near −1.0 with intervals ending just short of zero.
That looks like a clean sweep, and it's flattering, because the default seeds were chosen to be representative (each is the 20-round sample, out of 60 candidates, closest to the golfer's long-run profile). The honest test is fresh samples. 03_validation_seeds.py gives each member 60 new 20-round samples (seeds 5001–5060) and 30 new 60-round samples (seeds 6001–6030), and counts how often the report names the truth.
| Golfer | Own level, 20 rds | Own level, 60 rds | Peers, 20 rds | Peers, 60 rds | Own-level CI excludes 0, 20 rds | Plan's top category matches the long-run plan, 20 rds |
|---|---|---|---|---|---|---|
| Rosa (APP leak) | 97% | 100% | 98% | 100% | 42% | 98% |
| Marcus (OTT leak) | 97% | 100% | 25% | 50% | 50% | 40% |
| Walt (OTT leak) | 98% | 100% | 77% | 93% | 98% | 100% |
| Emma (OTT gain) | 55% | 60% | 62% | 83% | 28% | 53% |
| Coach Tasha (ARG gain) | 53% | 63% | 93% | 100% | 83% | 60% |
| Dev (PUTT leak) | 93% | 100% | 92% | 100% | 55% | 52% |
| All six | 82% | 87% | 74% | 88% | 59% | — |
SIMULATED. "Long-run plan" = the gap-model plan from 2,000 rounds per member (seeds 9001–9006). Intervals in this table use the normal approximation (mean ± 1.96 SE) for speed.

📊 Figure (described): Grouped bars for the six golfers, four bars each: own level at 20 and 60 rounds, same-course peers at 20 and 60 rounds. Rosa, Walt and Dev are near 1.0 on almost every bar. Marcus is near 1.0 against his own level but only 0.25 and 0.50 against peers. Emma sits between 0.55 and 0.83. Tasha is about 0.5–0.6 against her own level but 0.93 and 1.0 against peers.
Rosa's 97% matches what Chapter 14 found with a different 100 seeds (approach her biggest leak in 97 of 100). So does the overall lesson of Chapters 11, 14 and 15: a 20-round sample usually points the right way, and sometimes points elsewhere. Here it points elsewhere in about one sample in five overall (82% found against the own-level baseline), and the truth's own interval excludes zero in only 59% of samples. At 60 rounds the report is right 87–88% of the time and "clear" 91% of the time against the own-level baseline.
Where it fails, and why
The failures are more instructive than the successes, so let's take them one at a time. The long-run columns (2,000 SIMULATED rounds per member) tell us what the report would say with unlimited data.
Emma: a real edge, but a small one. Her long-run off-the-tee gain against her own level is +0.44, and her approach is +0.40, almost the same. With two categories that close and 20 rounds of noise, the report names the right one barely more than half the time. That isn't the report failing; that's the truth being nearly a tie. Her 60-round recovery against peers rises to 83%, because the peer yardstick removes her level's approach offset (+0.57 at +1.2).
Coach Tasha: the course effect in action. Against her own level she gains on approach (+0.45 long run) as well as around the green (+0.68), so in 20-round samples approach often looks like her biggest strength: around the green wins only 53% of the time. Against same-course peers, approach drops to −0.33 and around the green is clearly her gift (+0.60): 93% recovery at 20 rounds, 100% at 60. This is Chapter 15's caveat, measured: the own-level column carries a typical 3-handicapper's approach offset (+0.74 on this course), and the peers column doesn't.
Marcus: a habit, not a skill. Against his own level, his off-the-tee leak is found 97% of the time; the long-run value (−0.80) matches the book's headline figure exactly. Against same-course peers, it nearly vanishes: off the tee −0.18 and approach −0.11 in the long run, so the report finds "off the tee" only 25% of the time. Two things are going on. First, the member course's tee shots cost a typical 7.8 about 0.66 strokes against the generic-hole baseline, so most of his own-level "leak" is the course. Chapter 30 found the same (−0.30 against peers). Second, his truth isn't a category skill at all. It's a decision habit (flag-hunting plus a right miss) whose cost is spread over tee shots and approaches. The category view can't see a habit cleanly. The dispersion section can: his driver's right bias is detected in 59 of 60 20-round samples (98%), at an average of +7.0 yards. And the aim calculator prices what to do about it.
Dev: right category, uncertain plan. Putting is found in 92–93% of 20-round samples and 100% of 60-round samples. But his plan's top category matches the long-run plan only 52% of the time, because against his target (a 9) his off-the-tee gap (−1.31 long run) is nearly as big as his putting gap (−1.47). The diagnosis is reliable; the ranking of two similar gaps is not.

📊 Figure (described): One row of 60 jittered dots per golfer: the 20-round estimate in that golfer's truth category against the own-level SIM baseline, with a black bar at the 2,000-round value. Rosa's approach dots spread from about −4.0 to +0.8 around a bar at −1.39. Walt's off-the-tee dots run from −2.3 to −0.5, all negative. Emma's off-the-tee dots straddle zero slightly (−0.2 to +1.3). Tasha's around-the-green dots run from 0.0 to +1.2. Dev's putting dots run from −2.3 to about 0, all at or below zero.
The truth behind the truth
There's one more thing the validation found, and it's a nice example of why you check a tool against data you understand. Each cast member is a preset at a different level (base_h) plus a quirk, calibrated so the Handicap Index comes out at the nominal value. Rosa is a 12.6 preset with bad approach play: to end up a 15.4, the rest of her game has to be better than a typical 15.4's. Coach Tasha is a 4.1 preset with a great short game: to end up a 3.0, the rest of her game is worse than a typical 3's. Dev is a 10.9 with a 17's putting.
The report sees all of it. Rosa's long run against peers shows off-the-tee +0.58 and putting +0.76 (the putting is her 11-handicap quirk; the driving is her 12.6 preset). Tasha's shows off the tee −0.32, approach −0.33 and putting −0.30: a slightly weaker-than-typical long game and putting, exactly what a 4.1 preset is next to a 3.0. Dev's shows approach +0.67. The docstring tells you the headline; the report recovers the whole recipe.
🔍 Why Does This Work? Why validate on simulated golfers at all? Because a validation needs an answer key, and only simulation gives you one. On real golfers you can check that a report is consistent (it says the same thing next month) but not that it's right. On simulated golfers you can measure the error rate directly, and the error rate is what you need to know when the report talks about you. The price is that the simulator isn't reality: if real golfers' errors are correlated in ways the simulator's aren't, real error rates could differ. That's why the book always labels these numbers SIMULATED.
⚠️ Common Pitfall: validating on the representative seed only Every cast default seed was chosen to look like its golfer's long run. Validating on it alone would report a 100% success rate, and it would be a lie of omission. The fix is what §40.7 does: fresh seeds, many of them, at more than one sample size, and the failures reported beside the successes.
🔄 Check Your Understanding 1. Against same-course peers, Marcus's off-the-tee leak is found only 25% of the time at 20 rounds. Does that mean the report misses his problem? 2. Why does Tasha's recovery jump from 53% to 93% when the yardstick changes from her own level to her peers? 3. Dev's putting leak is found 92% of the time, but his plan's top category matches the long-run plan only 52% of the time. How can both be true?
Answers
- No. His problem is a decision habit and a right miss, not a category skill. The dispersion section finds the right bias in 98% of samples, and the aim calculator prices the fix.
- Her own-level column includes the member course's approach offset for a typical 3 (+0.74), which makes approach look like a second strength. The peers column cancels it.
- The leak is clear against his own level. Against his target (a 9), his off-the-tee and putting gaps are nearly equal (−1.31 and −1.47 long run), so the plan's ranking of the two flips with sampling noise.
40.8 Dev's model, and the limits of the whole toolkit
Dev Raman's report is the cleanest in the cast: putting −1.03 against his own level (95% CI −1.97 to −0.06), −1.00 against same-course peers, 16 of his 20 practice hours to putting.

📊 Figure (described): Diverging bars for Dev against the SIMULATED 9-handicap baseline. Putting is the longest orange bar at −1.57 with its interval wholly below zero; off the tee is −1.10, also clear. Approach (−0.16) and around the green (−0.25) are short bars whose intervals cross zero. Total −3.08.
Dev, of all the cast, should recognise the shape of his own report, because it's the shape of his tournament model. The model he built in Chapters 32–36 on REAL ESPN data was calibrated walk-forward on 133 events from 2024 onward. Its win-probability Brier skill score was 0.031 against the base rate (top 10: 0.067; making the cut: 0.083). The pre-event favourite won 19 of 133 events against 14.9 expected from the model's own probabilities. Across the win-probability bins the observed-to-expected ratio ran from 0.67 to 1.64, with every |z| at or below 1.90: not distinguishable from perfect calibration, and not precise enough to prove an edge. Verifying a true +5% edge at 20/1 would take about 32,189 level-stake bets. The model's biggest single miss was Scottie Scheffler: 17 wins in 60 starts against 10.63 expected.
His golf report says the same thing in different units. The leak is clear; the plan that fixes it is worth, in our simulation, about a stroke a round; and proving that a fix worked takes about 208 rounds each side (§ Epilogues). The putting stroke and the betting model obey the same arithmetic of signal and noise.
What the report can't see
Every section of the report has limits, and the report states them. Here they are in one place, because a tool you trust should come with its own list of failure modes.
- The baseline isn't your course. SIMULATED baselines are built on generic holes. The peers column fixes that for the member course only.
- On-course distances aren't carries, and many trackers don't record aim points. No aim points, no dispersion or aim sections.
- One demo hole. The aim calculator prices the water-right demo hole, not your course's hazards. Chapter 39's
course_profile.hazard_experimentis the tool for your own holes. - The plan's gain is an assumption. The practice-response rate (3% of the gap per hour) has no published source.
- The simulator has quirks, and the book left them in. Water drops at the entry point with the aim unchanged, which produces rare blow-up holes (one 5,000-play test produced a 78 with 38 drops). It applies the approach multiplier to 3-woods off par-4 and par-5 tees. golfkit's 7×7 targeting grid is lumpy at hazard lines, so its built-in "optimal" policy can score worse than aiming at the flag; this book's aim and caddie tools use Monte Carlo searches instead. Its island-green drop is too lenient for balls that fly the green, and its hole classifier lets water override green. On some side-hill, low-pace putts
putting.solve_aimreturns an invalid line, whichputting_strategychecks for and refuses. Fixing any of these would shift every seeded number in the book, so each chapter that meets one works around it and says so. - Nothing here sees your lie in the rough, your stance, the wind, the firmness, your nerves, or whether you'll execute a target you don't trust.
💡 Key Insight The report is right about direction far more often than about size, and about categories more often than about sub-categories or rankings of close gaps. Trust it in that order.
🔄 Check Your Understanding 1. Dev's model won 19 of 133 events with its favourite, against 14.9 expected. Is that proof of an edge? 2. Name two things the report can't see that a playing partner could.
Answers
- No. The observed-to-expected ratios across bins (0.67–1.64, every |z| ≤ 1.90) are inside what chance produces, and verifying a +5% edge at 20/1 would take about 32,189 bets. It's consistent with a well-calibrated model, nothing more.
- Any two of: your lie and stance, the wind, the firmness, your nerves, whether you committed to the target.
Epilogues (SIMULATED)
Every arc in this book started with a simulated golfer, so every arc ends with a simulation: the fix each golfer's report points to, played out over thousands of SIMULATED rounds before and after, and nothing beyond what the simulator produced (05_epilogues.py).

📊 Figure (described): Four horizontal bars of strokes saved per round with 95% intervals, each labelled with the rounds needed on each side to prove it at 80% power. Rosa's 20 hours of approach practice (assumed effect): 1.54, proof about 118 rounds. Marcus's dispersion-based targets: 0.81, about 286 rounds. Walt's level attack angle: 0.51, about 1,164 rounds. Dev's putting fix (assumed): 1.05, about 208 rounds.
Rosa Delgado. She moved her practice from the putting green to the range, and her simulated self got the assumed reward: a long-run average of 91.70 instead of 93.24, 1.54 strokes a round (95% CI 1.36–1.73). Her first 20 rounds afterwards averaged 92.20, a gain her own dashboard can't yet confirm (p = 0.237). Rerun on those 20 rounds alone, the report still names approach as her biggest gap to a 12 (−1.20, down from −3.29) and still sends her practice hours there. Her index, 80 simulated rounds into the story, reads 16.2. The golfer got better; the paperwork hasn't noticed yet. The book's prediction for her is an index of about 14.7 in the long run, and her dashboard's advice is the right advice: keep going, and count rounds, not weeks.
Marcus Bell. He gave up flag-hunting for the targets his dispersion asks for, and the simulator says it's worth 0.81 strokes a round (0.64–0.98). We entered his simulated self in a 36-hole net stroke-play club event against 23 simulated members (indexes 2.0 to 20.0, all 🧪 presets) and played it 20,000 times. Aiming at flags, he wins 3.6% of them, below the fair share of one in 24 (4.2%). Playing boring golf, he wins 5.5%, and his average finishing position improves from 12.1 to 10.4. Then we played one edition with a fixed seed and wrote down what happened: rounds of 83 and 86, net 155, 15th of 24, tied with one other player. Boring golf made Marcus a better bet. It didn't win him that particular event, and we're not going to pretend it did.

📊 Figure (described): Two bars of win probability in a SIMULATED 24-player, 36-hole net event: 3.6% when Marcus aims at flags (mean finish 12.1) and 5.5% when he plays dispersion-based targets (mean finish 10.4), against a dashed line at the fair share of 1 in 24.
Walt Kowalczyk. The launch monitor found him 28.9 yards of carry in the model, and a loft change alone could deliver about 3. He chose the coaching route: a level attack angle, worth +13.4 yards of carry and +9.0 of total in the model. Transferred to his simulated golfer (🧪: the simulator adds 9.0 yards to his driver's total, nothing else changes), that's 0.51 strokes a round (0.31–0.71), in line with the 0.47 Chapter 30 found with a different seed. Proving it from scores would take about 1,164 rounds each side, so Walt should prove it on the launch monitor instead, where the change is measured in yards and degrees, not strokes. His 20-round report afterwards still names off the tee as his biggest gap to a 16 (−2.82): 9 yards is a start, not a cure.
Dev Raman. His report never wavered: putting, in 92% of 20-round samples. Giving his simulated self the putting of a 12-handicapper instead of a 17's is worth 1.05 strokes a round (0.88–1.21), and his 20 rounds afterwards show putting at +0.24 against his level, no longer a leak. Proof from scores would take about 208 rounds each side, roughly the same order of patience his betting model asks for. Dev, more than anyone in the cast, knows what to do with a number like that: write it down before he starts, and don't peek.
Emma Sato. Her report confirms what her simulated swing was built with: off the tee is her biggest gain against her own level (+0.64, 95% CI +0.19 to +1.03). Against a "+4" target, the gap is approach (−0.81) and putting (−0.73), and the plan sends 12 hours to approach and 8 to putting. She's the cast member for whom the report is least certain: her edge is real but small, and only 55% of fresh 20-round samples name it. For an elite player, 20 rounds is a short season of data. Her dashboard's honest advice is to keep logging through the spring.
Coach Tasha Nguyen. She ran the report on herself to see what her students would see. Against her own level it shows the short-game gift she's known about for years (+0.60 around the green, clear) and an off-the-tee "leak" she didn't expect (−0.67). Against same-course peers it shows the same gift (+0.54) and a long game a little weaker than a typical 3's. Which is exactly how her simulated self was built. Her question since Chapter 1 has been "so what do I tell my student?" The report's answer is three boxes long, and she'd add one sentence of her own: bring me 20 more rounds before you change anything else.
Spaced Review
Three questions from earlier in the book, asked before they're answered.
From Chapter 12: why does Rosa's approach loss look ten times bigger against the PGA TOUR baseline than against her own level? Because Broadie's tour table expects tour outcomes from every position: a tour player from 150 yards in the fairway takes about 2.94 strokes, a SIMULATED 15-handicapper about 3.86. Every one of Rosa's 27 approach shots a round is priced against the lower expectation. The tour baseline is the right yardstick for "how far am I from the tour" and the wrong one for planning.
From Chapter 18: why is the best aim on the water-right hole left of the flag, even for a golfer with no bias? Because the costs aren't symmetric. A ball that finishes 10 yards right is wet and costs about a stroke more; a ball 10 yards left is on the fringe or in the rough. Moving the aim left trades a little more of the cheap miss for much less of the expensive one. The more dispersion you have, the farther left the optimum moves, and Marcus's right bias pushes it further still.
From Chapter 14: how many rounds before and after does a tour player need to detect a 1-stroke change with 80% power? About 120 per period, at the tour's round SD of 2.756. Amateurs are noisier (4.79 for a 15.4 in the simulator), which is why Rosa's 1.5-stroke plan needs about as many rounds as a tour player's 1-stroke change. That's the number the report's "Prove" box is built on.
Project Checkpoint: dashboard and cli
This chapter adds the last two modules, project/yardbook/dashboard.py and project/yardbook/cli.py, plus project/yardbook/__main__.py, so that python -m yardbook runs the command line.
dashboard (imports golfkit and the earlier yardbook modules; matplotlib only inside the chart function; writes only the path you pass to render_html):
target_level(h)→round(h − 3), kept within the cached SIMULATED range;sim_baseline(h)loads the cached SIM baseline ath(or the nearest integer level); only on a fresh copy with no cached table does golfkit build that one level and cache it.sg_views(shots, h, target)→ the four-yardstick table, biggest leaks and gains, and the same-course peers column when the pars match the member course.subcategories,club_patterns,aim_demo,club_distances,equipment,practice_plan,progress_test,handicap_trend: one function per report section, each usable on its own.build_report(shots, handicap, …)→ aReportwith every table;three_things(report);truth_check(report, name)compares a cast report withCAST_TRUTH.report_figures(report)→{name: PNG bytes};render_html(report, path, embed=True)writes the page.
cli: build_parser() and main(argv) with two sub-commands, report and cast-csv. Bad input exits with code 2 and the validation summary.
# code/project_checkpoint.py (excerpt): the reader's workflow, end to end
import subprocess, sys
def run(*args): # run "python -m yardbook ..." from project/
return subprocess.run([sys.executable, "-m", "yardbook", *args], cwd=PROJECT,
capture_output=True, text=True, encoding="utf-8")
run("cast-csv", "dev", "--out", str(csv)) # a SIMULATED file (seed 120041)
run("report", "--shots", str(csv), "--handicap", "12", "--name", "Dev Raman",
"--out", str(html), "--note", "SIMULATED — yardbook.cast Dev Raman, seed 120041")
page = html.read_text(encoding="utf-8")
for _id, head in dashboard.SECTIONS: # every section heading present?
print(f" [{'x' if head in page else ' '}] {head}")
wrote ...\dev_report.html (20 rounds, 12 s)
1. Practise: put 16 of your next 20 practice hours into putting
2. Play: on approaches with trouble on one side, aim about 12 yd left of the flag, away from the trouble
3. Prove: log every round; judge the plan after about 439 rounds, not 5
report: 900 KB; embedded PNG charts: 9
[x] Your report at a glance
[x] Data check
[x] Strokes gained by category
...
[x] Three things to do next
Dev's "439 rounds" is the power formula applied to a small priced gain (0.73 strokes) at a 12-handicapper's round SD: an honest number, and a reminder that the plan's gain is the 🧪 gap model's, not a measured effect. His simulated putting fix (the epilogue) is bigger, which is why its proof is shorter.
Tests. project/tests/test_yardbook_cli.py (pytest) writes Rosa's cast file with the CLI, builds the report from it, and checks that the page exists, is self-contained (at least 8 embedded charts), contains every section heading, shows the target level of 12 and her −3.29 approach gap, and states the WHS rule without the 0.96. It also checks the --images-beside option, the exit code for a missing file, and that truth_check recovers Rosa's approach leak with the 1.50-stroke plan. All five tests pass, in about 45 seconds.
Assembly. scripts/update_yardbook_init.py --check finds 42 modules, all 42 importable, and reports that dashboard and cli will be added to yardbook.__all__ when the package's __init__.py is regenerated.
Chapter Summary
The report, section by section
| Section | Method | Rosa's representative 20 rounds (SIMULATED) |
|---|---|---|
| Strokes gained | $SG = E(\text{start}) - E(\text{end}) - 1 - \text{pen}$, four yardsticks | APP −3.29 vs SIM 12; −1.55 vs SIM 15.4; −2.20 vs same-course peers |
| Peers | $SG^{\text{PGA}}(\text{you}) - SG^{\text{PGA}}(\text{typical, same course})$ | removes the course offset (typical 15.4: APP +1.22, OTT −0.47) |
| Sub-categories | round bootstrap + Holm, 18 tests | APP 225+ yd flagged (−1.00, Holm p 0.009) |
| Dispersion | robust bivariate normal, t-test on the centre | driver lateral SD 20.3 yd, no bias |
| Aim | $EV = 1 + \sum_k p_k E_k$ over a 2-yd grid | 9 yd left of the flag; 0.095 saved per shot |
| Equipment | on-course totals, gap flags with CIs; driver MODEL | no firm flags; Walt: driver ≈ 3-wood, loft-only +3.0 yd |
| Practice | $g_c[1 - (1 - r)^t]$, 🧪 r = 0.03 | 20 h to approach, priced 1.50 (habit 0.44) |
| Progress | Welch + bootstrap; $n = 2((z_{1-\alpha} + z_{1-\beta})\sigma/\delta)^2$ | 20 v 20: +1.20, p 0.237; needs 118 each side |
| Handicap | best 8 of 20 differentials, no 0.96 | 14.9 after 20 rounds; the index lags real change |
Validation (SIMULATED, fresh seeds)
| 20 rounds | 60 rounds | |
|---|---|---|
| Report names the built-in truth (own-level yardstick, all six golfers) | 82% | 87% |
| …same-course peers yardstick | 74% | 88% |
| Truth category's interval excludes zero (own level) | 59% | 91% |
| Marcus's driver right bias detected | 98% | 100% |
Before you trust a golf report (yours or anyone's)
- [ ] It names its baseline, and the plan uses your target level's.
- [ ] Every category carries an interval; "clear" means the interval excludes zero.
- [ ] Sub-category flags are adjusted for the number of tests.
- [ ] It says what it can't see (aim points, carries, your course's hazards).
- [ ] It tests a change you declared in advance, never a split it found.
- [ ] It tells you how many rounds proof will take, before you start.
- [ ] It has been validated on golfers whose truth is known, with failures reported.
The Last Hole
Picture the 18th on a summer evening. The wind has dropped, and the shadows of the trees reach halfway across the fairway. You have 160 yards to a flag tucked right, with water down that side.
Forty chapters ago you'd have aimed at the flag, because that's where the hole is. Now you know three things you didn't. You know your ball doesn't go where you aim it; it goes somewhere in an ellipse about as wide as the green, and you know that ellipse's size because you measured it. You know a ball in the water costs about a stroke more than a ball in the left rough, so the best target is somewhere left of the flag, and you can say roughly where. And you know that whatever happens on this shot, it says almost nothing about whether you're getting better. That takes a hundred rounds, and you've stopped expecting a single swing to tell you.
So you pick a target left of centre, take one more look at the flag, and make the best swing you have. Maybe it finishes 25 feet left and you two-putt for a boring par. Maybe it comes off the face so cleanly that it starts at the flag anyway, and you watch it all the way down. Data won't take that feeling away. It just makes the bad days a little cheaper, so you get more of the good ones.
That is the whole book in one shot. Strokes gained is the language: every shot, practice hour, club and decision priced in the same currency. Your dispersion is your reality. Many of golf's oldest certainties turn out to be myths when you count. The smart play usually feels boring. Variance is the enemy of understanding, and patience is its only cure. And the tour player and the 25-handicapper are playing different games, so every framework in this book had to be translated for each of them.
You now have a tool that does that translation for you, built from 39 chapters of parts you understand, and tested against golfers whose truth we knew. It's free, and it's yours to change. Swap in your own rounds, then your own course, then your own baselines as your data grow. When the report surprises you, look hard at that part, because a surprise usually means the report has found something you didn't know about your game.
Rosa closes her laptop, puts the pitching wedge in the car, and leaves the putter at home. Then she goes to bed. She's got a range session at seven.