This prompt is for evaluation engineers and AI platform teams who need to reduce judge variance by anchoring a scoring rubric with concrete, few-shot examples. The core job is to produce a rubric that doesn't just describe what a score means in the abstract, but shows it—with scored exemplars at each level, counter-examples near decision boundaries, and annotation rationales that explain why each example received its score. Use this when you're building a model-graded evaluation pipeline and human spot checks reveal that different judges (or the same judge across runs) interpret your scoring criteria inconsistently. The prompt is designed for teams that already have a scoring scale and dimension definitions, but need to harden them into a repeatable, automatable contract.
Prompt
Rubric with Example Outputs and Scores Prompt Template

When to Use This Prompt
Define the job, reader, and constraints for the rubric with example outputs and scores prompt template.
Do not use this prompt when you are still defining your evaluation dimensions or scoring scale from scratch—start with the LLM Judge Rubric Design Prompt Template or Scoring Scale Definition Prompt Template instead. This prompt assumes you have a working rubric and need to anchor it with examples. It is also not a substitute for human calibration; the exemplars it produces should be reviewed by domain experts before they become the ground truth for automated scoring. Avoid using this prompt for high-stakes, one-shot decisions where a single score triggers an irreversible action. In those cases, the rubric output should feed into a human review queue, not directly into an automated gate.
After generating the rubric, validate that the exemplars do not leak evaluation criteria into the output—a common failure mode where the example text accidentally contains the scoring rules, teaching the judge to pattern-match rather than evaluate. Run the rubric through a small set of known cases with both human and model judges, then compare score distributions. If inter-rater reliability doesn't improve after adding exemplars, the examples may be ambiguous or the underlying dimension definitions need refinement. The next step is to wire this rubric into your evaluation harness with the Rubric Calibration Against Human Ratings Prompt to measure alignment and detect drift over time.
Use Case Fit
Where this prompt works and where it does not. Use it to anchor LLM judges with concrete examples, reduce scoring variance, and catch rubric leakage before it contaminates your evaluation pipeline.
Good Fit: High-Variance Human Evaluation
Use when: your human raters disagree on what a '3' means, or scoring drift is visible week over week. Guardrail: lock the rubric with scored exemplars and counter-examples at each boundary. Recalibrate only when the distribution of human scores shifts beyond your drift threshold.
Bad Fit: Single Correct Answer Tasks
Avoid when: the output is objectively right or wrong and can be verified by string match, execution, or a deterministic function. Guardrail: use exact-match, test execution, or schema validation instead. Reserve LLM judges for tasks where quality is a spectrum, not a binary.
Required Inputs
Must provide: a scoring dimension name, a numeric or categorical scale with level definitions, at least one scored exemplar per level, and at least one boundary counter-example. Guardrail: if you cannot produce a counter-example that sits between two levels, your scale has gaps that will confuse the judge.
Operational Risk: Exemplar Leakage
What to watch: exemplars that contain the evaluation criteria verbatim teach the judge to pattern-match rather than assess. Guardrail: run a leakage check—ask the judge to extract the rubric rules from the exemplars alone. If it can reconstruct your criteria, rewrite the exemplars to demonstrate without defining.
Operational Risk: Scale Collapse
What to watch: the judge clusters all scores around the middle of the scale, avoiding extreme ratings. Guardrail: include mandatory anchor exemplars for the lowest and highest levels. Add a tiebreaker rule: 'If uncertain between two adjacent levels, choose the lower one and flag for human review.'
Operational Risk: Annotation Fatigue
What to watch: when the rubric has too many dimensions or exemplars, the judge starts skipping justification or applying rules inconsistently. Guardrail: limit to 3–5 dimensions per rubric. If you need more, split into separate evaluation passes with independent judges and aggregate afterward.
Copy-Ready Prompt Template
A reusable prompt template that produces a scored evaluation rubric with exemplars at each level, counter-examples near boundaries, and annotation rationales.
This template generates a complete evaluation rubric with example outputs and scores anchored at each performance level. Unlike a bare scoring scale, this prompt instructs the model to produce exemplars that demonstrate what each score level looks like in practice, plus counter-examples near decision boundaries to reduce judge variance. The output includes annotation rationales so evaluators understand why an exemplar belongs at a particular level. Use this when you need to calibrate multiple LLM judges or human raters against a shared, example-anchored standard.
codeYou are an evaluation rubric designer. Your task is to produce a scored rubric with example outputs at each performance level. ## Evaluation Context - Task being evaluated: [TASK_DESCRIPTION] - Quality dimensions to score: [DIMENSIONS] - Scoring scale: [SCALE_TYPE] with [NUM_LEVELS] levels - Domain constraints: [DOMAIN_CONSTRAINTS] - Risk level: [RISK_LEVEL] ## Rubric Requirements For each score level, produce: 1. A clear level definition with distinguishing characteristics 2. At least [MIN_EXEMPLARS] scored exemplars that demonstrate the level 3. At least [MIN_COUNTER_EXAMPLES] counter-examples near the boundary with the adjacent level, with explanation of why they don't cross the boundary 4. Annotation rationales for each exemplar and counter-example explaining the scoring decision ## Output Schema Return a JSON object with this structure: { "rubric_name": "string", "task_description": "string", "dimensions": [ { "name": "string", "definition": "string", "weight": number } ], "scale": { "type": "[SCALE_TYPE]", "levels": [ { "score": "[LEVEL_VALUE]", "label": "string", "definition": "string", "distinguishing_characteristics": ["string"], "exemplars": [ { "input": "string", "output": "string", "rationale": "string" } ], "boundary_counter_examples": [ { "input": "string", "output": "string", "adjacent_level": "[LEVEL_VALUE]", "why_not_adjacent_level": "string" } ] } ] }, "scoring_rules": { "aggregation_method": "string", "tiebreaking_rules": "string", "edge_case_handling": "string" }, "calibration_notes": "string" } ## Constraints - Exemplars must be realistic and representative of production inputs - Counter-examples must sit near genuine decision boundaries, not obvious failures - Rationales must reference specific rubric criteria, not vague impressions - Do not include evaluation criteria inside exemplar outputs that would leak scoring rules to the evaluated system - If [RISK_LEVEL] is high, flag exemplars that require human review - All exemplars must be self-contained and evaluable without external context unless [DOMAIN_CONSTRAINTS] explicitly requires it
Adaptation guidance: Replace [TASK_DESCRIPTION] with the specific task being evaluated (e.g., "customer support email responses"). Define [DIMENSIONS] as the quality axes that matter (accuracy, tone, completeness). Set [SCALE_TYPE] to numeric, categorical, or binary depending on your evaluation pipeline. [MIN_EXEMPLARS] and [MIN_COUNTER_EXAMPLES] control rubric density—start with 2-3 each and increase if judges show high variance. The [RISK_LEVEL] field triggers human-review flags in the output; set to "high" for regulated domains. The constraint against leaking evaluation criteria into exemplar outputs is critical: if your exemplars contain scoring instructions, downstream models may game the evaluation rather than demonstrate genuine quality.
Next steps: After generating the rubric, validate that exemplars at adjacent levels are genuinely distinguishable by running them through a separate judge prompt. If boundary counter-examples produce inconsistent scores across judges, add more counter-examples or refine the level definitions. Store the rubric as a versioned artifact in your evaluation pipeline and re-validate after any task definition or domain constraint changes.
Prompt Variables
Inputs the prompt needs to produce a scored rubric with exemplars. Validate each input before assembly to prevent exemplar leakage and scoring drift.
| Placeholder | Purpose | Example | Validation Notes |
|---|---|---|---|
[EVALUATION_TASK] | Defines what the rubric is scoring | Evaluate the factual accuracy of a generated summary against a source document | Must be a single, bounded task. Reject multi-task descriptions or ambiguous scope. |
[QUALITY_DIMENSIONS] | List of 1-5 dimensions to score independently | Factual Accuracy, Coverage, Conciseness | Each dimension must be mutually exclusive. Check for overlap with a pairwise distinctness test. |
[SCORING_SCALE] | Numeric or categorical scale with level definitions | 1 (Poor) to 5 (Excellent) with a description for each integer | Scale must have at least 3 levels. Validate that level descriptions are monotonically ordered. |
[EXEMPLAR_COUNT] | Number of scored examples per level | 2 | Integer between 1 and 3. More than 3 risks the model memorizing examples instead of learning criteria. |
[SOURCE_MATERIAL] | Ground-truth document or reference for generating exemplars | A 3-paragraph news article | Must be provided. Null not allowed. If no source exists, this prompt template is the wrong tool; use a zero-shot rubric prompt instead. |
[DOMAIN_CONSTRAINTS] | Domain-specific rules that override general scoring | In medical summaries, omit any patient-identifiable information; penalize inclusion as a Critical failure | Optional. If null, rubric uses general criteria only. If provided, each constraint must be testable with a binary pass/fail check. |
[OUTPUT_SCHEMA] | Expected JSON structure for the final rubric | {"dimensions": [...], "levels": [...], "exemplars": [...]} | Must be a valid JSON Schema or example. Validate that the schema includes fields for exemplar rationale and boundary cases. |
Implementation Harness Notes
How to wire the rubric generation prompt into an evaluation pipeline with validation, model choice, and human review gates.
This prompt is not a one-off query; it is a rubric factory that should be integrated into your evaluation infrastructure. The primary integration point is a rubric generation service that accepts a task description, a set of example outputs, and optional constraints, then returns a validated rubric object. The service should call the LLM with this prompt template, parse the structured output, and run a series of automated checks before the rubric is stored or used in any downstream scoring pipeline.
Validation and error handling are critical. After the model returns the rubric, you must validate that: (1) the output is valid JSON matching your expected schema; (2) every score level has at least one exemplar; (3) no exemplar text appears verbatim in the evaluation criteria (to prevent leakage); (4) the scoring scale is consistent and monotonic; and (5) counter-examples are provided near decision boundaries. If validation fails, implement a retry loop that feeds the specific validation errors back into the prompt as additional [CONSTRAINTS] and requests a corrected rubric. After three failed retries, escalate to a human reviewer via a review queue rather than silently accepting a broken rubric.
Model choice matters for this workflow. Use a model with strong instruction-following and structured output capabilities, such as GPT-4o, Claude 3.5 Sonnet, or Gemini 1.5 Pro. Avoid smaller or older models that may struggle with the nested JSON structure and the precision required for non-leaky exemplars. For production deployments, log every generated rubric along with its validation results, the model version, and the prompt template version. This audit trail is essential for debugging judge drift later. When the rubric will be used in regulated or high-stakes domains, always require a human domain expert to review and sign off on the rubric before it goes live, even if all automated validations pass.
Expected Output Contract
Fields, format, and validation rules for the rubric-with-example-outputs-and-scores prompt template output. Use this contract to parse, validate, and integrate the generated rubric into your evaluation harness.
| Field or Element | Type or Format | Required | Validation Rule |
|---|---|---|---|
rubric_name | string | Non-empty string; max 200 characters; must not contain only whitespace | |
scoring_scale | object | Must contain 'min_score' (integer), 'max_score' (integer), 'score_type' (enum: integer | float | categorical); min_score < max_score | |
dimensions | array of objects | Array length >= 1; each object must have 'name' (string), 'weight' (float 0.0-1.0), 'description' (string); sum of all weights must equal 1.0 within 0.01 tolerance | |
dimensions[].levels | array of objects | Array length >= 2; each object must have 'score' (integer within scoring_scale range), 'label' (string), 'description' (string); scores must be unique within dimension | |
exemplars | array of objects | Array length >= 1 per dimension level; each object must have 'dimension' (string matching a dimension name), 'score' (integer matching a level score), 'input' (string), 'output' (string), 'rationale' (string) | |
counter_examples | array of objects | If present, each object must have 'dimension' (string), 'boundary_pair' (object with 'lower_score' and 'higher_score' integers), 'input' (string), 'output_lower' (string), 'output_higher' (string), 'distinction_rationale' (string) | |
annotation_guidelines | string | Non-empty string; must include instructions for handling edge cases and uncertainty; max 2000 characters | |
validation_checks | object | If present, must contain 'exemplar_leak_check' (boolean), 'dimension_independence_score' (float 0.0-1.0 if present), 'human_alignment_sample_size' (integer >= 0 if present) |
Common Failure Modes
Few-shot anchored rubrics reduce judge variance, but they introduce their own failure modes. These are the most common breaks and how to guard against them before they reach production.
Exemplar Leakage into Evaluation Criteria
What to watch: The model treats scored exemplars as the definition of quality, copying their phrasing or structure instead of applying the abstract criteria. This inflates scores for outputs that mimic exemplar style but miss the substance. Guardrail: Add an explicit instruction that exemplars are illustrations, not templates. Validate by testing an output that matches exemplar form but violates the rubric intent—score should be low.
Boundary Anchoring Drift
What to watch: Counter-examples placed near score boundaries can anchor the judge too aggressively, causing it to over-penalize borderline outputs or collapse adjacent score levels into a single bucket. Guardrail: Include at least two exemplars per boundary (one just above, one just below) and monitor score distribution entropy. If variance collapses, recalibrate boundary exemplars.
Rationale Contamination of Scoring
What to watch: When exemplars include annotation rationales, the judge may learn to generate plausible-sounding justifications for incorrect scores rather than scoring accurately first. The rationale becomes a post-hoc defense mechanism. Guardrail: Require the judge to produce the score before writing the rationale. Validate by checking whether rationale quality predicts score accuracy—if high-quality rationales accompany wrong scores, contamination is present.
Exemplar Set Overfitting to a Single Domain
What to watch: All exemplars drawn from the same topic or output style cause the judge to fail silently on out-of-distribution inputs. Scores remain confident but become meaningless outside the exemplar domain. Guardrail: Validate exemplar coverage across input types, lengths, and domains. Run the rubric against a held-out diverse test set and check for score-calibration drift by domain slice.
Score Inflation from Overly Generous Exemplars
What to watch: If high-score exemplars are too easy or low-score exemplars are cartoonishly bad, the judge learns a compressed scale where most real outputs cluster at the top. The rubric loses discrimination power. Guardrail: Source exemplars from real model outputs at each score level, not hand-crafted extremes. Validate score distribution spread against human ratings on the same outputs.
Silent Failure on Missing or Irrelevant Exemplars
What to watch: When an input falls into a category with no matching exemplar, the judge may force-fit it to the nearest exemplar or produce a mid-scale default score with low confidence it doesn't express. Guardrail: Add an explicit instruction to flag when no exemplar is relevant and request a score based on criteria alone. Monitor for default-score clustering and low-variance outputs on novel input types.
Evaluation Rubric
Use this rubric to test whether the generated rubric prompt produces consistent, actionable scoring criteria with well-anchored exemplars. Each criterion targets a specific failure mode observed in few-shot rubric generation.
| Criterion | Pass Standard | Failure Signal | Test Method |
|---|---|---|---|
Exemplar-Score Alignment | Each scored exemplar clearly demonstrates the behaviors described at its assigned score level | Exemplar at score 4 exhibits errors described in score 2 definition; rationale contradicts the assigned score | Extract all exemplars and their scores. Have a second LLM judge independently score each exemplar using only the rubric definitions. Flag any exemplar where the second judge's score differs by more than 1 level from the assigned score. |
Boundary Discrimination | Counter-examples near score boundaries include explicit rationale explaining why they fall on one side of the boundary | Boundary exemplars lack rationale or rationale uses criteria not present in the rubric definitions | Identify all exemplars placed at score boundaries. Check that each includes a rationale field. Verify each rationale references at least one specific rubric criterion from the adjacent level definitions. |
Criterion Independence | Each scoring dimension measures a distinct quality attribute without overlapping other dimensions | Two dimensions produce identical scores across all exemplars; dimension definitions share overlapping language | Compute pairwise correlation across all dimension scores for the provided exemplars. Flag any dimension pair with correlation above 0.85. Review definitions for shared terminology or conflation. |
Exemplar Non-Leakage | Exemplars do not contain the evaluation criteria, scoring rules, or rubric definitions themselves | Exemplar text includes phrases like 'this would score a 3 because' or directly quotes rubric level descriptions | Search all exemplar text for rubric terminology, score labels, and criterion names. Flag any exemplar containing evaluation meta-language. Replace leaked exemplars with clean versions. |
Score Distribution Coverage | Exemplars span the full scoring range with at least one example at each defined level | All exemplars cluster in the middle two score levels; extreme scores have no representative examples | Count exemplars per score level. Verify at least one exemplar exists at the minimum and maximum defined scores. Flag gaps and request additional exemplars for uncovered levels. |
Rationale Actionability | Each exemplar rationale explains what specific output characteristics drove the score assignment | Rationales are generic statements like 'good quality' or 'needs improvement' without referencing concrete output features | Parse all rationale fields. Check that each rationale contains at least one specific reference to an output characteristic. Flag rationales under 20 words or lacking concrete nouns describing the output content. |
Annotation Consistency | Multiple exemplars at the same score level receive consistent rationales that reference the same rubric criteria | Two exemplars at score 3 receive contradictory rationales where one praises a feature the other criticizes | Group exemplars by score level. Compare rationales within each group for contradiction. Flag any pair where one rationale describes a characteristic positively and another describes the same characteristic negatively at the same score level. |
Human-Calibration Check | At least 80% of exemplar scores match human annotator scores within 1 level when spot-checked | Human reviewer disagrees with more than 2 out of 10 randomly sampled exemplar scores by 2 or more levels | Randomly sample 10 exemplars. Have a domain expert independently score them using only the rubric definitions. Compare human scores to assigned exemplar scores. Flag if more than 2 exemplars differ by 2 or more levels. |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Adapt This Prompt
How to adapt
Start with the base template and 2–3 scored exemplars per level. Remove the validation block and annotation rationale requirements. Use a single dimension (e.g., overall quality) instead of multi-dimensional scoring.
Prompt snippet
code[SCORING_DIMENSION]: overall quality [SCALE]: 1 (poor) to 5 (excellent) [EXEMPLARS]: - Score 1: [POOR_EXAMPLE] - Score 3: [ADEQUATE_EXAMPLE] - Score 5: [EXCELLENT_EXAMPLE] Score the following output: [OUTPUT]
Watch for
- Score clustering at the middle of the scale without anchors at extremes
- Exemplars that accidentally leak the evaluation criteria into the output
- No mechanism to detect when the judge is guessing

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us