Skip to content

[bug] MATH grader: ideographic thousands comma 1,000 extracts as "000" (Chinese fullwidth ,) #500

Description

@marktech0813

Problem

Chinese / fullwidth ideographic comma (U+FF0C) is a common thousands separator. The extract path splits on it and keeps only the last group:

extract_last_number("1,000")  # "000"
score_text("math500", "1,000", "1000")           # 0.0
score_text("math500", r"\boxed{1,000}", "1000") # 0.0

ASCII , and LaTeX {,} already work.

Expected

1,000 extracts/normalizes as 1000 and grades equal to gold 1000.

Environment

  • origin/main

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:infraCI, workflows, and repository automationbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions