code: def parse_script_args():
      parser = argparse.ArgumentParser()
      parser.add_argument("--num-nodes", type=int, default=100)
      parser.add_argument("--smoke-test", action="store_true")
      return parser.parse_known_args()
  
file_path: ray/release/nightly_tests/stress_tests/test_many_tasks.py
imports: import argparse
  import json
  import logging
  import os
  import time
  from collections import defaultdict
  import numpy
  import ray
label_desc: Use image node_id 7 for calling a global function with example usage: parse_script_args() and returns: parser