code: def retrieval_score(prediction, reference, **kwargs):
      pattern = r"Paragraph (\d+)"
      matches = re.findall(pattern, reference)
      ground_truth_id = matches[0]
      numbers = re.findall(r"\d+", prediction)
      right_num = 0
      for number in numbers:
          if str(number) == str(ground_truth_id):
              right_num += 1
      final_score = (
          0.0 if len(numbers) == 0 else right_num / len(numbers)
      )
      return float(final_score)
  
imports: import difflib
  import re
  import string
  from collections import Counter
  import jieba
  from fuzzywuzzy import fuzz
  from rouge import Rouge
label_desc: Use image node_id 15 for calling a global function with example usage: retrieval_score(prediction, reference) and returns: float