code: def get_scorers_cls(metric_names):
      """Returns a dict with scorers related to the metrics
      indicated in `metric_names`."""
      scorers_cls = {}
      for name in metric_names:
          if name not in AVAILABLE_SCORERS.keys():
              raise ValueError("specified metric not supported!")
          scorers_cls[name] = AVAILABLE_SCORERS[name]
      return scorers_cls
  
imports: import os
  import importlib
  from .scorer import Scorer, build_scorers
label_desc: Use image node_id 1 for calling a global function with example usage: get_scorers_cls(metric_names) and returns: scorers_cls