code: def key_by_name(x: CoverageItem) -> str:
      return x[0]
  
file_path: pytorch/tools/code_coverage/package/tool/print_report.py
imports: import os
  import subprocess
  from typing import Dict, IO, List, Set, Tuple
  from ..oss.utils import get_pytorch_folder
  from ..util.setting import SUMMARY_FOLDER_DIR, TestList, TestStatusType
label_desc: Use image node_id 2 for calling a global function with example usage: key_by_name(x) and returns: x