Prompt regression testing

Rerunning a fixed set of test cases whenever a prompt or model changes, to catch answers that got worse.

Prompt regression testing, common card #178 in The Glitch AI glossary: Rerunning a fixed set of test cases whenever a prompt or model changes, to catch answers that got worse.
GLS 178 · common

Also called: Prompt testing, Evals in CI.

For: Builders

Why it matters

A ‘tiny’ prompt edit or model upgrade can quietly break cases that used to work.

In practice

Every code change reruns 100 saved questions and is blocked if accuracy drops.

Watch for

Tests only catch what they cover; turn every real failure into a new case.

Related terms

Golden dataset · Evaluation · LLMOps

Guides that use it

How AI agents fail in production.

Sources

Definition updated 2026-10-29.

The Ultimate AI Glossary (2027): every term