Skip to content

0.5.0

Compare
Choose a tag to compare
@hynky1999 hynky1999 released this 04 Feb 23:58
· 38 commits to main since this release

Changed

  • Replaced FiniteSet from sympy with FiniteSet from latex2sympy2_extended.sets in src/math_verify/grader.py and src/math_verify/parser.py.
  • Modified sympy_deep_compare_set_and_tuple and sympy_compare_sets functions to use SympyFiniteSet for better compatibility with latex2sympy2_extended.
  • Updated is_assignment_relation to use is_expr_of_only_symbols instead of is_assignment_symbol.
  • Improved sorting logic in sympy_deep_compare_set_and_tuple to handle TimeoutError.

Added

  • New test cases in tests/test_numina_cases.py for enhanced expression comparison, including complex expressions and boxed expressions.

Fixed

  • Fixed issues with expression comparison logic, ensuring more accurate results when comparing sets and tuples.