hsahovic / poke-env

A python interface for training Reinforcement Learning bots to battle on pokemon showdown
https://poke-env.readthedocs.io/
MIT License
297 stars 103 forks source link

Added empty event tracking #577

Closed caymansimpson closed 3 months ago

caymansimpson commented 4 months ago

In Poke-env showdown protocol, empty events are used to track where we are in a turn state (singles example, doubles example), which are both useful to parsers and LLMs.

This change is quite small -- it allows for us to record empty events in observations.events so that any AI/model can better track what "chapter" of the turn we're in.

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 85.17%. Comparing base (f458350) to head (01ac842). Report is 57 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #577 +/- ## ========================================== + Coverage 83.38% 85.17% +1.79% ========================================== Files 39 42 +3 Lines 3918 4224 +306 ========================================== + Hits 3267 3598 +331 + Misses 651 626 -25 ```
caymansimpson commented 3 months ago

This is included in my other PR, so closing this for now