Using a model as the judge: rubrics, and checking the judge
Evals & Guardrails · 10 questions
Short notes
Key idea
For qualities code can't check (helpfulness, tone, correctness of free text), a model can be the judge. Give it a clear rubric and ask for a reason before the score. Then check the judge against human labels before trusting it.
Syntax
You are grading a support reply.
Question: {question}
Reference facts: {facts}
Reply: {reply}
Score 1 if every claim in the reply is supported by the reference facts
and the question is answered; otherwise 0.
Give a one-sentence reason first, then "SCORE: 0" or "SCORE: 1".
- Binary or small scales (pass/fail, 1–3) are more reliable than 1–10.
- Pairwise: "which of A or B is better?", swapping positions to cancel order bias.
Example
People label 60 replies. The judge agrees on 55 (92%). The disagreements show the judge is lenient on missing order numbers, so the rubric is updated to mention them, and agreement rises to 97%.
Traps
- Judges favour longer answers, their own style, and the first option shown.
- Vague rubrics ("is it good?") give noisy scores.
- An unvalidated judge is just another unchecked model.
- Use a strong model as judge; a weak judge can't spot subtle errors.
Want the full lesson with step-by-step examples, a project and a certificate? Evals & Guardrails course, ₹180 →
- Question 1easy
Which criterion most needs a model judge rather than a code check?
- Question 2medium
Which rubric will give the most consistent grades?
- Question 3medium
Why ask the judge for a short reason along with its verdict?
- Question 4hard
A judge agrees with people 85% of the time. Why might it still be unfit as a quality gate?
- Question 5easy
50 cases, 2 versions, 2 judge criteria. How many judge calls?
print(50 * 2 * 2)
Using a model as the judge: rubrics, and checking the judge
Using a model as the judge: rubrics, and checking the judge
Using a model as the judge: rubrics, and checking the judge
Using a model as the judge: rubrics, and checking the judge
Using a model as the judge: rubrics, and checking the judge
5 more questions on this topic, with hints, and tests
Sign up free for 21 days of every question and test.