code: def get_prediction_confidence(
      self, tests: List[str]
  ) -> Dict[str, float]:
      test_ratings = get_ratings_for_tests(
          ADDITIONAL_CI_FILES_FOLDER / TEST_FILE_RATINGS_FILE
      )
      test_ratings = {
          k: v for (k, v) in test_ratings.items() if k in tests
      }
      return normalize_ratings(test_ratings, 1)
  
file_path: pytorch/tools/testing/target_determination/heuristics/correlated_with_historical_failures.py
imports: from typing import Any, Dict, List
  from tools.stats.import_test_stats import ADDITIONAL_CI_FILES_FOLDER, TEST_FILE_RATINGS_FILE
  from tools.testing.target_determination.heuristics.interface import HeuristicInterface, TestPrioritizations
  from tools.testing.target_determination.heuristics.utils import get_correlated_tests, get_ratings_for_tests, normalize_ratings
label_desc: Use image node_id 3 for calling the CorrelatedWithHistoricalFailures obj's underlying member method code with example usage: obj.get_prediction_confidence(tests) and returns: normalize_ratings