code: def set_fixed_random_state_for_dataset(
      download_dir: str, dataset: str
  ) -> None:
      """Set the fixed random state for entity_matching_scenario to ensure reproducibility.
  
      Unfortunately, the previous official HELM runs did not initialize
      the numpy random state to zero, so future runs must use the same
      random states in order to sample the same test instances to reproduce
      the official HELM runs."""
      random_state = get_split_to_fixed_random_seed(download_dir).get(
          dataset
      )
      if random_state:
          np.random.set_state(random_state)
      else:
          np.random.seed(0)
  
imports: import json
  import os
  from typing import Dict, Tuple
  import numpy
  from helm.common.general import ensure_file_downloaded
label_desc: Use image node_id 2 for calling a global function with example usage: set_fixed_random_state_for_dataset(download_dir, dataset) without return types