179 questions
No questions match those filters.
How do you actually build a test set for evaluating a R...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansThe strongest test sets blend three sources rather than leaning on just one. Synthetic generation — feeding documents to an LLM with a prompt like “generate questions a domain expert would ask about this” — is fast, scalable, and a reasonable way to get an initial baseline covering simple factual, comparative, and multi-hop question types. Manually written pairs from domain experts are slower and more expensive to produce, but they catch the genuinely tricky, realistic edge cases a generator wouldn’t think to ask. Once there’s real user traffic, production logs — actual queries plus thumbs-up/down feedback — become the most realistic source available and should get folded in continuously.
The detail that separates a thorough test set from a naive one is deliberately including cases most people skip. Unanswerable questions — ones with no answer anywhere in the corpus — check whether the system says “I don’t have this information” instead of confidently hallucinating one. Multi-hop questions, requiring synthesis across several chunks, test whether retrieval and reasoning work together, not just retrieval alone. Temporal questions test whether the system correctly favors current information over an outdated but semantically similar document. Skipping any of these three leaves a real failure mode completely untested.