code: def test_extremely_skewed_left():
      """
      Tests multiple quantile buckets with distribution heavily skewed to the left side.
  
      Setup:
        - Histogram buckets: [1.0, 1.2), [1.2, 1.4), [1.4, 1.6), [1.6, 1.8), [1.8, 2.0).
        - The distribution is "left-skewed" so that the first histogram bucket fully contains the
        first four quantile buckets and 1/9 of the last quantile bucket. The remaining 8/9 of the
        last quantile bucket overlap uniformly with the last four histogram buckets.
      """
      quantiles = [1.0, 1.01, 1.02, 1.03, 1.1, 2.0]
      total_freq = 100
      num_buckets = 5
      expected_histogram = text_format.Parse(
          """
          buckets {
              low_value: 1.0
              high_value: 1.2
              sample_count: 82.22
          }
          buckets {
              low_value: 1.2
              high_value: 1.4
              sample_count: 4.44
          }
          buckets {
              low_value: 1.4
              high_value: 1.6
              sample_count: 4.44
          }
          buckets {
              low_value: 1.6
              high_value: 1.8
              sample_count: 4.44
          }
          buckets {
              low_value: 1.8
              high_value: 2.0
              sample_count: 4.44
          }
          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 6 for calling a global function with example usage: test_extremely_skewed_left() without return types