Problem
Presentation-only tokens left in the normalized string:
normalize_math_answer(r"\displaystyle\frac{1}{2}") # contains "displaystyle"
score_text("math500", r"\boxed{\displaystyle\frac{1}{2}}", "1/2") # 0.0
normalize_math_answer(r"5\tag{1}") # "5\tag{1}"
score_text("math500", r"\boxed{5\tag{1}}", "5") # 0.0
Expected
\displaystyle deleted; \tag{…} peeled; answers grade equal to plain gold.
Environment
Problem
Presentation-only tokens left in the normalized string:
Expected
\displaystyledeleted;\tag{…}peeled; answers grade equal to plain gold.Environment