Files
AnkurandClaude Sonnet 5.5 98ed878675 Add rag-eval module: retrieval metrics, golden dataset and a JUnit regression gate
hit@k, recall@k, precision@k, MRR and nDCG@k in plain Java with their edge
cases pinned by tests, a 30-question graded golden dataset over a 40-passage
runbook, a paired bootstrap, and a gate (baseline + tolerance + no new misses)
shown failing on a tokenizer that drops digits. BM25, a hashed-trigram vector
(not a neural embedding) and RRF; no model, no network. Java 25, JUnit 6.1.3.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b7F47n8shUHpexxavn
2026-11-25 13:20:18 +05:30

11 lines
298 B
Plaintext

# Golden dataset: what is in it
passages : 40
questions : 30
exact : 11
multi : 6
paraphrase : 13
judgements : 42 (31 grade 2, 11 grade 1)
passages judged : 31 of 40
never relevant : [p06, p21, p23, p29, p31, p33, p34, p35, p38]