code: def get_scores(self, score_me):
      # Need to be explicit about if we're using REF or not since the Prism scorer under the hood does different things
      if score_me.use_ref is UseRef.YES:
          _ref_hypo, _hypo_ref, scores = self.scorer.score(
              cand=score_me.hypos,
              ref=score_me.context_ref,
              segment_scores=True,
          )
      else:
          scores = self.scorer.score(
              cand=score_me.hypos,
              src=score_me.context_ref,
              segment_scores=True,
          )
  
      return {PRISM_AVG: scores}
  
imports: from typing import Dict, List
  from projects.roscoe.baselines.constants import BARTSCORE_CNN_F, BARTSCORE_CNN_PARA_F, BARTSCORE_F, BARTSCORE_FINETUNED_F, BERTSCORE_F, BLEURT, CTC_CONSISTENCY_SUMMARY, CTC_RELEVANCE_SUMMARY, PRISM_AVG, ROUGE_L, ROUGE_2, ROUGE_1, Example, ScoreMe, UseRef
  import re
  from importlib.machinery import SourceFileLoader
label_desc: Use image node_id 2 for calling the PrismBaselineScorer obj's underlying member method code with example usage: obj.get_scores(score_me) and returns: dict