Home / Fundamentals

F6

Evaluation

Benchmarks and contamination, pass@k, LLM-as-judge and arena ratings, the statistics of model comparisons, hallucination measurement, and building evaluation suites.

Guides

01

Benchmarks, contamination and what scores mean

What standard benchmarks measure and miss, saturation, prompt and scoring sensitivity, how test data leaks into training, and how to detect and guard against contamination.

12 min
02

LLM-as-judge and preference ratings

Pointwise and pairwise judging, rubrics, known judge biases and how to control them, validating judges against human labels, and Bradley–Terry/Elo ratings for arenas.

12 min
03

The statistics of model comparisons

Standard errors of accuracy, paired tests, how many examples you need, variance from sampling and seeds, the unbiased pass@k estimator, and multiple-comparison traps.

11 min

Interview questions

30-second answer plus a full 40-minute walkthrough for each.

Q1

What is pass@k, and how do you estimate it without bias?

Mid
Q2

How does benchmark contamination happen, and how would you detect and prevent it?

Senior
Q3

How do you use an LLM as a judge reliably? What biases does it have?

Senior
Q4

Your new model scores 2 points higher on a 500-item benchmark. Is it better?

Senior
Q5

Why do LLMs hallucinate, how do you measure it, and how do you reduce it?

Mid
Q6

Design the evaluation suite for deciding whether to ship a new model version in an LLM product.

Senior