Lesson 32.5 · 5 of 6 · 5 min read · Reviewed 24 Nov 2026
Measuring business value
By the end, you can
- Measure the business value of an AI feature.
- Pick metrics that show real outcomes.
Outcome metrics by use case
| Use case | Outcome metrics | Guard-rail metrics |
|---|---|---|
| Customer support | Resolution rate, time to resolve, satisfaction | Repeat contacts, escalations, complaints |
| Coding assistant | Time to merge, change failure rate | Bugs traced to AI changes, review load |
| Document processing | Documents per hour, error rate | Human correction rate |
| Sales or search | Conversion, time to find | Returns, bounce-backs |
Run fair comparisons
- A/B tests: some users get the AI feature, some don’t.
- Holdouts: keep a slice of traffic on the old process.
- Shadow modeShadow traffic: Sending copies of real requests to a new version without showing its responses to users, to compare behaviour.: run the AI silently and compare with what people did.
Before-and-after comparisons get confused by seasons, launches and other changes.
Full cost
cost = model usage + infrastructure + human review + maintenance (evals, prompt updates, migrations)
value = outcome gains in money or time
Cost at scale is covered in chapter 71.
Report honestly
Show both gains and harms. A feature that saves 20% of handling time but raises complaints may need redesign, not celebration.
Key points
- Measure outcomes the business cares about: time saved, resolution rate, conversion, errors avoided.
- Pair them with quality and safety metrics, so gains don't hide harm.
- Compare against a baseline with experiments or holdouts, not before-and-after impressions.
- Count the full cost: model usage, infrastructure, human review and maintenance.
Compare an AI group with a holdout
Measure an AI feature's value fairly, net of review time, with a guard-rail metric beside it.
You will have: A short report: minutes saved, net hours after review, and repeat contacts in both groups.
Steps
- Run the starter to see the gross minutes saved per ticket.
- Subtract the review time per ticket to get the net saving.
- Scale it to 20,000 tickets and convert to hours.
- Compare repeat contacts in the two groups and print the guard-rail verdict.
Done when
- Net saving is lower than gross saving.
- Net hours per 20,000 tickets is printed.
- The guard-rail line flags the rise in repeat contacts.
Open in the Playground No API key needed.
Starter code (Python)
# Compare an AI-assisted group with a holdout group, and count the full cost of review.
import random
import statistics
rng = random.Random(7)
def tickets(n, mean_min, repeat_rate):
return [{"minutes": max(2.0, rng.gauss(mean_min, 3)), "repeat": rng.random() < repeat_rate} for _ in range(n)]
ai = tickets(1000, 9.0, 0.08) # with the AI feature
holdout = tickets(1000, 12.0, 0.07) # same period, old process
REVIEW_SHARE, REVIEW_MIN = 0.3, 0.5 # a person reviews 30% of AI tickets, 0.5 min each
saved_per_ticket = statistics.mean(t["minutes"] for t in holdout) - statistics.mean(t["minutes"] for t in ai)
print(f"minutes saved per ticket: {saved_per_ticket:.1f}")
# TODO: subtract the review time per ticket (share x minutes) to get the net saving
# TODO: print the net hours saved per 20,000 tickets
# TODO: compare the repeat-contact rate in both groups: it is the guard-rail metric
Show a solution
# Compare an AI-assisted group with a holdout group, and count the full cost of review.
import random
import statistics
rng = random.Random(7)
def tickets(n, mean_min, repeat_rate):
return [{"minutes": max(2.0, rng.gauss(mean_min, 3)), "repeat": rng.random() < repeat_rate} for _ in range(n)]
ai = tickets(1000, 9.0, 0.08) # with the AI feature
holdout = tickets(1000, 12.0, 0.07) # same period, old process
REVIEW_SHARE, REVIEW_MIN = 0.3, 0.5 # a person reviews 30% of AI tickets, 0.5 min each
saved_per_ticket = statistics.mean(t["minutes"] for t in holdout) - statistics.mean(t["minutes"] for t in ai)
review_per_ticket = REVIEW_SHARE * REVIEW_MIN
net = saved_per_ticket - review_per_ticket
repeat_ai = sum(t["repeat"] for t in ai) / len(ai)
repeat_hold = sum(t["repeat"] for t in holdout) / len(holdout)
print(f"minutes saved per ticket: {saved_per_ticket:.1f}")
print(f"net minutes after review: {net:.1f}")
print(f"net hours saved per 20,000 tickets: {net * 20000 / 60:.0f}")
print(f"repeat contacts: AI {repeat_ai:.1%} vs holdout {repeat_hold:.1%}")
print("guard-rail: check repeats" if repeat_ai > repeat_hold else "guard-rail: no rise in repeats")