Kaggle / kaggle-environments

https://www.kaggle.com/competitions
Apache License 2.0
289 stars 147 forks source link

Modified turn code to make sure on error condition reward is distributed equally #271

Closed bovard closed 4 months ago

bovard commented 4 months ago

When an agent times out or has a bad response, make sure that agent loses and all others have the same reward.

https://b.corp.google.com/issues/343793215

bovard commented 4 months ago
============================= test session starts ==============================
platform linux -- Python 3.10.13, pytest-8.2.1, pluggy-1.5.0
rootdir: /usr/src/app/kaggle_environments
plugins: typeguard-4.1.5, anyio-4.2.0
collected 80 items

kaggle_environments/envs/connectx/test_connectx.py ..............        [ 17%]
kaggle_environments/envs/halite/test_halite.py ..............            [ 35%]
kaggle_environments/envs/kore_fleets/test_kore_fleets.py ............... [ 53%]
.....                                                                    [ 60%]
kaggle_environments/envs/llm_20_questions/test_llm_20_questions.py ....  [ 65%]
kaggle_environments/envs/lux_ai_2021/test_lux.py ..                      [ 67%]
kaggle_environments/envs/lux_ai_s2/test_lux.py .                         [ 68%]
kaggle_environments/envs/rps/test_rps.py ..........                      [ 81%]
kaggle_environments/envs/tictactoe/test_tictactoe.py ...............     [100%]