TL;DR: Calibrate it against human labels on a held-out set with an agreed bar for kappa and false passes. Then check something calibration usually misses: whether the judge's errors are the same on the old and new versions' outputs, because a judge that prefers the new version's style (longer, more confident, same model family) turns a regression into a pass. Use specific criteria, a pinned judge from a different family, abstention to people on low-confidence cases, paired comparisons, and a human audit of every case that flipped. Recalibrate when anything in the chain changes.
How to approach it
Separate two properties: the judge is accurate, and the judge is fair between the versions being compared. A gate needs both. Then describe the operating procedure: what runs, what triggers human review, and what blocks a release.
A strong answer
1. Accuracy, measured. A few hundred outputs labelled by trained reviewers against the same rubric, split into development and held-out sets. Agreed bars before tuning, for example kappa ≥ 0.75 and false-pass rate ≤ 10% on held-out data. Criteria are specific yes-or-no questions, each with passing and failing examples.
2. Fairness between versions. The gate compares version A with version B. If the judge is 90% accurate on A's outputs and 80% on B's, or passes B's failures more often, the comparison is biased whatever the overall accuracy. Measure agreement separately on each version's outputs:
def false_pass_rate(human, judge):
fails = [j for h, j in zip(human, judge) if h == 0]
return round(sum(fails) / len(fails), 2) if fails else None
# human and judge labels on 100 outputs from each version (illustrative)
old_h = [1] * 80 + [0] * 20
old_j = [1] * 80 + [1] * 3 + [0] * 17
new_h = [1] * 76 + [0] * 24
new_j = [1] * 76 + [1] * 10 + [0] * 14
print(false_pass_rate(old_h, old_j), false_pass_rate(new_h, new_j)) # => 0.15 0.42
Humans say the new version fails more often (24 against 20). The judge passes 42% of the new version's failures against 15% of the old one's, perhaps because the new version writes longer, more confident replies. By the judge, pass rates are 83% for the old version and 86% for the new: it reports an improvement where people see a regression. This check belongs in every gate that uses a judge.
3. Reduce bias at the source. A judge from a different model family than the system under test; criteria that style cannot satisfy (does the reply contain the refund amount and date); length-normalised checks where relevant; both orders for pairwise comparisons.
4. Operating procedure.
- Pin the judge model and prompt version; record both in every result.
- The judge returns evidence and a verdict per criterion; low-confidence or inconsistent verdicts go to a person.
- The gate uses paired comparisons on the same tasks with intervals.
- Every task that flips from pass to fail, or fail to pass, between versions is reviewed by a person before release. Flips are few and where the judge is most likely wrong.
5. Keep it honest. Weekly human audit of a sample of judged production outputs; recalibrate when the judge, the rubric, the system under test or the input mix changes; track agreement over time.
What interviewers probe next
"Isn't human review of flips too slow for every release?" Flips are a small share of tasks, often a few dozen; review takes an hour, and it is the part of the gate most likely to catch a judge failure.
"Could you use several judges?" An ensemble of different models with majority vote reduces some biases and raises cost. Measure it the same way; agreement among judges is not agreement with people.
"What if no judge reaches the bar on a criterion?" That criterion stays human-reviewed or is rewritten into checkable parts. A judge that cannot meet the bar should not gate.
How it's scored
Weak: Uses a strong model as judge with a 1-to-10 score and trusts it.
Hire: Calibrates against human labels with kappa and false-pass bars and pins the judge.
Strong Hire: Adds per-version fairness checks for differential bias, chooses a judge from another family with style-resistant criteria, routes low-confidence verdicts and all flips to people, uses paired comparisons with intervals, and audits and recalibrates continuously.
Common mistakes
- Calibrating once on old outputs and assuming it holds for new ones.
- Using the same model family for the system and the judge.
- Gating on judge scores without reviewing flipped cases.
- Changing the judge and the system in the same release.