This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Educational course repository for "Systematically Improving RAG Applications" - teaches data-driven approaches to building and improving Retrieval-Augmented Generation (RAG) systems.
# Package management (always use uv)
uv install # Install dependencies
uv add <package> # Add new package
uv sync # Sync dependencies
# Code quality
uv run ruff check --fix --unsafe-fixes .
uv run ruff format .
# Documentation
mkdocs serve # Local dev server at localhost:8000
mkdocs build # Build static site
# Tests
uv run pytest -q # Run testslatest/ # Current course version (weeks 0-6, case study)
cohort_1/ # Previous cohort materials (reference)
cohort_2/ # Previous cohort materials (reference)
docs/ # MkDocs documentation
workshops/ # Main ebook content (chapters 0-7)
office-hours/ # Q&A session summaries
talks/ # Industry expert presentations
- Python 3.11, type hints throughout
- Async-first for I/O operations
typer+richfor CLI toolspydanticfor validation- 9th-grade reading level for educational content
- No emojis in code or docs
- RAG Flywheel: Measure → Analyze → Improve → Iterate
- Evaluation-first: Always measure before and after changes
- Synthetic data: For cold-start problems