A team that finishes 5 items a sprint on average has 30 items left. "Six sprints" is a coin flip: it comes true 54% of the time. A range, "85% likely by sprint 7", is a promise you can keep.
Drag the work left. Switch between One date and A range, then press Simulate. Then we build the job piece by piece: sprints of uncertain experiments, forecasts, noisy evals, tracking, data lead times and risk.
You need a rough idea of what a sprint is and what a model eval score is. A little Python helps for the code. We build the rest from zero.
Scrum terms follow The Scrum Guide (Schwaber and Sutherland, November 2020). Every team, sprint and number on this page is an illustrative example made for teaching.
Illustrative team: the last 8 sprints finished 4, 7, 3, 6, 5, 2, 8 and 5 items. We compute the bars of chance exactly from those 8 sprints. Simulate draws random futures from the same 8 numbers and lands close to them.
Chapter 0
Meet the job: keep a team of experimenters honest, unblocked and predictable when most of its work can fail
Monday morning. The two-week sprint ended. One experiment hit its accuracy target but costs four times the planned GPU budget to serve. One overfit and failed. One is "promising" and wants two more weeks. The product manager asks why the demo is not ready.
A Scrum Master is the person who makes this team work well. The Scrum Guide says the Scrum Master "is accountable for establishing Scrum as defined in the Scrum Guide." They do not train the models. They shape how the team plans, decides and reports.
Scrum splits work into sprints: fixed-length cycles of one month or less. Three accountabilities share the team.
| Who | Owns | Commits to |
|---|---|---|
| Product Owner | the Product Backlog: what to build, in what order | the Product Goal |
| Developers | the Sprint Backlog: the plan for this sprint | the Sprint Goal |
| Scrum Master | how well the team runs Scrum | removing what slows the team |
Four events repeat each sprint. For a one-month sprint the guide caps Sprint Planning at 8 hours and the Daily Scrum at 15 minutes. The Sprint Review gets 4 hours and the Retrospective 3. The guide does not mention story points or velocity. Those are team habits, and on AI teams they break first.
A web feature usually works once the team builds it. An experiment is a test of a guess, such as "fine-tuning will lift accuracy from 72% to 85%". It can fail even when the team does everything right. So a sprint of three good experiments can end with nothing to ship.
How often? Call the chance that one experiment succeeds p. Call the number of experiments in the sprint n. Assume one result does not change another.
P-none equals one minus p, to the power n.
Take the chance one experiment fails, 1 − p. Multiply it by itself n times. That is P-none, the chance every experiment fails.
With made-up numbers: p = 0.3 and n = 3. P-none = 0.7 × 0.7 × 0.7 = 0.343. About one sprint in three ends with no win, and nobody did anything wrong.
Each row is one sprint. Each dot is one experiment: green won, grey failed. Set the odds and the count, then run.
Illustrative odds. Real success rates depend on the team and the problem; nobody has a fair industry-wide number.
The failure: a manager reads a no-win sprint as a lazy sprint. Measure it: compare the count of no-win sprints with P-none. If they match, the plan was the problem, not the people. Fix: plan more, cheaper experiments, and make the Sprint Goal a decision ("pick fine-tuning or retrieval") that the sprint can always reach.
Chapter 1
Run each experiment through one loop, and agree before it starts on the rules that stop it
A roadmap says "Q1 build the model, Q2 integrate, Q3 launch." That plan treats model work as a line. It is a loop, and a team may go round it ten times before one result is good enough to ship.
Step 5 is where teams stall. A researcher who is close to a result wants one more run, and then another. So the team writes kill criteria, rules that end an experiment, before step 3 starts. Rules written in advance remove the argument later.
Pink dots are the accuracy after each run; the pink line is the 90% target. The bar below is GPU hours used against the budget. Add runs until a rule fires.
Illustrative run: accuracy 72, 78, 81, 82.5, 83.1, 83.4, 83.6, 83.7, 83.75; 6 GPU hours per run; a 24-hour budget. The two rules are one team's choice, not a standard.
Here are this team's two rules. Plateau: stop if the last three runs sit within 1 point of each other. Budget: stop if compute passes twice the budget, 48 hours. Work it: after run 5 the last three are 81, 82.5 and 83.1, a spread of 2.1 points. After run 6 they are 82.5, 83.1 and 83.4, a spread of 0.9. The plateau rule fires at 36 GPU hours, well before the budget rule at run 9.
At that point the model is at 83.4% against a 90% target. Small tuning will not close 6.6 points. The honest move is a different approach, or a smaller target agreed with the Product Owner.
Early in a project, try several approaches and kill most of them. Near a deadline, stop trying new ones and polish one. A new idea at week 10 of 16 gets one sprint and one kill rule: "if it does not beat 83.4% by the review, we stop."
The failure: a team "almost done" for five sprints. Measure it: count experiments open longer than their time box. Fix: every ticket carries a time box and a kill rule, and the review ends each with kill, iterate or promote.
Chapter 2
Write tickets as hypotheses, then pick the set of experiments that fits the budget and wins most often
A researcher says the ticket "fine-tune the model" is 5 points. How long will training take? "Depends on the data." Will it work? "Maybe." A point estimate here gives false comfort. A better ticket states the guess, the test and the stop rule.
EXP-042 Fine-tune an 8B open model on 50K support tickets Hypothesis accuracy rises from 72% (zero-shot) to ≥ 85% on the frozen 500-question eval set Budget 24 GPU hours, time box 1 sprint Data tickets v3 (hash a91c), split 80/10/10 Kill if plateau (3 runs within 1 pt) or 48 GPU hours Odds researcher's guess: 40%
The last line matters. "I think there is a 40% chance this works" is a useful estimate. With odds on each ticket, planning becomes a choice among bets.
Which bets? Say each experiment i has a success chance pi. Add them to get the number of wins you expect.
E equals the sum over i of p-i.
Read the odds p-i off each picked ticket. Add them. E is the wins you expect on average, not a promise for this sprint.
With made-up numbers: pick A, C and E with odds 0.4, 0.6 and 0.5. E = 0.4 + 0.6 + 0.5 = 1.5 wins. The chance of at least one win is 1 − 0.6 × 0.4 × 0.5 = 0.88.
Each warm block is one experiment: its odds and its GPU cost. Toggle experiments in and out. Find the set with the most expected wins that fits.
Illustrative tickets. The odds are guesses, which is the point: a guess you can argue with beats a point estimate you cannot.
The best set here is A, C and E: 88 GPU hours, 1.5 expected wins. The big, unlikely bet B looks bold but adds only 0.2 wins for 40 hours.
The Sprint Goal then commits to decisions, not outcomes: "decide by the review whether fine-tuning beats retrieval on our eval set." The team can reach that goal even if every bet loses.
The failure: velocity swings from 30 points to 8 and back. Measure it: count tickets that ended with a written decision. Fix: measure throughput as decided experiments, and plan by odds and budget.
Chapter 3
See why two teams with the same average speed can give different answers to "when"
The VP asks when the support assistant ships. The backlog has 30 items left. Over the last 8 sprints the team finished 4, 7, 3, 6, 5, 2, 8 and 5 items. The average is 5 a sprint.
Throughput is the count of items a team finishes in one sprint. Many teams call the average throughput velocity. The obvious forecast divides the work by it. Call the items left R and the average throughput v̄.
S equals R divided by v-bar.
Average the past throughput to get v-bar. Divide the work left R by it. S is the sprint count if every sprint were exactly average.
With made-up numbers: R = 30 and v-bar = 5. S = 30 / 5 = 6 sprints. Count the futures, and the team finishes by sprint 6 only 54% of the time.
Why only 54%? Real sprints are not average. Half of them fall below it, and a slow sprint early pushes every later date. The average hides the spread, and the spread is the risk.
Warm bars are the 8 past sprints. Blue bars are the chance to finish 30 items by each sprint. Switch teams and watch the blue bars.
Illustrative teams. Both average 5 items a sprint; the steady team's spread (standard deviation) is 0.76 items, the lumpy team's is 2.0. We compute chances exactly by treating each future sprint as a draw from the 8 past ones.
Read the blue bars at sprint 7. The steady team is 99.9% likely to be done. The lumpy team is 86% likely. Both teams have a v-bar of 5. Only the spread differs.
AI teams are lumpy by nature. A training run diverges, a vendor is late, a lucky prompt change closes three tickets at once. So an AI team needs the spread more than most.
The failure: every date slips by a sprint or two. Measure it: log how often the team hit its forecast date. Near 50% means you forecast with the average. Fix: forecast with a range, as Chapter 4 shows.
Chapter 4
Replay the past thousands of times to turn eight sprints into a range you can promise
You cannot see the future sprints. You can see the last 8. Monte Carlo forecasting assumes the next sprints will look like a random pick from the past ones. Then it plays out thousands of possible futures and counts.
Each warm line is one future: the work left falling sprint by sprint. Blue bars count where futures finish. Press a button and watch the bars settle.
Illustrative team (the lumpy team from Chapter 3), 30 items left. Futures are random, so your counts move a little from run to run. The exact chances are 54.3% by sprint 6, 86.5% by 7 and 97.7% by 8.
Step 5 is the whole forecast. Call the number of futures N, and the number that finished by sprint k nk.
P of done by k is about n-k divided by N.
Count the futures that finished by sprint k. Divide by N, the futures you ran. That share is your chance of being done by sprint k.
With made-up numbers: N = 10,000 futures, and n-k = 8,657 finished by sprint 7. P = 8,657 / 10,000 = 86.6%. The exact answer is 86.5%.
Now give the answer as two numbers. The P50 is the first sprint with at least a 50% chance: sprint 6. The P85 is the first with at least 85%: sprint 7. Say: "Even odds by sprint 6. 85% likely by sprint 7." Re-run the forecast after every sprint; the range narrows as work finishes.
pythonimport random past = [4, 7, 3, 6, 5, 2, 8, 5] # items finished per past sprint def one_future(left): # left: int, items still to do sprints = 0 while left > 0: left -= random.choice(past); sprints += 1 return sprints # int: sprints this future needed runs = sorted(one_future(30) for _ in range(10_000)) p50, p85 = runs[4_999], runs[8_499] # 6 and 7 for this team
The failure: the forecast uses sprints from a different team setup, before two people left. Measure it: check that the past sprints match today's team and kind of work. Fix: use only recent, similar sprints, and say how many.
Chapter 5
Write a Definition of Done for a model, then learn how much a single eval score can wobble around it
The Definition of Done is the Scrum Guide's term for the quality bar every piece of finished work must meet. For a web feature it is a checklist. For a model it is a set of thresholds on a frozen eval set: a fixed list of test questions the model never trains on.
Say the bar is 90% accuracy on 500 questions. Monday's run scores 91%. Is the model done? Not yet. The 500 questions are a sample of all the questions users will ask. A different sample of 500 would give a different score.
How much different? Call the model's true accuracy on all user questions a, and the number of eval questions n. The typical size of the wobble is the standard error.
SE equals the square root of a times one minus a, over n.
Multiply a by 1 − a. Divide by n. Take the square root. A measured score usually lands within about two SEs of a.
With made-up numbers: a = 0.91 and n = 500. SE = √(0.91 × 0.09 / 500) = 0.0128, about 1.3 points. A 95% band is about ±2.5 points, so 91% could be anywhere from 88.5% to 93.5%.
Each pink dot is one eval run on a fresh set of questions. Green dots pass the 90% bar, red dots miss it. Change the true accuracy and the eval size.
Illustrative model. The pass chance uses the normal approximation to the count of correct answers. An exact binomial count gives 81% instead of 78% at 91% and 500 questions.
At a true 91% and 500 questions, a single run passes only about 78% of the time. "It passed on Monday" says little. Two fixes work. Grow the eval set, since 2,000 questions halve the wobble. And compare the new model with the old one on the same questions, so both share the same luck.
Re-running with five random seeds does not fix this. Seeds change the model's sampling, not which questions you asked. The question sample stays the main source of wobble.
The failure: a model ships after one lucky run and scores 88% in production. Measure it: report every score with its band. Fix: write the Definition of Done as "the lower edge of the band clears the bar." For the statistics, see The Statistics of Evaluation.
Chapter 6
Keep one log that answers every status question, and cap the work in flight so each experiment finishes sooner
The VP asks how close the model is. The best settings live in a notebook cell. The eval result is in last Thursday's chat. Nobody knows which dataset the best run used. That team cannot answer, and cannot reproduce its best result.
An experiment log is one record per run, kept by a tracking tool such as MLflow or Weights & Biases. Each record holds the same fields.
| Field | Example | Answers |
|---|---|---|
| Config | model, settings, code commit | Can we re-run it? |
| Data version | tickets v3, hash a91c | Which data did it see? |
| Metrics | accuracy 83.4% ± 2.6 on eval v2 | Is it better than the baseline? |
| Decision | killed: plateau at run 6 | What did we decide, and why? |
The Scrum Master reads status from the log, not from people. The sprint review shows the log's decisions: what the team killed, what it promoted, and what it learned.
A team starts every promising idea at once. Now six experiments share two GPUs and one reviewer, and each one crawls. Work in progress (WIP) is the number of items started and not yet finished. Cycle time is how long one item takes from start to decision. Little's law links them with throughput.
T equals L divided by lambda.
Count the experiments open, L. Divide by how many the team decides each week, lambda. T is how long each one waits, on average.
With made-up numbers: L = 6 open and lambda = 2 decided per week. T = 6 / 2 = 3 weeks each. Cap WIP at 3 and T = 1.5 weeks, with the same throughput.
Warm cards are open experiments. Two leave each week to a decision. Set the WIP cap and watch how long each card waits.
Illustrative flow at a fixed 2 decisions a week. Little's law holds for long-run averages of a stable system; a single week can differ.
Throughput did not change; the GPUs and the reviewer set it. Only the waiting changed. With a cap of 3, each result arrives in half the time, and the team learns twice as fast from each decision.
The failure: many experiments "in progress", few decisions. Measure it: plot WIP and decisions per week. Fix: set a WIP cap on the "running" column, near the number of GPUs or reviewers.
Chapter 7
Request data before the sprint that needs it, and check a model at the border between research and production
Sprint planning. The engineer can start as soon as the labels arrive. The vendor quoted 12 business days. The sprint is 10 days, and training needs the labels by day 3. The plan fails, and nobody noticed until now.
A lead time is the delay from asking for something to having it. Data has long ones: collection, legal review, labeling, quality checks. So the Scrum Master runs a data lookahead: in each planning, ask what sprint N+1 and N+2 will need, and request it now.
Three sprints of 10 business days. The purple bar is the wait for labels. The experiment needs them by day 3 of sprint 2. Move the request day and the lead time.
Illustrative vendor and sprint. Days are business days, counted from day 1 of sprint 1.
Work it. A request on day 1 with a 12-day lead time arrives on day 13. Day 13 is day 3 of sprint 2, just in time. Request on day 3 and the labels land on day 15, two days late. The fix costs nothing but a habit: order data one sprint early, and ask the vendor for a small pilot batch first to check quality.
The researcher posts "92% accuracy, notebook attached." In production the score drops. A handoff checklist catches the usual causes before release.
| Check | Why it fails | How to test |
|---|---|---|
| Train and eval sets do not overlap | eval questions leaked into training inflate the score | intersect the two ID lists; expect zero |
| Same preprocessing | serving cleans text differently from training | run the eval through the serving code |
| Pinned versions | library versions differ between laptop and server | build the container and re-run the eval |
| Latency under load | one request at a time is fast; real traffic is not | load test at expected peak traffic |
| Rollback | no quick way back when quality drops | practise a switch to the old model |
The failure: experiments wait on data most sprints. Measure it: the share of planned experiments whose data was ready on time. Fix: a data column on the board, and the lookahead in every planning.
Chapter 8
Turn each worry into expected days of delay, then spend sprints shrinking the biggest ones first
The forecast from Chapter 4 replays the past. It knows nothing about the legal review that has not happened yet, or the vendor that missed its last date. Those risks need their own list.
A risk register is that list. For each risk, write two guesses: the chance it happens, p, and the delay in days if it does, d. Their product is the risk's exposure.
X equals the sum over j of p-j times d-j.
For each risk, multiply its chance p-j by its delay d-j. Add the products. X is the delay you should expect on average.
With made-up numbers: vendor late 0.5 × 10 = 5, GPU shortage 0.3 × 5 = 1.5, eval regression 0.4 × 8 = 3.2, legal review 0.2 × 15 = 3. X = 12.7 days.
Yellow blocks are each risk's exposure in days. Toggle a mitigation to shrink its block. The line below tracks total exposure sprint by sprint.
Illustrative register. The pilot batch cuts vendor odds from 0.5 to 0.2. Reserved GPUs cut shortage odds from 0.3 to 0.1. An eval gate cuts a regression's delay from 8 days to 3. Booking legal early cuts its odds from 0.2 to 0.05.
Order matters. The pilot batch removes 3 days of exposure, the most of any single step, so it goes first. After all four, X falls from 12.7 days to 4.45. Chart X each sprint; that falling line is a risk burndown. Add the remaining X to the Monte Carlo P85 when you quote a date.
The failure: the team writes the register once and never reads it. Measure it: is X lower than last sprint? Fix: review the top two risks at each planning and put one mitigation in the Sprint Backlog.
Chapter 9
Treat every prompt change as an experiment with a slice check, and gate agents by what their actions can break
The team edits the system prompt to handle refund questions better. Refund accuracy rises from 78% to 91%. General questions fall from 89% to 82%. Is the change a win?
On a GenAI team the "code" is often a prompt, and a one-paragraph edit can move every answer. So each prompt version is an experiment: versioned, evaluated on every slice (a group of questions, such as refunds), and compared with the last version. To judge the whole change, weight each slice by its share of real traffic.
Call slice i's share of traffic wi and its accuracy ai.
A equals the sum over i of w-i times a-i.
Multiply each slice's accuracy a-i by its traffic share w-i. Add them. Do it for the old and the new prompt and compare the two A values.
With made-up numbers: refunds are 10% of traffic. Before, A = 0.1 × 0.78 + 0.9 × 0.89 = 0.879. After, A = 0.1 × 0.91 + 0.9 × 0.82 = 0.829. Users see 5 points worse.
Pink bars are slice accuracy before and after the prompt change. The pair of wide bars is what users see overall. Drag the refund share.
Illustrative slices and accuracies. The break-even refund share for these numbers is 35%.
The change wins only if refunds pass 35% of traffic. At 10% it loses. The usual fix: iterate on a prompt that helps refunds without hurting general questions. Then make the slice table part of the Definition of Done. Read more in Metric Design and Experiment Design.
An agent is a model that takes actions: it sends email, edits records, runs code. Its failures are wrong actions, not wrong words. So plan its sprints around gates, one per level of harm.
| Gate | The agent may | Exit test |
|---|---|---|
| Sandbox | call mock tools only | scripted scenarios pass; no loops past a step limit |
| Staging | call real tools on test data | adversarial prompts fail to trigger unapproved actions |
| Production | act for users, with limits | rate limits, a kill switch, human approval for actions that cannot be undone |
The failure: a prompt "tweak" ships and one slice silently drops. Measure it: the slice table, old against new, on every change. Fix: no prompt merges without the slice table and the weighted A.
Chapter 10
Keep the terms, the numbers, the checklist and the code in one place
The Scrum Master on an AI team plans bets, not features, and quotes ranges, not dates. They read scores with their bands, keep one experiment log, order data early and burn down risk. Each of those skills rests on a small calculation you can do by hand.
| Term | Rule or formula | Worked number |
|---|---|---|
| No-win sprint | (1 − p)n | p 0.3, n 3: 34% |
| Kill criteria | written before the first run | plateau fires at run 6, 36 GPU hours |
| Expected wins | sum of the odds | 0.4 + 0.6 + 0.5 = 1.5 |
| Naive forecast | R / v̄ | 30 / 5 = 6 sprints, hit 54% of the time |
| Monte Carlo range | nk / N | P50 sprint 6, P85 sprint 7 |
| Eval wobble | √(a(1 − a)/n) | 0.91, 500 questions: ±2.5 points |
| Little's law | T = L / λ | 6 / 2 = 3 weeks |
| Data lookahead | request by need date minus lead time | 12-day lead: request on day 1 |
| Risk exposure | sum of p × d | 12.7 days, 4.45 after mitigations |
| Traffic-weighted accuracy | sum of w × a | 87.9% to 82.9% |
pythonimport random, math def forecast(past, left, n=10_000): # past: list[int] items per sprint runs = [] for _ in range(n): r, k = left, 0 while r > 0: r -= random.choice(past); k += 1 runs.append(k) runs.sort() return runs[n // 2], runs[int(n * .85)] # (P50, P85) in sprints def eval_band(acc, n_questions): # acc in [0, 1] se = math.sqrt(acc * (1 - acc) / n_questions) return acc - 1.96 * se, acc + 1.96 * se def exposure(risks): # risks: list[(chance, days)] return sum(p * d for p, d in risks) print(forecast([4, 7, 3, 6, 5, 2, 8, 5], 30)) # (6, 7) print(eval_band(0.91, 500)) # (0.885, 0.935) print(exposure([(.5, 10), (.3, 5), (.4, 8), (.2, 15)])) # 12.7
Now press Present or Teach and explain three things from memory. Why can a sprint of good bets end with no win? How does Monte Carlo turn eight sprints into a range? Why may 91% not clear a 90% bar? Then go back to the hero and drag the work left until the P85 moves.