Skip to content
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

Error enemy reward calculation #35

Open
Nostrademous opened this issue Feb 4, 2019 · 2 comments
Open

Error enemy reward calculation #35

Nostrademous opened this issue Feb 4, 2019 · 2 comments

Comments

@Nostrademous
Copy link
Collaborator

Occasionally

Traceback (most recent call last):
  File "agent.py", line 751, in main
    await game.play(game_id=game_id)
  File "agent.py", line 684, in play
    rad_rew = sum(players[TEAM_RADIANT].rewards[-1].values())
IndexError: list index out of range
@Nostrademous
Copy link
Collaborator Author

Can't reproduce....

@Nostrademous
Copy link
Collaborator Author

Happened again two days ago on 362nd game

Traceback (most recent call last):
  File "agent.py", line 797, in main
    await game.play(game_id=game_id)
  File "agent.py", line 730, in play
    rad_rew = sum(players[TEAM_RADIANT].rewards[-1].values())
IndexError: list index out of range

@Nostrademous Nostrademous reopened this Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant