This prompt is designed for verification pipeline operators and platform engineers who need to audit their evidence coverage systematically. Use it after running claim extraction and evidence matching across a batch of content to identify where your retrieval or knowledge base consistently fails to provide adequate evidence. The output is a structured gap analysis report that categorizes missing evidence types, maps them to affected claims, and recommends prioritized remediation actions. This is not a per-claim verification prompt. It is a meta-analysis prompt that operates on aggregated verification results to surface systemic weaknesses in your evidence supply chain.
Prompt
Evidence Gap Analysis Report Prompt

When to Use This Prompt
Identify when to deploy the Evidence Gap Analysis Report Prompt to audit systemic weaknesses in your verification evidence supply chain.
Deploy this prompt when you observe a pattern of UNSUPPORTED or INSUFFICIENT_EVIDENCE verdicts across multiple verification runs and need to understand the root cause before making infrastructure changes. The ideal input is a structured dataset containing at least 50-100 verification records, each with the original claim, the evidence retrieved, the verdict, and the evidence sources consulted. Without this volume, the gap analysis will lack statistical significance and may produce misleading recommendations. The prompt expects aggregated data, not raw documents or single claims. If you are still building your verification pipeline and lack production-scale results, start with the Structured Claim Verification Report Prompt Template to generate the per-claim records this prompt consumes.
Do not use this prompt for real-time verification decisions, single-claim analysis, or direct user-facing fact-checking. It is an offline diagnostic tool for pipeline improvement. The output is a strategic report meant for engineering and operations stakeholders who control retrieval configuration, knowledge base expansion, and search query tuning. Avoid running it on unvalidated verification outputs—if your upstream claim extraction or evidence matching prompts are producing noisy results, the gap analysis will amplify those errors. Validate your per-claim verification pipeline first using the eval checks in the Verification Error and Omission Report Prompt, then feed clean, representative data into this gap analysis. The next step after receiving the report is to prioritize the remediation actions by business impact and implement changes to your retrieval sources, embedding models, or search strategies before re-running the verification batch.
Use Case Fit
Where the Evidence Gap Analysis Report prompt delivers value and where it introduces risk. Use these cards to decide if this prompt fits your verification pipeline stage.
Good Fit: Systematic Coverage Audits
Use when: you need to audit a batch of verified claims to find evidence coverage gaps before compliance review. Guardrail: Run this after claim extraction and evidence matching, not before. The prompt needs completed verification records as input.
Bad Fit: Real-Time Verification
Avoid when: latency budget is under 500ms or claims arrive one at a time. Risk: Gap analysis requires aggregate view across multiple claims and evidence sources. Single-claim analysis misses systematic coverage patterns. Guardrail: Batch claims before invoking this prompt.
Required Inputs: Structured Verification Records
Risk: Running gap analysis on unstructured notes or raw model outputs produces unreliable gap detection. Guardrail: Input must include per-claim verdicts, evidence citations, and confidence scores in a consistent schema. Validate input completeness before gap analysis.
Operational Risk: False Confidence in Coverage
Risk: The prompt may report adequate coverage when evidence sources are low-quality or outdated. Guardrail: Pair gap analysis with source authority assessment. A gap report that says 'covered' is only as strong as the underlying evidence quality checks.
Operational Risk: Gap Prioritization Drift
Risk: The model may prioritize gaps by claim count rather than risk severity, missing high-impact evidence gaps. Guardrail: Provide explicit prioritization criteria in [CONSTRAINTS]—such as regulatory risk weight, claim type, or audience impact—not just gap frequency.
Human Review: Remediation Recommendations
Risk: Auto-generated remediation steps may suggest evidence sources that don't exist or can't be retrieved. Guardrail: Treat remediation recommendations as draft proposals. Require human review before committing to evidence collection actions or resource allocation.
Copy-Ready Prompt Template
A reusable prompt template for generating an Evidence Gap Analysis Report with square-bracket placeholders for your pipeline's actual data.
This prompt template is designed to be the core instruction set for an LLM tasked with analyzing systematic evidence coverage gaps across a batch of verified claims. It expects structured inputs—claims, their verdicts, and the evidence sources consulted—and produces a categorized report identifying missing evidence types, affected claims, and prioritized remediation steps. The template uses square-bracket placeholders that your application must replace with real data before sending the request to the model. Do not send this template with the placeholders unresolved.
textYou are an evidence audit specialist. Your task is to analyze a batch of verified claims and produce an Evidence Gap Analysis Report. The report must identify systematic gaps in evidence coverage, categorize missing evidence types, list affected claims, and recommend remediation actions prioritized by risk. # INPUTS - Claims and Verdicts: [CLAIMS_AND_VERDICTS_JSON] - Evidence Sources Consulted: [EVIDENCE_SOURCES_JSON] - Verification Methodology: [METHODOLOGY_DOCUMENT] - Domain Context: [DOMAIN_CONTEXT] # OUTPUT SCHEMA Produce a JSON object conforming to this structure: { "report_id": "string", "generated_at": "ISO8601 timestamp", "summary": { "total_claims_analyzed": "integer", "claims_with_sufficient_evidence": "integer", "claims_with_evidence_gaps": "integer", "gap_categories_identified": ["string"] }, "gap_analysis": [ { "gap_category": "string (e.g., 'Missing Primary Source', 'Outdated Evidence', 'Single-Source Dependency', 'Authority Mismatch', 'Format Inaccessibility')", "description": "string explaining the nature of this gap category", "severity": "critical | high | medium | low", "affected_claim_ids": ["string"], "evidence_that_should_exist": "string describing the type of evidence that would close this gap", "remediation": { "action": "string describing the recommended remediation step", "priority": "integer (1=highest)", "estimated_effort": "low | medium | high", "suggested_sources_or_queries": ["string"] } } ], "unaffected_claims": ["string (claim IDs with sufficient evidence)"], "recommendations_summary": "string providing an executive summary of the top remediation priorities" } # CONSTRAINTS - Only flag a gap if evidence is genuinely insufficient for a reliable verdict. Do not flag gaps for claims where the available evidence is adequate. - Base every gap finding strictly on the provided claims, verdicts, and evidence sources. Do not invent missing evidence that is not implied by the inputs. - If a claim was marked 'UNSUPPORTED' or 'INSUFFICIENT_EVIDENCE' in the input, it must appear in the gap analysis. - Prioritize gaps that affect multiple claims or high-risk claims. - Do not include claims in `unaffected_claims` if they have any identified evidence gap. - Use the domain context to calibrate what constitutes sufficient evidence for the subject matter. # RISK LEVEL [HIGH] This analysis informs decisions about evidence collection and verification completeness. In regulated domains, gaps in evidence coverage can have compliance implications. The output must be reviewed by a human before remediation actions are taken.
To adapt this template for your pipeline, replace each placeholder with live data. [CLAIMS_AND_VERDICTS_JSON] should contain an array of claim objects, each with a unique ID, the claim text, its verification verdict, and a confidence score. [EVIDENCE_SOURCES_JSON] should list every source consulted during verification, including its identifier, type, authority level, and recency. [METHODOLOGY_DOCUMENT] provides the verification methodology so the model understands what 'sufficient evidence' means in your context. [DOMAIN_CONTEXT] describes the subject domain—legal, financial, medical, scientific—so the model calibrates its gap severity judgments appropriately. After replacing placeholders, validate that the output JSON matches the schema before ingesting it into downstream systems. For high-stakes domains, route the generated report through a human review step before acting on remediation recommendations.
Prompt Variables
Inputs the Evidence Gap Analysis Report Prompt needs to work reliably. Validate each before sending to prevent hallucinated gap categories, misclassified claims, or remediation recommendations unsupported by the actual evidence set.
| Placeholder | Purpose | Example | Validation Notes |
|---|---|---|---|
[CLAIM_SET] | Array of extracted claims with IDs, text, and expected evidence domains | claims_2025-03-15.json | Must be a valid JSON array. Each claim object requires claim_id, claim_text, and expected_domain fields. Null or empty array triggers abort. Validate schema before prompt assembly. |
[EVIDENCE_INDEX] | Map of available evidence sources with metadata including source_id, domain, authority_score, and recency_date | evidence_index_v2.json | Must be a valid JSON object keyed by source_id. Each source requires domain, authority_score (0.0-1.0), and recency_date (ISO 8601). Missing fields cause gap misclassification. Validate against schema. |
[COVERAGE_MAP] | Pre-computed mapping of which claims have been matched to which evidence sources | coverage_map_2025-03-15.json | Must be a valid JSON object with claim_id keys and arrays of matched source_ids. Empty arrays indicate no coverage. Validate that all claim_ids exist in [CLAIM_SET] and all source_ids exist in [EVIDENCE_INDEX]. |
[DOMAIN_TAXONOMY] | Hierarchical list of evidence domains and subdomains the verification system should cover | taxonomy_legal_finance.json | Must be a valid JSON array of domain objects with domain_id, domain_name, and parent_domain fields. Used to categorize gaps. Validate no circular parent references and no duplicate domain_ids. |
[CONFIDENCE_THRESHOLD] | Minimum confidence score for a claim to be considered adequately verified | 0.75 | Must be a float between 0.0 and 1.0. Claims below this threshold with no evidence coverage are flagged as gaps. Validate range and type. Null defaults to 0.7 with warning. |
[REMEDIATION_PRIORITIES] | Ordered list of gap severity levels and their definitions for prioritization | critical: regulatory_claims_unverified, high: financial_claims_unverified | Must be a valid JSON object mapping severity labels to gap definitions. At least one priority level required. Validate that definitions reference domains present in [DOMAIN_TAXONOMY]. |
[OUTPUT_SCHEMA] | Expected JSON schema for the gap analysis report output | evidence_gap_report_schema_v1.json | Must be a valid JSON Schema. Defines required fields: gap_id, gap_category, affected_claim_ids, missing_evidence_type, severity, remediation_recommendation. Validate schema is parseable before prompt assembly. |
[REPORT_METADATA] | Context about the verification run including pipeline version, timestamp, and operator identity | run_metadata_2025-03-15.json | Must include pipeline_version, run_timestamp (ISO 8601), and operator_id. Used for audit trail traceability. Validate all required fields present. Null operator_id allowed only for automated runs with flag. |
Implementation Harness Notes
How to wire the Evidence Gap Analysis Report prompt into a verification pipeline with validation, retries, and human review gates.
The Evidence Gap Analysis Report prompt is designed to be called after a batch verification run, not as a standalone chat interaction. It expects structured input—a list of claims, their verification outcomes, and the evidence sources consulted—and produces a structured gap report. In a production pipeline, this prompt sits downstream of claim extraction, evidence retrieval, and per-claim verification steps. The output is consumed by a gap remediation workflow, a human reviewer dashboard, or a compliance audit system. Do not use this prompt for real-time, single-claim analysis; it is built for aggregate coverage assessment across a batch.
Wire the prompt into your application by first assembling the required inputs: a JSON array of claims with their verification statuses, a JSON array of evidence sources with metadata, and any domain-specific coverage thresholds. Validate the input payload against a strict schema before calling the model. On the output side, parse the model's JSON response and validate it against the expected gap report schema—checking for required fields like gap_category, affected_claim_ids, missing_evidence_type, severity, and remediation. If validation fails, retry once with the validation errors appended to the prompt as feedback. If the retry also fails, log the failure and route to a human reviewer with the raw model output and validation errors attached. For high-stakes domains like healthcare or finance, always require human sign-off on gap reports before they trigger downstream actions such as evidence re-retrieval or public disclosure of coverage limitations.
Model choice matters here. Use a model with strong JSON mode and long-context handling, such as gpt-4o or claude-3-5-sonnet, because the input payload may contain hundreds of claims and sources. Enable structured output mode if available, and set a low temperature (0.0–0.2) for deterministic gap classification. Log every invocation—input payload hash, model version, output, validation result, and reviewer decision—to maintain an audit trail. Avoid wiring this prompt directly to an automated evidence re-retrieval loop without human review; a misclassified gap could trigger expensive, unnecessary retrieval or, worse, mask real coverage failures. The gap report should inform prioritization, not autonomously drive remediation.
Expected Output Contract
Defines the fields, types, and validation rules for the Evidence Gap Analysis Report. Use this contract to build a parser, validator, or retry loop before the report enters a downstream system or human review queue.
| Field or Element | Type or Format | Required | Validation Rule |
|---|---|---|---|
report_id | string (UUID v4) | Must match UUID v4 regex. Reject on parse failure. | |
generated_utc | string (ISO 8601) | Must parse as valid ISO 8601 UTC timestamp. Reject if in the future beyond a 60-second clock-skew tolerance. | |
analysis_scope | object | Must contain | |
gap_categories | array of objects | Each object must include | |
missing_evidence_types | array of strings | Must be a non-null array. An empty array is valid and means no missing types were identified. Reject if null. | |
remediation_recommendations | array of objects | Each object must include | |
coverage_score | number (0.0 to 1.0) | Must be a float between 0.0 and 1.0 inclusive. Reject if outside range or non-numeric. | |
human_review_required | boolean | Must be strictly true or false. If true, the |
Common Failure Modes
Evidence gap analysis reports fail in predictable ways. These are the most common production failure modes and how to guard against them before the report reaches a reviewer.
False Negatives: Gaps Missed Entirely
What to watch: The model reports full evidence coverage when critical claim types have zero supporting sources. This happens when the prompt treats 'no evidence found' as 'not applicable' or when retrieval scope is too narrow. Guardrail: Require the output to explicitly list every claim category with a count of supporting sources. Add a post-generation check that flags any category with zero evidence and forces a 'gap confirmed' or 'search expanded' annotation.
Over-Prioritization of Low-Impact Gaps
What to watch: The report surfaces every minor documentation gap with equal urgency, burying critical missing evidence under a flood of low-severity findings. Reviewers ignore the report. Guardrail: Include a mandatory severity field in the output schema with explicit criteria (e.g., 'blocks compliance,' 'reduces confidence,' 'cosmetic'). Add a post-generation sort that reorders findings by severity before human review.
Hallucinated Evidence Sources
What to watch: The model invents source titles, DOIs, or document references to fill perceived gaps, especially when instructed to be thorough. This is the highest-risk failure mode for audit contexts. Guardrail: Require every cited source to include a retrieval path or document ID that can be mechanically validated. Add a post-generation validator that checks each source reference against the actual retrieval index and strips unverifiable citations, marking them as 'unverified reference removed.'
Gap Descriptions Too Vague to Action
What to watch: The report says 'Evidence is missing for some financial claims' without specifying which claims, which evidence types, or where to look. Operations teams cannot remediate. Guardrail: Constrain the output schema to require per-gap fields: affected claim IDs, missing evidence type, search queries attempted, and recommended remediation source. Validate that every gap entry has non-empty values for all four fields before the report is delivered.
Scope Creep: Reporting on Claims Outside the Brief
What to watch: The model expands gap analysis to adjacent domains not requested, producing a sprawling report that mixes in-scope and out-of-scope findings. This erodes trust and wastes reviewer time. Guardrail: Define a closed taxonomy of in-scope claim types in the prompt. Add a post-generation filter that removes any gap finding tagged with an out-of-scope claim category and logs the removal for pipeline operators to review.
Confidence Inflation on Gap Severity
What to watch: The model assigns 'high confidence' to gap assessments based on thin retrieval coverage, making unsupported claims look like definitive findings. Reviewers trust the confidence label and skip verification. Guardrail: Tie confidence scores to explicit evidence thresholds in the prompt (e.g., 'high confidence requires at least 3 retrieval attempts with varied queries'). Add a validator that downgrades confidence to 'low' when retrieval depth is below the threshold and appends a 'confidence downgraded: insufficient search coverage' note.
Evaluation Rubric
Use these criteria to test the Evidence Gap Analysis Report prompt before production deployment. Each row targets a specific failure mode common to gap-detection and prioritization workflows.
| Criterion | Pass Standard | Failure Signal | Test Method |
|---|---|---|---|
Gap Detection Completeness | All evidence types explicitly listed in [EVIDENCE_CATALOG] are classified as Covered, Partial, or Missing in the report | An evidence type from the catalog is absent from the report output | Diff the set of evidence types in [EVIDENCE_CATALOG] against the types mentioned in the output; flag any missing |
Claim-to-Gap Mapping Accuracy | Every claim flagged as having a gap references at least one specific missing or partial evidence type from the catalog | A claim is marked as having a gap but the gap description is generic (e.g., 'insufficient evidence') without naming the missing evidence type | Parse each gap entry; check that the referenced evidence type exists in [EVIDENCE_CATALOG] and that the claim ID is valid |
Prioritization Logic Validity | High-priority gaps cite at least one of: regulatory risk, safety impact, or high claim count affected, as defined in [PRIORITY_RULES] | A gap is marked Critical or High with no justification, or the justification contradicts [PRIORITY_RULES] | Sample 5 prioritized gaps; verify each justification matches a rule from [PRIORITY_RULES] using keyword match or LLM-as-judge |
Remediation Actionability | Each recommended remediation includes a concrete action (e.g., 'ingest source X', 'run retrieval with query Y') and an owner role | Remediation is vague (e.g., 'get more evidence') or missing an owner role | Check that each remediation string contains a verb-object pair and a role label from [ROLES] |
Affected Claim Count Accuracy | The count of affected claims per gap matches the number of claims linked to that gap in the output | Affected claim count is zero for a gap that has claims listed, or the count exceeds total claims in [CLAIM_SET] | Cross-tabulate gap-to-claim mappings; compare reported count to actual list length |
False Gap Suppression | No gap is reported for evidence types that are fully covered per [EVIDENCE_CATALOG] and have no affected claims | A gap entry appears for an evidence type with status Covered and zero linked claims | Filter output gaps where evidence type status is Covered; flag any with non-empty affected claim lists |
Output Schema Compliance | Output is valid JSON matching [OUTPUT_SCHEMA] with all required fields present and no extra top-level keys | JSON parse fails, required field is null or missing, or unexpected fields appear at the top level | Validate against [OUTPUT_SCHEMA] using a JSON schema validator; reject on parse error or schema violation |
Confidence Threshold Adherence | No gap is reported with confidence below [MIN_CONFIDENCE] unless explicitly flagged for human review | A gap appears with confidence below threshold and no human-review flag set to true | Scan all gap entries; check confidence field against [MIN_CONFIDENCE]; flag violations where human_review is false |
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 frontier model (GPT-4o, Claude 3.5 Sonnet) and minimal validation. Focus on getting the gap categories and affected claims right before adding schema enforcement.
- Remove strict JSON schema requirements; accept structured markdown or bulleted output.
- Reduce the number of required gap categories to the top 3-5.
- Use inline examples of gap types instead of a separate taxonomy reference.
- Run on a small claim batch (10-20 claims) to validate gap-detection logic.
Watch for
- Overly broad gap categories that merge distinct evidence gaps.
- Missing affected-claim lists when the model summarizes gaps without linking back to specific claims.
- Confusion between 'insufficient evidence' and 'contradictory evidence' gap types.
- No prioritization logic—all gaps treated as equal severity.

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