This prompt is designed for QA engineers and verification pipeline developers who need to systematically stress-test a source credibility assessment prompt before it ships. The job-to-be-done is not authoring a new prompt from scratch, but rather taking a candidate prompt that already exists and running it through a battery of adversarial test cases to catalog where it breaks, over-calibrates, under-calibrates, or produces inconsistent outputs. The ideal user has a working source assessment prompt—likely one that produces structured credibility scores, authority classifications, or evidence-weighting decisions—and needs to know its failure boundaries before it becomes a dependency in an automated fact-checking pipeline. Required context includes the candidate prompt itself, a set of test sources with known characteristics (edge cases, ambiguous formats, deliberate adversarial inputs), and the expected output schema that the candidate prompt should conform to.
Prompt
Source Credibility Eval Check and Failure Mode Catalog Prompt

When to Use This Prompt
A meta-evaluation tool for QA engineers to stress-test source credibility assessment prompts before production deployment.
This is a batch QA gate tool, not a single-source evaluator. It expects multiple test sources as input and produces a structured evaluation report that catalogs failure modes, edge cases, and calibration gaps across the entire test set. The output should include: a failure mode catalog with specific detection criteria for each pattern, per-source evaluation results with pass/fail flags, calibration drift warnings where scores are systematically too high or too low, and a summary readiness assessment. Wire this into a CI/CD pipeline for prompt releases by running it against a golden test set whenever the candidate prompt changes. The test set should include sources with missing metadata, conflicting date signals, ambiguous formats (preprints, press releases, syndicated content), deliberately obscured conflicts of interest, and domain-mismatched authority claims. Each test source should have a known expected behavior so the evaluation can compare actual outputs against ground truth.
Do not use this prompt for initial prompt authoring or for evaluating a single source in isolation. It is not a replacement for unit tests on individual prompt components, nor is it a human review workflow. It is a pre-release QA gate that answers the question: 'Where does this prompt break, and is it calibrated well enough to ship?' After running this evaluation, the reader should triage failures by severity, fix the candidate prompt or its constraints, and re-run the test suite until the failure mode catalog shows acceptable risk levels. Avoid the trap of treating a clean run as proof of production readiness—adversarial inputs evolve, and the test set should be updated regularly with new edge cases discovered in production traces.
Use Case Fit
Where the Source Credibility Eval Check and Failure Mode Catalog Prompt works, where it fails, and the operational prerequisites for deploying it safely in a QA pipeline.
Good Fit: Pre-Deployment QA Gates
Use when: you are about to ship a source assessment prompt to production and need a structured evaluation report. Guardrail: Run this prompt against a golden dataset of known-credible and known-problematic sources before any production release. The output catalog becomes your release gate artifact.
Bad Fit: Real-Time Scoring Pipelines
Avoid when: latency budgets are under 500ms or you need inline credibility scores during retrieval. Guardrail: This is an offline evaluation prompt. Use the simpler Source Credibility Scoring Prompt Template for real-time scoring and reserve this catalog prompt for weekly QA runs and regression testing.
Required Input: Source Assessment Prompt Under Test
What to watch: Running this catalog prompt without a concrete target prompt produces generic failure lists, not actionable findings. Guardrail: Always provide the exact system prompt, few-shot examples, and output schema of the source assessment prompt you are evaluating. The catalog is only as specific as the target you give it.
Required Input: Labeled Edge-Case Sources
What to watch: The catalog will miss domain-specific failure modes if you only test against clean, mainstream sources. Guardrail: Include adversarial sources in your test set: predatory journals, PR disguised as journalism, anonymous reports, retracted papers, and sources with deliberate funding opacity. The catalog prompt needs these to surface detection gaps.
Operational Risk: Over-Confidence in Catalog Completeness
What to watch: Teams may treat a one-time catalog run as exhaustive, missing new failure modes that emerge as source patterns change. Guardrail: Schedule recurring catalog regeneration (weekly or per-release) and treat the failure mode catalog as a living document. Pair with production monitoring on source assessment confidence distributions to detect drift.
Operational Risk: Human Review Bottleneck
What to watch: The catalog prompt flags edge cases that require human judgment, but teams often skip review and ship anyway. Guardrail: Define an explicit severity threshold in the catalog output. High-severity findings (e.g., systematic bias toward certain outlet types) must block release until a human reviewer signs off. Low-severity findings can be acknowledged and tracked.
Copy-Ready Prompt Template
A reusable prompt for generating a structured evaluation report that catalogs failure modes, edge cases, and calibration gaps in a source credibility assessment prompt before production deployment.
This template is designed for QA engineers who need to systematically stress-test a source credibility evaluation prompt. It instructs the model to act as an adversarial evaluator, probing the target prompt with a diverse set of source scenarios and producing a structured catalog of failure modes. The output is not a simple pass/fail but a detailed report that identifies specific weaknesses, such as over-reliance on domain authority, failure to detect conflicts of interest, or miscalibration of recency scores, enabling targeted prompt refinement.
textYou are an expert adversarial evaluator testing a source credibility assessment prompt. Your task is to generate a structured evaluation report that identifies failure modes, edge cases, and calibration gaps in the target prompt provided below. [TARGET_PROMPT_TO_EVALUATE] [EVALUATION_CRITERIA] [TEST_SOURCE_CATALOG] [OUTPUT_SCHEMA] [CONSTRAINTS] # Steps 1. **Analyze the Target Prompt:** Deconstruct [TARGET_PROMPT_TO_EVALUATE] to understand its intended logic, scoring dimensions, and expected output format. 2. **Execute Test Cases:** For each source in [TEST_SOURCE_CATALOG], simulate the target prompt's execution. If the catalog is empty, generate a diverse set of 10 adversarial test sources designed to probe the specific failure modes listed in [EVALUATION_CRITERIA]. 3. **Identify Failures:** Compare the simulated output against the expected behavior defined in [EVALUATION_CRITERIA]. Flag any deviation as a failure mode. 4. **Catalog and Diagnose:** For each identified failure mode, provide a name, a description of the triggering condition, a concrete example from the test sources, and a diagnosis of the likely root cause in the target prompt's instructions. 5. **Calibrate Severity:** Assign a severity level (Critical, High, Medium, Low) to each failure mode based on its potential impact on a production verification pipeline. 6. **Generate Report:** Structure the entire analysis strictly according to [OUTPUT_SCHEMA]. # Output Format Produce the final output as a single JSON object conforming to the provided [OUTPUT_SCHEMA]. Do not include any text outside the JSON object.
To adapt this template, replace the placeholders with your specific assets. [TARGET_PROMPT_TO_EVALUATE] should contain the exact text of the source credibility prompt you are testing. [EVALUATION_CRITERIA] must define the expected behavior, such as 'Must flag sources with undisclosed funding as High Risk' or 'Must not downgrade a .gov source for recency if the claim is about a historical statute.' [TEST_SOURCE_CATALOG] can be a pre-built list of tricky sources, or you can leave it empty to force the model to generate its own adversarial examples. The [OUTPUT_SCHEMA] placeholder is critical for integration; define a strict JSON schema with fields like failure_modes (array of objects with name, description, trigger_condition, example, root_cause_diagnosis, severity) and calibration_notes (string). [CONSTRAINTS] can be used to add rules like 'Do not test for prompt injection; focus only on credibility logic flaws.'
Before running this prompt at scale, validate the output against your [OUTPUT_SCHEMA] in your application harness. A common failure mode of this evaluation prompt itself is generating vague root cause diagnoses like 'the prompt was unclear.' Mitigate this by including a strong example of a good diagnosis in your [EVALUATION_CRITERIA] or as a one-shot example within the prompt. For high-stakes verification systems, always have a human QA lead review the generated failure mode catalog to confirm that the identified issues are genuine and the severity ratings are calibrated to your operational risk tolerance.
Prompt Variables
Required inputs for the Source Credibility Eval Check and Failure Mode Catalog Prompt. Each variable must be populated before execution to ensure reliable evaluation output.
| Placeholder | Purpose | Example | Validation Notes |
|---|---|---|---|
[SOURCE_CONTENT] | Full text or structured representation of the source being evaluated for credibility | A news article body, an academic abstract, or a government report section | Must be non-empty string. Truncate to model context window minus 2000 tokens for eval instructions. Null or whitespace triggers input rejection. |
[SOURCE_METADATA] | Structured fields describing the source: URL, domain, publication date, author, publisher, source type | {"domain": "cdc.gov", "pub_date": "2024-03-15", "author": "WHO Epidemiology Unit", "type": "government_report"} | Validate JSON parse. Required fields: domain, pub_date, type. Missing pub_date sets recency score to null. Unknown type triggers type-classification fallback. |
[CLAIM_DOMAIN] | The subject area of the claim this source would support or refute, used to assess domain authority match | infectious_disease_epidemiology | Must match a predefined domain taxonomy enum. Free-text domains trigger a taxonomy-mapping retry. Null forces domain-agnostic evaluation with reduced confidence. |
[EVALUATION_DIMENSIONS] | Ordered list of credibility dimensions to score: authority, recency, bias, methodology, independence, directness | ["authority", "recency", "methodology", "independence"] | Must be a JSON array of strings from the allowed dimension enum. Empty array triggers all-dimensions default. Unknown dimension names cause dimension-skip with warning in output. |
[FAILURE_MODE_CATALOG] | Reference list of known failure modes with detection criteria to check against this evaluation | ["recency_override", "authority_halo", "echo_chamber", "pr_disguised_as_reporting"] | Must be a JSON array of strings from the registered failure mode registry. Empty array skips failure mode matching. Unregistered modes logged but not matched. |
[OUTPUT_SCHEMA] | Strict JSON schema definition for the evaluation report output, including failure mode catalog structure | {"type": "object", "properties": {"source_id": {"type": "string"}, "scores": {"type": "object"}, "failure_modes_detected": {"type": "array"}}, "required": ["source_id", "scores", "failure_modes_detected"]} | Must be valid JSON Schema draft-07. Schema must include required fields: source_id, scores, failure_modes_detected. Parse failure triggers schema-repair retry before evaluation. |
[CONFIDENCE_THRESHOLD] | Minimum confidence score (0.0-1.0) required for each dimension before flagging for human review | 0.7 | Must be float between 0.0 and 1.0. Values below 0.5 produce excessive review flags. Values above 0.95 risk false confidence. Null defaults to 0.7. |
[ABSTENTION_RULES] | Conditions under which the evaluator should refuse to score a dimension and return null with explanation | ["missing_author", "undated_content", "anonymous_source_no_corroboration", "predatory_journal"] | Must be a JSON array of strings from the abstention rule registry. Each rule must have a corresponding detection method. Empty array allows scoring on all available evidence with caveats. |
Implementation Harness Notes
How to wire the Source Credibility Eval Check prompt into a QA pipeline with validation, retries, and human review gates.
This prompt is not a one-off chat interaction; it is a QA harness component designed to run inside a continuous evaluation pipeline. The primary integration point is a test runner that feeds the prompt a source assessment prompt (the subject under test) and a catalog of adversarial source descriptions. The output is a structured evaluation report that your CI/CD or release gate can consume. Wire this prompt as a post-generation step: after your team authors or modifies a source credibility prompt, the QA harness evaluates it against known failure modes before the prompt is promoted to production.
Integration pattern: Wrap the prompt in a function that accepts [SUBJECT_PROMPT], [SOURCE_CATALOG], and [EVALUATION_CRITERIA] as inputs. The function should call the LLM with response_format set to a strict JSON schema matching the expected evaluation report structure. On the application side, validate the returned JSON immediately: confirm that every failure mode entry contains a non-empty detection_criteria and observed_behavior field. If validation fails, retry once with the validation error injected into the [CONSTRAINTS] block. After two failed attempts, log the raw output and flag the run for human review. For high-stakes verification pipelines (e.g., healthcare, legal, financial claims), require a human sign-off on the evaluation report before the subject prompt is cleared for deployment.
Model selection and tool use: Use a model with strong instruction-following and structured output capabilities (e.g., GPT-4o, Claude 3.5 Sonnet) for the evaluation run. This prompt does not require external tools or retrieval—the source catalog is provided inline. However, if your source catalog exceeds ~8,000 tokens, split it into batches and run the evaluation per batch, then merge the reports with a deduplication step. Logging and observability: Log the full prompt, the subject prompt version hash, the model response, and the validation result to your prompt observability platform. Attach the evaluation report to your prompt version record so that every production prompt has a traceable QA report. What to avoid: Do not run this evaluation once and consider the subject prompt 'safe.' Source credibility prompts degrade as model behavior shifts, new source types appear, and adversarial patterns evolve. Schedule this evaluation to run on every subject prompt change and at a regular cadence (e.g., weekly) against an updated source catalog.
Expected Output Contract
Fields, types, and validation rules for the structured evaluation report produced by the Source Credibility Eval Check and Failure Mode Catalog Prompt. Use this contract to parse, validate, and route the model's output in a production pipeline.
| Field or Element | Type or Format | Required | Validation Rule |
|---|---|---|---|
evaluation_id | string (UUID v4) | Must parse as valid UUID v4. Reject if missing or malformed. | |
prompt_under_test | string | Must be non-empty. Reject if null or whitespace only. | |
test_run_timestamp | string (ISO 8601) | Must parse as valid ISO 8601 datetime. Reject if unparseable. | |
failure_mode_catalog | array of objects | Must be a non-empty array. Each object must contain 'failure_id', 'failure_name', 'detection_criteria', and 'severity' fields. | |
failure_mode_catalog[].failure_id | string (slug) | Must match pattern ^[a-z0-9-]+$. Reject if missing or invalid format. | |
failure_mode_catalog[].severity | string (enum) | Must be one of: 'critical', 'high', 'medium', 'low'. Reject on unknown values. | |
calibration_gaps | array of strings | Must be an array. Each string must be non-empty. Null entries not allowed. | |
overall_assessment | string | Must be non-empty and contain a summary judgment. Reject if null or under 20 characters. |
Common Failure Modes
Source credibility evaluation prompts fail in predictable ways. These cards catalog the most common failure modes, why they happen, and the guardrails you can embed before deployment.
Authority Halo Effect
What to watch: The model over-weights a source's general reputation and applies it to a domain where the source lacks expertise—for example, treating a prestigious university press release as authoritative medical evidence. Guardrail: Require domain-specific authority scoring in your prompt. Add a domain_relevance field that forces the model to justify why this source is authoritative for this specific claim, not just authoritative in general.
Recency Blindness
What to watch: The model assigns high credibility to an outdated source because it was authoritative at publication time, ignoring that the evidence has been superseded. Common with fast-moving domains like COVID-19 research or regulatory changes. Guardrail: Add a recency_window parameter to your prompt that defines acceptable staleness thresholds per claim domain. Require the model to extract and normalize the publication date before scoring credibility.
Echo Chamber False Confirmation
What to watch: Multiple sources appear to corroborate a claim, but they all trace back to the same original source or syndication chain. The model counts citations instead of tracing provenance, inflating confidence. Guardrail: Include a provenance chain reconstruction step before agreement scoring. Flag sources that share the same root origin. Add an independence_score field that penalizes circular citation and syndication duplicates.
Press Release Disguised as Journalism
What to watch: Corporate or government press releases get re-reported by news aggregators and the model treats the re-reporting as independent journalistic confirmation. The original PR becomes laundered evidence. Guardrail: Add a source type classification step that distinguishes press_release, syndicated_reprint, and independent_reporting. Require the model to trace the claim to its earliest verifiable source and flag re-reporting chains.
Missing Metadata Silent Failure
What to watch: The source lacks publication date, author, or methodology information, but the model still produces a credibility score without flagging the gaps. The output looks confident but rests on invisible unknowns. Guardrail: Require explicit metadata_completeness scoring. When critical fields are missing, force the model to downgrade confidence and flag the gap. Add a cannot_assess escape hatch for sources with insufficient information to evaluate.
Post-Hoc Rationalization
What to watch: The model decides a source is credible first, then generates plausible-sounding justifications that ignore contradictory signals—like undisclosed funding conflicts or retraction notices. The reasoning reads well but is unfaithful to the evidence. Guardrail: Structure the prompt to require evidence-before-conclusion ordering. Force the model to list negative indicators (conflicts, retractions, methodology gaps) before producing the final score. Add a contradictory_signals field that must be populated even when the final score is high.
Evaluation Rubric
How to test the Source Credibility Eval Check and Failure Mode Catalog Prompt before shipping. Each criterion targets a known failure mode in source assessment prompts.
| Criterion | Pass Standard | Failure Signal | Test Method |
|---|---|---|---|
Failure Mode Coverage | Output catalogs at least 5 distinct failure modes with detection criteria for each | Generic list with fewer than 5 modes or missing detection criteria per mode | Count unique failure mode IDs in output; verify each has a non-empty detection_criteria field |
Edge Case Identification | Output identifies at least 3 edge cases that would cause miscalibration (e.g., sparse metadata, anonymous sources, preprints) | Edge cases are trivial, duplicated, or omit domain-specific calibration gaps | Review edge_case array for domain relevance; check that each includes expected_misclassification field |
Calibration Gap Detection | Output flags at least 2 calibration gaps with specific score-range drift examples | Calibration gaps are vague or describe general issues without score-range evidence | Parse calibration_gaps array; verify each entry contains score_range_affected and observed_drift fields |
False Positive Pattern Detection | Output catalogs patterns where the prompt over-rates credibility (e.g., high-authority domain but outdated content) | False positive patterns are missing or conflated with false negatives | Check false_positive_patterns array for entries with over_rating_condition and detection_signal fields |
False Negative Pattern Detection | Output catalogs patterns where the prompt under-rates credibility (e.g., low-recency score on timeless content) | False negative patterns are missing or describe general skepticism without specific triggers | Check false_negative_patterns array for entries with under_rating_condition and detection_signal fields |
Remediation Suggestion Quality | Each failure mode includes at least one actionable remediation step (prompt revision, threshold adjustment, or pre-processing rule) | Remediation suggestions are generic (e.g., 'improve prompt') or missing for multiple failure modes | Parse remediation field per failure mode; verify each contains a concrete action and target_component field |
Output Schema Compliance | Output matches expected JSON schema with all required fields present and correctly typed | Missing required fields, wrong types, or extra unstructured text outside the JSON object | Validate output against [OUTPUT_SCHEMA] using JSON Schema validator; reject on schema violation |
Abstention Trigger Coverage | Output identifies conditions where the eval prompt should abstain (e.g., no source metadata available, conflicting authority signals) | Abstention triggers are missing or only cover trivial cases like empty input | Check abstention_triggers array; verify at least 3 distinct conditions with recommended_action per trigger |
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 5-10 known failure cases. Remove the structured output schema temporarily and ask the model to produce free-text evaluation notes first. This lets you observe reasoning patterns before locking down the format.
Add a simplified instruction: Instead of the full catalog, list the top 3 failure modes you detect and explain why each one matters for source credibility assessment.
Watch for
- The model conflating 'failure mode' with 'source quality issue' rather than 'prompt behavior failure'
- Overly generic catalogs that don't reference specific source assessment dimensions (authority, recency, bias, methodology)
- Missing edge cases around sparse metadata, paywalled sources, and non-English content

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