feat(tests): add EvalScope evaluation suite with needle-in-haystack and acc test#908
Open
Potterluo wants to merge 3 commits intoModelEngine-Group:developfrom
Open
feat(tests): add EvalScope evaluation suite with needle-in-haystack and acc test#908Potterluo wants to merge 3 commits intoModelEngine-Group:developfrom
Potterluo wants to merge 3 commits intoModelEngine-Group:developfrom
Conversation
…upport - Introduce EvalScopeRunner utility class to encapsulate task execution and result collection. - Add test cases for mainstream benchmarks (aime, gsm8k, mmlu, etc.) and needle-in-haystack evaluation. - Support environment variable overrides for dataset root, task list, and needle context lengths. - Refactor configuration building into dedicated helper functions for clarity. - Include detailed README with setup instructions, usage examples, and result interpretation.
8a6a84a to
cad3dd6
Compare
yuanzhg078
reviewed
Apr 13, 2026
| | Environment Variable | Default | Description | | ||
| |----------------------|---------|-------------| | ||
| | `SCOPE_DATASET_ROOT` | | Root directory where datasets are stored | | ||
| | `SCOPE_TREST_LIST` | `aime24,gsm8k` (example) | Comma-separated list of datasets to evaluate | |
Contributor
There was a problem hiding this comment.
typo here : SCOPE_TREST_LIST
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 introduces a comprehensive evaluation suite built on EvalScope (v1.5.2) to automate accuracy testing for LLMs. It supports two primary evaluation modes:
aime24,aime25,aime26,gsm8k,longbench_v2,ceval,cmmlu,humaneval,mmlu,mmlu_pro, etc.Key Changes
1. New Utility Class:
EvalScopeRunnerrun()andcollect_results()logic.@export_varsdecorator for database storage.2. Refactored Test Cases (
test_evalscope.py)_build_general_task_config,_build_needle_task_config).SCOPE_DATASET_ROOT/SCOPE_TREST_LISTSCOPE_NEEDLE_MIN/SCOPE_NEEDLE_MAX3. Enhanced Needle Content
4. Documentation (
README.md)How to Test