What is regression testing?

Definition

AI regression testing turns past tasks and failures into repeatable checks. After a model, prompt, tool or workflow changes, the system reruns those cases and compares quality, actions, safety and outcomes with an accepted baseline.

Regression tests protect known behavior but do not discover every new failure. A useful suite grows from real traces, remains representative of current work and separates genuine improvement from changes that merely fit a narrow test set.

ELI5

Regression testing reruns checks for behavior that worked previously after an AI model, prompt, tool, or workflow changes. It helps reveal when an improvement in one area accidentally breaks an accepted result somewhere else.

For example, after updating a support agent, a team can rerun cases based on earlier failures and compare answers, actions, safety, and cost with the accepted version. The suite should keep growing because known cases cannot reveal every new problem.

What belongs in an AI regression test?

It should include a stable task, inputs, environment assumptions, expected constraints and a scoring method for the resulting actions or outcome.

When should AI regression tests run?

They should run when models, prompts, tools, policies or workflow code change and regularly enough to detect drift in production behavior.

  1. Sofia Jakovcevic beside the words agent regression tests.
  2. Gabriel Spencer-Harper beside the headline Verify AI Code
  3. Ameya Bhatawdekar beside the headline Your Evals Must Evolve
  4. Blue and white headline 'DOCS TO WORKING CODE' beside a blue document, white arrow and white code brackets, on black.
  5. Theo Browne in blue with one hand under his chin beside the blue and white “AI PERFORMANCE SPRINT” headline on black.
  6. Theo Browne and Boris Cherny beside the blue and white headline Automate the Failure Class against a black background.
  7. Daniel Walsh beside the blue and white headline “CODING AGENTS - REVIEW AND LEARN” on a black background.
  8. Dave Plummer against a black background beside the blue-and-white headline “CLONING IS NOT PROOF”.
  9. A flat blue code-bracket illustration around a white checkmark above the headline Fix Then Verify on a black background.
  10. Erik Chen in glasses and a blue top at right beside the blue and white headline "REFACTOR WITH HUMAN REVIEW" on black.
Definition card for regression testing: What is regression testing?

AI regression testing reruns preserved cases to detect whether a model or agent update has broken behavior that previously worked.