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

Cleanup, removal of unmaintained code #836

Merged
merged 19 commits into from
Jan 26, 2018
Merged

Cleanup, removal of unmaintained code #836

merged 19 commits into from
Jan 26, 2018

Conversation

joschu
Copy link
Contributor

@joschu joschu commented Jan 26, 2018

Made some aesthetic improvements and removed unmaintained parts of gym. This may seem like a downgrade in functionality, but it is actually a long-needed cleanup in preparation for some great new things that will be released in the next month.

+ Now your `Env` and `Wrapper` subclasses should define `step`, `reset`, `render`, `close`, `seed` rather than underscored method names.
+ Removed the `board_game`, `debugging`, `safety`, `parameter_tuning` environments since they're not being maintained by us at OpenAI. We encourage authors and users to create new repositories for these environments.
+ Changed `MultiDiscrete` action space to range from `[0, ..., n-1]` rather than `[a, ..., b-1]`.
+ No more `render(close=True)`, use env-specific methods to close the rendering.
+ Removed `scoreboard` directory, since site doesn't exist anymore.
+ Moved `gym/monitoring` to `gym/wrappers/monitoring`
+ Add `dtype` to `Space`.
+ Not using python's built-in module anymore, using `gym.logger`

@joschu joschu changed the title Clean-up, removal of unmaintained code Cleanup, removal of unmaintained code Jan 26, 2018
# Conflicts:
#	README.rst
#	gym/benchmarks/scoring.py
#	gym/envs/mujoco/half_cheetah.py
#	gym/envs/mujoco/hopper.py
#	gym/envs/mujoco/humanoid.py
#	gym/envs/mujoco/mujoco_env.py
#	gym/envs/mujoco/walker2d.py
#	gym/scoreboard/__init__.py
#	gym/scoreboard/api.py
#	gym/spaces/dict_space.py
#	gym/spaces/discrete.py
#	gym/spaces/multi_binary.py
#	gym/spaces/tests/test_spaces.py
#	gym/spaces/tuple_space.py
#	gym/wrappers/monitor.py
#	setup.py
@joschu joschu merged commit 4c460ba into master Jan 26, 2018
@jachiam
Copy link
Contributor

jachiam commented Jan 26, 2018

Seems like some of these changes are breaking---maybe a version bump is in order?

@wenkesj
Copy link

wenkesj commented Jan 27, 2018

@joschu thank you for caring 🙏🏻

@LukeWood
Copy link

LukeWood commented Feb 28, 2018

Hey @joschu, this breaks CarRacing-v0. Just a heads up.

Edit: Oops just read your comment on this PR, I'm gonna take a stab at fixing CarRacing-v0 this around Saturday and see if I can make a PR to fix this.

@traderbagel
Copy link

Hi, what is the different between space.MultiDiscrete and space.Discrete after this changed ?

@LukeWood
Copy link

LukeWood commented Mar 3, 2018

Just a heads up - made some changes to CarRacing-v0 to address the problems introduced by the spec upgrade.

PR:
#924

wdoug added a commit to wdoug/gym that referenced this pull request Apr 22, 2018
This cleans up some leftover changes after PR openai#836
pzhokhov pushed a commit that referenced this pull request Feb 26, 2019
This cleans up some leftover changes after PR #836
zlig pushed a commit to zlig/gym that referenced this pull request Apr 24, 2020
* add dtype to Box

* remove board_game, debugging, safety, parameter_tuning environments

* massive set of breaking changes
- remove python logging module
- _step, _reset, _seed, _close => non underscored method
- remove benchmark and scoring folder

* Improve render("human"), now resizable, closable window.

* get rid of default step and reset in wrappers, so it doesn’t silently fail for people with underscore methods

* CubeCrash unit test environment

* followup fixes

* MemorizeDigits unit test envrionment

* refactored spaces a bit
fixed indentation
disabled test_env_semantics

* fix unit tests

* fixes

* CubeCrash, MemorizeDigits tested

* gym backwards compatibility patch

* gym backwards compatibility, followup fixes

* changelist, add spaces to main namespaces

* undo_logger_setup for backwards compat

* remove configuration.py
zlig pushed a commit to zlig/gym that referenced this pull request Apr 24, 2020
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.

6 participants