Unit 7 of 10 · about 4 hours · measure
A controlled system change measured on task, safety, latency, cost and human outcomes
A better generation score can leave the user worse off. The final comparison follows a task through evidence, effects and review, not just through the model response.
You'll be able to
- Measure one controlled change on task, safety, security, latency, resource cost, recovery and human outcomes.
- Separate the change's mechanism from user mix, route, cache, context, tool and evaluator effects.
- Report paired uncertainty and state which user-impact claims a local simulation cannot establish.
Covers
Read
In this order, only the parts listed
0 of 3 done
- Product outcome and completion boundariesAI Engineering Handbook - AI Product Engineering
Part 11, chapter 11.2: Task Success Rate, with a real predicate; Deflection vs. containment vs. resolution; Time-to-completion: anchor on the user, not the API (page read 2026-10-18)
Use the metric distinctions, not the vendor benchmarks, alert thresholds, telemetry field list or example code. A click, acceptance or absence of re-contact is only a proxy for success unless validated against your task's outcome.
- Treatment definition and driftAI Engineering Handbook - AI Product Engineering
Chapter 11.3: Designing the experiment; Treatment drift, novelty, anchoring (page read 2026-10-18)
Read for treatment identity and randomization boundaries. Skip the sample-size examples, universal variance multipliers and peeking percentages; calculate uncertainty using your actual trial and clustering design. Do not infer a null effect merely from a non-significant result.
- Matched outcomes and complete accountingDurable Tool-Using Workflow
Milestone E; Measurement requirements; Rubric. Pair with Evidence-Grounded Retrieval System, Milestone E, for stagewise retrieval attribution.
Focus on
- The Classical ML unit on ablations, controls and validity supplies the experiment discipline. Freeze tasks, budgets, grader and unrelated artifacts; vary one selected mechanism.
- Use held-out paired tasks in every regime: normal, overload, outage, bad release and human escalation. Cluster repeated trials by task or user as appropriate instead of treating all rows as independent.
- Join verified final outcomes to all attempts, latency, resource use and human touches. Include failures, abandonment and unresolved effects; report safety and tenant violations separately from average utility.
- Measure review time, corrections and successful handoff in a small scripted operator study. Label your own role-play as a simulation, not evidence of real-user adoption, retention or labor savings.
Common mistakes · 3
- Attributing a gain to a prompt while also increasing output allowance or changing the judge. That tests a bundle, not the prompt mechanism.
- Reporting only completion latency for successful tasks. Faster failure or increased abandonment can make that subset look better.
- Equating fewer escalations with improvement. It can mean the system stopped asking for necessary human control.
Try it yourself
Closed-book, before checking anything
Quiz yourself
Answer first, then mark it. Missed ones go to Review.
0 got · 0 missed
1.Latency improves only after the candidate cache is warmed. What is the defensible claim?Answer
An improvement under that cache condition. Compare matched cold and warm conditions and account for warm-up before attributing the effect to another component.
2.Can more escalations accompany a safer, better system?Answer
Yes. Correctly identifying unauthorized, ambiguous or high-impact tasks can increase necessary escalation. Check resolution, review burden and policy compliance together.
3.The paired interval includes both a useful improvement and a harmful regression. What should the memo say?Answer
The evidence is inconclusive at that precision. Report the interval and decision risk; do not claim equivalence or no effect.
You're done when
Every reported aggregate regenerates from item records, all five regimes retain safety and failure denominators, and the decision distinguishes measured outcomes from simulated human-impact claims.
Only when you can do this without notes.
Leads to
Notes
Resources · 2 for this unit, 8 more in the section
- Durable Tool-Using WorkflowRoadmap-Final · required
Close Milestones B, D, E and F and the correctness requirements: crash-window replay, approval bound to the exact effect, fencing, ambiguous outcomes surfaced instead of claimed exactly-once, the matched deterministic, routed and agentic comparison, and clean reproduction. Finish the existing system rather than rebuilding it; delegation stays optional.
- AI Engineering Handbook - AI Product EngineeringHandbook Academy · support
Use Part 11 to connect evaluation and system evidence to product decisions, feedback and iteration. Finish with a decision memo that distinguishes model capability, orchestration, retrieval, tool, evaluator and user-experience effects.
Also in this section
- AI Engineering and Agentic Systems CheckpointRoadmap-Final · primary
Execute the complete checkpoint now: explain ownership, derive budgets and contracts, pass versioned evaluation, prove tenant isolation and replay safety, red-team the system, measure the joint frontier, then reconstruct and modify a production-like application.
- Evidence-Grounded Retrieval SystemRoadmap-Final · required
Close the deferred clauses: Milestones B (instrumentation), D (injected failure attribution), E (paired optimization) and F (blinded query and delete campaign with a clean rebuild), the correctness requirements and the rubric. Index rollback and an honest negative result are this track's additions, not project headings.
- LLM (command-line tool and library), pinnedSimon Willison · required
At commit 2465dfc (version 0.36), trace the path from
llm.cli:clithrough the OpenAI-compatible adapter inllm/default_plugins/openai_models.pytollm/models.py,llm/logs.pyandllm/migrations.py. Runtests/test_openai_endpoint.py,test_migrate.py,test_pause_resume.pyandtest_tools.pyon CPU, pointllm openai endpointat your local server, then make one bounded, tested change such as versioned usage normalization or a tool-chain budget, with a migration and a secret-free replay fixture. - AI Product Architecture Case StudiesEngineering Handbook · support
Pick two of case studies 8.30 to 8.33 (ChatGPT, Enterprise RAG, Coding Agent, Perplexity Search; slugs
chatgpt-conversational-ai,enterprise-rag,coding-agent,perplexity-ai-search), reconstruct each decomposition, identify its hidden assumptions and compare it with yours. Recompute the capacity tables before trusting a number: several are wrong (8.31's per-tenant index cost, 8.33's daily query volume). - AI and ML System Design HandbookEngineering Handbook · reference
Part 9 chapters 0 to 8 are overview-depth architecture notes for serving, RAG, vector search, agents, evaluation, LLMOps, cost and safety. Use them as a checklist for omissions in the integrated design; serving (00, 02) belongs to the Inference track.
- Managing Incidents and Incident ResponseGoogle SRE · support
Read SRE book Chapter 14 (elements of incident management, when to declare an incident) and Workbook Chapter 9 Incident Response with its case studies. Write the incident procedure for the integrated system and run it once against an injected fault.
- AI Agents in Depth - Integration ReviewBojie Li · support
Use 5.1.4 harness engineering, 7.9 and 7.10 and Chapter 9 (9.3.2 safety boundaries for continual evolution, Experiment 9-6 canary and rollback) as a final review. The offline
chapter9/harness-safety-gatetests (no API key) show a release gate that rejects a seeded bad candidate. - The Hitchhiker's Guide to Agentic AI - ProductionHaggai Roitman · support
Use v3 Chapter 27 (27.5 testing, 27.6 observability, 27.7 deployment) and 28.7 human-in-the-loop UI to audit the integrated system. Verify claims against official documentation.