Skip to content

EX-11 · BM25 by hand

Difficulty: 🟢 · label difficulty: 1 Stuck? Ask in the clinic thread for EX-11 — one long-running thread per exercise, so the answers accumulate where the next person will look. Submit: post it in Show and Tell titled [solution · EX-11] ..., with your numbers and your interval.

Notebook 04 · ~30 min · Skill: knowing what you are tuning

Compute BM25 for one query against three chunks on paper, then verify against retrieve.bm25_scores. Vary k₁ and b and predict the direction before you run it.