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
Problem
Chinese / fullwidth ideographic comma
,(U+FF0C) is a common thousands separator. The extract path splits on it and keeps only the last group:ASCII
,and LaTeX{,}already work.Expected
1,000extracts/normalizes as1000and grades equal to gold1000.Environment