Skip to content

Add an opt-in MATH-500 delimiter correction - #507

Merged
gregorybchris merged 3 commits into
mainfrom
robertb/math500-latex-delimiters
Nov 16, 2026
Merged

gregorybchris merged 3 commits into
mainfrom
robertb/math500-latex-delimiters

Conversation

@no0p

@no0p no0p commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Note

Drafted by Codex.

Add the opt-in math500:latex_delimiters task to fix correct answers rejected when the legacy normalizer removes ft from \left. It strips whole \left and \right commands before extraction, for both reference and generated answers.

The original tasks and shared extractor keep their existing behavior. The new task has a distinct name and pinned dataset revision; prompts, sampling, and equivalence scoring otherwise remain unchanged. Report its scores separately from the original task.

Validation:

  • Rebased onto main 3536fe75; repository lint, formatting, and type checks pass. All GitHub CI checks pass, including Python 3.12 and 3.13 tests.
  • CPU suite: 4,459 passed, 19 skipped; two existing summary-display failures also occur on unchanged main in the same environment. All 12 new regression tests pass.
  • Refreshed CPU replay of all 500 saved answers: original task 396/500, corrected task 397/500. Only native ID 0 changes, and all 500 formatted requests remain identical. No new inference or GPU validation is needed for this scoring-only variant.

Runs:

  1. Source generations for the CPU replay: Jacob’s historical MATH-500 evaluation.

@no0p
no0p force-pushed the robertb/math500-latex-delimiters branch from a4f97f2 to b22c475 Compare October 27, 2026 01:07
@no0p
no0p marked this pull request as ready for review October 27, 2026 01:10
@no0p
no0p requested a review from a team as a code owner October 27, 2026 01:10
@gregorybchris
gregorybchris added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit 285bbb1 Nov 16, 2026
8 checks passed
@gregorybchris
gregorybchris deleted the robertb/math500-latex-delimiters branch November 16, 2026 18:15
abhishekraok added a commit that referenced this pull request Nov 16, 2026
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