Repository navigation
feat: implement benchmark datasets loading - #1056
Merged
AmitoVrito merged 5 commits intoOct 2, 2026
Merged
AmitoVrito merged 5 commits into
AmitoVrito merged 5 commits into
Conversation
…hmarks GAIA's success check was `(expected_match) or (non_null_result)`, so the second clause always short-circuited the expected-answer comparison - GAIA scoring was identical to the other benchmarks' dummy pass-if-truthy logic. Now expected_answer is actually required to match when present. Also reverts an unrelated trailing-newline removal in cli/agent.py and replaces stale "Currently a stub implementation" docstrings/comments across the benchmark classes with notes on what real grading still needs (patch+test execution, task-completion evaluators, etc). Co-authored-by: ramashishmaurya <[email protected]>
PR SynapseKit#1056 switched benchmarks from stub `return []` to real `datasets.load_dataset()` calls, but `datasets` isn't in the dev dependency group (only the optional `huggingface` extra), so the existing GAIA tests broke with ImportError when run in a standard dev env. Fake the `datasets` module in sys.modules instead of installing the real (heavy, network-calling) package, and add coverage for the new expected-answer matching and the other placeholder benchmarks including HumanEval. Co-authored-by: ramashishmaurya <[email protected]>
1 of 2 tasks
Collaborator
|
Thanks for this, @ramashishmaurya! Merged. Fixed a grading-logic bug in GAIABenchmark's success check and a couple of existing tests that broke under the new real dataset loading — details in the merge commit. |
AmitoVrito
added a commit
that referenced
this pull request
Oct 2, 2026
This was referenced Oct 2, 2026
Closed
This was referenced Oct 13, 2026
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
This PR implements dataset loading and basic evaluation logic for several benchmark classes (AgentBench, WebArena, GAIA, SWE-bench) using the HuggingFace
datasetslibrary.Closes #
Type of change
Changes
datasets>=2.16.0to thehuggingfaceoptional dependency group inpyproject.tomland updated theuv.lockfile.get_datasetinAgentBenchBenchmark,WebArenaBenchmark,GaiaBenchmark, andSWEBenchBenchmarkto fetch data viadatasets.load_dataset().evaluatemethods across these benchmarks to capture the agent's return value and accurately increment the success counter when the task completes successfully.Testing
uv run pytest tests/ -q)Documentation
Notes for reviewer
Users will now need to install the library with the
huggingfaceextra (e.g.,pip install synapsekit[huggingface]) in order to load these benchmarks.