S
Study LibraryPractice Lab

Regression Testing and Release Gates

atomic-noteD4 · 2.6%Section: D4 Evals, Testing & DebuggingUpdated 2026-11-15

Treat model, prompt, tool schema, context policy and retrieval changes as deployable configuration requiring regression evidence.

Blueprint area: D4 - Eval, Testing, and Debugging MOC (official domain weight 2.6%).

Engineering principles

  • Create unit tests for policy and parsers, contract tests for tools, integration tests for provider/SDK boundaries and e2e tests for agent behavior.
  • Freeze an evaluation set and run it on the old and new versions; keep release criteria per critical failure class.
  • Track prompt/model IDs and environment fingerprint so a regression can be bisected.
  • Use canary traffic and a rollback strategy when live behavior changes despite passing offline evals.

Failure modes

  • A high average score can hide a severe security regression.
  • Do not interpret an LLM-generated test assertion as evidence without checking its intended oracle.

Check your understanding

  • ☐ Block release on regression in critical acceptance tests.
  • ☐ Verify replayable fixtures never trigger real external writes.

Evaluation Criteria and Grader Design · Application Design and Configuration Management · Exam Blueprint and Coverage

Evidence and verification

  • Provenance: author-written engineering synthesis aligned to exam guide objectives; this is not a transcript or hidden Skilljar lesson.
  • Primary references:
  • Check currency: model options, pricing, API flags, release-specific behavior and runtime permissions can change after the source was read. See Source Register.