code: def generate_anomaly_data_weekly():
      """Generates weekly data to be used for end-to-end AD testing."""
      anomaly_block_list = [np.arange(50, 55), np.arange(110, 120)]
      res = generate_anomaly_data(
          freq="W-MON",
          periods=200,
          anomaly_block_list=anomaly_block_list,
      )
  
      return res
  
file_path: greykite/greykite/detection/common/testing_utils.py
imports: import numpy
  import pandas
  from greykite.common.constants import ANOMALY_COL
  from greykite.common.constants import TIME_COL
  from greykite.common.constants import VALUE_COL
  from greykite.common.testing_utils import generate_df_for_tests
  from greykite.common.testing_utils_anomalies import contaminate_df_with_anomalies
  from greykite.common.viz.timeseries_annotate import plot_lines_markers
  from greykite.detection.detector.ad_utils import get_anomaly_df
label_desc: Use image node_id 4 for calling a global function with example usage: generate_anomaly_data_weekly() and returns: res