Part 1 Chapter 12 Last verified 2026-06-08

Capstone: design an evaluation strategy

The interview question this whole guide was for: 'design an evaluation strategy for this system.' A framework that is just the guide in order — clarify the use, choose metrics, protect the data, quantify uncertainty, decompose the pipeline, and monitor in production — with the four-dimension rubric as the scorecard you're graded on.

On this page
  1. ”Design an evaluation strategy for this system”
  2. The framework is just this guide, in order /* anchor: capstone-design */
  3. A worked mock /* the synthesis */
  4. Diagnose the gap /* anchor: capstone-diagnose */
  5. The rubric is the scorecard /* anchor: capstone-rubric */
  6. How this is graded
  7. Industry variation
  8. Where to go next

Capstone: design an evaluation strategy

”Design an evaluation strategy for this system”

This is the question the whole guide was for. An interviewer describes a system — a customer-support RAG assistant, say — and asks you to design its evaluation. There’s no single right answer; there’s a structure that separates strong answers from flailing ones.

Predict: before you name a single metric, what’s the first thing you say?

The framework is just this guide, in order

Every chapter is a step in the strategy. Walk them in order and you’ve designed the eval:

  1. Clarify the use & failures (Ch 1) — what is the output, how is it consumed, what error is most expensive, what does broken look like? Error taxonomy before metrics.
  2. Choose metrics & the operating point (Ch 2, 4) — the metric family the use demands; a threshold from error costs; calibration if the probability is the product.
  3. Decide the reference strategy (Ch 6, 7) — verifier / exact match where correctness is checkable; similarity or an anchored LLM judge where it isn’t.
  4. Decompose the pipeline (Ch 9, 10) — for RAG or agents, eval each stage (retrieval vs generation; outcome vs trajectory vs cost), not just end-to-end.
  5. Protect the data (Ch 5, 8) — a disjoint, time-split, decontaminated eval set; a held-out confirmation set; your own set over a public benchmark.
  6. Quantify uncertainty (Ch 3) — report metrics with confidence intervals; compare models paired; don’t ship on a lead that straddles zero.
  7. Monitor in production (Ch 11) — online signals, guardrails, drift detection, cost/latency — because offline is a gate, not a guarantee.

A worked mock

Diagnose the gap

Real answers are usually incomplete in one telling way. Predict the critical gap in each plan before revealing it — each maps to a chapter.

Diagnose the incomplete eval plan

Each plan sounds reasonable but has one critical gap that the guide already taught you to catch. Find it.

“Model B scores one point higher than model A on our benchmark, so we'll ship B.”

“We passed offline evaluation at 0.88, so the feature is done — ship it and move on.”

“Our customer-support RAG bot tops the MMLU leaderboard, so it's ready for customers.”

The skill the drill builds: every plausible-sounding eval plan can be checked against the framework, and the missing step is the diagnosis — no CI (Ch 3), offline-only (Ch 11), wrong construct (Ch 8).

The rubric is the scorecard

Every chapter tied back to the same four dimensions because they’re how an eval-design answer is scored. Self-assess your mock against them:

  • Technical Correctness — are your metrics defined right and matched to the task (ranking vs calibration vs grounding; verifier where checkable)?
  • Trade-off Awareness — did you reason from use and error cost, weigh offline vs online, cheap-exact vs flexible-biased, quality vs cost?
  • Evaluation Rigor — CIs, paired comparison, data integrity, decomposition, monitoring — or a bare point estimate? This is the dimension candidates most often miss and interviewers most weight.
  • Communication — did you narrate a structure and land a crisp one-liner, or list techniques?

A strong answer scores high on all four; a very common failure is high Technical Correctness with low Rigor and Communication — knowing metrics but not how to use them or how to say it.

How this is graded

The rubric applies to the design answer itself:

  • Technical Correctness — right metrics for each stage, verifier vs judge chosen well.
  • Trade-off Awareness — clarified before solving; weighed offline/online, cost/quality.
  • Evaluation Rigor — CIs, paired tests, data integrity, decomposition, monitoring.
  • Communication — a narrated structure and a one-sentence headline, not a metric dump.

Industry variation

  • Frontier labs — capability and safety eval, contamination control, held-out everything.
  • Applied product — domain eval set + production monitoring beat any public benchmark.
  • Regulated — auditable, reproducible eval with documented data lineage and drift checks.

Where to go next

You now have a complete mental model and a hand-built mini_eval that implements its core. The bridges from here: eval-toolkit / RAGAS / trec_eval / sklearn for the production versions of what you built; and the rest of the series — LLM application engineering, production AI systems — where evaluation stops being a chapter and becomes the thing that keeps everything else honest. You built the evaluator; now you can explain it cold, and design one for any system you’re handed.