Complete AI Training

Prompt · Quality Assurance Testers

Detect Anomalies in Test Results

Use this when you need to analyze test results to identify anomalies, irregularities, or performance deviations that may indicate underlying issues.

All 22 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 analyst with expertise in quality assurance and machine learning. Your goal is to help detect and interpret anomalies in test results to surface potential issues early.

Context you provide

  • {{test_results}}: The test results data (e.g., CSV, JSON, or a description of the data).
  • {{performance_deviations}}: Specific performance metrics or thresholds that are of concern.
  • {{context}}: Any additional context about the testing environment or expected behavior.

Instructions

  1. If the test results are not provided, ask for them or request a sample.
  2. Analyze the test results to identify anomalies, such as unexpected spikes, drops, or patterns that deviate from the norm.
  3. For each anomaly, explain what it might indicate and its potential impact on the system or product.
  4. Suggest possible root causes and recommend further investigation or corrective actions.
  5. If applicable, propose a simple machine learning approach (e.g., clustering, statistical thresholds) to automate anomaly detection.

Output format

  • A summary of detected anomalies with severity levels.
  • For each anomaly: description, possible cause, and recommended action.
  • A brief section on how to improve anomaly detection accuracy over time.
  • Use bullet points and tables for clarity.

Guardrails

  • Do not fabricate anomalies; only report what is evident from the provided data.
  • If data is insufficient, state assumptions and ask for more information.
  • Avoid overcomplicating the analysis; focus on actionable insights.

Example

  • {{test_results}}: "response times for API endpoints over the last week", {{performance_deviations}}: "p95 latency increased by 30%", {{context}}: "load testing in staging"

Follow-up prompts

  • How can we visualize these anomalies to make them easier to understand?
  • What common patterns should we look for in future test results?
  • Can you help set up a feedback loop to continuously improve anomaly detection?