-
-
Notifications
You must be signed in to change notification settings - Fork 945
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
Add is_slippery
option for cliffwalking environment
#1087
Add is_slippery
option for cliffwalking environment
#1087
Conversation
@CloseChoice Could you update the PR with the project main |
6804b65
to
169b0d8
Compare
just did that. |
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.
Thanks for that @CloseChoice
Is this equivalent to the old version when is_slippery=False
?
Would it be possible to include in the reset
and step
info
a probability
key that is equal to the probability of the outcome occuring?
Yes, old version and Isn't the probability (or |
I meant Sorry, I didn't realise that Small note: v1 was actually due to the reward threshold being changed (openai/gym#2205 and openai/gym#2315) but kept the comment about |
is_slippery
option for cliffwalking environment to disable
I think I tested this already, see here. Do you want this more explicitly, or in some other fashion? Is there a todo for me regarding the version? Somehow I think I did not register v1 properly but I don't know how to do that, would be great if you could point me in the right direction EDIT: I saw that you changed the title and also your comment
suggests that there is a misunderstanding. The implementation on main of this environment is not slippery, meaning each action can just lead to one state (with transition prob 1). But this PR adds the slippery option. To keep things backwards compatible the default for |
is_slippery
option for cliffwalking environment to disableis_slippery
option for cliffwalking environment
Sorry, I somehow missed that
Your right, I've updated the title, thanks for clarifying |
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.
Looks good to merge
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Supports #161 (issue)
Type of change
Please delete options that are not relevant.
Screenshots
Please attach before and after screenshots of the change if applicable.
Checklist:
pre-commit
checks withpre-commit run --all-files
(seeCONTRIBUTING.md
instructions to set it up)