code: def gen_historical_class_failures() -> Dict[str, Dict[str, float]]:
      return {
          "file1": {
              "test1::classA": 0.5,
              "test2::classA": 0.2,
              "test5::classB": 0.1,
          },
          "file2": {
              "test1::classB": 0.3,
              "test3::classA": 0.2,
              "test5::classA": 1.5,
              "test7::classC": 0.1,
          },
          "file3": {
              "test1::classC": 0.4,
              "test4::classA": 0.2,
              "test7::classC": 1.5,
              "test8::classC": 0.1,
          },
      }
  
file_path: pytorch/tools/test/heuristics/test_historical_class_failure_correlation.py
imports: import pathlib
  import sys
  import unittest
  from typing import Dict, List
  from unittest import mock
label_desc: Use image node_id 1 for calling a global function with example usage: gen_historical_class_failures() and returns: dict