mirror of
https://github.com/deepseek-ai/DeepSeek-Coder.git
synced 2026-11-05 00:57:19 +00:00
[PR #719] Keep the letters and inside a math answer word #293
Labels
No labels
documentation
ENV
pull-request
research question
WIP
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-Coder#293
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/DeepSeek-Coder/pull/719
Author: @SashaMIT
Created: 9/28/2026
Status: 🔄 Open
Base:
main← Head:codered-and-word📝 Commits (1)
bfd49faKeep the letters and inside a math answer word.📊 Changes
2 files changed (+30 additions, -2 deletions)
View changed files
📝
Evaluation/PAL-Math/utils/parser.py(+2 -2)➕
Evaluation/PAL-Math/utils/test_extract_answer.py(+28 -0)📄 Description
the answer is thousandcame back asthous.sandcame back ass.standardcame back asstard. The normalizer deletes every occurrence of the lettersand, including the ones inside a word.Those letters are now removed only when they are their own word.
thousand,sand, andstandardstay intact.1000stays1000.\boxed{1/2}is still\frac{1}{2}.Test plan
python -m unittest Evaluation.PAL-Math.utils.test_extract_answer(red on tip:thousvsthousand; green after: 2 tests pass)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.