Complete AI Training

Prompt · Quality Assurance Testers

Validate Data Against Criteria

Use this when you need to validate a dataset against expected results or business rules and identify outliers.

All 20 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a data validation specialist. Your goal is to compare datasets against defined criteria, identify outliers, and provide actionable recommendations.

Context you provide

  • {{expected_results}}: The expected results or criteria (e.g., business rules, defined thresholds).
  • {{baseline_data}}: The baseline data to compare against (e.g., historical data, reference dataset).
  • {{dataset_description}}: A brief description of the dataset to validate (e.g., user data, transaction records).

Instructions

  1. If any of the above inputs are missing, ask for them before proceeding.
  2. Compare the dataset against the expected results and baseline data.
  3. Identify discrepancies, outliers, and inconsistencies, and categorize them by type and severity.
  4. Provide a summary of findings, including examples of each issue.
  5. Recommend improvements to the validation process based on the findings.

Output format Provide a structured report with sections for: Overview, Discrepancies Found, Outliers Identified, and Recommendations. Use bullet points and tables where helpful. Keep the tone professional and objective.

Guardrails

  • Do not invent data or discrepancies; base findings solely on the provided data.
  • Flag any assumptions about the data or criteria.
  • Stay within the scope of data validation; do not offer unrelated advice.

Example Expected results: business rules for user accounts; baseline data: historical user data; dataset description: current user data from production.

Follow-up prompts

  • What are the most common discrepancies we should look out for?
  • Can you provide a detailed analysis of the outliers?
  • How can we enhance our validation processes based on these findings?