docs: def rollout(env, acts):
      """
      Perform a rollout using a preset collection of actions
      """
      total_rew = 0
      env.reset()
      steps = 0
      for act in acts:
          _obs, rew, done, _info = env.step(act)
          steps += 1
          total_rew += rew
          if done:
              break
  
      return steps, total_rew