code: def register_scorer(score_names: List[str]):
      """
      This decorator should be used on all scorer classes so that we can easily specify
      what we want to use based on short name.
      """
  
      def decorator_register(cls):
          for name in score_names:
              SCORES_TO_CLASS[name] = cls
          return cls
  
      return decorator_register
  
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 1 for calling a global function with example usage: register_scorer(score_names) and returns: decorator_register, cls