Overview

This week's lab measured a small RAG system by hand: 21 questions, retrieval scores you could compute yourself, and faithfulness checked by reading the answers. That works for a class exercise. This module is about what happens at a different scale — thousands of questions, no time to read every answer, and a system that keeps changing after you ship it. It covers how retrieval and generation checks are automated (RAGAS-style metrics), what those automated checks get wrong, and how to keep watching a RAG system once it is live.

Why This Matters

Every automated check in this module exists to avoid reading every answer yourself, and every one of them has a catch — learning the catches is the point. Splitting retrieval from generation tells you which half of the pipeline to fix when an answer is wrong. An LLM-as-a-judge score can agree with humans most of the time on one benchmark and still carry known biases, so it has to be calibrated against a labelled sample before you trust it — the same instinct behind the lab's faithfulness spot-check. And because a RAG system can break without a single line of code changing — a document gets added, removed, or superseded — the habit of re-running your test set after the corpus changes matters as much as the first check you ever wrote.

Format and Timing

What You'll Learn

Required Materials

Optional Materials

If you want to go deeper on any of these topics (not required, but helpful if you're curious):

Completion and Assessment

This module is graded on completion. Submit your answers to the 4 questions on E3 before Sunday, November 8, 23:59. You'll receive full credit for completing all questions; partial credit is not available. The questions are based on the readings and the framing video, so doing the readings first will make them straightforward.

← Back to Calendar