A RAG RETRIEVAL EVALUATION TOOL
Compare retrieval results. See what changed.
Compare two retrieval or reranking runs with Precision@k, Recall@k and binary nDCG. Inspect ranking changes locally using your own relevance judgments.
02 / FOLLOW THE RANK
trail-water
Δ B − A +0.3333
Δ B − A +0.2500
Δ B − A +0.4693
A: 1 hits, 0 unknown / B: 2 hits, 0 unknown in top 3. 4 declared relevant IDs. Relevant set declared complete. Precision denominator always 3, even for shorter lists.
CUTOFF LAB / APPLIED QUERY ONLY
How sensitive is the result to k?
trail-water · k = 1–6 (longest ranking or current cutoff). A is solid with circles; B is dashed with squares. Unknown values leave gaps, never zeros.
● — Run A■ - - Run B · Precision · 0 to 1
Exact cutoff values, judgment coverage & N/A reasons
| k | Run | Judged / returned | Missing slots | Precision | Recall | Binary nDCG |
|---|---|---|---|---|---|---|
| 1 | A | 1 / 1 | 0 | 0 | 0 | 0 |
| 1 | B | 1 / 1 | 0 | 1 | 0.25 | 1 |
| 2 | A | 2 / 2 | 0 | 0.5 | 0.25 | 0.38685280723454163 |
| 2 | B | 2 / 2 | 0 | 1 | 0.5 | 1 |
| 3 | A | 3 / 3 | 0 | 0.3333333333333333 | 0.25 | 0.2960819109658652 |
| 3 | B | 3 / 3 | 0 | 0.6666666666666666 | 0.5 | 0.7653606369886217 |
| 4 | A | 4 / 4 | 0 | 0.5 | 0.5 | 0.4144299250118475 |
| 4 | B | 4 / 4 | 0 | 0.75 | 0.75 | 0.8048099750039491 |
| 5 | A | 5 / 5 | 0 | 0.4 | 0.5 | 0.4144299250118475 |
| 5 | B | 5 / 5 | 0 | 0.6 | 0.75 | 0.8048099750039491 |
| 6 | A | 6 / 6 | 0 | 0.5 | 0.75 | 0.553486104522623 |
| 6 | B | 6 / 6 | 0 | 0.5 | 0.75 | 0.8048099750039491 |
Cutoff exploration is descriptive, not evidence of statistical significance or answer quality. Choose evaluation cutoffs before comparing final results. How to read this chart →
Exact document table · 7 IDs
| ID | Judgment | A rank | B rank | Movement |
|---|---|---|---|---|
| Not relevant | 1 | 3 | -2 places | |
| Relevant | 2 | 1 | +1 places | |
| Not relevant | 3 | 5 | -2 places | |
| Relevant | 4 | 2 | +2 places | |
| Not relevant | 5 | 6 | -1 places | |
| Relevant | 6 | 4 | +2 places | |
| Relevant | Absent | Absent | Not shared |
Macro is the equal-weight mean across every query. If any value is unavailable, the macro for that metric is unavailable; queries are never silently dropped.
| Query | Precision@3 | Recall@3 | Binary nDCG@3 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| A | B | Δ | A | B | Δ | A | B | Δ | |
| 0.3333 | 0.6667 | +0.3333 | 0.2500 | 0.5000 | +0.2500 | 0.2961 | 0.7654 | +0.4693 | |
| 0.6667 | 0.6667 | +0.0000 | 1.0000 | 1.0000 | +0.0000 | 0.6934 | 0.9197 | +0.2263 | |
| N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | |
| Macro · 3 queries | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
Unknown ≠ irrelevant
A missing judgment remains unknown. Any unknown in the top k withholds Precision, Recall and nDCG for that run. Recall and nDCG also need a declared complete relevant set and at least one relevant ID. N/A means unavailable, never zero.
Inputs stay in this tab’s memory. No model calls, accounts or saved inputs. Optional analytics requires consent and excludes your dataset. Reopening or reloading starts from the fictional example. Formulas & limitations →