Learn AI · Level 3 · Tech and tools · step 5 of 20 · word 4 of 4
What is regression testing for AI prompts?
Regression testing means rerunning a fixed set of test questions every time you change a prompt or model, to catch answers that got worse while you were fixing something else.
In plain English
In software, a “regression” is something that used to work and now doesn’t. AI apps are prone to this: a small change to a prompt, or a switch to a newer model, can fix one problem and quietly break another. So teams keep a set of real example questions with what a good answer looks like, and rerun all of them after every change.
An example
A team tells its chatbot to “be more concise”. Its answers get shorter, but the test set shows it has stopped mentioning the returns deadline, so they adjust the prompt before releasing it.
What to watch out for
A test set only catches what it covers. Add new examples whenever users find a mistake, and check a sample of results by hand, not just the automatic scores. See evals.
Learn AI path · Level 3 · Tech and tools · step 5 of 20
Done? Next stepHow to run AI on your own computer →See all of level 3