code: def test_flag_jumps_all_args_specified_as_dict(timeseries_dataframe):
      """
      Test provided kwargs (of type dict) behaves as expected.
      Since strict defaults to `False`, col3, col4, and col5 will be
      flagged and will use default args (`scale=percentage`,
      `direction=any`, and `threshold=0.0`).
      """
      df = timeseries_dataframe
      orig_cols = df.columns
  
      expected = np.ones((10, 5), dtype=int)
      expected[0, :] = 0
      expected[:, 0:2] = 0
      expected_cols = [f"{c}_jump_flag" for c in orig_cols]
      expected_df = pd.DataFrame(
          expected, columns=expected_cols, index=df.index
      )
  
      # Exercise
      df = df.flag_jumps(
          scale=dict(col1="absolute", col2="percentage"),
          direction=dict(col1="increasing", col2="any"),
          threshold=dict(col1=1, col2=2),
      )
  
      # Verify
      assert list(df.columns) == list(orig_cols) + expected_cols
      assert df.filter(regex="flag").equals(expected_df)
  
imports: import numpy
  import pandas
  import pytest
  import janitor.timeseries
  from janitor.errors import JanitorError
  from janitor.timeseries import _flag_jumps_single_col
label_desc: Use image node_id 16 for calling a global function with example usage: test_flag_jumps_all_args_specified_as_dict(timeseries_dataframe) without return types