code: def get_exact_match_over_list(prediction, groundtruth):
      if type(groundtruth) == list:
          if len(groundtruth) == 0:
              return 0
          return np.max(
              [
                  get_exact_match_over_list(prediction, gt)
                  for gt in groundtruth
              ]
          )
      return normalize_answer(prediction) == normalize_answer(
          groundtruth
      )
  
file_path: OpenPrompt/openprompt/utils/crossfit_metrics.py
imports: import numpy
  import string
  import re
  from collections import Counter
  from sklearn.metrics import matthews_corrcoef, f1_score
  from scipy.stats import pearsonr, spearmanr
  from rouge import Rouge
label_desc: Use image node_id 8 for calling a global function with example usage: get_exact_match_over_list(prediction, groundtruth) and returns: unknown, np, int