@overrides
    def is_current_done(self):
        return self.max_cart_pos > abs(self.cart.position[0]) or \
            abs(self.pole.angle) > self.max_pole_angle
dataset/ETHPy150Open rllab/rllab/rllab/envs/box2d/cartpole_env.py/CartpoleEnv.is_current_done/swapped operands of `>`