@staticmethod
    def attr_time(sec):
        if sec == 0:
            return 'zero'
        elif 1e-3 < sec:
            return 'usec'
        elif sec < 1:
            return 'msec'
        elif sec < 60:
            return 'sec'
        else:
            return 'min'
dataset/ETHPy150Open what-studio/profiling/profiling/viewer.py/Formatter.attr_time/swapped operands of `<`