def get_filter(level):
    if logging.DEBUG <= level:
        cls = DisplayNameFilter
    else:
        cls = TruncatedDisplayNameFilter
    return cls()
dataset/ETHPy150Open cjerdonek/open-rcv/openrcv/scripts/run.py/get_filter/swapped operands of `<=`