feat(bench): implement LOCOMO, FRAMES, and GAIA dataset loaders#2842
Merged
feat(bench): implement LOCOMO, FRAMES, and GAIA dataset loaders#2842
Conversation
This was
linked to
issues
Apr 8, 2026
Closes #2836, #2837, #2839 Add shared Scenario/Evaluator traits and metric functions: - token_f1: whitespace-token overlap F1 score - exact_match: case-insensitive, punctuation-stripped equality - gaia_normalized_exact_match: strips articles, punctuation, collapses whitespace Loaders and evaluators: - LocomoLoader: parses lmlab/locomo JSON array; one Scenario per QA pair; LocomoEvaluator uses token F1 with threshold 0.5 - FramesLoader: parses google/frames-benchmark JSONL; stores reasoning_types in metadata; FramesEvaluator uses exact match - GaiaLoader: parses gaia-benchmark/GAIA JSONL with optional --level filter; GaiaEvaluator uses GAIA-normalized exact match 52 unit tests across all new modules; all 7788 workspace tests pass.
39eb57c to
2fe5fce
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
Scenario/Evaluatortraits and metric functions (token_f1,exact_match,gaia_normalized_exact_match) inscenario.rsLocomoLoaderparses lmlab/locomo JSON array (one Scenario per QA pair);LocomoEvaluatoruses token F1 with threshold 0.5FramesLoaderparses google/frames-benchmark JSONL, storesreasoning_typesin metadata;FramesEvaluatoruses exact matchGaiaLoaderparses gaia-benchmark/GAIA JSONL with optional--level 1|2|3filter;GaiaEvaluatoruses GAIA-normalized exact match (strip articles, punctuation, collapse whitespace)Closes #2836, #2837, #2839. Part of epic #2827.
Test plan
cargo nextest run -p zeph-bench --lib— 52 passed, 0 skippedcargo +nightly fmt --check— cleancargo clippy -p zeph-bench --all-targets -- -D warnings— clean