code: def test_calc_quantiles_simulated_df():
      def sim_df_func():
          return pd.DataFrame({"y": np.random.uniform(3, 5, 100)})
  
      quantiles_df = calc_quantiles_simulated_df(
          sim_df_func=sim_df_func,
          quantiles=[0.25, 0.75],
          simulation_num=50,
      )
  
      assert quantiles_df.shape == (100, 2)
  
      def sim_df_func(x):
          return pd.DataFrame({"y": np.random.uniform(x, 5, 100)})
  
      quantiles_df = calc_quantiles_simulated_df(
          sim_df_func=sim_df_func,
          quantiles=[0.25, 0.75],
          simulation_num=50,
          x=1,
      )
  
      assert quantiles_df.shape == (100, 2)
  
file_path: greykite/greykite/tests/common/test_testing_utils_anomalies.py
imports: import datetime
  import numpy
  import pandas
  from greykite.common.testing_utils import generate_df_for_tests
  from greykite.common.testing_utils_anomalies import calc_quantiles_simulated_df
  from greykite.common.testing_utils_anomalies import contaminate_df_with_anomalies
  from greykite.common.testing_utils_anomalies import generate_anomaly_blocks
  from greykite.common.testing_utils_anomalies import generate_df_with_anomalies_sim_based
label_desc: Use image node_id 3 for calling a global function with example usage: test_calc_quantiles_simulated_df() and returns: pd, pd