NewProject Coding is here — build features and fix bugs in real codebases with an AI assistantSee what's new
Back to LearningAdvanced

AI Evals: Testing and Monitoring LLM Applications

This course follows one support assistant to teach how to evaluate LLM applications: success criteria, error analysis, eval datasets, trustworthy LLM judges, version comparisons, RAG and agent evaluation, and production monitoring.

10chapters
6hours
AuthorH. Liu·Staff ML Engineer·
TikTokEx-TikTok

About this course

An LLM feature that demos well can still fail a fifth of real users in ways nobody has written down. Evals are how you find those failures, measure them, and know whether your next change fixed them or made things worse.

This course teaches evaluation the way AI engineering interviews probe it. You start by turning "is it good?" into criteria you can test, read real outputs to see what actually fails, build the eval set and an LLM judge you can trust, decide whether a new version is really better, evaluate retrieval-augmented assistants and agents, and keep measuring once real users arrive. By the end you can answer "how would you evaluate this?" with a plan, not a list of metric names.

What You Will Learn

  • How to turn "is it good?" into testable success criteria and pick the cheapest grader for each one: a code check, a reference metric, an LLM judge, or a human
  • How to read real traces, group failures into a taxonomy, and decide which ones need a fix and which need an evaluator
  • How to build an eval set from traffic, known failures, and synthetic cases, label it reliably, size it, and keep it current
  • How to write an LLM judge, measure its agreement with human labels, handle its biases, and correct the pass rate it reports
  • How to tell whether a new prompt or model is really better despite noise and nondeterminism, and gate regressions before they ship
  • How to evaluate a RAG system, tell a retrieval failure from a generation failure, and measure faithfulness
  • How to evaluate agents and multi-turn conversations on outcomes, trajectories, tool calls, and reliability across repeated runs
  • How to measure quality in production with sampled online evaluators and user signals, and feed failures back into the eval set
  • Optional: how to red team an assistant and measure attack success and over-refusal

How This Course Works

The chapters follow one assistant: a support bot that answers from help-center articles and, in agent mode, can look up accounts and issue refunds. Each chapter adds one piece of its eval system, from the first success criteria to monitoring live traffic.

Every chapter starts with the simple approach a team usually tries first, such as a single overall score, one run of each version, or an untested LLM judge, then shows where it gives a misleading number and what replaces it. Agreement rates, pass rates, and sample sizes appear as worked numbers, not just formulas. Each chapter stands on its own, so you can read the one your next interview needs.

Who This Course Is For

This course is for AI engineers and ML engineers preparing for interviews on LLM products, QA and SDET engineers moving into AI quality roles, and technical AI PMs who need to judge whether an AI feature works. You should already know how LLM applications are built, for example from LLM Engineering 101. No statistics beyond averages and percentages is required.

This is not a course on building agents, running online A/B tests, or testing the non-AI parts of an application; sibling courses cover those.

Chapters