Add ranked-list retrieval benchmark mode#7
Open
lilyjge wants to merge 3 commits into
Open
Conversation
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
OUTPUT_MODE=ranked_listpath that prompts agents for one deduplicated ranked docid list, persistsranked_docids, enforces the requested depth, and writes TREC run filestrec_evalmetrics and full MS MARCO v1 passage dev setup alongside DL19 and DL20Recorded results
These runs use
openai-codex/gpt-5.5, medium thinking, the Pyserini RESTmsmarco-v1-passageindex, and thepyserini-rest-2toolinterface (searchandread_document). Raw run and evaluation artifacts remain ignored; the protocol and final values are recorded indocs/msmarco-v1-passage-ranked-list-results.md.The agent emits roughly 23-27 documents per query while the reference systems retrieve 1,000. AP, nDCG@10, and RR@10 are useful ranking comparisons; R@1K is reported but is not depth-matched and should not be treated as a fair recall comparison.
Verification
npm run checknpm test(230 passing)bash -n scripts/benchmarks/msmarco_v1_passage/setup.sh scripts/benchmarks/msmarco_v1_passage/generate_query_slices.shnpm run prek