How it works · 8 of 27 Core

What is a regression test suite for an AI model?

Every fixed failure stays fixed

Regression suites: Every bad answer that gets fixed is saved as a test (the question plus what a good answer must contain) and the whole set runs before each release, because a change that fixes one answer often re-breaks another, and without the suite customers find it first.

Loading the animation…

Say it like this A regression suite turns every bad answer you have ever fixed into a saved test that runs before each release, so a change that fixes one thing cannot quietly re-break another.

Under the hood — for builders
Worked example: one update, some answers better, some worse
Chen, Zaharia and Zou re-ran the same questions in March and June 2023. Prime or not: GPT-4 went from "84% accuracy" to "51% accuracy"; GPT-3.5 rose "from 49.6% to 76.2%".
Same update, code
Code that ran as is fell from 52.0% to 10.0% for GPT-4. Their conclusion: an update "can have unexpected side effects on its behavior in other tasks."
Terms: regression
Regression: something that worked stops working after a change. Regression test: the input that once failed, plus a check of what a good answer must contain.
Terms: suite and gate
Suite: all the regression tests, run together before every release. Gate: the rule that a release ships only if the suite passes.
Our arithmetic: more fixes, more to break
Suppose each change has a 5% chance of re-breaking any one earlier fix (our assumption). With 5 fixes, a release breaks one 23% of the time; 20, 64%; 50, 92%.
Software knew it first
Wikipedia: "a fix for a problem in one area inadvertently causes a software bug in another area"; "regression test suites tend to grow with each found defect".
OpenAI's evaluation guide
"Set up continuous evaluation (CE) to run evals on every change", "grow the eval set over time" and include "typical cases, edge cases, and adversarial cases."
How to run it
Each fixed report becomes a test that day · exact checks where possible (refund window, Hindi reply), an AI judge where not (B2) · run on every change.
Typical size
Starts with the golden set (B1) and grows by one case per fixed failure; hundreds of cases is normal, and cheap next to one customer-found regression.
Measure it
Share of releases blocked by the suite · regressions found by customers vs by the suite · pass rate per release · time from report to test.
Watch out
Checking exact wording, not facts · flaky tests (a model answers differently each run) need several runs per case (E2) · deleting a failing test to ship.
Sources
Chen, Zaharia & Zou, arXiv 2307.09009 (2023) · OpenAI, Evaluation best practices · Wikipedia, Regression testing · read 21 Nov 2026 · our arithmetic, 21 Nov 2026.

What happens in the regression suites animation, step by step?

Regression suite on: No suite

  1. Each mole is a bad answer the support bot once gave. Five were fixed months ago. Today a customer reports a new one: the bot invented a ₹99 fee.
  2. The team hammers it down: one line added to the prompt, release v13. The fee answer is fixed.
  3. Two old moles pop up in front of customers: the edit re-broke the refund rules and the Hindi replies. One 2023 GPT-4 update fell from 84% to 51% on a maths test.
  4. Fix those two in v14 and the fee mole pops back. Customers found all three. Your turn: switch the suite on, above the picture.

Regression suite on: Suite on

  1. The regression suite: every failure ever fixed is saved as a test, its question plus what a good answer must say, and pinned under a glass cup.
  2. The same edit, v13, runs against every cup before release. Two cups rattle red: the refund rules and the Hindi replies broke. Release blocked; customers see nothing.
  3. The edit is fixed and re-run: 6 of 6 pass and v13 ships. The fee mole gets a cup of its own, so the suite only grows. Next: an agent's answer passes, but was its path safe?

What everyday example explains regression suites?

Whack-a-mole. Each mole is a bad answer, the mallet is a prompt or model change, hitting one makes others pop up, and a glass cup over every hole is a saved test that rattles before release.

Why should a team care about regression suites?

Every team that fixes AI answers by editing prompts or swapping models must decide whether a release can ship; without a suite that holds every past failure, the answer is a guess and the customer is the test.