-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Proposal] Tests for all envs #2767
Comments
Proposed changes
|
I'm going to take a look at some of these points, I'll start with the action dim tests |
This was referenced May 5, 2022
jkterry1
pushed a commit
that referenced
this issue
May 12, 2022
jkterry1
pushed a commit
that referenced
this issue
May 16, 2022
* Add action in bound checks. * add correct dtype to clip_action test. * ensure correct dtype in tests. * action check in car_racing no more needed. * Prune PR. parametrize tests with spec_list. * revert changes. * remove file. * remove magic number. * test both upper and lower bound for every action. * assert oob is really out of bound. also bugfix in action performed * valide car racing discrete action. Add docstrings. Include car racing discrete in tests. Co-authored-by: Gianluca De Cola <gianluca.decola@ags-it.com>
jkterry1
pushed a commit
that referenced
this issue
Jun 2, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Proposal
There should be more comprehensive tests for all envs. Probably the easiest test would be similar to that in PettingZoo where every state of a rollout is asserted to be contained in the observation space.
There should also be tests that assert the behaviour of environments where this can be tested. One example is the heuristic landing for Lunar Lander (which currently only works for the non-winded case).
The text was updated successfully, but these errors were encountered: