Inferensys

Prompt

Survey and Poll Result Verification Prompt

A practical prompt playbook for using Survey and Poll Result Verification Prompt in production AI workflows.
Developer doing prompt engineering on laptop, prompt variations visible on screen, casual coding session.
PROMPT PLAYBOOK

When to Use This Prompt

Defines the job-to-be-done, ideal user, required context, and boundaries for the Survey and Poll Result Verification Prompt.

This prompt is designed for verification engineers, data analysts, and editorial fact-checkers who need to assess the methodological soundness of claims derived from surveys and polls. Use it when a public or internal report asserts a finding based on a survey, and you need to verify whether the sample size, margin of error, weighting, and question design support that claim. The ideal input is a specific, extracted claim alongside the reported methodology details from the source—such as the survey provider, field dates, sample size, and question wording. The prompt does not re-run raw survey data; it evaluates the reported methodology and flags gaps that undermine the claim's generalizability.

Do not use this prompt when you have access to the raw survey microdata and need to recalculate statistics, when the claim is purely qualitative with no survey methodology cited, or when the task is to compare two competing survey results rather than assess a single claim's foundation. This prompt is also inappropriate for verifying non-survey quantitative claims like financial metrics, A/B test results, or sensor readings—those require domain-specific numerical verification prompts with tolerance windows and unit normalization. The prompt works best when the input includes the full claim text, the reported methodology snippet, and any available context about the survey's sponsorship or fielding organization.

Before using this prompt, ensure you have extracted the claim cleanly from its source and gathered whatever methodology information is publicly available. The prompt will produce a structured methodology assessment with bias flags and a generalizability evaluation, but its output is only as reliable as the methodology details provided. If the source report omits sample size, margin of error, or question wording, the prompt will flag those gaps rather than fabricate assessments. For high-stakes verification workflows, always route outputs through human review and consider pairing this prompt with a source authority assessment to evaluate the polling organization's track record.

PRACTICAL GUARDRAILS

Use Case Fit

Where the Survey and Poll Result Verification Prompt works, where it fails, and the operational prerequisites for production use.

01

Good Fit: Methodology-First Review

Use when: you have the full survey instrument, methodology statement, and raw data. The prompt excels at checking sample representativeness, weighting logic, and margin of error calculations against the provided source material. Guardrail: Always supply the methodology document alongside the claims; never ask the model to infer sampling strategy from results alone.

02

Bad Fit: Headline-Only Verification

Avoid when: you only have a press release or a single-sentence claim like '60% of people prefer X.' Without the questionnaire, sample frame, and weighting tables, the model cannot assess non-response bias or question-wording effects. Guardrail: Route headline-only claims to a human analyst and flag them as 'insufficient evidence for verification.'

03

Required Inputs

What you must provide: the original survey claim, the full methodology statement (sample size, frame, mode, dates), weighting procedures, and the questionnaire text. Margin of error and confidence level claims require the sample size and design effect. Guardrail: Build an input schema that validates these fields are present before the prompt runs; reject incomplete submissions.

04

Operational Risk: Generalizability Overstatement

What to watch: the model may accept a survey's claimed generalizability without challenging sample frame mismatches. A poll of website visitors cannot generalize to the national population, but the prompt might miss this if the frame isn't explicitly contrasted. Guardrail: Add a mandatory check step that compares the sampling frame to the target population and flags coverage gaps.

05

Operational Risk: Weighting Opacity

What to watch: surveys often apply post-stratification weights but don't disclose the weighting targets or trimming thresholds. The model may verify the math without flagging the missing transparency. Guardrail: Require the prompt to output a 'transparency score' that penalizes missing weighting details and escalate low-scoring verifications for human review.

06

Variant: Comparative Poll Verification

Use when: you need to verify claims comparing two polls from different pollsters or time periods. The prompt must check for consistent question wording, sample frame alignment, and overlapping confidence intervals before accepting a 'lead' or 'shift' claim. Guardrail: Add a pairwise comparison module that flags methodological differences before comparing results.

PROMPT PLAYBOOK

Copy-Ready Prompt Template

Paste this prompt into your AI harness to verify survey-derived claims against methodological standards.

This prompt template is designed to be copied directly into your AI verification harness. It instructs the model to act as a survey methodologist and assess a claim derived from a poll or survey. The template uses square-bracket placeholders that you must replace with the specific claim, available methodology details, and your required output structure before execution. The prompt is self-contained and can be adapted for different models by adjusting the [OUTPUT_SCHEMA] and [CONSTRAINTS] blocks.

code
You are a survey methodologist and statistical auditor. Your task is to verify a claim derived from a survey or poll by assessing its methodological soundness, representativeness, and generalizability.

# CLAIM TO VERIFY
[CLAIM_TEXT]

# AVAILABLE METHODOLOGY DETAILS
- Sample Size: [SAMPLE_SIZE]
- Population: [TARGET_POPULATION]
- Sampling Method: [SAMPLING_METHOD]
- Mode of Data Collection: [DATA_COLLECTION_MODE]
- Margin of Error (reported): [REPORTED_MOE]
- Confidence Level (reported): [REPORTED_CONFIDENCE_LEVEL]
- Weighting Procedures: [WEIGHTING_DETAILS]
- Response Rate: [RESPONSE_RATE]
- Survey Dates: [SURVEY_DATES]
- Question Wording: [QUESTION_WORDING]
- Sponsor/Funder: [SPONSOR_INFORMATION]
- Additional Context: [ADDITIONAL_CONTEXT]

# VERIFICATION TASKS
1. Assess sample size adequacy for the target population and reported margin of error.
2. Evaluate the sampling method for potential selection bias and representativeness.
3. Check the reported margin of error calculation against the sample size and confidence level.
4. Identify non-response bias risks based on the response rate and mode of data collection.
5. Analyze the question wording for leading, ambiguous, or loaded phrasing.
6. Evaluate the weighting methodology for appropriateness and potential over-correction.
7. Assess the generalizability of the claim to the stated population.
8. Flag any undisclosed limitations that could materially affect the claim's validity.

# CONSTRAINTS
- Do not invent missing methodology details. If critical information is absent, flag it as "UNKNOWN" and explain why it matters.
- Distinguish between "the claim is mathematically inconsistent with the reported methodology" and "the methodology is insufficient to support the claim."
- Use precise statistical language. Do not round intermediate calculations.
- If the claim involves subgroup analysis, check whether the subgroup sample size is reported and sufficient.
- Flag any evidence of p-hacking, multiple comparison issues, or post-hoc storytelling.

# OUTPUT SCHEMA
[OUTPUT_SCHEMA]

# RISK LEVEL
[RISK_LEVEL]

To adapt this template, replace each [PLACEHOLDER] with the actual data available for the claim under review. If a methodology detail is missing from the source material, set the placeholder value to "Not Provided" rather than deleting the field—this allows the model to flag the absence as a limitation. The [OUTPUT_SCHEMA] placeholder should contain your desired JSON schema, field definitions, or structured format instructions. The [RISK_LEVEL] placeholder should specify the verification rigor required: use "LOW" for internal exploratory checks, "MEDIUM" for published content with editorial review, and "HIGH" for regulated, compliance, or public-interest claims that require human sign-off before release.

Before deploying this prompt in production, pair it with a validation layer that checks the output conforms to your [OUTPUT_SCHEMA]. For high-risk claims, route outputs scoring above a confidence threshold for human review and log every verification result with the input claim, methodology details, and model version for auditability. Common failure modes include the model hallucinating missing methodology details, accepting the reported margin of error without recalculation, and failing to flag question-wording bias when the wording appears neutral but contains subtle framing. Test against a golden set of known survey flaws—such as small samples, non-probability sampling, and leading questions—to calibrate your eval thresholds before production use.

IMPLEMENTATION TABLE

Prompt Variables

Required inputs for the Survey and Poll Result Verification Prompt. Each variable must be populated before execution. Missing or null values will cause the assessment to degrade to 'insufficient_information' for the affected verification dimension.

PlaceholderPurposeExampleValidation Notes

[SURVEY_CLAIM]

The exact text of the survey-derived claim to verify

Our survey found 62% of developers prefer Rust, with a margin of error of ±3.2%

