Practical · Multi-Query RAG Document Bank Evaluation Suite

Offline RAG Evaluation: MRR@5, nDCG@5 & Top-1 Accuracy

Benchmark retrieval quality locally without sending proprietary evaluation logs to an API. Upload ragged-safe RFC 4180 .csv, .json, .md, or .txt query-passage corpora, run cancellable sequential FIFO reranking, and export OWASP formula-safe CSV or JSON reports.

1. Evaluation suite & cancellable FIFO runner

CSV expects query + text (optional id,title,relevant); JSON accepts [{ query, passages: [{ id, title, text, relevant }] }]. Drag-drop or paste anywhere outside inputs.

2. Retrieval metrics & per-query breakdown

Per-query reranking evaluation results including MRR@5, nDCG@5, and top ranked passage
ID Query Top-1 Winner Logit / σ(z) MRR@5 nDCG@5 Latency
Run the evaluation suite above to compute live MRR@5, nDCG@5, and Top-1 accuracy.

Show the code

Show the code: MRR@5, nDCG@5 & Top-1 accuracy calculation
Show the code: ragged-safe RFC 4180 CSV & JSON eval corpus parser
Show the code: OWASP formula-safe CSV cell sanitization