Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoScoringJudge文件 #651

Open
wksuixin opened this issue Dec 5, 2024 · 1 comment
Open

AutoScoringJudge文件 #651

wksuixin opened this issue Dec 5, 2024 · 1 comment
Assignees

Comments

@wksuixin
Copy link

wksuixin commented Dec 5, 2024

判断
str1 = "$(a+b)^2=a^2+b^2+2ab$"
str2 = "$(a+b)^2=aa+bb+2ab$"
是否等价时,返回错误。

1
这个是否可以用后面 equation_equal函数中的方式判断
equation = Eq(lhs_expr, rhs_expr)
simplified_eq = simplify(equation.lhs - equation.rhs)

@PhoenixZ810
Copy link
Collaborator

Hi,
Thank you for bringing this to our attention and for your thoughtful input.

After careful consideration, we believe that str1 = "$(a+b)^2=a^2+b^2+2ab$" and str2 = "$(a+b)^2=aa+bb+2ab$" exhibit differences in notation that make them not entirely equivalent. Therefore, we would prefer to keep the judgment as it is to maintain mathematical accuracy.

We appreciate your understanding and welcome any further discussion on this topic.

@PhoenixZ810 PhoenixZ810 self-assigned this Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants