(Translated by https://www.hiragana.jp/)
Fix obs resetting delayed on solving a level or on truncation by taufeeque9 · Pull Request #305 · sail-sg/envpool · GitHub
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

Fix obs resetting delayed on solving a level or on truncation #305

Closed
wants to merge 61 commits into from

Conversation

taufeeque9
Copy link

No description provided.

taufeeque9 and others added 29 commits March 19, 2024 02:34
Fixes the issue of having any directory (e.g: logs directory) within the
levels directory:
AlignmentResearch/learned-planners#54
- Update to image with Pytorch 2.2.1
- LLVM changed version 10->14, so make `clang-format` and `clang-tidy`
new versions happy.
- Check deadlock condition for when the box is stuck in a corner that's
not a goal
- Add a script `astar_log_level.cc` to solve a particular level in a
file. This should be used when logging levels across a small number of
files.
- `astar_log.cc` should still be used to log levels across a large
number of files.
I implemented and added tests for:

- the environment returns `truncate=True` (rather than `terminate=True`)
when the time limit is exceeded
- when the environment gets solved at the very last step when it would
be truncated, it's returned as `terminated`

I also fixed a previous bug:
- Python tests failing would not make CI fail. `pytest.main` is not
enough, one needs to explicitly check its return value and exit with it.
Co-authored-by: Adrià Garriga-Alonso <adria@far.ai>
@taufeeque9 taufeeque9 closed this May 28, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants