HF RL Explorer

A symbol ending with a number is made invisible when printing with MathML A variable with a number, such as…

A symbol ending with a number is made invisible when printing with MathML A variable with a number, such as…: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). x2, y, z = sympy.symbols('x2 y z') y = x2 z+x2 3 f = open('sympy test.html', 'w') f.write('\n') f.write('\n') f.write('\n')…

The task

x2, y, z = sympy.symbols('x2 y z') y = x2*z+x2**3 f = open('sympy_test.html', 'w') f.write('\n') f.write('\n') f.write('\n') f.write('\n') f.write(sympy.mathml(y, printer='presentation')+'\n') f.write('\n') f.write('\n') f.write('\n') f.close()`

Part of Lego-X/Lego-RL-SWE-Bench-Verified.