code: def _evaluate_ensemble(
      ensemble: Tuple[Tuple[ModelConfig], DatasetConfig],
      evaluator: EnsembleAnalyzer,
  ) -> Performance:
      return evaluator.get_ensemble_performance(
          list(ensemble[0]), ensemble[1], num_samples=3
      )
  
file_path: gluonts/src/gluonts/nursery/tsbench/src/cli/ensembles/simulate.py
imports: import pickle
  import random
  from functools import partial
  from itertools import combinations, product
  from pathlib import Path
  from typing import cast, List, Tuple
  import click
  from tsbench.analysis import EnsembleAnalyzer
  from tsbench.analysis.utils import num_fitting_processes, run_parallel
  from tsbench.config import DatasetConfig, ModelConfig, TrainConfig
  from tsbench.constants import DEFAULT_EVALUATIONS_PATH
  from tsbench.evaluations.metrics import Performance
  from tsbench.evaluations.tracking import ModelTracker
  from ._main import ensembles
label_desc: Use image node_id 2 for calling a global function with example usage: _evaluate_ensemble(ensemble, evaluator) and returns: evaluator