code: def find_num_coverage_jobs(circleci_yaml):
      config_process = subprocess.run(
          f"circleci config process {circleci_yaml}",
          shell=True,
          stdout=subprocess.PIPE,
          check=True,
      )
      config_yaml = yaml.safe_load(config_process.stdout)
  
      jobs = {}
      for job_name, job_config in config_yaml["jobs"].items():
          parallelism = job_config.get("parallelism", 1)
          # exclude windows jobs since they are disabled
          # for non-main and release branches right now
          if "-win-" in job_name:
              continue
          if "steps" in job_config:
              for step in job_config["steps"][1:]:
                  if "run" in step and re.search(
                      "cover-.*-circle", step["run"]["command"]
                  ):
                      jobs[job_name] = parallelism
      return jobs
  
file_path: wandb/tools/coverage-tool.py
imports: import argparse
  import configparser
  import re
  import subprocess
  import sys
  import yaml
label_desc: Use image node_id 4 for calling a global function with example usage: find_num_coverage_jobs(circleci_yaml) and returns: jobs