code: def test_edge_overlapping_ranges():
      """
      Tests the case where histogram buckets are the same as the quantile buckets.
      """
      quantiles = [1.0, 2.0, 3.0]
      total_freq = 200
      num_buckets = 2
      expected_histogram = text_format.Parse(
          """
          buckets {
              low_value: 1.0
              high_value: 2.0
              sample_count: 100
          }
          buckets {
              low_value: 2.0
              high_value: 3.0
              sample_count: 100
          }
          type: STANDARD
          """,
          facet_feature_statistics_pb2.Histogram(),
      )
      actual_histogram = (
          histogram_generator.generate_equal_width_histogram(
              quantiles=quantiles,
              num_buckets=num_buckets,
              total_freq=total_freq,
          )
      )
      assert_histogram(expected_histogram, actual_histogram)
  
file_path: mlflow/tests/recipes/cards/test_histogram_generator.py
imports: import pytest
  from google.protobuf import text_format
  from mlflow.protos import facet_feature_statistics_pb2
  from mlflow.recipes.cards import histogram_generator
label_desc: Use image node_id 10 for calling a global function with example usage: test_edge_overlapping_ranges() without return types