Inferensys

Prompt

Evidence Contradiction Severity Scoring Prompt Template

A practical prompt playbook for using the Evidence Contradiction Severity Scoring Prompt Template in production AI verification workflows.
Operations team reviewing AI workflow automation on laptop, workflow builder visible, casual office setup.
PROMPT PLAYBOOK

When to Use This Prompt

Defines the precise job-to-be-done for the contradiction severity scorer and the pipeline context required before using it.

This prompt is a precision instrument for a specific point in your verification pipeline: after claim extraction and evidence matching have identified a contradiction, but before a final confidence score is assigned. Its job is to quantify the severity of that contradiction—not to detect it, not to resolve it, and not to make the final routing decision. The ideal user is a verification system architect or pipeline developer who needs a calibrated, structured severity signal to feed into downstream logic. You should use this prompt when your system has already paired a specific claim with a specific piece of contradicting evidence and now needs to answer: 'Is this a minor discrepancy, a major rebuttal, or a direct refutation?' The output is a severity score, an impact assessment on the claim's overall confidence, and a resolution difficulty estimate—all of which become inputs to your confidence adjustment model, triage router, or human review queue.

This prompt is not a standalone fact-checker. Do not use it to detect contradictions from raw text; it assumes the contradiction is already identified and the claim-evidence pair is provided as input. It is also not a replacement for a full confidence scoring system. The severity score it produces is a sub-signal, not a final verdict. In a production pipeline, this prompt sits between your evidence matching module and your confidence calibration module. For example, if your retrieval system returns a source that directly states the opposite of a claim, you would first run a contradiction detection prompt to confirm the conflict exists, then pass the confirmed pair to this severity scorer. The resulting severity score (e.g., 0.85 on a 0-1 scale) would then be consumed by your confidence adjustment prompt to reduce the claim's overall confidence proportionally. The resolution difficulty estimate helps your triage router decide whether this contradiction can be auto-resolved by finding more evidence or requires human judgment.

Before implementing this prompt, ensure your pipeline has clear contracts for the input claim and evidence objects. The claim should be a discrete, atomic assertion with its source context preserved. The evidence passage should be a specific, cited excerpt, not a full document. If your upstream claim extraction produces compound claims or your evidence matching returns entire documents, the severity scorer will produce unreliable results. Start by testing this prompt against a labeled dataset of human-judged contradiction severities to calibrate your thresholds. Common failure modes include over-scoring semantic disagreements as factual contradictions and under-scoring numerical contradictions where the units differ. The next step after reading this playbook is to copy the prompt template, adapt the output schema to match your pipeline's data model, and run it against your calibration set before wiring it into production.

PRACTICAL GUARDRAILS

Use Case Fit

Where the Evidence Contradiction Severity Scoring prompt works well, where it fails, and what you must provide before using it in a verification pipeline.

01

Good Fit: Multi-Source Verification Pipelines

Use when: your system retrieves multiple evidence sources and some directly conflict with the claim. The prompt quantifies contradiction severity so downstream routing can decide between auto-reject, human review, or confidence downgrade. Guardrail: always provide at least two evidence items with explicit source attribution; single-source contradiction scoring is unreliable without a comparator.

02

Bad Fit: Binary True/False Classification

Avoid when: the workflow only needs a true/false label without severity gradation. Contradiction severity scoring adds latency and token cost that binary classifiers avoid. Guardrail: use a lightweight claim-verification prompt for binary decisions; reserve severity scoring for triage thresholds, audit trails, and confidence adjustment pipelines.

03

Required Inputs: Claims, Evidence Pairs, and Calibration References

What to watch: the prompt needs a specific claim, at least one contradicting evidence item, and ideally a severity calibration scale with examples. Missing calibration references cause inconsistent severity scores across runs. Guardrail: include 2-3 annotated severity examples in the prompt to anchor the model's judgment; validate score distribution against human-labeled contradiction pairs before production use.

04

Operational Risk: Severity Inflation on Ambiguous Contradictions

What to watch: models may assign high severity scores to partial, implicit, or domain-disputed contradictions that human reviewers would rate lower. This inflates false-positive escalation rates. Guardrail: implement a severity threshold with human calibration; route scores above the threshold to review queues and track overturn rates to detect drift.

05

Operational Risk: Source Reliability Confounds Severity

What to watch: the model may conflate contradiction severity with source authority, rating contradictions from low-authority sources as less severe even when the factual conflict is direct. Guardrail: separate source authority assessment from contradiction severity scoring; run authority weighting as a prior step and pass authority scores as context, not as part of the severity judgment.

06

