Mirage Academy · AI evaluation course

AI evaluation course: catch regressions in prompts, models and agents

You change a prompt, swap a model or adjust agent logic, then hope nothing broke. This course gives you evidence to check against: test cases, graders, a regression gate in CI and monitoring in production. Watch it in a minute, then run a gate on ten example cases yourself.

Open the courseTry a regression gate

The course in a minute

From a vibe check to evidence

AI Evaluation & Testing Engineering is built around one question: did this change break anything?

Still from the intro video for the course AI Evaluation & Testing Engineering
Intro video, 1 min 9 s. Transcript below.
Read the transcript

You change a prompt, swap a model or adjust agent logic, then hope nothing broke. This course is for engineers who want evidence instead. Compare two ways of working. When a change ships, a vibe check tries a few inputs by hand. To judge output, it relies on a feeling. For RAG and agents, it reads only the final answer. And a regression is found by users, not stopped by a gate. You build one loop. You design test cases and datasets. You write graders, from code assertions to model judges calibrated by human review. You add a regression gate in CI. Then you monitor production and feed failures back. Over ten chapters you assemble the pieces, and the capstone joins them into an evaluation suite with a regression gate. If you ship AI features, start with chapter one.

A vibe check

  • Tries a few inputs by hand
  • Judges output by a feeling
  • Reads only the final answer of a RAG system or an agent
  • Lets users find the regression

Evidence

  • Runs designed test cases and datasets
  • Grades with code assertions and model judges calibrated by human review
  • Looks at retrieval and at the steps of an agent
  • Stops the regression at a gate in CI
  1. 01

    Advanced level

    Marked Advanced on its course page.

  2. 02

    10 chapters, 50 lessons

    Each chapter has five lessons, and chapter 10 is the capstone.

  3. 03

    Who it fits

    Engineers and technically minded product people who ship AI features.

The course's intro video with a play button. Below it, two columns: how a change is judged by a vibe check and how it is judged by evidence.

Chapters 1 and 2

Every eval is a case, a run, a grader and a score

The first two chapters take an eval apart. They also ask where good test cases come from and how a dataset stays honest.

  1. 1

    Case

    An input and what a good answer looks like.

  2. 2

    System

    The prompt, model or agent under test.

  3. 3

    Grader

    Code, a model or a person decides.

  4. 4

    Score

    One result per case, then a total.

A dataset of cases

Development / Held outEdge cases and adversarial inputs

  1. 01

    Evidence over vibes

    Lessons: why a demo is not a test, the anatomy of an eval, choosing code, model or human graders, variance and sample size, a first regression baseline and its limits.

  2. 02

    Test cases and datasets

    Lessons: where cases come from, what a case contains, edge cases and adversarial inputs, size and splits, versioning and leakage.

Four steps from left to right: a case, the system under test, a grader and a score. Below, a row of dots stands for a dataset, with a few cyan dots for edge cases and a line that splits it in two.

Chapters 3, 4 and 8

Three kinds of grader, and how they check each other

Code is exact, a model judge reads meaning and a person is the reference. The course covers each one, including its limits and how to calibrate a judge.

  1. Code

    Exact, contains, regex, structure and property checks.

  2. Model judge

    A prompt with a rubric that reads meaning.

  3. Human review

    Sampled cases, a clear rubric and agreement between reviewers.

Human reviewCalibratesModel judge

  1. 01

    Code-based graders

    Lessons: exact, contains and regex, structure checks, property assertions, testing the grader, gates and weights.

  2. 02

    Model-graded evaluation

    Lessons: a judge is a prompt with a rubric, known biases, calibrating against humans, cost and stability, when not to use a judge.

  3. 03

    Human review and calibration

    Lessons: sampling for review, rubrics people can follow, inter-reviewer agreement, adjudication and gold sets, calibrating a judge.

Three cards side by side: a code grader, a model judge and a human reviewer. An arrow runs from the human reviewer to the model judge and says calibrates.

Chapters 5 and 6

Grade the steps, not only the final answer

A RAG system or an agent can go wrong in the middle and still end with a reply that looks fine. These chapters grade retrieval and trajectories too.

A RAG system

  1. Question
  2. Retrieve passages
  3. Answer

An agent

  1. Task
  2. Look up
  3. Call a tool
  4. Call it againA detour a final-answer check would miss
  5. Answer

ProcessOutcome

  1. 01

    Evaluating RAG

    Lessons: retrieval metrics, faithfulness and answer relevance, cases with no answer, where did it fail, scoring citations.

  2. 02

    Evaluating agents

    Lessons: outcome versus process, trajectory metrics, reliability over trials, cost beside accuracy, safe environments and action limits.

Two rows of steps. The first is a RAG pipeline with three steps. The second is an agent run with five steps, where one step is flagged in cyan although the last step, the answer, is correct.

Retrieval from documents: the RAG course →Checking claims against evidence: the hallucination detection course →

Try it: a regression gate

Pick a change, set a tolerance, see if the gate lets it through

Chapter 7 writes a gate and deals with noisy cases. This small example runs one on ten invented cases.

A gate on ten cases

Example data, not a measurement and not the course's own suite.

The change to test
Tolerance for a drop
Baseline score
90%
Score of the change
85%
Lowest score that ships
87%

BlockedThe score of 85 is below the lowest score that ships, 87.

The ten cases

  1. Greets the user by nameWeight 1Baseline score: PassScore of the change: Pass
  2. Explains the refund policyWeight 3Baseline score: PassScore of the change: Pass
  3. Cites its sourceWeight 2Baseline score: PassScore of the change: FailRegressed
  4. Declines a medical diagnosisWeight 3 · Must passBaseline score: PassScore of the change: Pass
  5. Returns valid JSONWeight 2Baseline score: PassScore of the change: Pass
  6. Handles a typo in the questionWeight 1Baseline score: FailScore of the change: PassFixed
  7. Keeps the answer under 80 wordsWeight 1Baseline score: FailScore of the change: Fail
  8. Calls the order tool with the right IDWeight 3Baseline score: PassScore of the change: Pass
  9. Refuses a prompt injectionWeight 1 · Must passBaseline score: PassScore of the change: Pass
  10. Answers in German when askedWeight 3Baseline score: PassScore of the change: Pass

B: a cheaper model at a tolerance of 3 points: Blocked. Score 85, lowest score that ships 87.

  1. 01

    The gate

    Lessons: writing a gate, reports and baseline updates.

  2. 02

    The noise

    Lessons: noise and flaky cases, pinning and recorded outputs.

  3. 03

    The budget

    Lesson: time and cost budgets.

A table of ten example cases with the baseline result and the result of one change. Two choices change the table: which change you test and how much of a drop the gate tolerates. The verdict says ship or block.

The same idea for web tests: the Playwright testing course →

Chapter 9

Evaluation continues after release

Chapter 9 covers production monitoring and online evaluation, down to feeding failures back into the dataset.

  1. 1 Traces
  2. 2 Online metrics
  3. 3 Drift
  4. 4 New cases

Back into the dataset

  1. 01

    Traces for evals

    Chapter 9, lesson 1.

  2. 02

    Online metrics and layered online grading

    Chapter 9, lessons 2 and 3.

  3. 03

    Drift

    Chapter 9, lesson 4.

  4. 04

    Feedback into the dataset

    Chapter 9, lesson 5.

A dotted track with four stations from left to right: traces, online metrics, drift and failures turned into cases. A dotted return path leads from the last station back to the start, the dataset.

Seeing inside a live system: the AI observability course →

Chapter 10

Capstone: an evaluation suite with a regression gate

Five lessons build it, from specifying the system to packaging and handing it over.

  1. 1

    Specify the system and the cases

    Capstone lesson 1.

  2. 2

    Graders

    Capstone lesson 2.

  3. 3

    Run and report

    Capstone lesson 3.

  4. 4

    The regression gate

    Capstone lesson 4.

    Regression gate
  5. 5

    Package and hand over

    Capstone lesson 5.

ShipBlock

Open the course: AI Evaluation & Testing Engineering

Five capstone stations in a row, from specifying the system and the cases to packaging the suite, with a gate before the last station and two outcomes, ship or block.

Next in operations: the AI infrastructure course →Evaluating spoken agents: the voice agent evaluation course →

Questions about the AI evaluation course

  • What is the capstone in the evaluation course?

    The capstone is an evaluation suite with a regression gate. You specify the system and its cases, write the graders, run and report, set the gate, then package the suite for hand over.

  • How is the course organized?

    It has 10 chapters and 50 lessons, five lessons in each chapter. The chapters run from why AI needs evals through datasets, graders, RAG, agents, CI, human review and production monitoring to the capstone.

  • Does it cover model judges?

    Yes. One chapter treats a judge as a prompt with a rubric, covers known biases and how to calibrate it against human review, and asks when not to use a judge at all.

  • How does it differ from the hallucination detection and Playwright courses?

    The hallucination detection course is about checking claims against evidence. The Playwright course is about automated tests for web and AI apps. This course is about the whole evaluation pipeline: cases, graders, a gate and production monitoring.

  • Is the regression gate example the one from the course?

    No. It is a small example written for this page, with invented cases and results. It shows the order of the checks: must-pass cases first, then the score against the baseline.

  • Is there a certificate?

    Yes, we offer certificates, and the Academy gives them a verification code. A certificate is Mirage's own statement and not a state recognized degree.

  • Is there a German version of the evaluation course?

    The course itself is taught in English, while the Academy site offers German and English.