code: def test_generate_df_with_anomalies_sim_based():
      res = generate_df_with_anomalies_sim_based(
          freq="5min",
          periods=24 * 12 * 10,
          block_number=10,
          mean_block_size=5,
      )
      df = res["df"]
      assert df.shape == (24 * 12 * 10, 6)
      assert not df.isna().any().any()
      quantiles_df = res["quantiles_df"]
      assert quantiles_df.shape == (24 * 12 * 10, 2)
      assert not quantiles_df.isna().any().any()
  
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 4 for calling a global function with example usage: test_generate_df_with_anomalies_sim_based() without return types