Commit e2dd8ad
committed
ci: gate page-level text retrieval against a committed baseline
The regression step compared baseline.json against itself, so it always
passed and gated nothing. Replace it with a real gate a stock CPU runner
can execute.
scripts/eval_retrieval_ci.py runs the hybrid text retriever (bge-m3 on CPU,
BM25, RRF) over the committed rag_corpus snapshot and scores nDCG@5 /
recall@10 / MRR, gated against data/eval/baseline_retrieval.json at a 5%
threshold.
Metrics are scored at page granularity: rag_corpus is the demo corpus and is
periodically re-baked by the docling chunker (ADR 0017/0021), which renumbers
the ::cN chunk suffix, so the v3 golden's chunk-level labels drift out of sync
with it while the page each points at does not. Projecting both sides to
paper::pN coarsens the existing human labels rather than authoring new ones,
the same re-chunk-robustness reasoning as ADR 0019's answer_correctness.
The visual (GPU) and generation/judge (API) legs stay in the manual or
scheduled full eval against baseline.json. Docs updated to match (evals.md,
CONTRIBUTING, results.md).1 parent e706367 commit e2dd8ad
6 files changed
Lines changed: 1374 additions & 24 deletions
File tree
- .github/workflows
- data/eval
- docs
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
52 | 59 | | |
| 60 | + | |
| 61 | + | |
53 | 62 | | |
54 | | - | |
55 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
56 | 66 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | | - | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments