You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We noticed that the old_game_state and new_game_state dictionaries that are passed to the game_events_occurred agent callbacks contain the same "step" value.
This seems to not always having been the case, as we found that this behavior was first introduced in commit 35b4965. The issue is caused by the agent state being stored hereafter the step was already incremented here.
Is this intended behavior? If so, we would suggest updating the documentation to communicate this more clearly to prevent misunderstandings in the future.
For instance, our team tried to use the stored step to retrieve cached data, which of course did not work as we had intended because of the way step reporting is handled at the moment.
The text was updated successfully, but these errors were encountered:
We noticed that the
old_game_state
andnew_game_state
dictionaries that are passed to thegame_events_occurred
agent callbacks contain the same"step"
value.This seems to not always having been the case, as we found that this behavior was first introduced in commit 35b4965. The issue is caused by the agent state being stored here after the step was already incremented here.
Is this intended behavior? If so, we would suggest updating the documentation to communicate this more clearly to prevent misunderstandings in the future.
For instance, our team tried to use the stored step to retrieve cached data, which of course did not work as we had intended because of the way step reporting is handled at the moment.
The text was updated successfully, but these errors were encountered: