def type_hook(self, node):
        """aka ternary operator"""
        condition = node.condition
        thenPart = node.thenPart
        elsePart = node.elsePart
    
        if condition.type == "not":
            [thenPart,elsePart] = [elsePart,thenPart]
            condition = condition[0]
    
        return (self.compress(condition), self.compress(thenPart), self.compress(elsePart)) % "%s?%s:%s"
dataset/ETHPy150Open zynga/jasy/jasy/js/output/Compressor.py/Compressor.type_hook/swapped operands of `%`