Must be a non-empty string. Parse for embedded numbers, percentages, and methodological language before verification

[SURVEY_METHODOLOGY_DOC]

Full text of the methodology section, including sampling approach, weighting, and fielding details

We surveyed 1,200 developers recruited via email panel. Responses weighted by region and experience level. Fielded March 1-15, 2025.

Must contain sample size, fielding dates, and recruitment method. If absent, flag methodology assessment as 'insufficient_information'

[SURVEY_RAW_DATA_SUMMARY]

Summary statistics from the raw survey data relevant to the claim

Q14: Language preference. Rust: 744/1200 (62.0%). Python: 312/1200 (26.0%). Other: 144/1200 (12.0%).

Must include numerator, denominator, and response counts. If raw data unavailable, set to null and expect degraded generalizability assessment

[POPULATION_CONTEXT]

Description of the target population the survey claims to represent

Professional software developers in North America with 2+ years of experience

Must define geographic scope, demographic filters, and experience thresholds. Used to assess sample representativeness

[WEIGHTING_SCHEME]

Description of any weighting or post-stratification applied to the data

Responses weighted to match BLS occupational distribution by region: Northeast 22%, Midwest 18%, South 35%, West 25%

Set to null if no weighting applied. If present, validate that weights sum to target population proportions and check for extreme weight values

[SAMPLE_SIZE]

Total number of respondents included in the analysis

1200

Must be a positive integer. Used to calculate margin of error, effective sample size after weighting, and subgroup reliability. Flag if below 100 for any subgroup claim

[RESPONSE_RATE]

The survey response rate or completion rate if available

8.4% (1200 completes from 14,286 invitations)

Set to null if not reported. If present, flag rates below 10% for non-response bias risk. Validate calculation: completes divided by invitations

[CONFIDENCE_LEVEL]

The stated confidence level for any reported margins of error or intervals

95%

Must be a percentage between 90 and 99 if present. Default to 95% if not stated but margin of error is reported. Flag if confidence level is inconsistent with reported margin of error calculation

PROMPT PLAYBOOK

Implementation Harness Notes

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

The Survey and Poll Result Verification Prompt is designed to operate as a structured verification step within a larger claims-checking pipeline. It expects a pre-extracted claim about a survey or poll result, along with the source methodology document or metadata. The prompt is not a standalone chatbot; it should be called programmatically with a strict JSON output schema so that downstream systems can parse the methodology assessment, bias flags, and generalizability evaluation without manual interpretation.

Input assembly requires three components: the [CLAIM] text (the survey-derived assertion being checked), the [METHODOLOGY_DOCUMENT] (the full methodology section, crosstabs, or technical appendix from the survey source), and an optional [REFERENCE_STANDARDS] block containing accepted industry guidelines such as AAPOR, ESOMAR, or ISO 20252 criteria. If the methodology document is retrieved via RAG, log the retrieval source, chunk IDs, and retrieval timestamp alongside the prompt call. For high-stakes verification, include the [RISK_LEVEL] parameter set to high to trigger stricter tolerance windows and mandatory human review routing.

Output validation must enforce the expected JSON schema before the result enters any downstream system. Key checks include: (1) sample_size_assessment contains a numeric reported_n and a boolean adequate_for_claimed_moe; (2) bias_flags is a non-null array with each flag having a type, severity, and evidence field; (3) generalizability_score is an integer between 1 and 5; (4) margin_of_error_verified is a boolean with an accompanying calculated_moe and claimed_moe for comparison. If the model returns malformed JSON, use a repair prompt with the schema and the raw output, but limit repair attempts to two retries before escalating to a human reviewer with the original claim and methodology attached.

Model choice and latency budgeting matter here. For high-throughput batch verification of low-risk survey claims (e.g., internal tracking polls), a fast model like GPT-4o-mini or Claude Haiku with a 5-second timeout is sufficient. For high-stakes claims (published election polls, medical survey results, regulatory submissions), route to a more capable model like GPT-4o or Claude Sonnet with a 30-second timeout and enable thinking tokens for complex methodology analysis. Always log the model version, prompt template version, and latency for audit trails.

