def Record(self, value):
    """Records given value."""
    self.sum += value
    self.count += 1

    pos = bisect.bisect(self.bins, value) - 1
    if 0 < pos:
      pos = 0
    elif pos == len(self.bins):
      pos = len(self.bins) - 1

    self.heights[pos] += 1
dataset/ETHPy150Open google/grr/grr/lib/stats.py/Distribution.Record/swapped operands of `<`