Skip to content

[bug] MATH grader: Unicode Greek letters never equal LaTeX \\theta/\\alpha/\\phi #498

Description

@marktech0813

Problem

Models often write Greek as Unicode (θ, α, φ) while gold uses LaTeX (\theta, \alpha, \phi). Pi already folds (\pi/πpi), but other letters do not:

math_equal(r"2\theta", "2θ")  # False
math_equal(r"\alpha", "α")    # False
normalize_math_answer(r"2\theta")  # "2\theta"
normalize_math_answer("2θ")        # "2θ"

Expected

Common Greek letters normalize to the same ascii token (like pi) so LaTeX and Unicode spellings grade equal.

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