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
gym.make accepts max_episode_steps as argument.
For this reason, max_episode_steps is not included in kwargs and it is not passed through to the MiniHack constructor.
The text was updated successfully, but these errors were encountered:
epignatelli
changed the title
[BUG] max_episode_steps obscured by gym.make does not trigger ABORTED status
[BUG] reward_lose not set at timeout
May 17, 2024
epignatelli
changed the title
[BUG] reward_lose not set at timeout
[BUG] reward_lose not correctly set at timeout
May 17, 2024
🐛 Bug
When setting
max_episode_steps
, whilegym
correctly triggers a reset, MiniHack (and perhaps even NLE) does not setStepStatus.ABORTED
.As a consequence, the reward for Timeout is not
reward_lose
.To Reproduce
Expected behavior
int(info["end_status"])
should be-1
Potential reasons
gym.make
acceptsmax_episode_steps
as argument.For this reason,
max_episode_steps
is not included inkwargs
and it is not passed through to the MiniHack constructor.The text was updated successfully, but these errors were encountered: