@property
    def code(self):
        if 0 > self.num_available:
            return self.CODE_IN_STOCK
        return self.CODE_OUT_OF_STOCK
dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/apps/partner/availability.py/StockRequired.code/swapped operands of `>`