def __init__(self):
        assert not (self.multiple and 1 > len(self.levels))
        for i, level in enumerate(self.levels):
            if not isinstance(level, BadgeDetail):
                self.levels[i] = BadgeDetail(level)
dataset/ETHPy150Open eldarion/brabeion/brabeion/base.py/Badge.__init__/swapped operands of `>`