code: def test_quantile_regression_uncertainty_model():
      """Tests the quantile regression based uncertainty model."""
      df = (
          DataLoader()
          .load_peyton_manning()
          .iloc[-365:]
          .reset_index(drop=True)
      )
      df[TIME_COL] = pd.to_datetime(df[TIME_COL])
      config = ForecastConfig(
          model_template=ModelTemplateEnum.SILVERKITE.name,
          forecast_horizon=7,
          coverage=0.95,
          metadata_param=MetadataParam(
              time_col="ts", value_col="y", freq="D"
          ),
          evaluation_period_param=EvaluationPeriodParam(
              cv_max_splits=1, test_horizon=1
          ),
          model_components_param=ModelComponentsParam(
              uncertainty=dict(
                  uncertainty_dict=dict(
                      uncertainty_method="quantile_regression",
                      params=dict(is_residual_based=False),
                  )
              )
          ),
      )
      forecaster = Forecaster()
      forecast_result = forecaster.run_forecast_config(
          df=df, config=config
      )
      assert (
          PREDICTED_LOWER_COL
          in forecast_result.forecast.df_test.columns
      )
      assert (
          PREDICTED_UPPER_COL
          in forecast_result.forecast.df_test.columns
      )
      assert (
          forecast_result.forecast.df_test[PREDICTED_LOWER_COL]
          .isna()
          .sum()
          == 0
      )
      assert (
          forecast_result.forecast.df_test[PREDICTED_UPPER_COL]
          .isna()
          .sum()
          == 0
      )
      assert all(
          forecast_result.forecast.df_test[PREDICTED_LOWER_COL]
          <= forecast_result.forecast.df_test[PREDICTED_UPPER_COL]
      )
  
imports: import sys
  import warnings
  from enum import Enum
  import numpy
  import pandas
  import pytest
  from testfixtures import LogCapture
  from greykite.common.constants import LOGGER_NAME
  from greykite.common.constants import PREDICTED_LOWER_COL
  from greykite.common.constants import PREDICTED_UPPER_COL
  from greykite.common.constants import TIME_COL
  from greykite.common.constants import VALUE_COL
  from greykite.common.data_loader import DataLoader
  from greykite.common.evaluation import EvaluationMetricEnum
  from greykite.common.python_utils import assert_equal
  from greykite.common.testing_utils import generate_df_for_tests
  from greykite.common.testing_utils import generate_df_with_reg_for_tests
  from greykite.framework.templates.autogen.forecast_config import ComputationParam
  from greykite.framework.templates.autogen.forecast_config import EvaluationMetricParam
  from greykite.framework.templates.autogen.forecast_config import EvaluationPeriodParam
  from greykite.framework.templates.autogen.forecast_config import ForecastConfig
  from greykite.framework.templates.autogen.forecast_config import MetadataParam
  from greykite.framework.templates.autogen.forecast_config import ModelComponentsParam
  from greykite.framework.templates.forecaster import Forecaster
  from greykite.framework.templates.model_templates import ModelTemplate
  from greykite.framework.templates.model_templates import ModelTemplateEnum
  from greykite.framework.templates.prophet_template import ProphetTemplate
  from greykite.framework.templates.silverkite_template import SilverkiteTemplate
  from greykite.framework.templates.simple_silverkite_template import SimpleSilverkiteTemplate
  from greykite.framework.templates.simple_silverkite_template_config import SILVERKITE_COMPONENT_KEYWORDS
  from greykite.framework.templates.simple_silverkite_template_config import SimpleSilverkiteTemplateOptions
  from greykite.framework.utils.framework_testing_utils import assert_basic_pipeline_equal
  from greykite.framework.utils.framework_testing_utils import assert_forecast_pipeline_result_equal
  from greykite.framework.utils.framework_testing_utils import check_forecast_pipeline_result
  from greykite.framework.utils.result_summary import summarize_grid_search_results
label_desc: Use image node_id 13 for calling a global function with example usage: test_quantile_regression_uncertainty_model() without return types