Evals in CI
Someone tidies a prompt, removing a sentence that "didn't seem to do anything". Three weeks later a customer notices the bot has stopped asking for order numbers. If the eval suite had run on that pull request, it would have flagged twelve failing cases before the change merged. Evals only protect you if they run every time, automatically, like tests.
In this lesson you'll learn to
- Decide what should trigger an eval run (prompt, model, retrieval, tool and dependency changes) and split the suite into fast per-change checks and slower scheduled runs.
- Set pass and fail rules that block regressions, with hard limits, tolerances against a baseline and must-pass cases.
- Keep CI evals stable and affordable with pinned model versions, low temperature, response caching and repeats for flaky cases.
- Report results on the pull request and close the loop by running the same graders on production traffic and adding new failures to the set.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.