StrPrinter setting are not respected by certain subexpressions For example, sstr(x + S(1)/2, sympy…
StrPrinter setting are not respected by certain subexpressions For example, sstr(x + S(1)/2, sympy…: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). The first output is correct, the second is not: the setting was ignored. Another example: sstr(Limit(x, x, S(1)/2), sympy integers=True)…
The task
The first output is correct, the second is not: the setting was ignored. Another example: ``` >>> sstr(Limit(x, x, S(1)/2), sympy_integers=True) 'Limit(x, x, 1/2)' ``` instead of the expected `Limit(x, x, S(1)/2)`.
Part of Lego-X/Lego-RL-SWE-Bench-Verified.