code: def collect_metrics(local_evaluator=None,
                      remote_evaluators=[],
                      timeout_seconds=180):
      
  
      episodes, num_dropped = collect_episodes(
          local_evaluator, remote_evaluators, timeout_seconds=timeout_seconds)
      metrics = summarize_episodes(episodes, episodes, num_dropped)
      return metrics
docs: Gathers episode metrics from PolicyEvaluator instances.