Skip to content
mentoor

Evaluating retrieval

For engineers

Measuring retrieval and answer quality separately with labelled questions, retrieval metrics, faithfulness checks and LLM judges

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

A labelled question has two gold passages. The retriever returns one of them in its top 5. What is recall@5 for this question?

Choose one answer

Check yourself · 2 of 5

What does a faithfulness score measure in a RAG pipeline?

Choose one answer

Check yourself · 3 of 5

An answer states the correct refund window but omits that refunds go only to the original card. Which rubric check fails?

Choose one answer

Check yourself · 4 of 5

What is the best first source of questions for a new RAG eval set?

Choose one answer

Check yourself · 5 of 5

Why save a trace for each question during an eval run?

Choose one answer

Topics

  1. Recall at k, precision and MRR4 min read · Scoring whether the right passages were retrieved and how high they ranked, and reading the numbers before touching the prompt
  2. Faithfulness and context relevance metrics4 min read · Scoring whether answers stick to retrieved text and whether retrieved text was relevant, with LLM judges calibrated against human labels
  3. End-to-end answer correctness4 min read · Correctness against gold answers, completeness, citation accuracy and refusal accuracy scored together on the final output
  4. Building a question set with gold passages4 min read · Collecting real user questions, labelling the passages that answer them, adding unanswerable and adversarial cases, and synthetic data with care
  5. Running RAG evals on every pipeline change4 min read · Frameworks such as Ragas, traces per question, and re-running the suite when chunking, embeddings, prompts or models change

Start here

110 questions · last verified 2026-12