-
Notifications
You must be signed in to change notification settings - Fork 30
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
[Hex] Extract logic functions #1288
Conversation
This reverts commit 4252c71.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1288 +/- ##
==========================================
- Coverage 80.34% 80.27% -0.07%
==========================================
Files 62 62
Lines 5891 5896 +5
==========================================
Hits 4733 4733
- Misses 1158 1163 +5 ☔ View full report in Codecov by Sentry. |
color = color * ones | ||
can_swap = state.legal_action_mask[-1] * ones | ||
can_swap = (state.step_count == 1) * ones |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line changes the observation in terminated state.
can_swap
plane changes from True to False.
#1127