Human review routing should be triggered automatically when any of these conditions are met: generalizability_score is 2 or lower, any bias_flags entry has severity of critical or high, margin_of_error_verified is false, or the sample_size_assessment.adequate_for_claimed_moe is false while the claim is published externally. Package the full prompt input, raw model output, parsed JSON, and any validation errors into a review queue payload. Do not auto-publish or auto-accept survey verification results that fail these gates.

Testing and eval require a golden dataset of 20–30 survey claims with known methodology flaws and correct assessments. Measure precision and recall on bias flag detection, exact match on margin_of_error_verified, and mean absolute error on calculated_moe versus ground truth. Run this eval suite on every prompt template change and log results before promoting to production. Common failure modes include the model accepting a claimed margin of error without recalculating it from sample size, missing non-response bias when response rates are buried in footnotes, and over-generalizing findings when the sample frame is clearly restricted.

IMPLEMENTATION TABLE

Expected Output Contract

Fields, types, and validation rules for the structured JSON response returned by the Survey and Poll Result Verification Prompt. Use this contract to build downstream parsers, eval checks, and human-review routing logic.

Field or ElementType or FormatRequiredValidation Rule

verification_id

string (UUID v4)

Must match regex ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$

claim_summary

string (<=280 chars)

Non-empty; must not be identical to [INPUT_CLAIM]; must be a re-statement, not an evaluation

methodology_assessment

object

Must contain sampling_method, weighting_method, and mode_of_administration sub-fields; each sub-field must be a non-empty string or null

margin_of_error

object

Must contain reported_moe (number or null), confidence_level (number or null), and calculated_moe (number or null); at least one must be non-null

sample_representativeness

object

Must contain assessment (string enum: representative, unrepresentative, insufficient_info) and bias_flags (array of strings, min 0 items)

generalizability_score

integer (1-5)

Must be an integer between 1 and 5 inclusive; 1 = not generalizable, 5 = highly generalizable

non_response_bias_risk

string enum

Must be one of: low, medium, high, unable_to_assess; if unable_to_assess, evidence_notes must explain why

evidence_notes

array of strings

Min 1 item; each item must be <=500 chars and reference a specific methodological element or data point from [SURVEY_METADATA]

PRACTICAL GUARDRAILS

Common Failure Modes

Survey and poll verification breaks in predictable ways. These cards cover the most common failure modes when checking survey-derived claims and how to build guardrails that catch them before publication.

01

Sample Size Misrepresentation

What to watch: Claims that cite a survey of 1,000 respondents but report subgroup percentages as if they carry the same precision. A 50-50 split on a 100-person subgroup has a ±10% margin of error, not ±3%. The model often applies the overall sample size to every breakdown. Guardrail: Require the prompt to extract and verify subgroup sample sizes separately. Add a harness check that flags any subgroup claim where the effective sample size is below a minimum threshold and recalculates the margin of error for that subgroup.

02

Margin of Error Omission

What to watch: Survey claims reported as point estimates without confidence intervals. A claim that '42% of voters support the measure' is misleading without the ±4% margin of error at the 95% confidence level. Models often accept bare percentages as precise facts. Guardrail: Add a required output field for margin of error. If the source does not report it, the prompt must flag the omission and calculate a conservative estimate using the reported sample size and design effect assumptions, marking it as derived rather than sourced.

03

Non-Response Bias Blindness

What to watch: Surveys with response rates below 20% where the model treats results as representative without questioning who chose not to respond. Low response rates can systematically exclude certain populations, but verification prompts often skip this check entirely. Guardrail: Include a mandatory non-response bias assessment step in the prompt. Require the model to check for reported response rates, compare respondent demographics to known population benchmarks when available, and flag any response rate below 30% with a generalizability warning.

04

Weighting Methodology Acceptance

What to watch: The model accepts weighted results at face value without examining whether the weighting variables are appropriate, whether weights are within reasonable bounds, or whether weighting introduced variance inflation. A survey weighted to match census demographics can still be wrong if the weighting variables do not correlate with the measured attitudes. Guardrail: Add a weighting audit step that checks for reported design effects, weight ranges, and trimming procedures. Flag any survey where the effective sample size after weighting drops below 50% of the nominal sample size.

