Skip to content

Courses / GenAI & LLM / Module 15

Module 15: Capstone completion and portfolio

16 h · theory 5 · hands-on 6 · project 3 · revision 2

You will be able to

  • Finish, load-test and document the capstone
  • Write a case-study README and blog post
  • Record a 3-minute demo
  • Make one open-source contribution

Capstone increment: Final release v1.0: deployed, monitored, evaluated and documented.

Job-description skills: End-to-end delivery · Lab tools: locust

1. Finish, don’t start

By now every component of the capstone exists: extraction with validation, confidence routing and review, evals in CI, routing and caching, tracing, guardrails and automated deployment. This module turns it into a finished v1.0: everything wired together, measured, documented and stable under load.

Make a release checklist and work it: all golden-set evals pass; load test meets the latency target; alerts fire in a test; the rollback runbook works; the system card and data map are current; a stranger can run it from the README.

UploadPOST /extractParsePyMuPDFRoutercache → small → largeValidatePydantic + retryRouteaccept / reviewGuardrailsPII, injectionTracingLangfuseEvals in CIgolden set gateDeployDocker + CI/CDStructured document extraction service (v1.0)Around it
Every box was built in an earlier module. Module 15 is about finishing, measuring and explaining it.

2. Measure it under load

Load-test with Locust: script realistic user behaviour (upload, poll, review), ramp up concurrent users, and record throughput, p50/p95/p99 latency and errors. Report percentiles: the mean hides the slow tail that users actually feel.

Find the bottleneck from traces, not guesses: is it the model, parsing large PDFs, the database or the queue? Fix the biggest one, re-run, and record before and after. That before/after pair is one of the strongest things you can show an interviewer.

In production: Load tests that call a paid model API cost real money. Run them against a local or mocked model first, then a short, capped run against the real one.

3. A README that sells the work

Hiring managers spend about a minute on a project README. Lead with what it does and the results in numbers (accuracy, cost per document, latency, review rate), then the architecture diagram, the key decisions with their trade-offs (link the ADRs), a demo, and how to run it.

Be honest about limitations and what you'd do next. It signals judgement, and it pre-empts the hardest interview questions.

4. Show it: demo, write-up and open source

Record a three-minute demo: the problem in one sentence, a live run including a document that goes to review, the eval dashboard, and one decision you're proud of with its numbers. Keep it tight; rehearse it.

Write a blog post on the most interesting problem you solved (calibrating confidence, the router's cost savings, a prompt injection you caught). Make one open-source contribution to a tool you used in the course: a docs fix, a bug report with a reproduction, or a small feature. It's visible proof that you can work in someone else's codebase.

Tip: Good first contributions: improve an example in a library’s docs you found confusing, or add a test for a bug you hit. Maintainers welcome both.

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 15.1: Load test and fix one bottleneck

Write a Locust file for the capstone’s main user journey, ramp to the target concurrency against a local model, find the slowest stage from traces, fix it, and re-run.

Expected: Before and after tables of throughput and p50/p95/p99 latency, and a short note on what you changed.

Lab 15.2: Release v1.0 (capstone increment)

Work through the release checklist, tag v1.0, and publish the README with results, architecture, ADR links, demo video and system card.

Expected: A tagged v1.0 release: deployed, monitored, evaluated and documented, runnable by a stranger from the README.

Lab 15.3: Write-up and contribution

Publish a blog post about one problem you solved, with numbers, and open one pull request or well-documented issue on an open-source project you used.

Expected: Links to the post and the contribution, added to the README.

Go deeper

Videos

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.
  • Article Building A Generative AI Platform · Chip Huyen. The components of a production GenAI system added one at a time, with the reason for each.

GitHub repositories

  • locustio/locust: examples/: user classes, wait times and custom shapes for ramping load.
  • mlabonne/llm-course: The LLM Engineer roadmap: check your capstone covers each production topic, and note gaps for after the course.
  • Hannibal046/Awesome-LLM: Find projects related to your capstone where a first contribution would be useful.

Checkpoint quiz

1. Why report p95 latency rather than only the average?
2. What should come first in a project README?
3. How should you find the bottleneck after a load test?
4. Why include limitations in the README?
5. Which is a good first open-source contribution?

Interview questions

  1. Give me a three-minute tour of your capstone: problem, architecture, results.
  2. What was the hardest bug or failure, and how did you find it?
  3. Show me one number you improved and exactly how.
  4. What would you change if this had to handle 100 times the traffic?
  5. What are the known limitations of your system?

Ask the professor

Sign in to ask questions about this module.

Discussion

Community discussion appears here once giscus is configured (see README).