code: def parse_args():
      parser = argparse.ArgumentParser(
          description="Run Welch's t-test on benchmark result."
      )
      parser.add_argument(
          "first_report",
          metavar="r1",
          type=str,
          help="Path to the first pytest-benchmark JSON report.",
      )
      parser.add_argument(
          "second_report",
          metavar="r2",
          type=str,
          help="Path to the second pytest-benchmark JSON report.",
      )
      parser.add_argument(
          "-a",
          "--alpha",
          metavar="alpha",
          type=float,
          default=0.05,
          action=AlphaAction,
          help="The confidence level in t-test.",
      )
  
      slower_message = (
          "Set this flag to test if the first result is slower "
          "than the second. Otherwise, the tool will test if the "
          "first result is faster than the second."
      )
      parser.add_argument(
          "--slower", action="store_true", help=slower_message
      )
  
      return parser.parse_args()
  
imports: import argparse
  import collections
  import logging
  import json
  import os
  from operator import attrgetter
  import numpy
  from scipy.stats import t
label_desc: Use image node_id 8 for calling a global function with example usage: parse_args() and returns: parser