code: def evaluator_setup(score_function):
      """Set up the evaluator."""
      evaluator = Evaluator(dummy_results())
      metric = PairwiseMetric(
          func=score_function, name="score_function"
      )
      metrics_by_strategy = evaluator.evaluate(metric=metric)
  
      return evaluator, metrics_by_strategy
  
imports: import numpy
  import pandas
  import pytest
  from sklearn.metrics import accuracy_score
  from sktime.benchmarking.evaluation import Evaluator
  from sktime.benchmarking.metrics import PairwiseMetric
  from sktime.benchmarking.results import RAMResults
  from sktime.series_as_features.model_selection import PresplitFilesCV
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 2 for calling a global function with example usage: evaluator_setup(score_function) and returns: evaluator,  metrics_by_strategy