HF RL Explorer

kernS: 'kern' referenced before assignment from sympy.core.sympify import kernS

kernS: 'kern' referenced before assignment from sympy.core.sympify import kernS: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). text = "(2 x)/(x-1)" expr = kernS(text) // hit = kern in s // UnboundLocalError: local variable 'kern' referenced before assignment

The task

text = "(2*x)/(x-1)" expr = kernS(text) // hit = kern in s // UnboundLocalError: local variable 'kern' referenced before assignment

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