05

Question Wording Effect Neglect

What to watch: The model verifies the numeric result but ignores how the question was phrased. 'Do you support the freedom to choose?' and 'Do you support unrestricted access?' can produce 20-point differences on the same topic. Verification prompts that skip question wording review produce false confidence. Guardrail: Require the prompt to extract and reproduce the exact question wording, response options, and order context. Add a harness check that flags leading language, double-barreled questions, and unbalanced response scales, and downgrades confidence when question wording is not available.

06

Temporal and Mode Confusion

What to watch: The model compares a phone survey from 2022 to an online panel from 2024 and treats the difference as a real trend rather than a mode effect. Survey mode, field period, and population frame changes are often invisible to verification prompts that focus only on the numbers. Guardrail: Add required metadata extraction for survey mode, field dates, sampling frame, and panel source. When comparing two survey results, require the prompt to check whether mode, frame, or field period differ before concluding a trend exists, and flag mode-switch confounds explicitly.

IMPLEMENTATION TABLE

Evaluation Rubric

Run these checks against a golden dataset of 20-30 verified survey claims with known methodological issues. Each criterion targets a specific failure mode in survey verification.

CriterionPass StandardFailure SignalTest Method

Sample Size Adequacy Detection

Prompt correctly flags when sample size is below minimum threshold for claimed population size and confidence level

Prompt accepts insufficient sample without comment or applies wrong minimum threshold

Golden set includes 5 claims with known n<30, n<100, n<385 for large populations; check flag rate against ground truth

Margin of Error Calculation Verification

Prompt identifies when reported MoE is mathematically inconsistent with stated sample size and confidence level

Prompt accepts implausible MoE values or fails to check MoE-sample size relationship

Include claims with MoE mismatches (e.g., ±3% with n=100); verify detection and correct recalculation

Representativeness Assessment

Prompt flags sampling frame mismatches between claimed population and actual surveyed group

Prompt treats any demographic breakdown as representative without checking frame alignment

Test with claims generalizing from student samples to general population, online panels to offline populations

Weighting Methodology Flagging

Prompt identifies missing, inadequate, or improperly described weighting procedures

Prompt accepts unweighted results as representative or ignores weighting entirely

Golden set includes unweighted convenience samples, post-stratification claims without demographic targets

Non-Response Bias Detection

Prompt flags when response rate is unreported or below domain-appropriate threshold

Prompt ignores response rate entirely or applies uniform threshold regardless of survey mode

Include claims with response rates of 2%, 5%, unreported; verify bias flag and severity assessment

Question Wording Effect Recognition

Prompt identifies leading, double-barreled, or loaded question phrasing when provided

Prompt evaluates claim without requesting or analyzing question wording

Supply claims with and without question text; verify prompt requests wording when absent and flags problematic phrasing

Generalizability Overstatement Detection

Prompt catches claims that extend findings beyond surveyed population without justification

Prompt accepts unqualified generalizations from narrow samples

Test with claims generalizing from single-region, single-demographic, or opt-in panel to national population

Temporal Validity Assessment

Prompt flags when survey fielding date is missing or results are presented as current despite stale data

Prompt ignores fielding date or accepts multi-year-old data as current without caveat

Include claims from surveys fielded 2+ years prior presented as current; verify staleness flag and recency recommendation

ADAPTATION OPTIONS

Adapt This Prompt

How to adapt

Start with the base prompt and run it against 5-10 known survey claims. Remove strict output schema requirements initially; accept paragraph-style methodology assessments. Use a single model call without retrieval augmentation.

Prompt modification

Replace [OUTPUT_SCHEMA] with: Return a plain-text methodology assessment covering sample quality, margin of error interpretation, weighting concerns, and generalizability. Remove [CONSTRAINTS] section and add: If you cannot determine something, note it as 'Insufficient information provided.'

Watch for

  • Overconfident language when source details are thin
  • Missing distinction between 'no evidence of bias' and 'evidence of no bias'
  • Conflating margin of error with confidence interval width
  • Accepting self-reported methodology without scrutiny
Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.