code: def _bin_lower_index(lowers: List[float], value: float) -> int:
      """Finds the index of the lower bound of the histogram bin which contains
      the given number."""
      assert lowers[0] <= value
      assert value <= lowers[-1]
      if value == lowers[-1]:
          # last value cannot be lower
          return len(lowers) - 2
      bin_lower_idx = bisect.bisect_right(lowers, value) - 1
      return bin_lower_idx
  
imports: import bisect
  import operator
  from typing import List, Tuple
  import numpy
  import pipeline_dp
  from pipeline_dp import pipeline_backend, pipeline_functions
  from pipeline_dp.dataset_histograms import histograms
label_desc: Use image node_id 2 for calling a global function with example usage: _bin_lower_index(lowers, value) and returns: bin_lower_idx, unknown