Back to curriculum
Advanced project·3-4 hours

Retrieval Quality System Project

Build an evaluation contract for lexical, dense, hybrid, and reranked retrieval over a small knowledge collection.

Scenario

A support search service misses exact product codes with dense search and paraphrases with keyword search. You must justify a hybrid design using query-level evidence.

You will demonstrate

  • Implement Recall@k and reciprocal rank.
  • Create query slices and relevance judgments.
  • Separate retriever quality from answer quality.

Project evidence

Complete each deliverable.

Runnable Python lab

Implement Recall@k and reciprocal rank

Score ranked document IDs against a set of relevant documents.

Project defense

Why can a high average Recall@5 still hide a serious retrieval defect?

Assessment rubric

  • Relevance judgments are explicit.
  • Metrics are computed per query before aggregation.
  • Ablations change one component at a time.
  • Freshness and failure behavior are included.

Project completion gate

Complete all deliverables, pass the automated code checks, and defend the key decision.

Deliverables 0/4Code pendingDefense pending