Farama-Foundation/Gymnasium

[Proposal] Add wrapper checker

Open

#6 opened on Sep 10, 2022

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Python (4,712 stars) (567 forks)batch import
enhancementgood first issue

Description

In v24 / 25, we added an environment checker for users to check that environment follow the API correctly. As some environments implement their own wrappers and to check our own, it would be helpful to add a wrapper checker.

Proposed checks

  • Check that all observations and actions spaces are valid (all observations are contained in space)
  • Check the input and output types for reset and step

Contributor guide