code: def setup_args(cls):
      parser = ParlaiParser(False, False)
      parser.add_argument("--cut-first-400", default=False)
      parser.add_argument("--convo-path", required=True)
      parser.add_argument(
          "--report-path",
          required=True,
          help="path of the report saved from the tod_metrics_script",
      )
      parser.add_argument(
          "--print-to-file",
          default=False,
          help="save the results to a file (by hackishly redirecting stdout)",
      )
      parser.add_argument(
          "--filter-call-attempts",
          default=True,
          help="when True, only counts as 'passing' if System made exactly the same # of api calls as # of goals",
      )
      return parser
  
file_path: ParlAI/projects/tod_simulator/scripts/get_passing_only.py
imports: from collections import defaultdict
  from copy import deepcopy
  import json
  import sys
  from shutil import copyfile
  from parlai.core.params import ParlaiParser
  from parlai.core.script import ParlaiScript, register_script
  from parlai.core.tod.tod_core import STANDARD_DONE
  from parlai.utils.io import PathManager
  from parlai.core.tod.tod_core import SerializationHelpers
label_desc: Use image node_id 1 for calling the GetPassingOnlyScript obj's underlying member method code with example usage: obj.setup_args(cls) and returns: parser