Skip to content

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.

Sourcespolicies, manualsIngestionparse, chunk, ACLHybrid indexQdrant + BM25/askFastAPI, authCache + rewriteModules 7, 14Retrievefilter, fuse, rerankGrounded answercites or not foundEvals in CIModule 8Traces + costper answerDrift alertsModule 16OfflineOnlineAlways on
Every box was built in an earlier module. The capstone 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.

Tip: Lead with the hardest problem you solved, such as permission-aware retrieval or the not-found path, not with the tech stack.

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.

In production: Tag the release (v1.0), freeze the golden set version it was measured on, and write the changelog. That is how real teams ship.

Hands-on: coding window

The coding window and the full VS Code lab are available after you sign in.

Sign in to code

Labs

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

Further reading

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

1. What should lead your case-study README?
2. Why link each metric to its eval run?
3. During load testing the re-ranker times out. Correct behaviour?
4. What makes the demo convincing?
5. Why freeze the golden-set version at release?

Interview questions

  1. Walk me through your capstone in five minutes.
  2. What was the hardest bug you hit, and how did you find it?
  3. Which decision would you reverse with what you know now?
  4. How does your system behave when the model API is slow or down?
  5. 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).