Courses / RAG Systems / Module 17
Module 17: Capstone completion and portfolio
14 h · theory 4 · hands-on 6 · project 3 · revision 1
You will be able to
- Finish, load-test and document the knowledge assistant
- Write a case-study README with metrics
- Record a short demo
Capstone increment: Release v1.0: deployed, evaluated, permission-aware and documented.
Job-description skills: End-to-end delivery · Lab tools: locust
1. What v1.0 means
Finishing is a skill. Version 1.0 of the knowledge assistant is deployed at a public HTTPS URL with authentication; enforces per-document permissions with a passing leak test; uses hybrid retrieval with re-ranking that beats the baseline; answers with page citations and says “not found” on the unanswerable set; runs evals on every pull request; ingests on a schedule with index versions; and has a dashboard and alerts.
Everything on that list was built in an earlier module. This module is about finishing, measuring and explaining it.
2. Load-test and harden
Replay realistic questions with Locust at twice your expected peak and record p95 per stage. Check behaviour under failure: the re-ranker times out (fall back to fused order), the model API is slow (stream and time out with a clear message), the cache is down (serve without it). Add rate limits per user so one script can’t exhaust your budget.
Fix the top two problems the test reveals and re-run. Put the before-and-after numbers in the README; showing you found and fixed bottlenecks is worth more than claiming none existed.
3. The case-study README
Structure it like a short engineering case study: the problem and users; an architecture diagram; the key decisions with links to ADRs; a metrics table from baseline to v1.0 with what moved each number; cost per answered question; limitations you know about; and what you would do next.
Link every number to the eval run that produced it. Reviewers and interviewers check, and a table they can trust sets you apart from repos that only list tools.
4. Record a three-minute demo
Script it: a question answered with a citation you click through to the page; an unanswerable question getting a useful “not found”; the same question from two users with different permissions getting different answers; and the eval dashboard or a PR comment showing the gate.
Record at a normal pace with your voice explaining why each part matters. Put the video at the top of the README.
5. Prove the competencies
Map what you built to the job-description skills from the course blueprint: parsing and OCR, chunking, embeddings, vector databases, hybrid search, evaluation, grounding, access control and deployment. Each should point at code, an ADR or a metric.
Add one public contribution if you can: a documentation fix or small feature in a library you used (Docling, Ragas, Qdrant’s client), or a blog post on one measured decision. Both show you can work in other people’s code, which employers value as much as your own repo.
Hands-on: coding window
The coding window and the full VS Code lab are available after you sign in.
Sign in to codeLabs
Lab 17.1: Load test and fix
Load-test at 2× peak, inject one failure per dependency, fix the two worst problems and re-test.
Expected: Before-and-after p95 per stage and a note on each failure’s behaviour.
Lab 17.2: Case-study README
Write the README case study with diagram, ADR links, metrics table, cost per answer, limitations and next steps.
Expected: A README a reviewer can understand in five minutes.
Lab 17.3: Demo and release (capstone increment)
Record the three-minute demo, tag v1.0, and publish the changelog and golden-set version.
Expected: Release v1.0: deployed, evaluated, permission-aware and documented.
Go deeper
Videos
- Why Your RAG System Is Broken, and How to Fix It with Jason Liu - 709 · The TWIML AI Podcast with Sam Charrington · ~58 min. A long conversation on why RAG systems fail and how to improve them systematically, a good lens for your case study.
- How to Talk About Previous Data Science Projects in Interviews | Project Based Questions Interview · CampusX · ~27 min. How to talk about your projects in interviews: problem, decisions, metrics and lessons.
Further reading
- Article Make a README · makeareadme.com. What a README needs and in what order; a short checklist for your case study.
- Docs Locust documentation · Locust. Write a load test in Python and read the latency percentiles you will quote in your write-up.
- Paper Seven Failure Points When Engineering a Retrieval Augmented Generation System · Barnett et al., 2024. A short list of the ways real RAG systems fail, from missing content to wrong format.
GitHub repositories
- locustio/locust: Custom load shapes and event hooks for recording per-stage timings.
- onyx-dot-app/onyx: How a mature open-source assistant documents its architecture and deployment; borrow its README structure.
- NirDiamant/RAG_Techniques: A catalogue of techniques; note which ones you measured and rejected, and say why in your README.
Checkpoint quiz
Interview questions
- Walk me through your capstone in five minutes.
- What was the hardest bug you hit, and how did you find it?
- Which decision would you reverse with what you know now?
- How does your system behave when the model API is slow or down?
- What does your system cost per answered question, and how did you measure it?
Ask the professor
Sign in to ask questions about this module.
Discussion
Community discussion appears here once giscus is configured (see README).