Overview
In this project, you'll take the GitQuest RAG pipeline you built across this course and wire it into a single production harness. You'll build a ProductionHarness class that orchestrates retrieval, generation, self-RAG, scoring, and run-log emission across a whole batch of cases, so the pieces you developed lesson by lesson finally run together as one system.
Along the way, you'll replace hard-coded case branching with a case-handler registry, so adding a new failure mode becomes a one-line registration from outside the harness. You'll write handlers to a shared contract, emit run logs in the production shape, and read a batch report that includes cost per passing answer and threshold alerts. You'll finish by running a canary across two configs to surface per-item drift before a config change ships.
This hands-on experience mirrors how production RAG systems are operated and extended in the real world, and it strengthens your ability to ship changes on evidence rather than guesswork. It makes a strong capstone for your portfolio, showing you can take a RAG pipeline from working to production-ready.
What You'll Learn
- ✓ Build a `ProductionHarness` class that orchestrates retrieval, generation, self-RAG, scoring, and run-log emission for a whole batch of cases
- ✓ Replace hard-coded case branching with a case-handler registry, so a new failure mode is a one-line registration from outside the harness
- ✓ Write handlers to the shared `(case, config) -> (result, judgement)` contract, and hand the judge the retrieved context as evidence rather than the answer key
- ✓ Emit run logs in the production shape and read a batch report, including cost per passing answer and threshold alerts
- ✓ Run a canary across two configs to surface per-item behavioral drift before promoting a change
Project Steps
9 steps
- 1 Introduction and Setup
- 2 The Class Skeleton and Its State
- 3 The Case-Handler Registry
- 4 The Handler Contract
- 5 Running and Scoring One Case
- 6 The Batch and the First Run
- 7 Canary Runs
- 8 The Report, and What It Actually Tells You
- 9 Next Steps
Join 1M+ data learners on Dataquest.
- 1
Create a free account
- 2
Choose a learning path
- 3
Complete exercises and projects
- 4
Advance your career


