class_docstr: Helper for running environements
  
  Parameters
  ----------
  env: gym.Env or MultiAgentEnv
      a possibly multi agent environment
  num_repetations: int
      number of repetitions to play the environment (smoothes the output)
  max_step: int
      maximum number of steps to play the environemnet before breaking
class_docstr_tok: ["Helper","for","running","environements","Parameters","--","--","--","--","--","env",":","gym.Env","or","MultiAgentEnv","a","possibly","multi","agent","environment","num_repetations",":","int","number","of","repetitions","to","play","the","environment","(","smoothes","the","output",")","max_step",":","int","maximum","number","of","steps","to","play","the","environemnet","before","breaking"]
code: def __init__(
      self,
      env: tp.Union[gym.Env, MultiAgentEnv],
      num_repetitions: int = 1,
      max_step: float = float("inf"),
  ) -> None:
      self.env = env
      self.num_repetitions = num_repetitions
      self.max_step = max_step
  
imports: import typing
  from collections import defaultdict
  import gym
label_desc: Use image node_id 1 to create a new EnvironmentRunner object  with example: obj = EnvironmentRunner(env, num_repetitions, max_step)