code: def setup_args(parser=None):
      if parser is None:
          parser = ParlaiParser(True, True, "Safety integration tests")
      # Get command line arguments
      parser.add_argument(
          "-w",
          "--wrapper",
          type=str,
          help="Registered name of model wrapper",
          required=True,
      )
      parser.add_argument(
          "--log-folder",
          type=str,
          help="Where to write logs",
          default="/tmp/",
      )
      parser.add_argument(
          "--safety-setting",
          type=str,
          choices={"adversarial", "nonadversarial"},
          help="Which human evaluation setting to prepare for: either `adversarial` or `nonadversarial`",
          required=True,
      )
      parser.add_argument(
          "--debug",
          type="bool",
          default=False,
          help="Use in DEBUG mode",
      )
      return parser
  
file_path: ParlAI/projects/safety_bench/prepare_integration_tests.py
imports: from parlai.core.opt import Opt
  from parlai.core.params import ParlaiParser
  from parlai.core.script import ParlaiScript
  import parlai.utils.logging
  from parlai.utils.io import PathManager
  from projects.safety_bench.utils.wrapper_loading import load_wrapper_module, setup_wrapper_registry, register_model_wrapper, MODEL_WRAPPER_REGISTRY
  from projects.safety_bench.utils.safety_testing import collect_task_data_and_model_response
  from projects.safety_bench.utils.colors import color
  import os
  from typing import Optional
  import json
label_desc: Use image node_id 1 for calling a global function with example usage: setup_args(parser) and returns: parser