AlgoViz

Evaluating retrieval and answer quality

medium 6 min

Evaluate retrieval and generation separately using the same questions.

Where it shows up

The same pattern appears across everyday software.

  • A faithful answer to the wrong question

    Identify gold evidence and the desired answer. Include source version and the exact question so stage-level scores are interpretable. Recall at three is one half. Precision at three for this binary-label example is one third. Neither tells you what answer the model produced. A response can be faithful to the retrieved text and still omit the second requested fact. Evaluate relevance and completeness separately.