Order the three eval approaches from cheapest/fastest to most expensive/slowest
- 1LLM-as-judge scoring on a sampled subset
- 2Periodic human spot-check calibration triggered by LLM-judge score drift
- 3Human evaluation with domain experts
- 4Automated metrics (format checks, regex, string matching)
Layer eval cheapest first: automated checks on everything, LLM-judge on a sample, event-triggered human spot-checks, then expensive expert review as the final ground truth.
Imagine grading a huge pile of essays. First you run a spell-checker on every single one because it is instant and free. Then a smart teaching assistant skims a random handful to rate quality, which costs a little. If the assistant's ratings suddenly look weird, you pull a few essays and have a senior teacher double-check that the assistant is still grading sensibly. Finally, for the trickiest essays, you bring in a subject expert who reads slowly and charges by the hour. You always start with the cheap, fast checks on everything and save the slow, expensive humans for the small slice that truly needs them. That ordering keeps the bill small while still catching the problems that matter.
Detailed answer & concept explanation~8 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
4 min: cost-ascending ladder (automated, judge on sample, drift-triggered spot-check, expert review), why each tier narrows the set, sampling and stratification, and the inverted-order failure mode.
Real products, models, and research that use this idea.
- LangSmith and Braintrust pipelines run deterministic assertions on every trace, then schedule LLM-judge scoring on a sampled slice rather than the full log.
- RAGAS layers cheap context-precision checks ahead of expensive judge-based faithfulness scoring on RAG outputs.
- Promptfoo runs regex and JSON-schema assertions first, falling back to an LLM rubric grader only where deterministic checks cannot decide.
- Production teams using Claude Opus 4.7 or GPT-5.5 as judges gate human expert review behind a kappa-drift trigger to control labelling spend.
- Langfuse and Arize surface judge-score drift dashboards that fire human spot-check workflows when scores deviate from baseline.
What an interviewer would ask next. Try answering before peeking at the approach.
QHow do you decide the sampling rate for the LLM-judge tier?
QWhat signal triggers the periodic human spot-check, and how do you set the threshold?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Running expensive human review or LLM-judge over the whole dataset when cheap automated checks could have filtered most of it first. Order by cost ascending, narrow the candidate set at each tier.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.