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
Hanabi Integration #63
Conversation
…aining endpoints.
…xt: e2e tests + class docu
…vior according to test_api.pz transparent
@weepingwillowben are you happy with this? |
@dissendahl can you fix the merge conflict with init? |
Can you please elaborate on: Debugged and E2E tested with unittest, including api test as part of the unit tests. CHANGE REQUEST: Add typing annotation in utils/env.py, see last commit. |
@justinkterry:
-To clarify: Naturally I did functionally testing with unit tests. Furthermore I have included two unit tests for E2E and integration testing: 1st test runs a full hanabi game, then resets the env, then runs another game on the same env instance. 2nd test calls utils/test_api.py to validate if env is compliant with the api design. -> see commit ddc7252 -To clarify - CHANGE REQUEST: I added type hints to the top level env definition, so that it is easier to understand which return values are expected when implementing a inheriting environment. IMO this makes life easier for people who want to build their own environment based on the pettingzoo api. -> see commit 890ed9f |
Hanabi should match the pettingzoo expectations of what an environment should look like. After this is finished, I'll add hanabi to the CI tests and take a look at it again. |
On a seperate note, it is not clear to me that git submodules is the best option we have. I had some trouble getting it set up myself, and it seems likely that this will cause us a lot of headache in the future. As an alternative we can fork the codebase to https://github.com/PettingZoo-Team/ and host it on pypi ourselves, which may be a better long term option. We are already planning on this for MAgent and ALE. |
|
|
@weepingwillowben and @justinkterry : Thanks for reviewing!
|
The goal is something like this:
|
So the environment will have parameters, but they will all have a default value. |
@clemens4321 Please move the type hints from the AECEnv class specifically to hanabi |
Removed the branch, therefore have to reopen pull request. |
Hanabi, integrated from official repo as git submodule.
See hanabi/README.md for how to pull and setup git submodule.
See documentation within class for full information.
Debugged and E2E tested with unittest, including api test as part of the unit tests.
CHANGE REQUEST: Add typing annotation in utils/env.py, see last commit.