Bad Fit: Real-Time or Sub-100ms Latency Budgets

Avoid when: the verification system requires sub-100ms response times. Contradiction severity scoring requires reasoning over multiple evidence items and calibration examples, adding significant inference latency. Guardrail: use severity scoring in async batch verification pipelines; for real-time flows, pre-compute severity scores or use cached contradiction patterns with rule-based severity assignment.

PROMPT PLAYBOOK

Copy-Ready Prompt Template

A production-ready prompt for scoring how severely a set of evidence contradicts a specific claim, with calibrated severity levels and resolution difficulty assessment.

This prompt template is designed to be dropped into your verification pipeline when you have already matched evidence to a claim and need to quantify the severity of any contradictions found. It produces a structured contradiction severity score, an impact assessment on overall claim confidence, and a resolution difficulty rating. The template assumes you have already completed claim extraction and evidence matching; it does not perform those steps. Use this when your system needs to decide whether a contradiction is a minor discrepancy that can be noted or a fundamental conflict that should downgrade confidence significantly.

text
You are a contradiction severity assessor for a fact-checking verification pipeline. Your task is to evaluate how severely a set of provided evidence contradicts a specific claim, and to produce a structured severity score with supporting justification.

## INPUT

**Claim to evaluate:**
[CLAIM_TEXT]

**Claim domain/category:** [CLAIM_DOMAIN]

**Evidence set (each item includes source metadata):**
[EVIDENCE_ARRAY]

**Current claim confidence before contradiction assessment:** [PRIOR_CONFIDENCE]

## OUTPUT SCHEMA

Return a valid JSON object with exactly these fields:

