Repository navigation
feat(experiments): union of embedding and BM25 candidates, a one-question probe and a hard set - #29
Merged
Merged
Conversation
yodablocks
added a commit
that referenced
this pull request
Oct 4, 2026
feat(experiments): bring the recall experiment (#29) onto master
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.
Stacked on #28 (base is
exp/jev-reranker). Merge #28 first, then retarget this PR tomaster; delete the base branch after merging #28 or this PR will land on it instead.What
A follow-up experiment on first-stage recall. In #28 both re-rankers missed the same 2 gold questions because the gold page was not in the embedding top 40. This adds BM25 candidates next to the embedding candidates and tests two ways of merging them. Everything is under
experiments/recall/; nothing inquarq/changes.hybrid.py: BM25 (no new dependency), reciprocal rank fusion (RRF), and a round-robin union.probe.py: checks one question at a time (thread count capped, query embedding and BM25 index cached on disk, Jev is a cloud call, bge never loaded).regress.py,e2e_union.py,run.py: pool-recall regression over the 38 questions, and end to end with Jev.hard_v1.jsonl: 15 questions that are hard for retrieval (2 known misses, 9 new, 4 French rewrites).Predictions and pass conditions were committed before each run.
Results
Gold page inside the first N chunks, 38 original questions:
Caveats
synthetic-draft, and have not been human-reviewed.quarq evalrefuses them until they are accepted.Reproduce
pytest tests/: 247 passed, unchanged.