Loading course…
Loading course…
Evaluating LLM applications: error analysis, LLM-as-judge, RAG and agent evals, CI/CD and monitoring, review interfaces and cost.
Based on the Hamel Husain and Shreya Shankar course · lessons written for this course
🎯 Practice
Mixed rounds, plus fresh AI questions on your weak spots
🎤 Mock interview
An AI interviewer with follow-ups, then a scorecard
🧐 Design review
Paste a design or code; get a senior engineer's review
Why LLM apps need evals, the three gulfs, the analyze-measure-improve loop, and what a good prompt and a good metric look like.
Build a starting dataset, read traces, open-code failures, group them with axial coding, and count what's actually broken.
Error analysis on conversations, benevolent dictators, rubrics, and measuring annotator agreement with Cohen's kappa.
Choosing what to measure, code-based checks, writing LLM-as-judge prompts, and splitting labeled data to build a judge you can trust.
Refining a judge against human labels, TPR and TNR, correcting a biased judge's success rate, and confidence intervals.
Retrieval metrics, synthetic queries, generation quality, tool calls, failure funnels and non-text inputs.
Regression suites in CI, async evals and guardrails in production, and keeping your judges accurate over time.
Why custom review tools beat spreadsheets, what makes them fast, and how to pick which traces humans should read.
Fixes from quick wins to structural changes, prompt caching, and model cascades tuned with logprobs.
Do HW1 and HW2 on the Recipe Bot: write the system prompt, generate queries from dimensions and tuples, open and axial code traces, and count failure modes.
Label recipe traces, split them, write and tune a dietary-adherence judge on dev, report test TPR/TNR, then correct the pass rate with judgy.
Build a BM25 recipe retriever, generate and filter a synthetic query set, score Recall@k and MRR, read the misses, and test fixes like query rewriting.
Label each failed agent trace with its last success and first failure, count the pairs into a heatmap, and turn the hot cells into traces to read and fixes.
Tracing, datasets, experiments, scorers, annotation and online evals across three platforms, how to choose one, and when a notebook or custom UI is better.
Turning "looks good and scans" into validated evals for a diffusion model, catching a silent eval bug, and using best-of-n to hit a 95% scan target.
Seven ways RAG systems fail silently, from missing docs and bad chunks to vague queries, insufficient retrieval, fake citations and data that changes underneath you.
Making judges more reliable by spending more compute: RL-trained reasoning judges, multi-call judge pipelines, when voting helps, and the cost and latency trade-offs.
Isaac Flath rebuilds a RAG annotation app agent-first: shared context files, a markdown plan you edit by hand, browser testing through a small MCP server, then your own checks.
Three case studies on maturing evals: accurate metrics before launch, discerning ones for model swaps, and scores aligned with user feedback at scale.
Intuit's playbook for trustworthy agents: trace first, design and check dataset coverage, one North Star metric with an error-cost threshold, aligned judges, feedback loops.
A physician turned AI engineer on why specialized domains need expert reviewers, how to design their review dashboard, and turn reviews into fixes.
Span, trace and session evals for agents, trajectory metrics and convergence, and prompt learning from judge explanations and expert annotations.
A product manager's first four weeks of evals: reading traces in Airtable, a keyword check that beat a judge, cached helpers, and a failure cut from 81% to 3%.
Jeremy Howard and Johno Whitaker on working in small, inspected steps with AI, editing rather than scolding the model, and building an eval you check yourself.
A live bake-off of two note-takers and two app builders: how to probe a product, sort what breaks, and turn a single failure into a repeatable eval.
Omar Khattab on programming rather than prompting: signatures, modules and optimizers, why the metric is the spec, and when prompt optimization helps.
Answers from four early office hours: no production data, long traces, sampling, annotator disagreement, judge alignment, stakeholder metrics and when to fine-tune.
Answers from the later office hours: chunking and linked documents, citations, run-time guardrails, comparing models, LoRA costs, label storage and changing team habits.