code: def test_daily_data_diff_params(daily_df):
      """Tests daily data with different parameters."""
      hi = HolidayInferrer()
      result = hi.infer_holidays(
          df=daily_df,
          plot=True,
          countries=["US", "UK", "India"],
          pre_search_days=3,
          post_search_days=0,
          baseline_offsets=[-14, -7, 7, 14],
          independent_holiday_thres=0.6,
          together_holiday_thres=0.8,
      )
      # Checks result.
      assert len(result["scores"]) == 200
      assert "US_Christmas Day_+0" in result["scores"]
      assert "US_New Year's Day_-3" in result["scores"]
      assert "India_All Saints Day_-1" in result["scores"]
      assert len(result["fig"].data) == 5
      assert len(result["independent_holidays"]) == 100
      assert len(result["together_holidays_positive"]) == 12
      assert len(result["together_holidays_negative"]) == 10
      # Checks attributes.
      assert hi.df is not None
      assert hi.time_col == TIME_COL
      assert hi.value_col == VALUE_COL
      assert hi.year_start == 2007
      assert hi.year_end == 2016
      assert len(hi.ts) == len(hi.df)
      assert hi.country_holiday_df is not None
      assert len(hi.holidays) == 50
      assert len(hi.score_result) == 200
      assert len(hi.score_result_avg) == 200
      assert hi.result == result
  
imports: import numpy
  import pandas
  import pytest
  from holidays_ext.get_holidays import get_holiday_df
  from testfixtures import LogCapture
  from greykite.algo.common.holiday_inferrer import HolidayInferrer
  from greykite.common.constants import EVENT_DF_DATE_COL
  from greykite.common.constants import EVENT_DF_LABEL_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.logging import LOGGER_NAME
label_desc: Use image node_id 5 for calling a global function with example usage: test_daily_data_diff_params(daily_df) without return types