This prompt is designed for evidence ranking pipelines that must handle conflicting sources before answer synthesis. The core job-to-be-done is taking a set of retrieved passages, a target claim or question, and optional source metadata, then producing a ranked list where passages contradicted by more reliable evidence are demoted and unresolved disagreements are explicitly flagged. The ideal user is an AI engineer or RAG pipeline builder who has already retrieved passages and performed basic conflict detection—this prompt focuses on ranking, not on discovering conflicts from scratch. You need it when your retrieval set contains sources that disagree on material facts, and you cannot safely synthesize an answer without first establishing which evidence carries more weight.
Prompt
Disputed Evidence Ranking Prompt for Synthesis

When to Use This Prompt
Defines the job-to-be-done, ideal user, required context, and boundaries for the Disputed Evidence Ranking Prompt for Synthesis.
The prompt assumes you have already run a conflict detection step that identified contradictory passage pairs or clusters. It expects inputs such as a set of passages with unique IDs, a target claim or question, and optional metadata fields like source authority score, recency, or domain. The output should be a ranked list with each passage's position, a conflict-aware score, and flags for passages involved in unresolved disputes. Do not use this prompt when all passages are consistent or when you only need relevance scoring without conflict awareness—simpler ranking prompts handle those cases with lower latency and cost. Also avoid this prompt when the conflict detection step has not been performed, because the model will attempt to detect conflicts inline, which is unreliable and produces inconsistent rankings.
Before implementing, verify that your upstream conflict detection produces structured conflict pairs or clusters that this prompt can consume. If your retrieval set is large, consider pre-filtering to the top-N most relevant passages before running conflict-aware ranking to control token usage. The prompt works best when source metadata includes reliability signals—without them, the model may default to superficial cues like writing style or assertiveness. After ranking, always run a grounding verification step on the synthesized answer to confirm that demoted or flagged passages were handled appropriately. The next section provides the copy-ready template you can adapt to your evidence schema and ranking criteria.
Use Case Fit
Where this prompt works and where it does not.
Good Fit: Multi-Source Synthesis Pipelines
Use when: you have a retrieval step that returns multiple passages with conflicting claims and need to produce a ranked, dispute-aware evidence list before answer generation. Guardrail: ensure the upstream retrieval step returns diverse sources; this prompt cannot fix a retrieval set that already lacks contradictory evidence.
Bad Fit: Single-Source Summarization
Avoid when: the input contains only one source document or passage. Dispute ranking requires at least two sources with potential disagreement. Guardrail: route single-source tasks to a dedicated summarization or extraction prompt instead, and add a pre-check that counts distinct sources before invoking this playbook.
Required Inputs
What you need: a set of evidence passages with source metadata (authority, recency, source identifier), plus the claim or question being evaluated. Guardrail: validate that each passage has a stable source ID before ranking; missing IDs make it impossible to trace disputes back to their origin or generate an audit trail.
Operational Risk: Ranking Instability
What to watch: small changes in input ordering or minor wording differences can flip rankings when conflict severity is ambiguous. Guardrail: implement pairwise consistency checks across multiple runs for the same evidence set, and log ranking deltas when prompt versions change. Flag cases where rank order shifts without new evidence.
Operational Risk: False Consensus
What to watch: the model may downweight genuine disagreements and present a falsely unified ranking, especially when one source is verbose or authoritative-sounding. Guardrail: add an explicit output field for unresolved disputes and run a post-processing check that verifies at least one disagreement is surfaced when contradictory passages are present in the input.
Operational Risk: Authority Overfitting
What to watch: the model may over-rely on superficial authority signals (e.g., recency or domain prestige) and demote correct but lower-profile sources. Guardrail: include explicit weighting instructions that require methodological quality and direct evidence strength to outweigh authority heuristics, and spot-check outputs where a single source dominates the ranking.
Copy-Ready Prompt Template
A copy-ready template for ranking disputed evidence passages, demoting contradicted sources, and flagging unresolved disagreements before synthesis.
This prompt template is designed to be dropped directly into your evidence ranking pipeline. It accepts a set of evidence passages, a target claim or question, and optional source reliability metadata, then produces a ranked list that accounts for disputes. The template forces the model to identify contradictions, demote sources that are contradicted by more reliable evidence, and flag disagreements that cannot be resolved with the available information. Copy the template below, replace the square-bracket placeholders with your data, and integrate it into your application's ranking step before answer synthesis.
textYou are an evidence ranking specialist. Your job is to rank a set of evidence passages by how strongly they support a claim, while accounting for disputes between sources. ## INPUT **Claim or Question:** [CLAIM] **Evidence Passages:** [EVIDENCE_PASSAGES] **Source Reliability Metadata (optional):** [SOURCE_METADATA] ## RANKING RULES 1. Score each passage on relevance, specificity, and direct support for the claim. 2. When two or more passages contradict each other, compare their source reliability. Demote the less reliable source. 3. If reliability is equal or unknown, flag the disagreement as unresolved rather than picking a side. 4. Do not elevate a passage just because it is confident or well-written. Prefer passages with specific evidence over general statements. 5. Demote passages that are contradicted by multiple independent sources, even if those sources have lower individual authority scores. 6. If a passage is outdated and a more recent source contradicts it, demote the outdated passage regardless of its original authority. ## OUTPUT FORMAT Return a JSON object with this exact structure: { "ranked_passages": [ { "passage_id": "string", "rank": number, "relevance_score": number (0-1), "support_strength": "strong_support" | "moderate_support" | "weak_support" | "neutral" | "weak_contradiction" | "moderate_contradiction" | "strong_contradiction", "disputes": [ { "contradicted_by": "passage_id", "conflict_type": "direct_factual" | "methodological" | "temporal" | "scope_difference" | "interpretation", "resolution": "resolved_in_favor" | "resolved_against" | "unresolved", "explanation": "string" } ], "demotion_reason": "string | null", "explanation": "string" } ], "unresolved_disagreements": [ { "claim": "string", "conflicting_passage_ids": ["string"], "severity": "critical" | "high" | "medium" | "low", "recommendation": "string" } ], "ranking_notes": "string" } ## CONSTRAINTS - Do not invent evidence. Only use the provided passages. - If no passages are provided, return an empty ranked_passages array. - If all passages are irrelevant, return them with low relevance scores and explain why. - For unresolved disagreements, explain what additional information would be needed to resolve them. - If source reliability metadata is not provided, treat all sources as having equal but unknown reliability.
Adaptation guidance: Replace [CLAIM] with the specific claim or question being evaluated. [EVIDENCE_PASSAGES] should contain your retrieved passages, each with a unique passage_id, the passage text, and optionally a source identifier. [SOURCE_METADATA] can include authority scores, recency timestamps, domain classifications, or any reliability signals your system already computes. If you don't have reliability metadata, remove that section and the model will treat all sources equally. The output schema is designed to feed directly into a downstream synthesis prompt that can use the ranked list and unresolved disagreements to produce a balanced, caveated answer.
Validation and testing: Before deploying this prompt, run it against a golden dataset of passages with known contradictions. Verify that the model correctly demotes contradicted sources, flags unresolved disagreements, and does not hallucinate disputes between passages that actually agree. Pay special attention to false positives where paraphrased agreement is misclassified as contradiction. If your use case is high-risk—such as medical, legal, or financial decision support—add a human review step for any output where unresolved_disagreements contains critical or high severity items. Log every ranking output with the input passages and source metadata for auditability.
What to do next: Wire this prompt into your evidence ranking step, before answer synthesis. Feed the ranked_passages array into your synthesis prompt, and use unresolved_disagreements to decide whether to present conflicting evidence to the user, express uncertainty, or refuse to answer. If you observe ranking instability—where the same passages produce different rankings across runs—consider lowering the temperature, adding few-shot examples of correct dispute handling, or moving to a more deterministic model for this step.
Prompt Variables
Required inputs for the Disputed Evidence Ranking Prompt. Each variable must be populated before the prompt is assembled and sent. Missing or malformed inputs are the most common cause of ranking instability.
| Placeholder | Purpose | Example | Validation Notes |
|---|---|---|---|
[CLAIM] | The claim or proposition being evaluated against the evidence set | The new pricing model will increase enterprise adoption by 15% | Must be a single, self-contained declarative statement. Reject if empty, multi-claim, or interrogative. |
[EVIDENCE_PASSAGES] | Array of evidence passages to rank, each with source metadata | [{"id":"src-1","text":"...","source":"...","date":"..."}] | Must be valid JSON array with at least 2 objects. Each object requires id and text fields. Reject if text fields are empty. |
[SOURCE_RELIABILITY_MAP] | Pre-computed reliability scores or categories for each source | {"src-1":"high","src-2":"medium","src-3":"low"} | Must be valid JSON object. Keys must match evidence passage ids. Values must be from allowed set: high, medium, low, unknown. Null allowed if reliability scoring is deferred to the prompt. |
[CONFLICT_PAIRS] | Pre-identified pairs of passages known to conflict on the claim | [{"pair":["src-1","src-2"],"conflict_type":"direct_contradiction"}] | Must be valid JSON array. Each pair must reference valid evidence ids. Empty array allowed if no conflicts pre-identified. Conflict type must be from defined taxonomy. |
[RANKING_CRITERIA] | Ordered list of criteria for ranking evidence strength | ["source_reliability","directness_of_support","recency","corroboration"] | Must be a non-empty array of strings. Each criterion must match a supported ranking dimension. Reject if criteria list includes unsupported dimensions. |
[OUTPUT_SCHEMA] | Expected structure for the ranked evidence output | {"rankings":[{"id":"...","rank":1,"score":0.95,"dispute_flag":false}]} | Must be valid JSON Schema or example structure. Reject if schema lacks id, rank, and dispute_flag fields. Score range must be specified. |
[CONFLICT_SEVERITY_THRESHOLD] | Threshold above which conflicts are treated as severe and require flagging | 0.7 | Must be a float between 0.0 and 1.0. Values below 0.3 may produce excessive false positives. Values above 0.9 may suppress genuine disputes. |
Implementation Harness Notes
How to wire the Disputed Evidence Ranking Prompt into a production evidence pipeline with validation, retries, and human review gates.
The Disputed Evidence Ranking Prompt is designed to sit inside an evidence processing pipeline, typically after retrieval and before answer synthesis. It consumes a set of evidence passages and a claim or question, then produces a ranked list with dispute annotations. The prompt is not a standalone chatbot interaction; it expects structured input and must return structured output that downstream components can consume. The primary integration points are the retrieval system (which supplies the passages), a conflict detection module (which may pre-label disputes), and the synthesis engine (which consumes the ranked evidence). In high-stakes domains such as legal review, clinical decision support, or financial analysis, this prompt should be wrapped in a harness that enforces output validation, logs every ranking decision, and escalates ambiguous cases for human review before the ranked evidence reaches the synthesis step.
Wire the prompt into your application as a stateless ranking service. The request payload should include the claim under evaluation, the retrieved passages with source metadata, and any pre-computed conflict flags or reliability scores. The response must conform to a strict JSON schema: an ordered array of evidence items, each with a rank position, a dispute status (disputed, uncontested, unresolved), a list of contradicting source IDs, and a brief ranking rationale. Implement a validation layer that checks for schema compliance, duplicate ranks, missing contradicting source references when dispute status is 'disputed', and rationales that fail to reference specific passage content. If validation fails, retry once with a repair prompt that includes the validation errors. If the retry also fails, log the failure and route the case to a human review queue. For model selection, use a model with strong instruction-following and structured output capabilities (such as GPT-4o or Claude 3.5 Sonnet) with a low temperature setting (0.1–0.2) to maximize ranking stability. Do not use this prompt with models that have weak JSON adherence or that tend to hallucinate source references.
The most common production failure mode is ranking instability when conflict severity is ambiguous. Two passages may partially disagree on methodology while agreeing on conclusions, or they may conflict on a sub-claim that is tangential to the main question. The prompt's ranking output can oscillate between treating these as disputed versus uncontested across similar inputs. To mitigate this, implement an eval harness that runs the prompt against a golden set of evidence clusters with known dispute labels and measures ranking consistency across multiple runs. If consistency drops below a threshold (e.g., 90% agreement on dispute classification for the same input), consider adding few-shot examples that demonstrate edge cases, or implement a secondary consensus check that compares the prompt's output against a simpler pairwise conflict classifier. For audit-sensitive deployments, log every ranking decision with the full prompt input, model response, validation result, and any human override. This audit trail is essential for compliance reviews and for debugging ranking drift after model updates. Never send raw user questions directly to this prompt without first verifying that the evidence passages have been retrieved from approved, versioned sources.
Expected Output Contract
Fields, format, and validation rules for the Disputed Evidence Ranking Prompt output. Use this contract to build a parser, validator, or eval harness before the prompt enters production.
| Field or Element | Type or Format | Required | Validation Rule |
|---|---|---|---|
ranked_evidence | array of objects | Array length must be >= 1. Each element must match the evidence_item schema. | |
evidence_item.rank | integer | Sequential integer starting at 1. No gaps or duplicates. Lower rank = stronger evidence. | |
evidence_item.source_id | string | Must match a source_id from the input [EVIDENCE_SET]. Non-match triggers a parse error. | |
evidence_item.strength_score | number (0.0-1.0) | Float between 0.0 and 1.0 inclusive. Higher score = stronger evidence. Must be consistent with rank ordering. | |
evidence_item.dispute_flag | boolean | true if this passage is contradicted by another passage in [EVIDENCE_SET]. false otherwise. | |
evidence_item.disputed_by | array of strings | Required when dispute_flag is true. Each string must be a source_id from [EVIDENCE_SET]. Empty array when dispute_flag is false. | |
evidence_item.ranking_rationale | string | Non-empty string. Must reference specific content from the passage. Max 500 characters. | |
unresolved_conflicts | array of objects | Array can be empty. Each object must include claim_a, claim_b, source_a, source_b, and severity fields. |
Common Failure Modes
What breaks first when ranking disputed evidence and how to guard against it in production.
False Equivalence Between Sources
What to watch: The model treats all sources as equally credible, giving a blog post the same weight as a peer-reviewed study. This produces rankings that look balanced but are misleading. Guardrail: Pre-score sources for authority and recency before ranking. Pass source metadata (publication type, date, author credentials) alongside each passage so the model can weight evidence appropriately.
Conflict Severity Inflation
What to watch: The model flags minor terminological differences or scope variations as major contradictions, overwhelming downstream systems with false conflicts. Guardrail: Include a severity taxonomy in the prompt with clear thresholds. Require the model to quote the specific conflicting claims verbatim before classifying severity. Run a calibration eval against human-labeled conflict pairs.
Majority-Rules Ranking Collapse
What to watch: The model ranks evidence by counting how many sources agree, ignoring that five low-quality sources may all cite the same flawed original. Echoed claims masquerade as independent corroboration. Guardrail: Add a deduplication step that clusters sources by origin before ranking. Instruct the model to discount agreement when sources share a common root reference.
Implicit Contradiction Blindness
What to watch: The model misses contradictions that require inference, such as when one source claims a treatment is effective and another reports high adverse event rates without explicitly stating the treatment is unsafe. Guardrail: Add an explicit reasoning step in the prompt that asks the model to identify downstream implications of each claim and check for logical incompatibility, not just surface-level contradiction.
Ranking Instability on Ambiguous Conflicts
What to watch: When conflict severity is genuinely ambiguous, the model produces different rankings across repeated runs, breaking downstream consistency guarantees. Guardrail: Set a low temperature for ranking calls. Add a tie-breaking rule in the prompt (e.g., prefer recency when authority is equal). Log ranking confidence scores and flag unstable outputs for human review.
Source Recency Overcorrection
What to watch: The model over-prioritizes recent sources and demotes older foundational evidence that remains valid, producing rankings that chase novelty over correctness. Guardrail: Include a temporal relevance instruction that distinguishes between time-sensitive claims (where recency matters) and enduring facts (where it does not). Require the model to justify recency-based demotions with an explicit staleness rationale.
Evaluation Rubric
Use this rubric to test the Disputed Evidence Ranking Prompt before shipping. Each criterion targets a known failure mode in conflict-aware ranking. Run these checks against a golden set of evidence bundles with known disputes.
| Criterion | Pass Standard | Failure Signal | Test Method |
|---|---|---|---|
Conflict-aware demotion | Sources contradicted by higher-authority evidence are ranked lower than corroborated sources of similar relevance | Contradicted source outranks a corroborating source with equal or higher authority score | Pairwise ranking test on 20 evidence bundles with known contradictions and authority labels |
Unresolved disagreement flagging | All evidence pairs with direct factual contradiction and no clear resolution path are flagged in the output | Output ranks conflicting sources without marking the dispute; silent tie where explicit flag is required | Check output for presence of [DISPUTED] flag on 15 bundles containing known irresolvable conflicts |
Authority weighting consistency | Source authority scores influence ranking in the expected direction across all test cases; higher authority sources with equal relevance rank above lower authority sources | Authority score inversion where a low-authority source outranks a high-authority source on the same claim without justification | Spearman rank correlation between assigned rank and authority score across 50 evidence items |
Recency penalty for stale evidence | Sources older than the [RECENCY_THRESHOLD] are demoted when a more recent source of comparable authority addresses the same claim | Stale source retains top rank despite a recent, authoritative source contradicting or updating the claim | Temporal ablation test: compare ranking output with and without recency metadata on 10 time-sensitive bundles |
Corroboration bonus ceiling | Corroboration bonus does not cause echo-chamber ranking where multiple low-authority sources outrank a single high-authority source on the same claim | Three low-authority agreeing sources outrank one high-authority dissenting source without explicit justification in the output | Inject 5 bundles with 3:1 low-to-high authority splits and verify high-authority source is not buried |
Dispute severity calibration | Severity scores assigned to conflicts are consistent across bundles with similar contradiction types and authority gaps | Same contradiction type receives severity scores differing by more than 2 points on a 1-5 scale across equivalent bundles | Inter-case variance check: compute severity score standard deviation across 10 isomorphic conflict pairs |
Output schema compliance | Every ranked item includes [RANK], [SOURCE_ID], [RELEVANCE_SCORE], [AUTHORITY_SCORE], [DISPUTE_FLAG], and [DISPUTE_SEVERITY] fields | Missing required field in any ranked item; null where a value is required by schema contract | JSON Schema validation against the defined [OUTPUT_SCHEMA] on all test outputs |
Hallucinated dispute avoidance | No dispute flag is raised for sources that paraphrase agreement or discuss different aspects of the same claim | False positive dispute flag on paraphrased agreement; conflict detected where semantic equivalence exists | Human-annotated negative set of 15 non-conflicting passage pairs; measure false positive rate |
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 prompt and a small set of 3-5 evidence passages with known conflicts. Remove strict schema enforcement and use plain-text output with numbered rankings. Replace [OUTPUT_SCHEMA] with a simple instruction: Return a JSON array of ranked passages with 'rank', 'passage_id', 'dispute_flag', and 'explanation' fields.
Watch for
- Ranking instability when conflict severity is ambiguous—run the same input 3 times and check if disputed passages shift more than 2 positions
- The model ignoring dispute signals and ranking purely by relevance
- Missing
dispute_flagon passages that are directly contradicted by higher-authority sources

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