All patterns
P-04 · Patterns

Continuous evaluation loop

Real production failures become test cases that every new prompt or model version must pass.

avaliacao-continua.archClick a component in the diagram
Evaluation · Runs the new version against the cases and compares metrics.
Problem

Prompt or model changes ship on gut feeling. An improvement in one case breaks others and nobody notices.

Solution

A versioned evaluation set, fed by real traces, runs on every change. Releases happen only if metrics do not regress.

When to use
  • →Any AI system in production
  • →Teams that change prompts often
  • →Model switches or upgrades
## Trade-offs
  • +Evidence-based changes
  • +Regressions caught before users see them
  • −Cost of running evaluations
  • −Requires curating the cases