Project pikachu - First Draft#124
Conversation
|
Hi @cpich3g! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
This pull request introduces a new integration for Pokémon battles using the
poke-envlibrary, providing both client and server implementations for an HTTP-based reinforcement learning environment. It includes a Dockerized server setup, data models, and documentation for usage and deployment. The changes are grouped below by theme:Environment Implementation
PokemonEnvHTTP client inclient.py, enabling interaction with a Pokémon battle server via standardized methods (reset,step, etc.), and providing payload parsing and state management for reinforcement learning agents.models.py, supporting both move and switch actions, detailed Pokémon stats, and comprehensive battle state representation.Server & Deployment
server/app.pyto expose the Pokémon battle environment over HTTP, with configuration via environment variables for battle format, player username, and server URL.build_docker.sh) and manual entrypoint startup (entrypoint.sh) for flexible deployment and debugging. [1] [2]Documentation
Poke-Env.MD) explaining the environment, installation, usage, and example teams for battles, making it easier for new users to get started.__init__.pyfor clarity and discoverability. [1] [2]