def getPartition(self, key):
        idx = bisect.bisect(self.keys, key)
        return idx - len(self.keys) if self.reverse else idx
dataset/ETHPy150Open douban/dpark/dpark/dependency.py/RangePartitioner.getPartition/swapped operands of `-`