Eval platform

A Java team gates a release on unit tests that are deterministic. LLM outputs are not, so an eval run is a statistics problem: how many cases before a three-point drop is distinguishable from noise, and who judges the answers — a rubric, a model, or a human.

45 min round 6 computed numbers 4-part eval plan 8-point rubric
⚠️ Planning numbers, not measurements. Hardware and model facts are dated on the numbers sheet; traffic, prices and efficiency are labelled assumptions. Replace them with your own measurements (the vLLM load-test exercise) before quoting them.

The prompt

Design an evaluation platform so 30 teams can gate prompt and model changes on quality.

Attempt it first: the 45-minute round

Set the timer, answer out loud or on paper, then score yourself against the rubric before you read the model answer below.

  1. Framing (5 min) — Ask questions, fix the scale and the latency/quality/cost targets, state assumptions with numbers.
  2. Architecture (10 min) — Draw the boxes end to end: data in, the model call, storage, serving, feedback.
  3. Deep dive (15 min) — Pick the hardest part and do the arithmetic: tokens/s, KV memory, QPS → replicas, cost per 1,000 requests.
  4. Trade-offs (10 min) — Name what you would trade (batch vs latency, quality vs cost, build vs buy) and what breaks.
  5. Wrap-up (5 min) — Evaluation plan, monitoring, failure modes, and what you would do next.
45:00
Not started

Self-grade

Tick what you did. 0 of 8.

The model answer, step by step

Five steps, one tap each. The readout gives the step's answer and lists the numbers it uses; the same numbers are highlighted in the table underneath.

Eval platform, one tap per step

👉 Predict first, then tap. Every number below is computed from the assumptions in the table.

1. Framing

5 min

2. Architecture

10 min

3. Deep dive

15 min

4. Trade-offs

10 min

5. Wrap-up

5 min

Tap a step above.
QuantityHow it is computedValue
Current pass rateassumption85%
Regression to detectassumption82%
z for one-sided α = 0.05assumption1.645
z for 80% powerassumption0.842
Candidate call: input tokensassumption1,500
Candidate call: output tokensassumption400
Judge call: input tokensassumption2,000
Judge call: output tokensassumption150
Assumed price, $ per million input tokensassumption$3.00
Assumed price, $ per million output tokensassumption$15.00
Eval runs per day across teamsassumption60
Concurrent callsassumption50
Seconds per candidate+judge pairassumption6
Cases needed(zα+zβ)² × (p1q1 + p2q2) ÷ (p1−p2)²1,891
Cost of one case (candidate + judge)(in × pIn + out × pOut) ÷ 1e6, both calls$0.019
Cost of one run at that sizecases × cost per case$35.46
Cost per dayruns × run cost$2,127
Wall-clock per runcases × seconds per pair ÷ concurrency227 s
Cost per 1,000 cases1000 × cost per case$18.75
Takeaway. The headline figure — cases needed — is 1,891 ((zα+zβ)² × (p1q1 + p2q2) ÷ (p1−p2)²). Say the assumption, show the formula, then give the number.

The evaluation plan

Go deeper on this site

Check yourself