code: def check_coverage(args):
      tasks = find_num_coverage_jobs(args.circleci_yaml)
      # let's only count the main workflow
      num_tasks = sum(tasks.values())
      func_tasks = filter(lambda x: x.startswith("func-"), tasks.keys())
      coverage_config_check(num_tasks, args.codecov_yaml)
      coveragerc_file_check(func_tasks, args.coveragerc)
      print("All checks passed!")
  
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 7 for calling a global function with example usage: check_coverage(args) without return types