What is a regression eval, and why does every AI change need one?

Answered by Falk Gottlob · Reviewed · 2 min read

THE SHORT ANSWER

A regression eval is a fixed set of test cases your AI product already passes, rerun after every change to catch anything that broke. Anthropic's engineers say it should hold a nearly 100% pass rate, so any drop is a signal. Every change needs one because AI changes break things quietly. A prompt tweak, a model swap, or a new tool can fix one case and break three others. Start with 20 to 50 cases from real failures. Run them on every change, and hold the release when one fails.

In normal software, the same input gives the same output, and a change touches the code you edited. AI products don't work that way. You reword one line of a prompt to fix a refund question, and the shipping answers get worse. A new model is better on average and worse on your hardest customer.

So every change needs a check on everything that already worked. That's the regression eval.

Think of it as the product's memory. Each time someone fixes a failure, the case goes into the suite with a one-line pass rule. Over a year, the suite becomes a list of every mistake the product has made, and none can come back unnoticed.

Keep it separate from the capability eval, which measures what you're still trying to reach. The two want opposite scores. Mix them and a 90% result means nothing.

Intercom, which makes the Fin support agent, put the stakes plainly when it launched its evals and releases tools: "a 1% regression could affect thousands of conversations a day." In its simulations, "if any single criterion fails, the Simulation fails."

My rule for a first suite: pass or fail checks only, the cheapest grader that works, and code before an AI judge wherever you can. GitHub's team breaks about 100 working code repositories on purpose and checks whether the model can fix them. The repositories' own tests do the grading.

The test setup, release gates, and templates are in Evals for Engineers. If evals are new to you, start with Evals From Zero. The rest of the series is on the AI evals hub.

SOURCES

THE LONG VERSION

RELATED ANSWERS

If this was useful, The AI Product Transformation is where I share more of it.

One email every Monday with the week's best posts and what changed on the site.

Unsubscribe anytime. Read past issues.