Learn · Module 08 · Prompting and context · Lesson 5 of 6
Testing prompts for regressions
Changing a prompt to fix one case can quietly break five others. A test set catches it before users do.
In short
- A prompt change can fix some cases and break others.
- Keep a test set of real inputs and expected results, and run it on every change.
- Compare case by case, not just the overall score.
This lesson is part of Pro
The first two lessons of every module are free. Pro opens every lesson and every project.
See Pro plansFrom ₹119 a month. No auto-renewal.