Ryz Labs/Templates/LLM eval rubric
Templates

LLM evaluation rubric template for production AI features

Anchored grading criteria for LLM outputs, an LLM-as-judge prompt you can adapt, and the calibration steps that make automated scores match expert judgment.

An LLM evaluation rubric defines how each output of an AI feature is graded: a small set of criteria such as correctness, grounding in sources, completeness, format and safety, each with written anchors for every score and examples of acceptable and unacceptable outputs. Use one criterion per grader rather than one overall score, require a short justification, and calibrate automated LLM-as-judge grading against expert labels before you trust it. The template below gives you the criteria, a judge prompt, an eval case format and a calibration log.

LLM evaluation rubric template

1. Criteria with anchored scores

CriterionQuestion it answers0: Fail1: Partial2: PassGrader
CorrectnessIs the answer factually right for this input?Contains a wrong statement that would mislead the userMostly right; a minor error or imprecisionFully rightExpert label or LLM judge with reference answer
GroundingIs every claim supported by the provided sources?A claim with no support in the sourcesSupported but cites the wrong passageEvery claim supported and cited correctlyLLM judge with retrieved context
CompletenessDoes it cover what the user needed?Misses the main pointCovers the main point, misses a required detailCovers everything the reference requiresLLM judge with reference answer
Format and instructionsDoes it follow the required format and constraints?Breaks the schema or a hard constraintMinor format issueFully compliantCode check (schema, length, required fields)
Safety and policyDoes it avoid disallowed content and data leakage?Violates policy or exposes restricted dataBorderline wordingCompliantCode checks plus LLM judge
Tone and usefulnessWould the target user accept it as written?UnusableNeeds editsUsable as isExpert sample review

2. Eval case format (one row per test case)

Case IDInputContext or sources providedReference answer or must-include pointsMust not includeTags (topic, difficulty, edge case)Expert label (per criterion)
EV-001[User question or document][Retrieved passages or attached files][Key facts the answer must contain][Wrong facts, restricted data][Billing; hard; ambiguous question][Correctness 2, Grounding 1, ...]

3. LLM-as-judge prompt (one criterion)

PartText to adapt
RoleYou are grading one answer from an AI assistant for [product]. Grade only [criterion].
Criterion definition[Paste the criterion question and the 0/1/2 anchors from the table above.]
InputsUser input: [input]. Sources: [context]. Reference: [reference answer]. Answer to grade: [output].
RulesJudge only against the sources and reference. Do not reward length. If unsure between two scores, choose the lower.
Output formatReturn JSON: {"score": 0, 1 or 2, "justification": one or two sentences quoting the evidence}

4. Calibration log

DateJudge model and prompt versionCriterionCases labeled by expertsAgreement with expertsMain disagreementsAction
[YYYY-MM-DD][Model, prompt v3][Grounding][n][% exact match][Judge too lenient on partial citations][Added two partial-citation examples to the prompt]
Use this template

How to use this evaluation rubric

  1. Collect eval cases from real usage or realistic tasks from target users, including the hard and ambiguous ones. Tag each case by topic and difficulty.
  2. Pick the criteria that matter for the feature and rewrite the anchors in your domain's terms. Most features need correctness and grounding; agents also need checks on tool calls and actions.
  3. Use code checks wherever possible: schema validation, length, required fields, banned strings. Reserve LLM judges for criteria that need judgment.
  4. Have domain experts label a set of cases per criterion. These labels are the ground truth for calibration.
  5. Run the judge prompt on the labeled cases, measure agreement with the experts and adjust the prompt or anchors until agreement is acceptable to you. Log every change.
  6. Run the full eval on every prompt, model or retrieval change, and block releases that drop below the agreed scores.
  7. Recalibrate whenever you change the judge model or the rubric.

Example: one graded case

CriterionScoreJustification
Correctness2States the correct refund window for annual plans, matching the reference.
Grounding1The refund window is supported, but the citation points to the monthly plan section instead of the annual plan section.
Format2Valid JSON with all required fields (code check).

Common LLM evaluation mistakes

Need engineers who build evals into the feature?

Ryz AI pod teams and senior AI engineers build eval sets, judges and tracing as part of every AI feature, in your repos and CI, so quality is measured on every change. They work on your team, reporting to your leads, on US business hours including New York hours. Only the top 1% of the tens of thousands of engineers we interview make it. Talk to us to scope your team, or see LLM evaluation engineers and RAG engineers.

Related

FAQ

What is an LLM evaluation rubric?

A scoring guide for the outputs of an LLM feature. It names the criteria being graded, defines what each score means with written anchors, and gives examples. Humans and LLM judges use it to grade outputs consistently.

What criteria should an LLM evaluation use?

Most production features use correctness, grounding in the provided sources, completeness, format and instruction compliance, and safety. Add usefulness or tone for user-facing text, and tool-call correctness for agents.

Can you use an LLM as a judge?

Yes, for criteria that need judgment, if you calibrate it. Label a set of cases with domain experts, measure how often the judge agrees, adjust the prompt and anchors, and recheck whenever the judge model or rubric changes.

How many test cases does an LLM eval set need?

Enough to cover the main topics, difficulty levels and known failure modes of the feature, with several cases each. Start with what you can label well, then add cases from production failures over time.

Should eval scores use a 0-2 or a 1-10 scale?

Short scales with written anchors, such as 0-2 or pass/fail, give more consistent grades from both humans and LLM judges than long scales. Use a separate score per criterion rather than one large scale.

Questions we didn't answer? Email info@ryzlabs.com.

Explore Ryz Labs

Staff augmentationDedicated development teamsAI pod teamsForward deployed engineersNearshore software developmentAI engineering teamsHire engineers by roleRyz Labs vs competitorsAlternatives guidesBuyer guidesCase studiesHow we vet engineers
Ryz Labs

Senior engineers in your time zone. AI pod teams that ship.

Tell us who you need. You'll get a scoped plan, a price and the names of the people who would do the work.

Start a conversation →