def __init__(self, logger, path, size):
        self.log = logger
        self.path = path
        self.start_ms = int(time.time() * 1000)
        self.size = size # bytes
        
        # number of boto callbacks we should ask for. 
        mb = 1024 **2
        pattern = [
            (1 * mb, 0),    # 1MB, none
            (10 * mb, 1),   # 10MB, 1
            (100 * mb, 2),  # 100MB, 2
            (1024 * mb, 5), # 1GB , 5
            (10 * 1024 * mb, 10), # 10GB , 10
        ]
        
        self.num_callbacks = 20
        for i, j in pattern:
            if i < self.size:
                self.num_callbacks = j
                break
dataset/ETHPy150Open amorton/cassback/cassback/endpoints/endpoints.py/TransferTiming.__init__/swapped operands of `<`