code: def perform_rollout_seeding_test(
      hydra_overrides_sequential: Dict[str, str],
      hydra_overrides_parallel: Dict[str, str],
  ) -> None:
      """Perform seeding test.
  
      :param hydra_overrides_sequential: The hydra overrides for the sequential runner.
      :param hydra_overrides_parallel: The hydra overrides for the parallel runner.
      """
      sequential_writer = LogStatsWriterExtract()
      register_log_stats_writer(sequential_writer)
      hydra_overrides_sequential.update(
          {"runner": "sequential", "runner.n_episodes": 8}
      )
      run_maze_job(
          hydra_overrides_sequential,
          config_module="maze.conf",
          config_name="conf_rollout",
      )
      sequential_data = copy.deepcopy(sequential_writer.data)
  
      parallel_writer = LogStatsWriterExtract()
      register_log_stats_writer(parallel_writer)
      hydra_overrides_parallel.update(
          {
              "runner": "parallel",
              "runner.n_episodes": 8,
              "runner.n_processes": 2,
          }
      )
      run_maze_job(
          hydra_overrides_parallel,
          config_module="maze.conf",
          config_name="conf_rollout",
      )
      parallel_data = copy.deepcopy(parallel_writer.data)
  
      for kk in sequential_data.keys():
          assert np.isclose(sequential_data[kk], parallel_data[kk]), (
              f"Not equal stats: {kk} -> "
              f"{sequential_data[kk]} vs {parallel_data[kk]}"
          )
  
file_path: maze/maze/test/core/rollout/test_rollout_seeding.py
imports: import copy
  from typing import Dict
  import numpy
  import pytest
  from maze.core.log_stats.log_stats import LogStats, register_log_stats_writer
  from maze.core.log_stats.log_stats_writer_console import LogStatsWriterConsole
  from maze.test.shared_test_utils.run_maze_utils import run_maze_job
label_desc: Use image node_id 1 for calling a global function with example usage: perform_rollout_seeding_test(hydra_overrides_sequential, hydra_overrides_parallel) without return types