code: def __init__(self, exs: List[Example], use_ref: UseRef):
      self.use_ref = use_ref
      if self.use_ref is UseRef.YES:
          self.context_ref = [x.ref for x in exs]
      else:
          self.context_ref = [x.context for x in exs]
      assert (
          len(self.context_ref) > 0 and self.context_ref[0] is not None
      )
      self.hypos = [x.hypo for x in exs]
  
imports: from dataclasses import dataclass
  from enum import Enum
  from typing import List, Optional
label_desc: Use image node_id 1 to create a new ScoreMe object  with example: obj = ScoreMe(exs, use_ref)