Exercises: Rerank Candidate Chunks
Use starter.py to rerank candidates, dedupe by parent, and select final context.
1 Score candidates
Use a simple relevance score to reorder candidates.
2 Dedupe parents
Prevent one section from crowding final context.
3 Select final k
Return a smaller evidence set for prompt assembly.
4 Explain the gain
Report before-rank and after-rank movement.