Before running LLM-as-judge, someone insists on writing a rubric first. What is a rubric in this context?
A rubric is a structured scoring guide with defined criteria and anchor examples for each score level, ensuring consistent and reproducible evaluation by human or LLM judges.
Imagine three teachers grading the same essay. Without a rubric, one teacher cares about grammar, another about creativity, and the third about whether the essay answers the question. They give the same essay three different grades. A rubric fixes this. It says: grade on three dimensions (relevance, accuracy, grammar). For each dimension, score 1 means this specific thing, score 3 means this specific thing, and score 5 means this specific thing. Here is an example essay for each score level so you can compare. Now all three teachers are grading the same way, and you can trust that the scores mean something consistent. In LLM evaluation, the judges might be humans or other LLMs, but the rubric serves the same purpose. It turns subjective opinions into reproducible measurements.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Concept explanation~2 min read
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
A rubric is the most important and most undervalued artifact in LLM evaluation. Teams invest heavily in choosing models, building test sets, and setting up eval harnesses, then hand the judge a vague instruction like 'rate quality from 1 to 5.' The result is noisy, inconsistent scores that provide no actionable signal.
This deep dive covers what a rubric is, why it matters for both human and LLM judges, how to design one that actually works, and how to measure whether your rubric is doing its job.
What a rubric is and what it is not
A rubric is a structured scoring guide with three components: quality dimensions, score level definitions, and anchor examples.
Quality dimensions are the independent aspects of output quality you want to evaluate. Common dimensions include relevance (does the output address the query?), factual accuracy (are the claims correct?), completeness (does the output cover all important points?), and coherence (is the output well-organized and easy to follow?). Each dimension gets its own score, which prevents strong performance on one dimension from masking weak performance on another.
Score level definitions assign meaning to each point on the scale. For a 5-point accuracy dimension: 5 means all claims are correct, 4 means all core claims are correct with minor imprecisions, 3 means the central claim is correct but one supporting detail is wrong, 2 means a significant factual error that changes the meaning, and 1 means the central claim is incorrect.
Anchor examples are real model outputs that have been scored by domain experts. They serve as calibration points. A judge looking at an output and deciding between a 3 and a 4 can compare it to the anchors and pick the closest match.
A rubric is NOT a checklist (which lists required features but does not define a scale), a prompt template (which formats the question but does not define quality), or a vague instruction ('rate the quality'). It is a scoring specification.
Situations where this technique stops working.
2–4 min · Everything important, quickly.
Real products, models, and research that use this idea.
- Anthropic's internal RLHF process uses rubrics to train human raters who generate preference data, ensuring consistency across hundreds of annotators rating Claude's outputs.
- Promptfoo supports custom rubric definitions in its LLM-judge evaluators, letting teams embed scoring criteria directly in their eval config files.
What an interviewer would ask next. Try answering before peeking at the approach.
QHow do you know if your rubric is good enough? What signals tell you the rubric needs revision?
Measure inter-rater agreement (Cohen's kappa for two raters, Krippendorff's alpha for more) on a sample of 50 to 100 outputs. Kappa below 0.4 means the rubric is too ambiguous. Identify the score levels where disagreement is highest and add more specific criteria or anchor examples.
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Red flags & common mistakes
The phrases that signal junior thinking. Click to expand.
Writing a rubric with vague criteria like 'the answer is good' instead of concrete, observable requirements. Vague rubrics produce the same inconsistency as having no rubric at all.
60 second bullets to scan on the way to the call.
Define a rubric as a structured scoring guide for evaluation
Name the three components: dimensions, score levels, and anchor examples
Primary sources. Browse if you want the original framing.
Same topic, related formats. Practice these next.