This prompt is for verification analysts and pipeline engineers who need to identify what evidence is missing before a claim can be scored with confidence. It produces a structured gap report listing missing evidence types, their expected impact on confidence, and retrieval suggestions. The core job-to-be-done is distinguishing 'proven false' from 'not yet proven'—a critical signal for downstream scoring models that must avoid silently treating an absence of evidence as a negative determination. Use this prompt after claim extraction and before evidence sufficiency scoring, when your verification workflow requires explicit gap signals to drive retrieval expansion, human-review routing, or confidence suppression.
Prompt
Evidence Completeness Gap Analysis Prompt Template

When to Use This Prompt
Identify when to deploy the Evidence Completeness Gap Analysis prompt in a verification pipeline and when to choose a different tool.
The ideal user has already extracted discrete, atomic claims from source content and has run an initial evidence retrieval pass that may be incomplete. The required context includes the claim text, the domain or topic area, a summary of evidence already retrieved (with source types), and the target confidence threshold the pipeline must reach. The prompt is designed to work with structured inputs and expects a defined output schema for gap reporting. It is not a general-purpose research assistant; it assumes a verification pipeline context where the cost of missing evidence is measurable. For high-risk domains such as healthcare, finance, or legal compliance, the gap report should feed into a human-review queue rather than auto-triggering additional retrieval without oversight.
Do not use this prompt when you already have a complete evidence set and only need a confidence score—use the Evidence Sufficiency Scoring Prompt Template instead. Do not use it for binary true/false classification without a gap analysis step, as that conflates missing evidence with negative evidence. Avoid this prompt when the claim is inherently unverifiable (opinion, prediction, or subjective framing), where a Fact-Interpretation Separation prompt should run first. Finally, do not use this prompt as a standalone verification step; its output is a diagnostic artifact that must feed into a scoring, retrieval, or review action. The next step after generating a gap report is typically to route high-impact gaps to targeted retrieval, flag the claim for human review, or adjust the confidence score downward with explicit gap documentation.
Use Case Fit
Where the Evidence Completeness Gap Analysis prompt delivers value and where it introduces risk. Use these cards to decide if this prompt fits your verification pipeline stage.
Good Fit: Pre-Scoring Evidence Audit
Use when: you need to identify missing evidence types before assigning a confidence score to a claim. Guardrail: Run gap analysis as a separate step prior to scoring; never fold gap detection into the scoring prompt itself, which conflates evidence inventory with judgment.
Bad Fit: Live Chat or Real-Time Verification
Avoid when: latency budgets are under 2 seconds or the user expects a final truth verdict immediately. Guardrail: Gap analysis is a batch or async workflow step. For real-time use, pre-compute gap reports and surface them as context, not as a synchronous generation step.
Required Inputs: Claim, Evidence Inventory, and Retrieval Access
What to watch: running gap analysis without a structured evidence inventory produces vague, unactionable gaps. Guardrail: Always provide the prompt with (1) the atomic claim, (2) a list of already-retrieved evidence items with source identifiers, and (3) a description of available retrieval tools or corpora so gap suggestions are grounded.
Operational Risk: Gap Inflation and Analysis Paralysis
What to watch: the model may generate an exhaustive list of ideal evidence types that are impractical to retrieve, blocking the pipeline. Guardrail: Constrain the prompt to suggest only gaps that are retrievable with available tools and set a maximum gap count per claim to force prioritization.
Operational Risk: Gap Report Staleness
What to watch: gap reports generated once and cached indefinitely become misleading as corpora update. Guardrail: Attach a corpus version or timestamp to each gap report and set a TTL. Re-run gap analysis when the underlying evidence store changes or when the claim is re-queued for verification.
Pipeline Integration: Upstream of Retrieval Expansion
Use when: gap analysis output should feed directly into a retrieval expansion or query rewriting step. Guardrail: Structure the gap report output with explicit search queries, metadata filters, and expected evidence types so downstream retrieval tools can consume it without manual translation.
Copy-Ready Prompt Template
A reusable prompt template for generating a structured gap analysis report that identifies missing evidence, estimates confidence impact, and suggests retrieval actions.
This template is the core instruction set for an Evidence Completeness Gap Analysis. It is designed to be dropped into an AI harness where the model receives a specific claim and an inventory of already-retrieved evidence. The prompt instructs the model to act as a verification analyst, systematically identifying what evidence is missing, why it matters for confidence scoring, and how to find it. Use this template as the starting point for building a gap detection step in your verification pipeline.
codeYou are a meticulous verification analyst. Your task is to perform an evidence completeness gap analysis on a single claim. **Claim to Analyze:** [CLAIM_TEXT] **Available Evidence Inventory:** [EVIDENCE_INVENTORY] **Analysis Instructions:** 1. **Deconstruct the Claim:** Break down [CLAIM_TEXT] into its core verifiable components (e.g., who, what, when, where, numerical value). 2. **Map Evidence to Components:** For each component, state whether the [EVIDENCE_INVENTORY] provides direct, indirect, or no supporting evidence. 3. **Identify Critical Gaps:** List the specific types of evidence that are missing. For each gap, explain: - **Missing Evidence Type:** (e.g., primary source document, timestamped record, authoritative database entry, direct quote verification). - **Impact on Confidence:** Estimate the potential shift in a confidence score if this evidence were found (e.g., "Low to Medium," "Medium to High"). - **Retrieval Suggestion:** Propose a specific search query, database, or source type that could fill this gap. 4. **Assess Unverifiable Components:** Flag any claim components that are inherently unverifiable (e.g., opinions, future predictions, subjective statements) and exclude them from the evidence gap analysis. **Output Format:** Return a single JSON object matching this exact schema: { "claim_deconstruction": [ { "component": "string", "evidence_status": "direct | indirect | none", "source_reference": "string | null" } ], "critical_gaps": [ { "missing_evidence_type": "string", "confidence_impact": "string", "retrieval_suggestion": "string" } ], "unverifiable_components": ["string"], "overall_gap_severity": "low | medium | high | critical" } **Constraints:** - Do not invent evidence. Only use the provided [EVIDENCE_INVENTORY]. - If the inventory is empty, treat all factual components as having "none" status. - The `overall_gap_severity` must be "critical" if any core factual component has no evidence and no clear retrieval path.
To adapt this template, replace the [CLAIM_TEXT] and [EVIDENCE_INVENTORY] placeholders with your application's data. The [EVIDENCE_INVENTORY] should be a structured list of source summaries, not raw documents, to keep the context window focused. For high-stakes domains like healthcare or finance, add a [RISK_LEVEL] constraint that forces a "critical" severity rating and halts the pipeline for human review if evidence for a regulated claim component is missing. The output schema is designed for direct parsing by a downstream confidence scoring or human-review routing module.
Prompt Variables
Placeholders required by the Evidence Completeness Gap Analysis prompt. Replace each with concrete values before execution. Validation notes describe how to check that the input is well-formed and safe.
| Placeholder | Purpose | Example | Validation Notes |
|---|---|---|---|
[CLAIM_TEXT] | The exact claim statement to analyze for evidence gaps | Acme Corp reduced carbon emissions by 40% in 2024 compared to 2023 | Non-empty string; preserve original wording without paraphrasing; escape quotes if embedded in JSON |
[CLAIM_DOMAIN] | The domain category for the claim to guide expected evidence types | corporate_sustainability_reporting | Must match a value from the allowed domain taxonomy; reject free-text domains outside the controlled list |
[AVAILABLE_EVIDENCE_LIST] | Array of evidence items already collected, each with source, content, and date | [{"source":"Acme 2024 ESG Report","content":"...","date":"2025-01-15"}] | Valid JSON array; each item must have source, content, and date fields; empty array allowed if no evidence collected yet |
[EVIDENCE_STANDARD_PROFILE] | The evidence standard or policy that defines what constitutes sufficient proof for this domain | corporate_emissions_verification_v2 | Must reference a documented evidence standard; null allowed only if using default general standard; reject invented profile names |
[REQUIRED_EVIDENCE_TYPES] | Array of evidence categories expected for a fully-supported claim in this domain | ["audited_financial_statement","third_party_verification","methodology_disclosure"] | Valid JSON array of strings; each type must exist in the evidence type taxonomy; empty array means no predefined requirements |
[CONFIDENCE_THRESHOLD] | The minimum confidence score required before the claim can be considered verified | 0.85 | Float between 0.0 and 1.0; reject values outside range; null allowed when threshold is not yet defined |
[OUTPUT_FORMAT] | The desired structure for the gap analysis report | structured_gap_report_v1 | Must match a known output schema name; reject unsupported format strings; default to structured_gap_report_v1 if null |
Common Failure Modes
What breaks first when running evidence completeness gap analysis and how to guard against it.
Gap Report Lists Vague Missing Evidence Types
What to watch: The model produces generic gaps like 'more sources needed' or 'additional documentation' without specifying what evidence type, from what authority, or why it matters. This makes the gap report useless for retrieval planning. Guardrail: Require the output schema to include evidence_type, expected_source_authority, and impact_on_confidence fields. Add a validator that rejects gap entries shorter than 20 words or missing any required field.
Model Confuses Missing Evidence with Negative Evidence
What to watch: The gap analysis treats absence of evidence as evidence of absence, marking claims as 'likely false' when the real finding should be 'insufficient evidence to score.' This misclassification cascades into incorrect confidence scores downstream. Guardrail: Enforce a strict separation in the output schema between missing_evidence (not found) and contradicting_evidence (found and conflicts). Add an eval check that flags any gap entry containing falsity language like 'disproven' or 'false' without a corresponding contradiction citation.
Retrieval Suggestions Are Unactionable or Circular
What to watch: The model suggests retrieval queries that are just the claim text repeated, overly broad domain searches, or queries that would return the same already-searched sources. Retrieval teams waste cycles on dead-end searches. Guardrail: Require each gap entry to include a suggested_retrieval_query field with specific entities, date ranges, or document types. Add a deduplication check that compares suggested queries against the original search terms and rejects near-duplicates.
Gap Detection Misses Implicit Evidence Dependencies
What to watch: The model identifies surface-level missing evidence but fails to detect that a claim depends on an unstated premise that itself needs verification. For example, a claim about 'market growth' assumes a specific market definition that was never sourced. Guardrail: Include a hidden_premises field in the output schema that prompts the model to list assumptions the claim depends on. Test gap recall against a golden set of claims with known implicit dependencies and measure whether hidden premises are surfaced.
Confidence Impact Estimates Are Overconfident or Uniform
What to watch: Every gap is assigned the same 'high impact' or 'medium impact' label regardless of the claim type or evidence structure. The model fails to distinguish between a gap that would change the confidence score by 5% versus 40%. Guardrail: Require a numeric confidence_impact_delta estimate with justification. Run distribution analysis across gap reports to detect uniform scoring patterns. Flag reports where the standard deviation of impact scores is below a threshold for human review.
Gap Report Drifts Under Repeated Similar Claims
What to watch: When processing batches of similar claims, the model's gap detection becomes inconsistent — flagging a missing evidence type on one claim but not on a substantively identical claim later. This erodes trust in the verification pipeline. Guardrail: Implement a consistency eval that runs gap analysis on claim pairs with known identical evidence requirements and measures whether the same gap types are detected. Log consistency failures by claim category and trigger a prompt review if drift exceeds a threshold.
Evaluation Rubric
Use this rubric to evaluate the quality of gap analysis reports before deploying the Evidence Completeness Gap Analysis Prompt Template to production. Each criterion targets a specific failure mode.
| Criterion | Pass Standard | Failure Signal | Test Method |
|---|---|---|---|
Gap Detection Recall | All known missing evidence types from the test set are identified in the gap report | Report omits a missing evidence type that was intentionally withheld from the input context | Run against a golden dataset of claims with known evidence gaps; measure recall >= 0.95 |
Gap Detection Precision | No more than 10% of reported gaps are false positives | Report lists an evidence type as missing when it is actually present in the provided source set | Run against a golden dataset with complete evidence; measure precision >= 0.90 |
Impact Assessment Accuracy | Confidence impact estimates for each gap are within one ordinal category of human-labeled impact | Report assigns 'critical' impact to a minor gap or 'low' impact to a claim-blocking gap | Compare model-assigned impact levels to human-labeled impact on 50+ gap examples; agreement >= 0.85 |
Retrieval Suggestion Actionability | At least 80% of retrieval suggestions return relevant evidence when executed against the target knowledge base | Suggestion is too vague to execute, returns zero results, or describes an impossible query | Execute top-3 retrieval suggestions per gap; measure precision@5 >= 0.80 on returned documents |
Gap Explanation Clarity | Each gap includes a specific reason why the evidence is needed and how it affects confidence scoring | Gap description is generic, circular, or restates the claim without explaining the evidence need | Human review of 30 gap explanations; clarity score >= 4/5 on Likert scale |
Output Schema Compliance | Report matches the [OUTPUT_SCHEMA] exactly with all required fields present and correctly typed | Missing required fields, extra fields, or type mismatches in the JSON output | Validate output against JSON Schema; 100% structural compliance on test runs |
Source Grounding | Every gap references at least one specific source or source section that was examined and found insufficient | Gap report contains unsupported assertions about missing evidence without citing what was checked | Check each gap entry for a non-null source reference; grounding rate >= 0.95 |
Confidence Interval Honesty | Report includes a confidence interval for the completeness score that widens proportionally to the number and severity of gaps | Confidence interval is unrealistically narrow given multiple critical gaps or is missing entirely | Verify interval width correlates with gap count and severity; Spearman rho >= 0.70 |
Implementation Harness Notes
How to wire the Evidence Completeness Gap Analysis prompt into a verification application with validation, retries, and human review routing.
The gap analysis prompt is not a standalone tool; it is a component in a verification pipeline. It should be called after claim extraction and evidence retrieval, but before confidence scoring. The prompt expects a structured claim object and a list of retrieved evidence items, and it returns a gap report. Wire this prompt into your application as a synchronous step in a directed acyclic graph (DAG) or as a tool call within an agent loop. The output should be validated before downstream scoring or human review routing consumes it.
Input assembly: Collect the claim text, claim type, and the full list of retrieved evidence items (with source metadata) from upstream steps. Populate the [CLAIM] and [EVIDENCE_LIST] placeholders. If your system uses a domain taxonomy, inject it into [DOMAIN_CONTEXT] to improve gap classification. Model selection: Use a model with strong reasoning and structured output capabilities (e.g., GPT-4o, Claude 3.5 Sonnet). Avoid smaller or older models that may conflate missing evidence with contradictory evidence. Output validation: Parse the JSON response and validate that each gap object contains the required fields: gap_type, missing_evidence_description, expected_confidence_impact, and retrieval_suggestions. Reject outputs with missing fields or non-enum gap_type values. Retry logic: If validation fails, retry once with the validation error message appended to the prompt as a [PREVIOUS_ERROR] context. If the second attempt fails, log the failure and route the claim to a human review queue with the raw output attached.
Human review integration: Gap reports with expected_confidence_impact rated as high or critical should trigger a review task. Package the original claim, the gap report, and the evidence list into a structured review packet. Do not auto-score claims with critical gaps. Logging and observability: Log the input claim ID, the number of evidence items provided, the number of gaps returned, and the validation status. Track gap detection recall by periodically comparing gap report outputs against human-annotated gap labels on a golden dataset. What to avoid: Do not use this prompt to score confidence directly; it identifies what is missing, not how confident you should be. Do not feed the gap report back into the same model for scoring without first attempting to retrieve the missing evidence types it suggests.
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
Use the base prompt with a single evidence set and lighter output validation. Remove strict schema enforcement and allow free-text gap descriptions. Focus on getting useful gap categories before formalizing the output structure.
Watch for
- Gaps described too vaguely to act on (e.g., 'more evidence needed' without specifying type)
- Missing distinction between 'no evidence exists' and 'evidence exists but wasn't retrieved'
- Overly broad retrieval suggestions that don't help a downstream retriever

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