code: def test_automl_reduction(config=3, sim_saveload=False):
      # 10281881982--audit --invert_hash
      args = f"--invert_hash readable.vw --automl {str(config)} --priority_type favor_popular_namespaces --cb_explore_adf --quiet --epsilon 0.2 --random_seed 5 --extra_metrics metrics.json --oracle_type rand"
      if sim_saveload:
          ctr = _test_helper_save_load(
              vw_arg=f"{args}",
              log_filename=f"custom_reduc_{str(config)}.txt",
          )
      else:
          ctr = _test_helper(
              vw_arg=args,
              log_filename=f"custom_reduc_{str(config)}.txt",
              num_iterations=4000,
          )
  
      if config == 1:  # with one live config
          assert ctr[-1] > 0.65
      elif config == 3:  # with three live configs
          assert ctr[-1] > 0.75
      else:
          assert False
  
imports: import vowpalwabbit
  from distributionally_robust_data import OnlineCressieRead
  import collections
  import os
  import random
  import os
label_desc: Use image node_id 5 for calling a global function with example usage: test_automl_reduction(config, sim_saveload) without return types