```json
{
  "contradiction_severity_score": <float 0.0-1.0>,
  "severity_level": <"none" | "minor" | "moderate" | "major" | "critical">,
  "contradicted_elements": [<list of specific claim components contradicted>],
  "contradicting_evidence_ids": [<list of evidence item IDs that contradict>],
  "supporting_evidence_ids": [<list of evidence item IDs that support>],
  "impact_on_confidence": <float representing recommended confidence reduction>,
  "resolution_difficulty": <"trivial" | "easy" | "moderate" | "difficult" | "unresolvable">,
  "contradiction_type": <"direct_factual" | "numerical_disagreement" | "temporal_inconsistency" | "source_disagreement" | "definitional_conflict" | "scope_mismatch">,
  "severity_justification": <string explaining the score with specific evidence references>,
  "resolution_suggestion": <string describing what additional evidence or clarification would resolve the contradiction>,
  "requires_human_review": <boolean>
}

SEVERITY CALIBRATION REFERENCE

  • 0.0-0.1 (none): No contradiction detected. Evidence is consistent with the claim.
  • 0.1-0.3 (minor): Minor discrepancy in detail, wording, or precision that does not affect the core claim truth value.
  • 0.3-0.6 (moderate): Meaningful disagreement on a supporting element. Claim may still be substantially true but requires qualification.
  • 0.6-0.85 (major): Direct contradiction of a central claim element. Claim as stated is likely false or misleading.
  • 0.85-1.0 (critical): Multiple independent sources directly contradict the core claim. Claim is demonstrably false.

ASSESSMENT RULES

  1. Evaluate contradictions against the claim as stated, not against what you think the claim intended to mean.
  2. Distinguish between contradictions in core claim elements versus peripheral details. Weight core contradictions more heavily.
  3. Consider source authority and recency when weighing contradicting evidence. A contradiction from a low-authority or outdated source should reduce severity compared to a contradiction from a highly authoritative, current source.
  4. If multiple independent sources contradict the claim, increase severity. If all contradicting sources trace back to a single origin, note this and reduce severity accordingly.
  5. For numerical claims, apply a tolerance window of [NUMERICAL_TOLERANCE_PERCENT]% before flagging as contradiction.
  6. If the evidence set contains both supporting and contradicting items, assess the net contradiction severity rather than averaging.
  7. Flag for human review when severity_level is "major" or "critical", or when contradicting sources have comparable authority to supporting sources.

CONSTRAINTS

  • Do not invent evidence not present in the input evidence set.
  • Do not evaluate the truth of the claim independently; only assess contradiction against the provided evidence.
  • If the evidence set is empty or insufficient for contradiction assessment, set severity_score to 0.0, severity_level to "none", and note the insufficiency in severity_justification.
  • If evidence items conflict with each other (not just with the claim), note this in severity_justification but do not let it inflate the contradiction score against the claim.
  • Output only the JSON object. No additional text, explanations, or markdown fences.

To adapt this template for your pipeline, replace the square-bracket placeholders with actual values before each call. [CLAIM_TEXT] should contain the exact claim string from your extraction step. [EVIDENCE_ARRAY] should be a serialized JSON array of evidence objects, each with at minimum an id, text, source_authority_score, and recency_date field. [PRIOR_CONFIDENCE] is the confidence score your system assigned before contradiction assessment, which helps the model calibrate impact. [NUMERICAL_TOLERANCE_PERCENT] should be set based on your domain—5% for general claims, 1-2% for financial or scientific claims. [CLAIM_DOMAIN] helps the model apply domain-appropriate severity thresholds. If your evidence objects use different field names, update the output schema field descriptions accordingly, but preserve the JSON structure for downstream parsing.

IMPLEMENTATION TABLE

Prompt Variables

Each placeholder must be populated before the prompt is sent to the model. Missing or malformed variables cause unreliable scores.

PlaceholderPurposeExampleValidation Notes

[CLAIM_TEXT]

The exact claim statement to evaluate for contradiction severity

The company's revenue grew 45% YoY in Q3 2024

Required. Non-empty string. Must be a single atomic claim. Reject if multiple claims detected or text exceeds 500 chars.

[EVIDENCE_SET]

Array of evidence objects with source, content, and metadata fields

[{"source":"10-K filing","content":"Revenue grew 12% YoY","date":"2024-11-01","authority_tier":"primary"}]

Required. Must be valid JSON array with 1-20 objects. Each object requires source, content, and date fields. Reject if empty array or missing required fields.

[CLAIM_DOMAIN]

Domain category for calibrating contradiction severity thresholds

financial_reporting

Required. Must match one of the predefined domain enum values. Reject if unrecognized domain. Controls severity calibration curve.

[CONTRADICTION_TYPES]

Array of contradiction categories to check against evidence

["numerical_disagreement","temporal_conflict","directional_reversal"]

Required. Must be non-empty array of valid contradiction type enums. At least one type required. Invalid types cause scoring gaps.

[SEVERITY_SCALE]

Scale definition with numeric ranges and semantic labels for each severity level

{"levels":[{"label":"none","range":[0,0]},{"label":"minor","range":[1,3]},{"label":"moderate","range":[4,6]},{"label":"severe","range":[7,9]},{"label":"critical","range":[10,10]}]}

Required. Must define 4-6 levels with non-overlapping integer ranges covering 0-10. Gaps or overlaps cause unassignable scores.

[CONFIDENCE_IMPACT_THRESHOLD]

Minimum severity score that triggers confidence downgrade for the parent claim

4

Required. Integer 0-10. Must align with severity scale. Scores below threshold produce advisory flag only. Null not allowed.

[RESOLUTION_DIFFICULTY_SCALE]

Scale for estimating effort required to resolve the contradiction

{"levels":[{"label":"trivial","range":[0,2]},{"label":"requires_investigation","range":[3,5]},{"label":"requires_expert_review","range":[6,8]},{"label":"likely_irresolvable","range":[9,10]}]}

Required. Must define 3-5 levels with non-overlapping integer ranges covering 0-10. Used for triage routing decisions.

[CALIBRATION_REFERENCE]

Optional human-labeled contradiction examples for severity calibration

[{"claim":"Revenue doubled","evidence":"Revenue increased 15%","human_severity":7,"rationale":"Direction correct but magnitude wildly off"}]

Optional. If provided, must be valid JSON array of objects with claim, evidence, human_severity, and rationale fields. Used for few-shot calibration. Null allowed if no reference data available.

PROMPT PLAYBOOK

Implementation Harness Notes

How to wire the contradiction severity scoring prompt into a production verification pipeline with validation, retries, and human review gates.

The contradiction severity scoring prompt is not a standalone tool—it is a scoring function inside a larger verification pipeline. In production, it typically sits after claim extraction and evidence matching, receiving a claim and a set of contradictory evidence items as input. The output severity score feeds into downstream confidence adjustment, triage routing, or human review escalation. The harness must treat this prompt as a deterministic scorer with well-defined input contracts, not as an open-ended conversational agent. Every invocation should receive the same structured input schema, and every output should be validated against the expected severity scale before any downstream system consumes it.

Wire the prompt into your application with a strict JSON input contract: {"claim": "[CLAIM_TEXT]", "contradictory_evidence": [{"source_id": "[ID]", "source_text": "[TEXT]", "source_authority_tier": "[TIER]"}], "context_domain": "[DOMAIN]", "severity_scale": "[SCALE_DEFINITION]"}. Parse the model's JSON output and validate that severity_score falls within the defined scale range, impact_on_confidence is a valid adjustment value, and resolution_difficulty matches your expected enum. If validation fails, retry once with the validation error appended to the prompt as a correction instruction. If the retry also fails, route the claim to a human review queue with the raw model output and validation failure reason attached. Log every invocation—input, output, validation result, retry count, and final disposition—for audit and calibration analysis.

Model choice matters for consistency. Use a model with strong JSON-following behavior and low temperature (0.0–0.2) to reduce score variance across identical inputs. If your pipeline processes claims in batches, consider caching severity scores for identical claim-evidence pairs to avoid redundant API calls. For high-stakes domains—legal, medical, financial—always require human review when the severity score exceeds a pre-defined threshold or when the resolution difficulty is marked as 'high.' Never treat the severity score as ground truth; treat it as a calibrated signal that reduces, but does not eliminate, the need for human judgment on consequential contradictions.

IMPLEMENTATION TABLE

Expected Output Contract

The model must return a JSON object matching this schema. Validate these fields before accepting the output.

Field or ElementType or FormatRequiredValidation Rule

contradiction_severity_score

number (0.0 to 1.0)

Must be a float between 0.0 and 1.0 inclusive. Parse check: JSON number type. Range check: 0 <= score <= 1.

severity_level

string (enum)

Must be one of: 'none', 'minor', 'moderate', 'major', 'critical'. Schema check: exact string match against allowed enum values.

claim_id

string

Must match the [CLAIM_ID] from the input. Schema check: non-empty string. Correlation check: must correspond to an input claim.

contradicting_evidence_ids

array of strings

Must contain at least one evidence ID from [EVIDENCE_SET]. Schema check: array type with string elements. Content check: each ID must exist in the provided evidence set.

impact_on_confidence

number (-1.0 to 0.0)

Must be a float representing the confidence reduction. Parse check: JSON number type. Range check: -1.0 <= impact <= 0.0. Logic check: more severe contradictions should have larger negative impacts.

resolution_difficulty

string (enum)

Must be one of: 'trivial', 'easy', 'moderate', 'difficult', 'unresolvable'. Schema check: exact string match against allowed enum values.

contradiction_type

string (enum)

Must be one of: 'direct_negation', 'numerical_conflict', 'temporal_inconsistency', 'source_disagreement', 'definitional_conflict'. Schema check: exact string match.

explanation

string

Must be a non-empty string explaining the contradiction. Content check: minimum 20 characters. Citation check: must reference specific evidence items by ID. Null not allowed.

PRACTICAL GUARDRAILS

Common Failure Modes

What breaks first when scoring contradiction severity in production and how to guard against it.

01

Severity Inflation on Ambiguous Language

What to watch: The model assigns high severity scores to contradictions that stem from ambiguous phrasing or differing interpretations rather than factual disagreement. This inflates conflict metrics and triggers unnecessary human review. Guardrail: Add a pre-check instruction that requires the model to first paraphrase both the claim and the evidence in a neutral form. If the contradiction disappears after disambiguation, score it as 'apparent' rather than 'substantive' and flag for clarification, not escalation.

02

False Equivalence Between Direct and Indirect Contradictions

What to watch: The model treats an indirect contradiction (e.g., evidence that implies a claim is unlikely) with the same severity as a direct contradiction (e.g., evidence that explicitly states the opposite). This flattens the severity scale and misroutes triage decisions. Guardrail: Define explicit severity tiers in the prompt schema: 'direct refutation,' 'indirect/implicit contradiction,' 'temporal inconsistency,' and 'numerical disagreement.' Require the model to classify the contradiction type before assigning severity, and validate that direct refutations always score higher than indirect ones.

03

Ignoring Source Authority During Severity Scoring

What to watch: The model scores a contradiction as high severity because the contradicting evidence is strongly worded, without considering that the source is low-authority, outdated, or domain-irrelevant. This lets weak sources trigger high-severity alerts. Guardrail: Require the prompt to accept a pre-computed source authority score as an input variable [SOURCE_AUTHORITY_SCORE] and apply a severity multiplier. A contradiction from a low-authority source should be capped at 'moderate' severity unless corroborated. Add an eval check that verifies severity scores drop when source authority is artificially lowered in test cases.

04

Over-Penalizing Minor Numerical Discrepancies

What to watch: The model assigns high severity to small numerical differences (e.g., 3.2 vs 3.4) that fall within reasonable measurement tolerance, treating them as equivalent to order-of-magnitude errors. This creates noise in verification pipelines. Guardrail: Include a [TOLERANCE_WINDOW] parameter in the prompt that defines acceptable variance for numerical claims (e.g., ±5% or ±2 standard deviations). Instruct the model to classify discrepancies within the window as 'negligible' and exclude them from severity scoring unless the claim context demands exact precision.

05

Single-Contradiction Dominance in Multi-Evidence Scoring

What to watch: When multiple evidence items are provided, a single contradictory source dominates the severity score even when it is outnumbered by corroborating sources. The model fails to weigh contradiction severity against corroboration count. Guardrail: Structure the output to require a per-evidence-item contradiction assessment before computing the aggregate severity score. Include a [CORROBORATION_COUNT] input and instruct the model to reduce severity when the contradicting source is isolated. Add an eval case where one contradictory source among five supporting sources should produce no higher than 'low' severity.

06

Severity Drift Across Claim Types

What to watch: The model applies different implicit severity standards to different claim types (e.g., scoring numerical contradictions more harshly than textual ones, or treating legal claims differently from scientific claims). This makes severity scores incomparable across a batch. Guardrail: Include a [CLAIM_TYPE] field in the prompt and provide type-specific severity calibration examples in the few-shot demonstrations. Require the output to include a 'severity rationale' field that explains the score relative to the claim type. Run cross-type consistency evals where the same logical contradiction structure is presented in different claim-type clothing and verify score stability.

IMPLEMENTATION TABLE

Evaluation Rubric

Test output quality before shipping. Run these checks on a golden dataset of 50+ claim-evidence pairs with human-labeled severity scores.

CriterionPass StandardFailure SignalTest Method

Severity Score Accuracy

Predicted severity score is within ±1 point of the human-labeled score for ≥90% of the golden dataset.

Mean absolute error (MAE) > 1.2 or accuracy within ±1 drops below 85%.

Calculate MAE and ±1 accuracy against the 50+ human-labeled pairs. Use a confusion matrix to identify systematic over/under-scoring.

Impact Assessment Coherence

The predicted impact on overall confidence logically aligns with the contradiction severity. High severity must map to high impact.

A high-severity contradiction (score 4-5) receives a 'low impact' label, or vice-versa.

Run a rule-based check on 100% of test outputs: if severity > 3, impact must be 'high' or 'critical'. Manually review a 20% sample for logical coherence.

Resolution Difficulty Calibration

Predicted resolution difficulty correlates with severity score (Spearman's ρ > 0.7) and matches human judgment on a 10-pair calibration subset.

Spearman's ρ < 0.6 between severity and difficulty, or a clear inversion where a direct contradiction is labeled 'easy to resolve'.

Compute Spearman's rank correlation on the full golden dataset. Manually inspect the 5 pairs with the largest severity-difficulty gap.

Explanation Grounding

The justification text explicitly references the contradictory evidence snippet and explains the conflict without introducing new, unsupported facts.

The justification hallucinates a fact not present in the provided evidence or makes a vague statement like 'the evidence seems different'.

Use an LLM-as-judge check: 'Does the explanation contain any claim not directly supported by the provided evidence?'. Flag for human review if true.

Null Handling

When [EVIDENCE] is empty or 'NO_EVIDENCE_FOUND', the output must return a severity score of 0 and an impact of 'none'.

A non-zero severity score or non-'none' impact is returned when evidence is explicitly missing.

Create 10 test cases with empty/null evidence. The test passes only if 100% of outputs return the correct null state.

Output Schema Compliance

The output is valid JSON matching the [OUTPUT_SCHEMA] and is parseable by the application's json.loads() without error.

The application's JSON parser throws a ValidationError or JSONDecodeError.

Run a strict schema validation script on all 50+ outputs. The test passes only with a 100% parse and schema validation success rate.

Severity Justification Specificity

The justification uses concrete, comparative language (e.g., 'Source A states X, while the claim states Y') rather than generic summaries.

The justification is a generic restatement of the score (e.g., 'The contradiction is severe') without referencing specific data points.

Use a keyword-based filter to check for the presence of quoted evidence or specific entity/value references in the justification string. Flag outputs with no direct references for manual review.

ADAPTATION OPTIONS

Adapt This Prompt

How to adapt

Start with the base prompt and a small set of 10-15 labeled contradiction pairs. Use a single model call without schema enforcement. Accept free-text severity ratings and manually review every output.

Simplify the output to a single severity score (1-5) and a one-sentence justification. Skip calibration against human judgments until the prompt direction is confirmed.

Watch for

  • The model conflating contradiction severity with claim importance
  • Inconsistent use of the severity scale across different contradiction types (direct vs. implied)
  • Missing edge cases where evidence partially contradicts but doesn't fully refute
Prasad Kumkar

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.