Regression Bisect Plan
A plan to narrow a wide regression window down to the change that caused it.
Intermediate · Works with ChatGPT, Claude, Gemini, Copilot
The prompt
Help me bisect a regression down to its cause.
What changed between the last known-good state and now:
{{CHANGE_WINDOW}}
Symptom and how it's currently detected:
{{SYMPTOM}}
Propose a bisection order: which points to test first because they're cheapest to check or most likely to be the cause. For each step, say what result would confirm or rule it out. If the window is too coarse to bisect usefully, say what finer-grained checkpoint I'd need first instead of guessing.Why this prompt works
Ordering candidates by cost-to-test rather than checking them chronologically gets to the cause faster than a linear walk.
How to customize it
- Give the actual commit list or deploy log, not a summary
- Include any partial data on when the symptom started
Common mistakes
- Treating the first suspicious diff as the answer without testing it
- Skipping the confirm/rule-out criteria and just guessing
Example
Input
What changed: 47 commits merged over 3 days, one deploy to prod each morning
What a good answer looks like
An ordered list of checkpoints to test, each with a fast confirm/deny signal.
Make this prompt fit your work
ModelCoach.ai scores your version, shows what to improve and explains why, right inside ChatGPT, Claude, Gemini and Copilot.