Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Fix blstats, again, again #196

Merged
merged 2 commits into from
Jul 8, 2021
Merged

Fix blstats, again, again #196

merged 2 commits into from
Jul 8, 2021

Conversation

heiner
Copy link
Contributor

@heiner heiner commented Jul 8, 2021

Write moves / time every normal step.

This fixes a bug introduced by dropping the "time" option.

Hopefully fixes #195.

This fixes a bug introduced by dropping the "time" option.
@heiner heiner requested a review from cdmatters July 8, 2021 13:49
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 8, 2021
@samvelyan
Copy link
Contributor

Thanks @heiner for the quick fix. I can confirm that the PR resolves the issue on the MiniHack side, where we originally noticed the issue.

@heiner
Copy link
Contributor Author

heiner commented Jul 8, 2021

Thanks @heiner for the quick fix. I can confirm that the PR resolves the issue on the MiniHack side, where we originally noticed the issue.

Thanks for noticing. I wish we could unittest this better. Perhaps that's a reason to turn seed manipulation on again and try out specific trajectories (although there's no guarantee as the RNG is still OS dependent ...)

@heiner
Copy link
Contributor Author

heiner commented Jul 8, 2021

Update: Pushed a change to test_nethack.py as that test broke because it was broken.

@heiner heiner merged commit a35576e into master Jul 8, 2021
@heiner heiner deleted the heiner/fixblstatsagainagain branch July 8, 2021 14:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

On the master version, there's a per-time-step negative reward at every step
4 participants