LEVEL 2 · BUILDER
Retrieval Evaluation Lab
Measure ranking quality with precision, recall, reciprocal rank, and discounted gain while exposing duplicates and missing judgments.
Validate rankings and graded judgmentsCompute precision and recall at kReward useful evidence near the topCompare systems query by query
YOU END UP WITH
A retrieval regression detective revealing which evidence moved and why the aggregate changed.
USEFUL FOR
- A retrieval regression detective revealing which evidence moved and why the aggregate changed.
- Metrics apply to supplied labels.
WHY THESE LANGUAGES
- Python The standard library makes parsing, scoring, and failure handling visible without hiding the mechanism behind a framework.
PROJECT OUTLINE
Retrieval Evaluation Lab in 4 stages
Measure ranking quality with precision, recall, reciprocal rank, and discounted gain while exposing duplicates and missing judgments.
Validate rankings and graded judgments
Reject duplicate ranking ids, nonpositive cutoffs, and invalid relevance grades.
starter · ~2 hours · Python
evaluation contractsgraded relevanceCompute precision and recall at k
Compute binary precision and recall for positive-grade judgments at cutoff k.
core · ~2 hours · Python
precisionrecallcutoffReward useful evidence near the top
Return reciprocal rank and NDCG at k.
core · ~2 hours · Python
MRRNDCGdiscounted gainCompare systems query by query
Produce per-query metrics and macro means for each named system, with unjudged result counts.
stretch · ~2 hours · Python
macro averagingpaired systems