Skip to content

Conversation

matteobettini
Copy link
Contributor

@matteobettini matteobettini commented Jun 28, 2023

Fixes #1268
Depends on #1303

Here i mostly took code from @vmoens in #1204

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 28, 2023
Signed-off-by: Matteo Bettini <[email protected]>
# Conflicts:
#	test/test_env.py
assert ("next", *env.done_key) in next_state.keys(True)
assert ("next", *env.reward_key) in next_state.keys(True)

# check_env_specs(env)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove this since we test the same thing at line 1456

Copy link
Collaborator

@vmoens vmoens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
let's wait until tests pass

@vmoens vmoens added the bug Something isn't working label Jun 29, 2023
@vmoens vmoens merged commit ac0c560 into pytorch:main Jun 29, 2023
@matteobettini matteobettini deleted the check_env_specs branch June 29, 2023 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] check_env_specs() problems with nested keys

3 participants