Interview's MateAI Engineering
Interview's Mate

AI Engineering

LLMs, RAG, agents & evals

Visualizer

DSA Visualizer
All 32 lessons
Custom Playground
Try your own examples

Learning

System Design
31 architecture topics
SQL Learning
160 foundations → production topics
AI Engineering
160 LLM → backend topics
Data Science
160 Python → MLOps topics
Data Engineer
160 SQL → streaming topics
Docker
160 Docker learning topics
Kubernetes
160 K8s fundamentals → cloud
Java LearnSoon
Coming soon
Python Learn
Interview Q&A & internals
JavaScript Learn
Closures, async & DOM Q&A
Tech Learn
Search, practise & track Q&A
AI DSA Practice
Solve coding problems
Theme
Home
AI Engineering topics
Lesson 65/ 160
04. Evals

Rubric Scoring

Multi-criteria scorecards for correctness, style, safety, and completeness.

IntermediateCriteria · Weights3 quiz questions
Practice Generative AI Q&A
In plain wordsDiagramTheoryStep by stepWhen to use itInterview cluesMistakes to avoidHands-onQuiz (3)Practice

In plain words

A rubric is a checklist with marks for each quality you care about, so every answer is graded the same fair way.

Think of it like…

An exam marking scheme: marks for the right method, the right answer and clear working, with a note that cheating gets zero regardless. Two examiners using the same scheme give similar marks, and you can see which skill a student is weak at.

Where you’ve seen it

A medical-information assistant is scored on four criteria: factual correctness (weight 40), completeness (25), clarity for a lay reader (15) and appropriate caution/referral (20), each on 0–2 with anchors, plus a hard gate: any unsafe advice is an automatic fail. For one release the weighted average rises from 78 to 81, but the per-criterion view shows correctness fell from 1.8 to 1.7 while clarity rose from 1.4 to 1.8. Because correctness carries the most weight and the team had set a floor of 1.75, the release is blocked until correctness recovers.

Words you’ll hear

Criterion
One dimension of quality, defined so graders can judge it independently.
Anchors
Concrete descriptions or examples of each score level.
Weights and gates
Relative importance of criteria; gates are must-pass conditions that override the score.
Calibration
Aligning graders by scoring shared examples and resolving disagreements.

Visual diagram

Loading interactive diagram

Theory & deep dive

Designing the rubric

