Skip to content

[Update] Support LiveMathBench V202505 #2146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jnanliu
Copy link
Collaborator

@jnanliu jnanliu commented Jun 12, 2025

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.

Motivation

Please describe the motivation of this PR and the goal you want to achieve through this PR.

Modification

Please briefly describe what modification is made in this PR.

BC-breaking (Optional)

Does the modification introduce changes that break the backward compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.

Use cases (Optional)

If this PR introduces a new feature, it is better to list some use cases here and update the documentation.

Checklist

Before PR:

  • Pre-commit or other linting tools are used to fix the potential lint issues.
  • Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
  • The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  • The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

  • If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects.
  • CLA has been signed and all committers have signed the CLA in this PR.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the LiveMathBench dataset loader and prompts to support version 202505 and adds new configuration entries for the v202505 dataset across multiple config files.

  • Removed the {question_type} placeholder and associated mappings from the bilingual prompts.
  • Simplified prompt formatting in the loader and prefixed subdivision with the version.
  • Introduced new livemathbench_v202505_dataset entries in several config modules and updated imports to include them.

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
opencompass/datasets/livemathbench/prompts.py Removed {question_type} from CN/EN prompt templates.
opencompass/datasets/livemathbench/livemathbench.py Simplified prompt construction and updated subdivision naming to include version.
opencompass/configs/datasets/livemathbench/livemathbench_hard_greedy_gen_353ae7.py Added v202505 hard greedy generation config.
opencompass/configs/datasets/livemathbench/livemathbench_hard_gen_353ae7.py Added v202505 hard gen config.
opencompass/configs/datasets/livemathbench/livemathbench_greedy_gen_9befbf.py Added v202505 greedy gen config.
opencompass/configs/datasets/livemathbench/livemathbench_greedy_gen.py Imported v202505 datasets into greedy gen module.
opencompass/configs/datasets/livemathbench/livemathbench_gen_9befbf.py Added v202505 gen config.
opencompass/configs/datasets/livemathbench/livemathbench_gen.py Imported v202505 datasets into gen module.
Comments suppressed due to low confidence (2)

opencompass/datasets/livemathbench/prompts.py:68

  • The English prompt has a grammar issue: 'please reasoning step by step' should be 'please reason step by step' for clarity.
PROMPT_EN = '''Here is a math question, please reasoning step by step, and put your answer in \boxed{{}}.

opencompass/datasets/livemathbench/livemathbench.py:81

  • All option lists were removed from the prompt formatting, so multiple-choice questions will no longer include their choices. Consider appending example['options'] back into the prompt when present.
'prompt': prompt.format(question=example['question']),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants