Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Describe how you would measure the calibration of an LLM judge against human raters. What metric(s) would you use, and what threshold would indicate the judge is suitable for production use?
Validate the judge against human labels with Cohen's kappa, not raw percent agreement, because kappa corrects for chance. Aim for kappa above 0.6 (substantial) on 100-300 paired examples, checked per slice.
Imagine two people guessing whether photos show a cat or a dog, where 90 percent of the photos happen to be cats. If both just shout 'cat' every time, they agree 90 percent of the time, which sounds amazing but proves nothing, because they would agree that often even guessing blindly. Cohen's kappa fixes this. It asks how much they agree beyond what dumb luck alone would produce. Validating an LLM judge against humans is the same idea. The judge and a human both score the same answers, and you measure agreement after subtracting the lucky-guess baseline. A kappa near 1 means the judge truly tracks human judgment. A kappa near 0 means it is no better than a coin flip dressed up as a big agreement number.
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.
5 min: why percent agreement misleads, the chance-corrected kappa formula, the interpretation bands and production bar, how many labels and raters to collect, per slice checks, and when to switch to weighted kappa or Spearman.
| Metric | When to use | Production threshold |
|---|---|---|
| Raw percent agreement | Never as sole evidence; inflated by chance | Not interpretable alone |
| Cohen's kappa | Categorical or ordinal labels, 2 raters | Above 0.6 substantial |
| Weighted kappa | Ordinal Likert where distance matters | Above 0.6 substantial |
| Fleiss's kappa | 3 or more raters on the same items | Above 0.6 substantial |
| Spearman correlation | Scalar 1 to 5 scores, rank agreement | Rho above 0.7 |
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Reporting raw percent agreement as proof the judge works. On an imbalanced label set, two random raters can hit 80 percent agreement, so the number means almost nothing without chance correction.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.