Commit Graph

2 Commits

Author SHA1 Message Date
Ahmed Omar
2754d9737e removed calls to reset from init (#2394)
* removed all calls to reset

* passing tests

* fix off-by-one error

* revert

* merge master into branch

* add OrderEnforcing Wrapper

* add orderenforcing to the docs

* add option for disabling

* add argument to EnvSpec
2021-09-16 10:16:49 -04:00
Anthony Tamasi
cb1a4836fb Add compliance testing for API (#2289)
* Copied over SB3 env checker

* Added test from SB3

* Addition of MIT license attribution and black formatting

* Removed SB3 dependence

* Implemented rough, non-vectorized version of check_nan

* Made some SB3 warnings a bit more "general"

* Removed check for "unsupported" spaces, since Gym should support any space

* Added action/observation checks from pettingzoo, referenced in file docstring

* Removed copy of MIT license in file docstring

* Re-added usage of the check_inf flag for helper functino

* Changed test to be simple/classic example. Should add more tests

* Added API compliance check to registered envs
2021-08-12 13:35:09 -04:00