promptdojo_

Retrieval metrics and vector-DB shape — recall@k, MRR, and why the filter runs before the search — step 3 of 7

Four gold chunks, five retrieved, but only the top-3 counts. Recall divides hits by the size of the gold set; precision divides the same hits by K. Walk the top-3, count the hits, and predict both printed lines exactly.