Evals: expand golden set to fourteen domains-spanning queries, add JSON report output - #41
Merged
Merged
Conversation
Ndevu12
force-pushed
the
evals/golden-set-expansion
branch
from
September 2, 2026 11:24
1fa5480 to
25463c9
Compare
Grow the evaluation dataset beyond machine learning so domain-agnostic ranking is actually measured: - Eight new labeled queries covering federated learning privacy, protein structure prediction, sleep and memory, misinformation on social media, quantum error correction, end-to-end speech recognition, the gut-brain axis, and GAN image synthesis — each with graded relevance and cross-domain hard negatives - Dataset policy holds: entries whose DOI cannot be stated with confidence carry none rather than a guessed one; two high-confidence DOIs added to keep citation validity comfortably above the CI floor - Measured keyword-only baseline across fourteen queries: mean R@5 0.94, R@10 1.00, nDCG@10 0.97, MRR 1.00, citation validity 92% — all regression floors hold unchanged - Harness gains a domain column in the table and a JSON output mode (per-query metrics plus means) for automation and CI artifacts, exposed via a --json flag on the module entry point - Docs and test baseline text refreshed to the fourteen-query numbers
Ndevu12
force-pushed
the
evals/golden-set-expansion
branch
2 times, most recently
from
September 2, 2026 13:56
ffc2f4f to
9d09e12
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Roadmap follow-up on the evaluation harness: the golden dataset more than doubles — six queries to fourteen, spanning seven fields — so domain-agnostic ranking quality is finally measured, not assumed. The harness also gains a JSON output mode for automation.
Dataset expansion
Eight new labeled queries with graded relevance and deliberate cross-domain hard negatives:
Dataset integrity policy holds throughout: every candidate is a real paper, and entries whose DOI cannot be stated with confidence carry no DOI rather than a guessed one — the same fabricated-metadata discipline the pipeline itself enforces. Two high-confidence DOIs were added to keep citation validity comfortably above the CI floor.
Measured baseline (keyword-only, fourteen queries)
All regression floors hold unchanged; the added domains put real headroom pressure on the ranker (per-query R@5 dips to 0.75 on three queries — exactly the targets the reranker should move).
Harness improvements
--jsonflag on the module entry point emits the full report (per-query metrics plus means) for automation and CI artifacts, backed byformat_report_json.Verification
pipenv run pytest tests/— 427 passed (dataset well-formedness now asserts ≥14 queries across ≥6 domains; new JSON round-trip test), 1 skippedruff check src tests setups— clean;scripts/check_docs_policy.py— passes