rlberry.utils.check_env

rlberry.utils.check_env(env)[source]

Check that the environment is (almost) gym-compatible and that it is reproducible in the sense that it returns the same states when given the same seed.

Parameters:
env: gymnasium.env or rlberry env

Environment that we want to check.