lesson 3 of 5 · retrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipslesson 3 of 5 · retrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipslesson 3 of 5 · retrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipslesson 3 of 5 · retrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipslesson 3 of 5 · retrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipslesson 3 of 5 · retrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipslesson 3 of 5 · retrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipslesson 3 of 5 · retrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipslesson 3 of 5 · retrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipslesson 3 of 5 · retrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipslesson 3 of 5 · retrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skipsretrieval that finds the right thing — top-k, thresholds, and the rerank step everyone skips
Write retrieve(scored, k, threshold) that returns the top-k
candidates, filtered by score >= threshold, deduped by
chunk_id (keep the highest-scoring occurrence). Order the
output by descending score.
Two cases run. Expected output:
['policy/p2', 'policy/p4', 'policy/p7']
[]