Building a golden dataset for RAG eval from scratch: walk through the steps and name the mistake that wastes the most labeling budget.
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Building a golden dataset for RAG eval from scratch: walk through the steps and name the mistake that wastes the most labeling budget.
Sample queries, retrieve passages, expert-label with IAA, stratify, and freeze. Skipping IAA wastes the most budget because inconsistent labels invalidate downstream metrics.
Imagine building a math answer key for a school test. You write the test questions, solve each one, then hand the answer key to a second teacher to check. If you skip the second teacher and find out later that half your answers were graded on a different rubric, you have to redo the whole thing. The same happens with a golden dataset: if annotators disagree on what counts as a good answer and you only find out after labeling hundreds of examples, you throw away half your work. The fix is cheap: have two people label a small batch first, compare, and agree on the rules before scaling up.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
Walk the five steps in order: query sampling, retrieval execution, expert labeling with passage attribution, IAA with a kappa target, stratification and freezing. Name skipping IAA as the costliest mistake and explain the rework math. Cover passage-level attribution for decomposed metrics like Ragas. Close with versioning discipline and quarterly refresh cadence.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Skipping inter-annotator agreement and discovering after hundreds of labels that annotators used different rubric interpretations, making half the labels unusable.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.