code: def make_daily_data(request):
      # seasonality = ['dual', 'single', None]
      # with_coef = bool
      defaults = {
          "seasonality": None,
          "with_coef": False,
      }
      final_args_dict = deepcopy(defaults)
      final_args_dict.update(request.param)
      seasonality = final_args_dict["seasonality"]
      with_coef = final_args_dict["with_coef"]
  
      n_obs = 365 * 3
      seed = 2020
      rw = make_trend(n_obs, rw_loc=0.02, rw_scale=0.1, seed=seed)
      if seasonality is None:
          fs = 0.0
      elif seasonality == "single":
          fs = make_seasonality(
              n_obs,
              seasonality=365.25,
              method="fourier",
              order=2,
              seed=seed,
          )
      elif seasonality == "dual":
          fs1 = make_seasonality(
              n_obs,
              seasonality=365.25,
              method="fourier",
              order=3,
              seed=seed,
          )
          fs2 = make_seasonality(
              n_obs, seasonality=7, method="fourier", order=2, seed=seed
          )
          fs = fs1 + fs2
  
      if with_coef:
          coef = [0.2, 0.1, 0.3]
          x, y, coef = make_regression(
              n_obs, coef, scale=2.0, seed=seed
          )
          response = (rw + fs + y).reshape(-1, 1)
          df = pd.DataFrame(
              np.concatenate([response, x], axis=1),
              columns=["response"] + list("abc"),
          )
      else:
          response = rw + fs
          coef = None
          df = pd.DataFrame(response, columns=["response"])
  
      df["date"] = pd.date_range(start="2016-01-01", periods=n_obs)
      train_df = df[df["date"] < "2018-01-01"]
      test_df = df[df["date"] >= "2018-01-01"]
  
      return train_df, test_df, coef
  
file_path: orbit/tests/conftest.py
imports: import pytest
  import pandas
  import numpy
  import importlib_resources
  from copy import deepcopy
  from orbit.utils.simulation import make_trend, make_seasonality, make_regression
label_desc: Use image node_id 3 for calling a global function with example usage: make_daily_data(request) and returns: train_df,  test_df,  coef