Open-source RAG evaluator exposes how unanswerable questions inflate Recall@K

infrixo · reddit · 2026-11-03

The author found a subtle flaw in RAG evaluation: questions with no relevant documents get treated as perfect retrieval results, inflating Recall@K. In an 8-question example, naive averaging gave 0.75, but excluding the unanswerable question dropped it to 0.714 — the retriever hadn't improved, only the metric was misleading.

They released an open-source RAG evaluation starter (infrixo-systems/rag-evaluation-starter) covering retrieval metrics, answer evaluation, and optional LLM-based judging, with core metrics runnable without an API key. They invite discussion on whether others exclude unanswerable questions from retrieval recall and evaluate them separately.

Original post →

More from Research

Research channel →