List the dimensions that matter for the task and keep them independent (a criterion shouldn't double-count another). Typical ones: correctness or faithfulness to sources, completeness (covers all parts of the question), relevance, clarity and tone, format compliance, safety and policy adherence, citation accuracy. Limit to 3 to 6 criteria; more dilutes attention. Choose scales: binary for clear requirements ("cites a source"), 0–2 or 1–3 for graded ones with anchors; avoid 1–10.

Write anchors for every level: "2 = all required facts present and correct; 1 = one required fact missing or one minor error; 0 = a major error or missing core information", ideally with real examples. Assign weights according to business importance, and define gates for non-negotiables such as safety, privacy, and refusing disallowed requests: a gate failure caps the overall score regardless of other criteria. Add per-criterion floors so one good dimension can't mask a bad one.

A rubric excerpt

"Correctness (weight 40): 2 = every claim matches the reference; 1 = one minor inaccuracy that wouldn't mislead; 0 = any claim that contradicts the reference or could cause harm. Gate: unsafe medical advice = overall 0."

Key takeaway: Few independent criteria, anchored levels, weights, gates and floors.

Applying it with humans and LLM judges

Calibrate raters: have everyone score 15 to 20 shared examples, discuss disagreements, refine anchors, and measure agreement (percent agreement, weighted Cohen's kappa for ordinal scales, or Krippendorff's alpha). Aim for substantial agreement before scaling; if raters disagree, the rubric is ambiguous. Use two raters on a sample, and an adjudicator for disagreements. For LLM judges, score each criterion in a separate call with its anchors and examples, ask for a short justification first, and validate against the human scores per criterion (see the LLM-as-a-judge lesson).

Report results as per-criterion averages and pass rates with confidence intervals, plus the weighted total. Track them over time and by slice (intent, difficulty). Use the rubric to guide error analysis (low scores point to what to fix) and to define release criteria ("no criterion drops by more than 0.1; safety gate pass rate 100%"). Revisit the rubric when the product changes: criteria that every output satisfies stop being informative, and new failure modes need new criteria.

Rolling up scores

Criterion scores out of 2: correctness 1.7, completeness 1.6, clarity 1.8, caution 1.9. Weighted total = (40 × 1.7 + 25 × 1.6 + 15 × 1.8 + 20 × 1.9) / 2 = (68 + 40 + 27 + 38) / 2 = 86.5 out of 100, before applying the safety gate.

Key takeaway: Calibrate graders, score criteria separately, and report per-criterion trends and floors.

How it works, step by step

Step 1 of 4
Eval design

1. Choose independent criteria

Pick 3–6 dimensions that matter for the task and define each precisely.

correctness · completeness · clarity · caution
Key numbers at this step
Avoid
overlap

When to use it & trade-offs

What it is

Rubric scoring evaluates an output against several explicit criteria (correctness, completeness, safety, style, citation quality), each with a defined scale and anchors (what a 1, 3 or 5 looks like, or pass versus fail), combined into a weighted score with optional hard gates (any safety failure scores zero). It turns a vague "is this answer good?" into a scorecard that humans and LLM judges can apply consistently, and that shows which dimension improved or regressed. Calibration (scoring examples together, measuring agreement) keeps raters aligned.

Why it matters: A single overall score hides trade-offs: a change that makes answers friendlier but less accurate can leave the average unchanged. Rubrics expose per-criterion movement, make quality expectations explicit for the team and for graders, and support decisions like "never ship if safety drops, accept small style regressions for a big accuracy gain". They're also what makes LLM-judge and human grading comparable.

When to reach for it

  • Grading assistants, summarisers and agents on multiple dimensions
  • Setting release criteria with floors and gates
  • Guiding annotators and LLM judges

When to avoid or be careful

  • Ten overlapping criteria
  • Scales without anchors
  • Averaging away a failed safety gate

Scoring approaches

Multi-criteria rubric
Best for: Complex outputs with several quality dimensions

Strengths: Diagnostic; explicit expectations; supports gates.

Watch out: Takes effort to design and calibrate.

Single overall score
Best for: Quick, rough comparisons

Strengths: Simple.

Watch out: Hides trade-offs; noisy and subjective.

Binary checklist
Best for: Objective requirements (format, citations, forbidden content)

Strengths: Reliable and automatable.

Watch out: Doesn't capture degrees of quality.

Interview signals & numbers to know

When this topic comes up

  • “The overall score didn't change but users are unhappy”
  • “What does a 4 out of 5 mean?”
  • “Which dimension regressed?”
  • Inter-rater agreement
  • Release gates

Benchmarks & rules of thumb

3 – 6 -
criteria in a usable rubric
86.5 -
weighted total in the example
0 – 2 -
a short anchored scale

Common mistakes & follow-ups

Common interview mistakes

  • Using a 1–10 scale where graders interpret 7 differently.
  • Letting one strong criterion mask a failing correctness score.
  • Never recalibrating graders as the product changes.

Likely interviewer follow-ups

  • How would you design a rubric for a summarisation feature?
  • How do hard gates differ from weights?
  • How do you measure agreement between graders?
Interview tip: Describe floors and gates alongside weights. Showing you can block a release on one criterion marks a mature evaluation setup.
Loading hands-on exercise

Knowledge check

Loading quiz

Put it into practice

Practice related interview Q&A

Apply Rubric Scoring with generative AI interview Q&A and hands-on practice.

Open Generative AI Q&A →Tech Learn Q&A
Previous topic
Pairwise Comparison
Next topic
Faithfulness