code: def get_answer_choice(self, raw_text):
      # Function maps answers to CoQA answer categories
      # ~ 1/5 of the CoQA answers are Yes/No
      # ~ 2/3 of the CoQA answers are span-based
      # (answers overlap with the passage ignoring punctuation and case mismatch)
      if raw_text == "unknown":
          return "0"
      if squad_metrics.normalize_answer(raw_text) == "yes":
          return "1"
      if squad_metrics.normalize_answer(raw_text) == "no":
          return "2"
      return "3"
  
imports: import inspect
  import transformers.data.metrics.squad_metrics
  import lm_eval.datasets.coqa.coqa
  from lm_eval.base import Task, rf, mean
  from itertools import zip_longest
label_desc: Use image node_id 11 for calling the CoQA obj's underlying member method code with example usage: obj.get_answer_choice(raw_text) and returns: str, str, str, str