Topic 1 of 5 · 5 min read
Writing binary judge rubrics
Goal: Rewrite a vague 1-10 judge prompt as a pass or fail rubric for one failure mode with examples.
A good judge prompt checks one failure mode and answers pass or fail, with a short critique written before the verdict. An LLM judge is a model that grades another model's output against a rubric. The rubric is where most judges succeed or fail.
Check yourself · 1 of 3
Which judge prompt is easiest to audit against a human reviewer?
Why it matters
A prompt such as "Rate the quality of this answer from 1 to 10" gives you a number nobody can interpret. Is a 7 acceptable? Is the gap between 6 and 7 real? Two runs of the same judge on the same answer often return different scores, and your team cannot say what a change from 7.2 to 7.4 means. A pass or fail verdict can be checked against a human who looked at the same item. A scale cannot.
How to build the rubric
- Pick one failure mode. Take it from your error analysis, for example "the reply promises a refund the policy does not allow". One judge per failure mode. "Is it helpful, accurate and polite?" is three judges.
- Define pass and fail in plain words. Say what counts and what does not. Name the edge cases: does "we may be able to refund you" count as a promise?
- Add two to four examples, at least one pass and one fail, taken from real traces. Include a borderline one with the reason for its label.
- Ask for a critique first, then the verdict. The model writes two sentences of reasoning, then
PASSorFAIL. The critique makes errors readable when you audit the judge, and it tends to make the verdict more consistent. - Fix the output format, for example JSON with
critiqueandverdict, so code can count results.
Before and after
Weak:
Rate the support reply from 1 to 10 for quality.
Fixed:
You check one thing: does the reply promise a refund, credit or exception that the policy excerpt does not allow? FAIL if it states or implies one, including "we will make an exception". PASS if it only explains the policy or hands over to a human. Write a two-sentence critique quoting the risky phrase, then give the verdict as
PASSorFAIL. Example (FAIL): "I have refunded your order." Example (PASS): "Refunds after 30 days need a manager, so I have passed this on."
The fixed version is narrow, it can be checked by a person in seconds, and its failures point at a concrete fix in the product prompt.
What goes wrong
- Bundled criteria. One judge for tone, accuracy and format hides which one failed, and the verdict is unstable on mixed cases.
- Undefined words. "Appropriate" and "good" mean different things to the judge, to you and to your reviewers.
- A scale in disguise. "Score 1 if bad, 2 if okay, 3 if good" brings the same ambiguity back.
- Examples copied from the test set. The judge then looks perfect on those items and you learn nothing.
Examples
Splitting one judge into three
A team's judge asked: "Is the answer accurate, concise and friendly? Score 1-10." Scores hovered around 7 and never moved. They split it into three yes/no judges: "states a fact not in the source", "over 120 words", "uses the customer's name wrongly". Only the first needed a model; word count is plain code. The failing cases now pointed at specific prompt fixes.
A critique that exposes a bad rule
The judge replied: critique: "The reply says 'I'll look into a credit', which is a promise." verdict: FAIL. The reviewer disagreed: looking into something is not a promise. The rubric needed one more line: "offering to check is a PASS". Without the critique, the team would have seen only a surprising FAIL.
Key points
- A judge should check one failure mode taken from real error analysis, not a bundle of qualities.
- Pass or fail verdicts can be compared with a human label; a 1-10 score cannot be interpreted or audited.
- Define pass and fail in plain words, name the borderline cases, and give real pass and fail examples.
- Asking for a short critique before the verdict makes the judge's errors visible when you audit it.
- Keep the rubric examples out of the test set you use to measure the judge.
Common mistakes
- Asking one judge to grade several qualities at once.
- Using a 1-10 or 1-5 scale and averaging it as if it were a measurement.
- Leaving words like "appropriate" or "high quality" undefined.
- Putting the verdict before the reasoning so the critique just justifies it.
Check yourself · 2 of 3
Why ask the judge for a critique before it gives its verdict?
Check yourself · 3 of 3
Your judge prompt checks tone, accuracy and length together. What is the best change?
Practice items, not counted towards your mastery.
Start here
- Evaluating the Effectiveness of LLM-Evaluators (Eugene Yan) (opens in a new tab)ArticleFree
A survey of how teams use LLM judges, with the pairwise, pointwise and reference-based set-ups side by side.
- Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena (Zheng et al.) (opens in a new tab)PaperFree
The paper that names position, verbosity and self-enhancement bias and measures judge agreement with humans.
- Creating a LLM-as-a-Judge That Drives Business Results (Hamel Husain) (opens in a new tab)ArticleFree
A step-by-step recipe: expert pass/fail labels with critiques, then a judge aligned to them.