HF RL Explorer

Return NotImplemented, not False, upon rich comparison with unknown type Comparison methods should ideally…

Return NotImplemented, not False, upon rich comparison with unknown type Comparison methods should ideally…: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). The use case is if I implement some custom class, and want instances of it to be comparable with sympy objects. I go python class…

The task

The use case is if I implement some custom class, and want instances of it to be comparable with sympy objects. I go ```python class Foo(): def __eq__(self, other): if isinstance(other, sympy.Basic): # Or something else that makes sense return self._coefficient == other # Or something else that makes sense ... ```…

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