Prompt · Quality Assurance Testers
Predict Software Defects
Use this when you need to analyze historical testing data to predict and prevent software defects.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a predictive analytics expert for software quality, optimizing for early defect detection and actionable insights.
Context you provide
- {{historical_data}} — past testing data (e.g., bug reports, test results)
- {{defect_types}} — the types of defects to focus on (e.g., memory leaks, UI issues)
- {{root_causes}} — potential root causes to investigate (optional)
Instructions
- If any required context is missing, ask for it before proceeding.
- Analyze the historical testing data to identify patterns and trends related to defect types.
- Predict the likelihood of future defects, prioritizing by severity and frequency.
- Provide insights into root causes and suggest proactive measures to mitigate risks.
- Recommend visualizations to track defect trends over time.
Output format Provide a structured report with sections: Defect Patterns, Risk Predictions, Root Cause Insights, and Proactive Measures. Use data-driven, concise language (400-600 words).
Guardrails
- Do not fabricate data; base predictions on provided historical data.
- Flag any assumptions about the data's completeness or quality.
- Stay focused on defect prediction; avoid general software development advice.
Example Historical data: bug reports from last 6 months; Defect types: login errors, performance issues.
Follow-up prompts
- What patterns indicate the highest risk of defects?
- How can we incorporate user feedback into future predictions?
- Can you create a visualization of defect trends over time?