This prompt is for evaluation engineers and AI platform teams who need automated scoring with built-in uncertainty quantification. The job-to-be-done is producing a model-graded evaluation rubric that requires judges to output not just a numeric score, but a score range, a confidence level, and a structured explanation of uncertainty sources. This is essential when downstream decisions depend on knowing whether a score of 7/10 means 'definitely good enough to ship' or 'probably good enough but the judge is unsure.' The ideal user is someone running automated evaluation pipelines who has already observed that point-estimate scores can be misleading and needs richer signal before gating a release, selecting a model, or accepting generated content into production.
Prompt
Rubric with Confidence Interval Output Prompt Template

When to Use This Prompt
Define the job, reader, and constraints for the rubric with confidence interval output prompt.
Use this prompt when your evaluation workflow requires calibration-aware scoring. This means you need to verify over time that confidence intervals actually contain the true score at the expected rate—for example, a 90% confidence interval should contain the ground-truth score roughly 90% of the time across a test set. The prompt template includes calibration check instructions that make this verifiable. It also forces judges to articulate why they are uncertain, which helps diagnose whether uncertainty comes from ambiguous instructions, conflicting evidence, edge cases, or genuine task difficulty. This diagnostic layer is what separates a useful confidence interval from a vague hedge.
Do not use this prompt when you only need a fast binary pass/fail gate with no uncertainty analysis, or when your evaluation pipeline cannot store and analyze interval data over time. The prompt adds token overhead and reasoning latency because it requires the judge to produce a range, confidence level, and uncertainty source list alongside the score. If your system only consumes a single numeric value and discards everything else, start with a simpler rubric prompt first. Also avoid this prompt when your human baseline annotations don't include confidence judgments—you need calibrated human intervals to validate that the model's uncertainty aligns with human uncertainty. Without that alignment check, the confidence numbers are ungrounded and potentially misleading. After adapting this prompt, wire the output into an eval harness that logs score distributions over time and triggers a recalibration review when observed interval coverage drifts outside acceptable bounds.
Use Case Fit
Where the rubric with confidence interval output prompt works and where it does not.
Good Fit: High-Stakes Evaluation Pipelines
Use when: automated scores feed dashboards, model selection, or compliance reports where stakeholders need to know how much to trust each score. Guardrail: require confidence intervals to be logged alongside scores and trigger human review when interval width exceeds a defined threshold.
Good Fit: Judge Calibration and Drift Detection
Use when: you need to detect whether an LLM judge is becoming more uncertain over time or across data slices. Guardrail: track interval width and confidence level trends; recalibrate when confidence intervals no longer contain true scores at the expected rate.
Bad Fit: Low-Latency Real-Time Scoring
Avoid when: you need sub-second scoring decisions with no room for additional tokens spent on uncertainty reasoning. Guardrail: use a simpler pass/fail or numeric-only rubric for real-time paths; reserve confidence-interval rubrics for async evaluation jobs.
Bad Fit: Binary Accept/Reject Gates
Avoid when: the downstream system only needs a yes/no decision and cannot act on score ranges or uncertainty signals. Guardrail: use a pass/fail rubric for gating; apply confidence-interval rubrics only when the consuming system can branch on uncertainty.
Required Inputs
What you need: a defined scoring dimension with clear level anchors, a confidence scale (e.g., 0-100 or Low/Medium/High), and instructions for what constitutes an uncertainty source. Guardrail: validate that judges consistently cite specific evidence gaps, ambiguity, or boundary cases as uncertainty sources rather than generic hedging.
Operational Risk: Interval Gaming
What to watch: judges may output artificially narrow intervals to appear confident or artificially wide intervals to avoid accountability. Guardrail: calibrate intervals against held-out human scores and flag judges whose intervals are systematically too narrow or too wide relative to actual error.
Copy-Ready Prompt Template
A reusable prompt template that instructs an LLM judge to produce a score range, confidence level, and uncertainty sources for a given evaluation rubric.
This prompt template is the core contract for an LLM judge that must output a confidence interval instead of a single point score. It is designed for evaluation pipelines where uncertainty quantification is a first-class requirement—such as when automated scores feed into high-stakes decisions, model release gates, or calibration workflows. The template enforces a structured output schema that includes a lower bound, an upper bound, a confidence level, and a list of uncertainty sources. Use this template when you need to know not just what the score is, but how sure the judge is about that score.
Below is the copy-ready prompt template. Every placeholder in square brackets must be replaced before use. The [RUBRIC] placeholder expects the full evaluation rubric with dimensions, levels, and anchors. The [OUTPUT_TO_EVALUATE] placeholder expects the model response or artifact being scored. The [CONFIDENCE_LEVEL] placeholder should be set to a target confidence level, such as 90% or 95%, which the judge will use to calibrate its interval width. The [CALIBRATION_INSTRUCTIONS] placeholder is where you inject any domain-specific guidance on how to map uncertainty to interval width.
textYou are an expert evaluator trained to apply rubrics and quantify your uncertainty. Your task is to score the provided output against the rubric and produce a confidence interval that reflects your uncertainty about the true score. ## RUBRIC [RUBRIC] ## OUTPUT TO EVALUATE [OUTPUT_TO_EVALUATE] ## INSTRUCTIONS 1. Apply the rubric carefully and determine the most likely score for each dimension. 2. For each dimension, identify sources of uncertainty that could cause the true score to differ from your best estimate. Consider ambiguity in the output, rubric boundary cases, missing information, and subjective interpretation. 3. Produce a confidence interval for each dimension score. The interval should be wide enough that you are [CONFIDENCE_LEVEL] confident the true score falls within it. 4. Aggregate dimension intervals into an overall score interval using the aggregation rules specified in the rubric. If no aggregation rules are provided, use a weighted average where weights are proportional to dimension importance. 5. Output your evaluation in the exact JSON schema provided below. [CALIBRATION_INSTRUCTIONS] ## OUTPUT SCHEMA { "overall_score_interval": { "lower_bound": <number>, "upper_bound": <number>, "confidence_level": <number between 0 and 1>, "most_likely_score": <number> }, "dimension_scores": [ { "dimension_name": "<string>", "interval": { "lower_bound": <number>, "upper_bound": <number>, "most_likely_score": <number> }, "uncertainty_sources": [ { "source_type": "<ambiguity|boundary|missing_info|subjectivity|other>", "description": "<string explaining why this source creates uncertainty>", "severity": "<low|medium|high>" } ] } ], "global_uncertainty_notes": [ "<string describing cross-dimension uncertainty factors>" ] } ## CONSTRAINTS - Every dimension in the rubric must appear in `dimension_scores`. - `confidence_level` must be exactly [CONFIDENCE_LEVEL]. - `lower_bound` must be less than or equal to `most_likely_score`, and `most_likely_score` must be less than or equal to `upper_bound`. - If you have no uncertainty for a dimension, set `lower_bound` equal to `upper_bound` and provide an empty `uncertainty_sources` array. - Do not invent dimensions not present in the rubric.
After copying this template, validate that your [RUBRIC] placeholder contains explicit scoring levels with numeric ranges. If your rubric uses qualitative labels like "Excellent" or "Poor," add a mapping to numeric scores inside the rubric itself before passing it to the judge. The [CALIBRATION_INSTRUCTIONS] field is critical for production use: without it, judges tend to produce intervals that are either too narrow (overconfident) or too wide (uninformative). Start with a calibration instruction like "If the output falls exactly on a rubric boundary, widen the interval by at least 0.5 points on each side" and iterate based on observed coverage rates. For high-risk domains, always pair this prompt with a calibration harness that tracks whether true scores fall within the predicted intervals at the expected rate over time.
Prompt Variables
Required inputs for the Rubric with Confidence Interval Output prompt. Each placeholder must be populated before the judge can produce a calibrated score with uncertainty quantification.
| Placeholder | Purpose | Example | Validation Notes |
|---|---|---|---|
[RUBRIC_DIMENSIONS] | Defines the quality dimensions, levels, and anchors the judge must score against | Clarity: 1 (Unintelligible) to 5 (Crystal clear); Accuracy: 1 (Fully incorrect) to 5 (Fully correct) | Must contain at least one dimension with defined levels and anchor descriptions. Parse as structured object before prompt assembly. |
[OUTPUT_TO_EVALUATE] | The model-generated text or structured output being scored | The capital of France is Paris. This city has been the capital since... | Required. Must be non-empty string. Truncate if exceeding model context window minus rubric and instruction tokens. |
[SOURCE_EVIDENCE] | Ground-truth reference material for factuality and groundedness dimensions | According to the CIA World Factbook, Paris is the capital of France. | Optional. If null, factuality dimensions should be skipped or scored as 'insufficient evidence'. Validate source date and authority before inclusion. |
[CONFIDENCE_LEVEL] | Target confidence level for interval construction (e.g., 0.90 for 90% intervals) | 0.90 | Must be float between 0.50 and 0.99. Reject values outside range. Default to 0.90 if not specified. Used to calibrate interval width. |
[CALIBRATION_HISTORY] | Prior calibration data mapping judge scores to true scores for interval adjustment | [{"judge_score": 4, "true_score": 3.5, "dimension": "Clarity"}] | Optional array of calibration records. Each record must have judge_score, true_score, and dimension fields. Used to adjust confidence intervals for judge bias. |
[OUTPUT_SCHEMA] | Expected JSON structure for the judge's response including score, interval, and uncertainty sources | {"scores": [{"dimension": string, "score": number, "lower_bound": number, "upper_bound": number, "confidence": number, "uncertainty_sources": [string]}]} | Must define required fields: dimension, score, lower_bound, upper_bound, confidence, uncertainty_sources. Validate schema before passing to judge. Reject judge outputs that don't conform. |
[INTERVAL_CALIBRATION_RULE] | Instruction for how the judge should set interval width relative to confidence level | Set interval width so that at [CONFIDENCE_LEVEL] confidence, the true score falls within [lower_bound, upper_bound]. Wider intervals for higher uncertainty. | Must reference [CONFIDENCE_LEVEL] placeholder. Include instruction that intervals must be symmetric around score unless directional uncertainty is justified. Validate presence in assembled prompt. |
Implementation Harness Notes
How to wire the confidence-interval rubric prompt into an evaluation pipeline with validation, retries, and calibration checks.
This prompt is designed to be called as a scoring step inside an automated evaluation pipeline, not as a one-off chat interaction. The typical harness sends a candidate output and its source context to the model, receives a JSON response containing a score range, confidence level, and uncertainty sources, and then validates that response before storing it. Because the output includes a confidence interval, the harness must treat the score as a distribution, not a point estimate. Downstream systems should use the lower bound for gating decisions and the interval width for triggering human review.
Model choice matters here. Use a model with strong instruction-following and structured output capabilities (e.g., GPT-4o, Claude 3.5 Sonnet, or Gemini 1.5 Pro). Enable structured output mode or JSON mode with the exact schema from the prompt. The harness should validate the response against a strict schema: score_lower_bound and score_upper_bound must be numbers within the defined scale, confidence_level must be between 0 and 1, and uncertainty_sources must be a non-empty array of strings from the allowed enum. If validation fails, retry once with the validation error injected into the prompt as additional context. If the second attempt also fails, log the failure and escalate for human scoring rather than silently accepting a malformed score.
Calibration is the critical production concern. Track whether the true score (from human annotators or ground truth) falls within the model's confidence interval at the expected rate. If the model claims 90% confidence but the interval contains the true score only 70% of the time, the judge is overconfident and the intervals are too narrow. Build a calibration dashboard that plots observed coverage against expected confidence, and set a drift threshold that triggers recalibration. For high-stakes domains, require human review whenever the interval width exceeds a defined threshold or when the confidence level drops below a minimum bar (e.g., 0.7). Store the raw prompt, response, validation status, and calibration metadata in your evaluation log for audit and debugging.
Expected Output Contract
Fields, types, and validation rules for the rubric with confidence interval output. Use this contract to parse, validate, and store judge responses before downstream consumption.
| Field or Element | Type or Format | Required | Validation Rule |
|---|---|---|---|
score | number | Must be a float or integer within the rubric's defined scale. Parse check: JSON number. Range check: [SCORE_MIN] <= score <= [SCORE_MAX]. | |
confidence_interval | object | Must contain 'lower' and 'upper' number fields. Schema check: lower <= upper. Range check: both values within [SCORE_MIN, SCORE_MAX]. Retry if missing or malformed. | |
confidence_interval.lower | number | Must be <= score and >= [SCORE_MIN]. Parse check: JSON number. If lower > score, flag as invalid interval and retry. | |
confidence_interval.upper | number | Must be >= score and <= [SCORE_MAX]. Parse check: JSON number. If upper < score, flag as invalid interval and retry. | |
confidence_level | number | Must be between 0 and 1 inclusive. Parse check: JSON number. Range check: 0 <= confidence_level <= 1. If missing, default to null and flag for human review. | |
uncertainty_sources | array of strings | Must be a non-empty array if confidence_level < 1.0. Each element must be a string from the allowed enum: [ALLOWED_UNCERTAINTY_SOURCES]. Schema check: JSON array of strings. If empty and confidence_level < 1.0, retry. | |
justification | string | Must be a non-empty string explaining the score, interval width, and confidence level. Length check: minimum 20 characters. If missing or too short, retry with explicit justification requirement. | |
calibration_note | string | Optional field for judge self-assessment of calibration. If present, must be a string. Null allowed. No validation beyond type check. |
Common Failure Modes
When a rubric outputs confidence intervals, the most dangerous failures aren't wrong scores—they're overconfident wrong scores. These are the failure modes that break first in production and how to guard against them.
Overconfident Narrow Intervals
What to watch: The judge outputs tight confidence intervals (e.g., 0.85–0.87) that exclude the true score. This happens when the model treats the interval as a formatting requirement rather than an uncertainty estimate, or when it anchors on a point estimate and adds arbitrary padding. Guardrail: Calibrate by checking whether true scores fall within the stated interval at the expected rate (e.g., 90% of true scores should land inside 90% confidence intervals). Flag judges whose empirical coverage diverges from nominal confidence by more than a threshold.
Confidence Without Evidence
What to watch: The judge assigns high confidence to a score while citing no specific evidence, or cites evidence that doesn't actually support the score. The confidence number becomes decorative rather than diagnostic. Guardrail: Require the rubric to output explicit uncertainty sources alongside the interval. Validate that each source maps to a concrete, checkable gap in the evidence. Reject intervals where confidence exceeds the strength of cited evidence.
Boundary Compression Under Ambiguity
What to watch: When the output is genuinely ambiguous—multiple valid interpretations, conflicting source evidence, or missing information—the judge collapses the interval instead of widening it. The model treats ambiguity as a reason to commit harder rather than express uncertainty. Guardrail: Include rubric criteria that explicitly instruct the judge to widen intervals when evidence is conflicting, incomplete, or open to multiple reasonable interpretations. Test with deliberately ambiguous inputs and verify interval width increases.
Score-Confidence Inversion
What to watch: The judge outputs high confidence for low-quality outputs and low confidence for high-quality outputs, or confidence correlates with score magnitude rather than evidence quality. This breaks downstream systems that route low-confidence outputs to human review. Guardrail: Monitor the correlation between confidence and human-judged error rate. If high-confidence outputs have high error rates, the confidence signal is inverted and should not be used for routing or escalation decisions.
Interval Drift Across Judge Versions
What to watch: When you update the judge model or rubric wording, the confidence interval behavior shifts—intervals systematically narrow, widen, or shift center—without any change in actual output quality. This breaks calibration and makes historical score comparisons unreliable. Guardrail: Run a calibration regression suite against a fixed golden dataset whenever the judge, rubric, or model version changes. Compare interval coverage rates and average width against the previous version. Block the release if calibration drifts beyond tolerance.
Ignoring the Confidence Interval Downstream
What to watch: The rubric correctly outputs score ranges and confidence levels, but the consuming system treats only the point estimate and discards the interval. Decisions are made as if uncertainty doesn't exist, defeating the purpose of the interval output. Guardrail: Design the consuming pipeline to branch on confidence. Route low-confidence scores to human review, widen decision thresholds when intervals overlap, and log cases where the interval span exceeds a maximum acceptable width. The interval must change behavior, not just decorate the output.
Evaluation Rubric
Use this rubric to test whether the confidence-interval output prompt produces calibrated, actionable uncertainty estimates before integrating it into a production evaluation pipeline.
| Criterion | Pass Standard | Failure Signal | Test Method |
|---|---|---|---|
Score Range Validity | Lower bound ≤ point estimate ≤ upper bound for every scored dimension | Lower bound exceeds point estimate; upper bound is below point estimate; bounds are identical | Parse output JSON; assert |
Confidence Level Format | Confidence level is a float between 0.0 and 1.0 with explicit label (e.g., 'low', 'medium', 'high') | Confidence is missing, negative, >1.0, or provided as a string without a numeric value | Schema validation: |
Uncertainty Source Attribution | At least one specific uncertainty source cited per dimension when confidence < 0.9 | High-confidence scores with no sources; low-confidence scores with generic sources like 'model uncertainty' | LLM-as-judge check: prompt a second judge to verify sources are specific and dimension-relevant |
Interval Width Reasonableness | Interval width (upper - lower) correlates inversely with confidence level | Narrow intervals with low confidence; wide intervals with high confidence; uniform width across all dimensions | Compute Pearson correlation between |
Calibration Coverage Check | True score from a held-out human rating falls within the predicted interval at the stated confidence rate | Empirical coverage deviates from expected coverage by more than 10 percentage points over 50+ samples | Run against a golden dataset with human reference scores; compute |
Dimension Independence | Confidence intervals for different scoring dimensions do not all move in lockstep | All dimensions share identical confidence levels and interval widths regardless of evidence quality | Compute variance of confidence levels across dimensions; assert variance > 0.01 for mixed-difficulty inputs |
Edge-Case Handling | Missing or contradictory evidence produces wide intervals and low confidence, not hallucinated precision | Model outputs tight intervals with high confidence when source evidence is empty or conflicting | Test with deliberately empty [CONTEXT] and contradictory [EVIDENCE_A] vs [EVIDENCE_B]; assert |
Output Schema Compliance | Response parses as valid JSON matching the [OUTPUT_SCHEMA] with all required fields present | Missing | JSON Schema validation against the expected schema; retry once on failure, then flag for human review |
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 rubric and a single confidence dimension. Replace multi-source uncertainty decomposition with a single [CONFIDENCE_LEVEL] placeholder (Low/Medium/High) and a [SCORE_RANGE] field. Use a frontier model without fine-tuning. Skip calibration checks initially.
code"confidence": { "level": "[CONFIDENCE_LEVEL]", "score_range": ["[LOWER_BOUND]", "[UPPER_BOUND]"] }
Watch for
- Overconfident narrow intervals that don't reflect true uncertainty
- Judges conflating confidence with score magnitude
- Missing uncertainty sources entirely when the model is unsure

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