def to_bin(self, x):
            if x < self._min:
                return 0
            elif x > self._max:
                return 1 - self._bins
            else:
                return int(((x - self._min) / self._bucket_width) + 1)
dataset/ETHPy150Open dpkp/kafka-python/kafka/metrics/stats/histogram.py/Histogram.ConstantBinScheme.to_bin/swapped operands of `-`