opendilab / GoBigger

[ICLR 2023] Come & try Decision-Intelligence version of "Agar"! Gobigger could also help you with multi-agent decision intelligence study.
https://gobigger.readthedocs.io/en/latest/
Apache License 2.0
457 stars 34 forks source link

fix render bug #35

Closed mingzhang96 closed 2 years ago

mingzhang96 commented 2 years ago
  1. Bug when the number of food balls is 0
  2. flexible setting for render instead of fixed number
codecov[bot] commented 2 years ago

Codecov Report

Merging #35 (0fdaece) into main (f7cf14e) will increase coverage by 0.34%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   87.70%   88.04%   +0.34%     
==========================================
  Files          63       63              
  Lines        3977     3974       -3     
==========================================
+ Hits         3488     3499      +11     
+ Misses        489      475      -14     
Flag Coverage Δ
unittests 88.04% <100.00%> (+0.34%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
gobigger/render/env_render.py 94.25% <100.00%> (+8.76%) :arrow_up:
gobigger/render/test/test_env_render.py 100.00% <100.00%> (ø)
gobigger/hyper/actions.py 53.62% <0.00%> (-8.47%) :arrow_down:
gobigger/players/human_player.py 89.33% <0.00%> (-0.67%) :arrow_down:
gobigger/server/server.py 70.10% <0.00%> (+0.68%) :arrow_up:
gobigger/managers/thorns_manager.py 83.78% <0.00%> (+5.40%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f7cf14e...0fdaece. Read the comment docs.