You are working on the pyccel/pyccel repository. The source code is checked out at /testbed at commit…
You are working on the pyccel/pyccel repository. The source code is checked out at /testbed at commit…: a task in SWE-Lego-RL-2699 (Harbor dataset). lhs = self. visit(stmt.target) rhs = self. visit(stmt.value) if isinstance(stmt.op, ast.Add): return AugAssign(lhs, '+', rhs) elif…
The task
lhs = self._visit(stmt.target) rhs = self._visit(stmt.value) if isinstance(stmt.op, ast.Add): return AugAssign(lhs, '+', rhs) elif isinstance(stmt.op, ast.Sub): return AugAssign(lhs, '-', rhs) elif isinstance(stmt.op, ast.Mult): return AugAssign(lhs, '*', rhs) elif isinstance(stmt.op, ast.Div): return AugAssign(lhs,…
Part of Lego-X/Lego-RL-2699.