-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update openai-gym fork #1
base: master
Are you sure you want to change the base?
Commits on Feb 17, 2022
-
Enable Legacy Warnings (#2617)
* Update pendulum.py * version warnings * black * try except * update notices version * Exception * nosec * black * no loop, stderr * black
Configuration menu - View commit details
-
Copy full SHA for a1f1421 - Browse repository at this point
Copy the full SHA a1f1421View commit details -
Update box2d/toy_text docs (#2622)
* Update box2d/toy_text docs * md format and additional fixes * grammar
Configuration menu - View commit details
-
Copy full SHA for 2aa7639 - Browse repository at this point
Copy the full SHA 2aa7639View commit details -
update frozen_lake docs (#2619)
* update frozen_lake docs * add version history to frozen lake
Configuration menu - View commit details
-
Copy full SHA for 2c0358b - Browse repository at this point
Copy the full SHA 2c0358bView commit details -
Updating MuJoCo docstrings (#2616)
* Changed Ant docstring * Changed half cheetah docstring * Changed Hopper docstring, modified formulations for Ant, HalfCheetah * Changed humanoid docstring * Changed HumanoidStandup, InvertedDoublependulum, InvertedPendulum docstrings * Updated remaining docstrings, updated names of reward terms, added notes about info
Configuration menu - View commit details
-
Copy full SHA for 95063a0 - Browse repository at this point
Copy the full SHA 95063a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e842a8f - Browse repository at this point
Copy the full SHA e842a8fView commit details
Commits on Feb 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 29a093a - Browse repository at this point
Copy the full SHA 29a093aView commit details -
* Update pendulum.py * version warnings * black * try except * update notices version * Exception * nosec * black * no loop, stderr * black * convert ## to ### * correct subheader * black * despace * spacing
Configuration menu - View commit details
-
Copy full SHA for b5c0cd2 - Browse repository at this point
Copy the full SHA b5c0cd2View commit details -
Fix Frozen Lake docstring (#2628)
* Update pendulum.py * version warnings * black * try except * update notices version * Exception * nosec * black * no loop, stderr * black * convert ## to ### * correct subheader * black * despace * spacing * frozen lake fixes
Configuration menu - View commit details
-
Copy full SHA for bdde1ed - Browse repository at this point
Copy the full SHA bdde1edView commit details
Commits on Feb 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b64f5cf - Browse repository at this point
Copy the full SHA b64f5cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7c39f8 - Browse repository at this point
Copy the full SHA d7c39f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d2146d - Browse repository at this point
Copy the full SHA 3d2146dView commit details
Commits on Feb 23, 2022
-
Make
NormalizeObservation
compatible with pybullet (#2638)* Make `NormalizeObservation` compatible with pybullet * Quick fix * Update test cases * Quick fix * pre-commit
Configuration menu - View commit details
-
Copy full SHA for c8321e6 - Browse repository at this point
Copy the full SHA c8321e6View commit details
Commits on Feb 26, 2022
-
Change snippet in README to show off new API (#2643)
* Changed snippet in README.md to show off new API * Added new line in snippet
Configuration menu - View commit details
-
Copy full SHA for b8634bb - Browse repository at this point
Copy the full SHA b8634bbView commit details
Commits on Feb 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 649a245 - Browse repository at this point
Copy the full SHA 649a245View commit details -
Rename render modes/fps (#2654)
* Update pendulum.py * version warnings * black * try except * update notices version * Exception * nosec * black * no loop, stderr * black * convert ## to ### * correct subheader * black * despace * spacing * frozen lake fixes * rename render modes/fps * fix API test * fix API test * fix more API tests * black * add render fps
Configuration menu - View commit details
-
Copy full SHA for 35b78ac - Browse repository at this point
Copy the full SHA 35b78acView commit details -
Removed Striker and Thrower (#2651)
* Removed Striker and Thrower * Removed from init as well * Removed assets
Configuration menu - View commit details
-
Copy full SHA for fc207f9 - Browse repository at this point
Copy the full SHA fc207f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3b4857 - Browse repository at this point
Copy the full SHA e3b4857View commit details
Commits on Mar 2, 2022
-
Locked framerate in human-mode rendering with PyGame (#2649)
* Locked framerate in human-mode rendering for box2d and classic_control * Fixed pyright errors * Use the new metadata key for FPS, add toytext environments
Configuration menu - View commit details
-
Copy full SHA for 8d4dff1 - Browse repository at this point
Copy the full SHA 8d4dff1View commit details -
Fix RandomNumberGenerator pickling (#2639)
* Fix RandomNumberGenerator pickling * Add test for RNG pickling fix * Fix Python 3.7 compatibility about tuple unpacking See: https://bugs.python.org/issue32117 * Fix formatting issue * Add test for space pickling
Configuration menu - View commit details
-
Copy full SHA for 15b5c6c - Browse repository at this point
Copy the full SHA 15b5c6cView commit details -
Box Boundedness determined using get_inf instead of np.inf (#2630)
* Box Boundedness determined using get_inf instead of np.inf * Store original array entries for determining boundedness * Capture the boundedness before casting away the np.inf * Removed requirement that integer spaces be bounded above and below * np full casts away the inf, so using dtype float for boundedness evaluation * Removed commented code * But the type ignore hint back in * Spacing change from black code formatter
Configuration menu - View commit details
-
Copy full SHA for d1f35fe - Browse repository at this point
Copy the full SHA d1f35feView commit details -
compatibility for loading legacy Discrete states (#2646)
* compatibility for loading legacy Discrete states * super * format
Configuration menu - View commit details
-
Copy full SHA for b2a2e67 - Browse repository at this point
Copy the full SHA b2a2e67View commit details -
Remove display initialization when not rendering in human mode (#2658)
* Remove display initialization when not rendering in human mode * Fix formatting
Configuration menu - View commit details
-
Copy full SHA for b78d1a1 - Browse repository at this point
Copy the full SHA b78d1a1View commit details -
* Update pendulum.py * version warnings * black * try except * update notices version * Exception * nosec * black * no loop, stderr * black * convert ## to ### * correct subheader * black * despace * spacing * frozen lake fixes * rename render modes/fps * fix API test * fix API test * fix more API tests * black * add render fps * render_fps API test * black * Update env_checker.py
Configuration menu - View commit details
-
Copy full SHA for 4a3c63f - Browse repository at this point
Copy the full SHA 4a3c63fView commit details
Commits on Mar 4, 2022
-
gym.spaces.Tuple inherits from collections.abc.Sequence (#2637)
* gym.spaces.Tuple inherits from collections.abc.Sequence Following the PR I did a few months back (#2446), the tuple wrapper of gym should inherits from the abstract interface of Python. It is important for type check via `isinstance` and enable using such objects transparently with libraries such as [dmtree](https://github.com/deepmind/tree). It will bring a way helper methods along the way but it cannot be avoided to interoperability: : `__iter__`, `__reversed__`, `index`, and `count` Personally I don't think it is an issue since it is new features and it is not conflicting. As the previous PR, this patch is NOT removing any existing feature and should not break backward compatibility. * Add unit test * Fix unit tests * Final fix. * Remove irrelevant comment. * Fix black formatter.
Configuration menu - View commit details
-
Copy full SHA for 108f32c - Browse repository at this point
Copy the full SHA 108f32cView commit details -
Fix space utils for Discrete with non-zero start (#2645)
* Fix flatten utils to handle Discrete.start * Fix vector space utils to handle Discrete.start * More granular dispatch in vector utils * Fix Box including the high end of the interval
Configuration menu - View commit details
-
Copy full SHA for e671aa1 - Browse repository at this point
Copy the full SHA e671aa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dddaf7 - Browse repository at this point
Copy the full SHA 2dddaf7View commit details
Commits on Mar 10, 2022
-
Make
VideoRecorder
backward-compatible togym<0.23
(#2678)* Make `VideoRecorder` backward-compatible to `gym<0.23` * Format * format
Configuration menu - View commit details
-
Copy full SHA for 29cf1e5 - Browse repository at this point
Copy the full SHA 29cf1e5View commit details
Commits on Mar 11, 2022
-
Fix issues with pygame event handling (#2684)
* Fix issues with pygame event handling * Fix display initialization and exit for jupyter
Configuration menu - View commit details
-
Copy full SHA for 6f1ec7c - Browse repository at this point
Copy the full SHA 6f1ec7cView commit details -
Add py.typed to package_data (#2683)
As is described in https://peps.python.org/pep-0561/#packaging-type-information
Configuration menu - View commit details
-
Copy full SHA for 25f80c4 - Browse repository at this point
Copy the full SHA 25f80c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 252c333 - Browse repository at this point
Copy the full SHA 252c333View commit details -
Configuration menu - View commit details
-
Copy full SHA for 028686c - Browse repository at this point
Copy the full SHA 028686cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eec83c - Browse repository at this point
Copy the full SHA 6eec83cView commit details
Commits on Mar 13, 2022
-
Fix misleading warning message. (#2690)
`pip install gym[atari]` will not install opencv. Correct way to install opencv is `pip install gym[other]` .
Configuration menu - View commit details
-
Copy full SHA for 57b157b - Browse repository at this point
Copy the full SHA 57b157bView commit details
Commits on Mar 14, 2022
-
Wipeout striker thrower (#2694)
* Pusher Docs * Fix precommit * remove striker and thrower archive files
Configuration menu - View commit details
-
Copy full SHA for e5bac2a - Browse repository at this point
Copy the full SHA e5bac2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1b0a12 - Browse repository at this point
Copy the full SHA b1b0a12View commit details -
Reduces warnings produced by pytest from ~1500 to 13 (#2660)
* Updated cartpole-v0 to v1 to prevent warning and added pytest.mark.filterwarnings for tests where warnings are unavoidable * Change np.bool to bool as numpy raises a warning and bool is the suggested solution * Seeding randint is deprecated in the future, integers is new solution * Fixed errors thrown when the video recorder is deleted but not closed * spaces.Box expects a floating array, updated all cases where this was not true and modified float32 to float64 as float array default to float64. Otherwise space.Box raises warning that dtype precision (float32) is lower than array precision (float64). * Added pytest.mark.filterwarnings to preventing the raising of an intended warning * Added comment to explain why a warning is raised that can't be prevented without version update to the environment * Added comment to explain why warning is raised * Changed values to float as expected by the box which default to float64 * Removed --forked from pytest as the pytest-forked project is no being maintained and was not raising warnings as expected * When AsyncVectorEnv has shared_memory=True then a ValueError is raised before _state is initialised. Therefore, on the destruction on the env an error is thrown in .close_extra as _state does not exist * Possible fix that was causing an error in test_call_async_vector_env by ensuring that pygame resources are released * Pygame throws an error with ALSA when closed, using a fix from PettingZoo (https://github.com/Farama-Foundation/PettingZoo/blob/master/pettingzoo/__init__.py). We use the dsp audiodriver to prevent this issue * Modification due to running pre-commit locally * Updated cartpole-v0 to v1 to prevent warning and added pytest.mark.filterwarnings for tests where warnings are unavoidable * Change np.bool to bool as numpy raises a warning and bool is the suggested solution * Seeding randint is deprecated in the future, integers is new solution * Fixed errors thrown when the video recorder is deleted but not closed * spaces.Box expects a floating array, updated all cases where this was not true and modified float32 to float64 as float array default to float64. Otherwise space.Box raises warning that dtype precision (float32) is lower than array precision (float64). * Added pytest.mark.filterwarnings to preventing the raising of an intended warning * Added comment to explain why a warning is raised that can't be prevented without version update to the environment * Added comment to explain why warning is raised * Changed values to float as expected by the box which default to float64 * Removed --forked from pytest as the pytest-forked project is no being maintained and was not raising warnings as expected * When AsyncVectorEnv has shared_memory=True then a ValueError is raised before _state is initialised. Therefore, on the destruction on the env an error is thrown in .close_extra as _state does not exist * Possible fix that was causing an error in test_call_async_vector_env by ensuring that pygame resources are released * Pygame throws an error with ALSA when closed, using a fix from PettingZoo (https://github.com/Farama-Foundation/PettingZoo/blob/master/pettingzoo/__init__.py). We use the dsp audiodriver to prevent this issue * Modification due to running pre-commit locally
Configuration menu - View commit details
-
Copy full SHA for 850247f - Browse repository at this point
Copy the full SHA 850247fView commit details
Commits on Mar 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f00933a - Browse repository at this point
Copy the full SHA f00933aView commit details
Commits on Mar 16, 2022
-
* Update pendulum.py * version warnings * black * try except * update notices version * Exception * nosec * black * no loop, stderr * black * convert ## to ### * correct subheader * black * despace * spacing * frozen lake fixes * rename render modes/fps * fix API test * fix API test * fix more API tests * black * add render fps * render_fps API test * black * Update env_checker.py * black
Configuration menu - View commit details
-
Copy full SHA for 27464d3 - Browse repository at this point
Copy the full SHA 27464d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00c0c04 - Browse repository at this point
Copy the full SHA 00c0c04View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8c42a5 - Browse repository at this point
Copy the full SHA c8c42a5View commit details
Commits on Mar 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3e7eb2e - Browse repository at this point
Copy the full SHA 3e7eb2eView commit details -
Remove duplicated import (#2708)
numpy has been import at the beginning of this file: https://github.com/openai/gym/blob/master/gym/spaces/space.py#L13
Configuration menu - View commit details
-
Copy full SHA for aa7aebc - Browse repository at this point
Copy the full SHA aa7aebcView commit details -
* Fixed bug for issue 2702 where blackjack and frozen lake won't close the render on jupyter notebook * As screen is initialised outside __init__, close needs to check if screen exists as an attribute before quitting pygame
Configuration menu - View commit details
-
Copy full SHA for 941e5bf - Browse repository at this point
Copy the full SHA 941e5bfView commit details
Commits on Mar 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 64a0eb0 - Browse repository at this point
Copy the full SHA 64a0eb0View commit details
Commits on Mar 25, 2022
-
* added autoreset wrapper and tests * added basic inline documentation for autoreset wrapper * changes to comply with flake8 style * redid autoreset wrapper * compliance with flake8 * added final_info to info * removed unnecessary override from autoreset wrapper * fixed ordering mistake * fixed flake8 compliance * improved clarify of inline documentation * changes to address code review * changed autoreset terminal state keys, added message to key overlap check assert statement, updated autoreset wrapper docstring
Configuration menu - View commit details
-
Copy full SHA for 05df86e - Browse repository at this point
Copy the full SHA 05df86eView commit details -
call close method of Wrapper when overriding (#2711)
add a call to __del__ of parent class Revert "add a call to __del__ of parent class" This reverts commit 24d40d8.
Configuration menu - View commit details
-
Copy full SHA for d6a3431 - Browse repository at this point
Copy the full SHA d6a3431View commit details
Commits on Mar 31, 2022
-
Improve
pre-commit
workflow (#2602)* feat: add `isort` to `pre-commit` * ci: skip `__init__.py` file for `isort` * ci: make `isort` mandatory in lint pipeline * docs: add a section on Git hooks * ci: check isort diff * fix: isort from master branch * docs: add pre-commit badge * ci: update black + bandit versions * feat: add PR template * refactor: PR template * ci: remove bandit * docs: add Black badge * ci: try to remove all `|| true` statements * ci: remove lint_python job - Remove `lint_python` CI job - Move `pyupgrade` job to `pre-commit` workflow * fix: avoid messing with typing * docs: add a note on running `pre-cpmmit` manually * ci: apply `pre-commit` to the whole codebase
Configuration menu - View commit details
-
Copy full SHA for e913bc8 - Browse repository at this point
Copy the full SHA e913bc8View commit details -
* Added check for return_info, only warn about missing render_fps if human mode is available * Require render_fps if any kind of rendering is implemented
Configuration menu - View commit details
-
Copy full SHA for 1285fed - Browse repository at this point
Copy the full SHA 1285fedView commit details -
Fixed warnings produced by test_record_video.py and test_video_record…
…er.py (#2703) * Fixed warnings produced by test_record_video.py and test_video_recorder.py by using the self._frames_per_sec value as default value if video.frames_per_second is missing * The default backward compatible values if video.frames_per_second and video.output_frames_per_seconds are the updated frames_per_sec and output_frames_per_sec values
Configuration menu - View commit details
-
Copy full SHA for 4f23049 - Browse repository at this point
Copy the full SHA 4f23049View commit details -
Configuration menu - View commit details
-
Copy full SHA for 214a835 - Browse repository at this point
Copy the full SHA 214a835View commit details -
Make pygame optional in classic control and toy text envs (#2712)
* Moved pygame imports into render * Formatting
Configuration menu - View commit details
-
Copy full SHA for bc17d9f - Browse repository at this point
Copy the full SHA bc17d9fView commit details
Commits on Apr 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 752af3c - Browse repository at this point
Copy the full SHA 752af3cView commit details
Commits on Apr 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e11231d - Browse repository at this point
Copy the full SHA e11231dView commit details
Commits on Apr 5, 2022
-
Make pygame optional for Box2D. Fix ci. Closes #2712 (#2731)
* Moved pygame imports into render * Formatting * Make pygame optional for box2d, try to make formatting work * fix tests, fix pre-commit. Co-authored-by: Ariel Kwiatkowski <[email protected]> Co-authored-by: Gianluca De Cola <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 07fd227 - Browse repository at this point
Copy the full SHA 07fd227View commit details
Commits on Apr 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 658d408 - Browse repository at this point
Copy the full SHA 658d408View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfdd259 - Browse repository at this point
Copy the full SHA bfdd259View commit details
Commits on Apr 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3fd204d - Browse repository at this point
Copy the full SHA 3fd204dView commit details
Commits on Apr 8, 2022
-
Pyright versioning update. Fix #2700 (#2739)
* Moved pygame imports into render * Formatting * Make pygame optional for box2d, try to make formatting work * fix tests, fix pre-commit. * Update ci linter config. * fix type hints for latest pyright version and backward compatibility with numpy <= 1.21.5 * pre-commit. Co-authored-by: Ariel Kwiatkowski <[email protected]> Co-authored-by: Gianluca De Cola <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 227e246 - Browse repository at this point
Copy the full SHA 227e246View commit details -
Configuration menu - View commit details
-
Copy full SHA for 623dd8d - Browse repository at this point
Copy the full SHA 623dd8dView commit details -
AutoResetWrapper integration with gym.make() (#2728)
* added autoreset wrapper and tests * added basic inline documentation for autoreset wrapper * changes to comply with flake8 style * redid autoreset wrapper * compliance with flake8 * added final_info to info * removed unnecessary override from autoreset wrapper * fixed ordering mistake * fixed flake8 compliance * improved clarify of inline documentation * changes to address code review * changed autoreset terminal state keys, added message to key overlap check assert statement, updated autoreset wrapper docstring * auto-reset integration draft * changed arg name to autoreset for consistency * pre commit compliance * formatting compliance * addressed code review * removed commented out line
Configuration menu - View commit details
-
Copy full SHA for d4cda25 - Browse repository at this point
Copy the full SHA d4cda25View commit details
Commits on Apr 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2ac8553 - Browse repository at this point
Copy the full SHA 2ac8553View commit details -
Update the parametrize to show the ids of the specification to make d…
…ebugging easier (#2740)
Configuration menu - View commit details
-
Copy full SHA for b717924 - Browse repository at this point
Copy the full SHA b717924View commit details
Commits on Apr 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 06072ed - Browse repository at this point
Copy the full SHA 06072edView commit details
Commits on Apr 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 33970e2 - Browse repository at this point
Copy the full SHA 33970e2View commit details
Commits on Apr 14, 2022
-
Bipedal fix bounds and type hints (#2750)
* Add some missing typehints for bipedal walker * fix bounds * fix boudns
Configuration menu - View commit details
-
Copy full SHA for 5ae6bf9 - Browse repository at this point
Copy the full SHA 5ae6bf9View commit details
Commits on Apr 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1a3a891 - Browse repository at this point
Copy the full SHA 1a3a891View commit details -
Add gravity and wind as kwarg in Lunar Lander (#2746)
* fix impulse sample bug and add adjustable gravity * revert weird sample thing * assertation * add wind * fix wind to use applyforce * black * add tests for wind * fix test bug * run lunar lander tests over 10 runs * reduce wind for heuristic landing * made wind power kwarg * reduce wind power for heuristic landing * update doc * remove wind power from kwarg * fix tests by deleting tests ;) * Add back wind power as kwarg * the black sheep * remove rogue plus
Configuration menu - View commit details
-
Copy full SHA for 681a992 - Browse repository at this point
Copy the full SHA 681a992View commit details -
Add mild domain randomization to Car Racing Env (#2749)
* first commit domain randomize * black * update doc * add some type hints and internalized some functions * we were told, the black bear is innocent; but I should not like to trust myself wit him * Don't need two color conventions * don't multiply twice * hardcore -> domain_randomize & register * remove rogue decorator
Configuration menu - View commit details
-
Copy full SHA for c6deb81 - Browse repository at this point
Copy the full SHA c6deb81View commit details -
Made documentation for carracing more descriptive, and renamed one of…
… the variable names (#2755)
Configuration menu - View commit details
-
Copy full SHA for da7b8ae - Browse repository at this point
Copy the full SHA da7b8aeView commit details
Commits on Apr 17, 2022
-
Fix turn indicators not working in Carracing (#2759)
* fix impulse sample bug and add adjustable gravity * revert weird sample thing * assertation * add wind * fix wind to use applyforce * black * add tests for wind * fix test bug * run lunar lander tests over 10 runs * reduce wind for heuristic landing * made wind power kwarg * reduce wind power for heuristic landing * update doc * remove wind power from kwarg * fix tests by deleting tests ;) * Add back wind power as kwarg * the black sheep * remove rogue plus * slight doc fix and variable rename * fix bug with track turn indicators * black
Configuration menu - View commit details
-
Copy full SHA for 6138920 - Browse repository at this point
Copy the full SHA 6138920View commit details
Commits on Apr 18, 2022
-
Add test gym utils play. Fix #2729 (#2743)
* refactoring play function. Tests for keys to action mapping. * Add mocking pygame events. * partial event processing in class. * pre-commit. * quit pygame after tests. * fix typos in functions names. * Add type hint. * Add test for play function. * remove mockKeyEvent. * remove unused main code. * Adding type hints. * catch custom exception in tests. * Fix magic numbers. * Add test with an actual environment. * fix comment. * Add TODO memo on env.render. * change map with list comprehension. * remove unused imports. * Add type hint. * typo. * docstring.
Configuration menu - View commit details
-
Copy full SHA for 36a7fe5 - Browse repository at this point
Copy the full SHA 36a7fe5View commit details
Commits on Apr 21, 2022
-
reduce wind power further for heuristic landing (#2766)
* reduce wind power further for heuristic landing * remove wind tests for lunar lander * don't need to reduce wind for heuristic
Configuration menu - View commit details
-
Copy full SHA for 3ee7420 - Browse repository at this point
Copy the full SHA 3ee7420View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a5f543 - Browse repository at this point
Copy the full SHA 0a5f543View commit details -
Rewriting of the registration mechanism (#2748)
* First version of the new registration * Almost done * Hopefully final commit * Minor fixes * Missing error * Type fixes * Type fixes * Add some type hinting stuff * Fix an error? * Fix literal import * Add a comment * Add some docstrings Remove old tests * Add some docstrings, rename helper functions * Rename a function * Registration check fix * Consistently use `register` instead of `envs.register` in tests * Fix the malformed registration error message to not use a write-only format * Change an error back to a warning when double-registering an environment
Configuration menu - View commit details
-
Copy full SHA for 00a60e6 - Browse repository at this point
Copy the full SHA 00a60e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcae553 - Browse repository at this point
Copy the full SHA dcae553View commit details
Commits on Apr 24, 2022
-
Fixed batch spaces where the original space's seed was ignored. Issue…
… 2680 (#2727) * Add a case for the Box shape where the low and high values are both scalars * Add seeding.RandomNumberGenerator parameter to Dict seed. Modify __repr__ for the dictionary space string looks similar to an actual dictionary * Add seeding.RandomNumberGenerator parameter to Multi Binary seed * Add seeding.RandomNumberGenerator parameter to Multi Binary seed. Modify nvec typing to include np.ndarray * Space seed typing can be a seeding.RandomNumberGenerator. If a seeding.RNG is provided then it is assigned to _np_random and .seed is not run * Fixed the tuple seeding type as List[int] is not a valid Space seed type * Added typing to batch_space. The batch_space seed is equal to the space's seeding * Fixed the seeding type * Add test for batch space seeds are identical to the original space's seeding * Add equivalence function for RandomNumberGenerator comparing the bit_generator.state * The batch_space functions uses a copy of the seed for the original space * Set the action space seed for sync_vector_env seed testing * Add test for the seeding of the sync vector environment * Update the test_batch_space_seed to check the resulting sampling are equivalent for testing * Revert representation back to the original version * Remove additional Box shape initialisation * Remove additional typing of MultiDiscrete * Fixed bug of Space batch space where the original space's np_random is not a complete copy of the original space * Add CustomSpace to the batched space seed test * Modify the CustomSpace sample to produce a random number not a static value * Fix CustomSpace to reflect the sample function * Copy the space.np_random for the batched_space seed to ensure that the original space doesn't sampling doesn't effect the batched_space * Parameterized the batch_space_seed, added testing for rng_different_at_each_index and test_deterministic * Black and isort pre-commit changes * Pre-commit fix * MacOS, test_read_from_shared_memory throws an error that the inner _process_write function was unpicklable. Making the function a top-level function solves this error * Fixed typing of seed where a space's seed function differs from Space.seed's typing * Added check that the sample lengths are equal and explicitly provided the number of batched spaces n=1 * Removed relative imports for absolute imports * Use deepcopy instead of copy * Replaces `from numpy.testing._private.utils import assert_array_equal` with `from numpy.testing import assert_array_equal` * Using the seeding `__eq__` function, replace `np_random.bit_generator.state` with `np_random` * Added docstrings and comments to the tests to explain their purpose * Remove __eq__ from RandomNumberGenerator and add to tests/vector/utils * Add sync vector determinism test for issue #2680 * Fixed bug for https://github.com/openai/gym/pull/2727/files/462101d3846bc35ff3fad9f65979c693472a93a8#r850740825 * Made the new seeds a list of integers
Configuration menu - View commit details
-
Copy full SHA for 3354451 - Browse repository at this point
Copy the full SHA 3354451View commit details -
* Remove orphan comment The comment used to be due to the line that is not there anymore, like: ```python from gym.envs.mujoco.mujoco_env import MujocoEnv # ^^^^^ so that user gets the correct error # message if mujoco is not installed correctly ``` Now the comment is useless. * Update __init__.py
Configuration menu - View commit details
-
Copy full SHA for 3f7de05 - Browse repository at this point
Copy the full SHA 3f7de05View commit details -
Fix docstring format on seed arg to reset (#2775)
I have a copy of this string in another project and it failed the darglint docstring style check. This fixes that, if it's something you care to fix.
Configuration menu - View commit details
-
Copy full SHA for feb7ec3 - Browse repository at this point
Copy the full SHA feb7ec3View commit details
Commits on Apr 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0c78ea5 - Browse repository at this point
Copy the full SHA 0c78ea5View commit details
Commits on Apr 26, 2022
-
Improved taxi documentation (#2777)
* Improved documentation to specify decode state space * Improve taxi documentation
Configuration menu - View commit details
-
Copy full SHA for 4ecc2ad - Browse repository at this point
Copy the full SHA 4ecc2adView commit details -
Update the flake8 pre-commit ignores (#2778)
* Remove additional ignores from flake8 * Remove all unused imports * Remove all unused imports * Update flake8 and pyupgrade * F841, removed unused variables * E731, removed lambda assignment to variables * Remove E731, F403, F405, F524 * Remove E722, bare exceptions * Remove E712, compare variable == True or == False to is True or is False * Remove E402, module level import not at top of file * Added --pre-file-ignores * Add --per-file-ignores removing E741, E302 and E704 * Add E741, do not use variables named ‘l’, ‘O’, or ‘I’ to ignore issues in classic control * Fixed issues for pytest==6.2 * Remove unnecessary # noqa * Edit comment with the removal of E302 * Added warnings and declared module, attr for pyright type hinting * Remove unused import * Removed flake8 E302 * Updated flake8 from 3.9.2 to 4.0.1 * Remove unused variable
Configuration menu - View commit details
-
Copy full SHA for bf093c6 - Browse repository at this point
Copy the full SHA bf093c6View commit details
Commits on Apr 29, 2022
-
Add discrete action space for Carracing (#2761)
* fix impulse sample bug and add adjustable gravity * revert weird sample thing * assertation * add wind * fix wind to use applyforce * black * add tests for wind * fix test bug * run lunar lander tests over 10 runs * reduce wind for heuristic landing * made wind power kwarg * reduce wind power for heuristic landing * update doc * remove wind power from kwarg * fix tests by deleting tests ;) * Add back wind power as kwarg * the black sheep * remove rogue plus * slight doc fix and variable rename * fix bug with track turn indicators * black * add discrete environment for carracing * update docs * reduce acceleration magnitude * reduce wind power to near nothing for heuristic landings * undo change on this branch * change actions * remove redundant import * fix docs
Configuration menu - View commit details
-
Copy full SHA for 5c8ce49 - Browse repository at this point
Copy the full SHA 5c8ce49View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae15f59 - Browse repository at this point
Copy the full SHA ae15f59View commit details -
Place try except around all imports of pygame (#2782)
* Place try except around all imports for pygame and optional modules in box2d, classic_control and toy_text * Updated all ImportErrors to DependencyNotInstalled * Re-add comment on why pygame is imported
Configuration menu - View commit details
-
Copy full SHA for b704d46 - Browse repository at this point
Copy the full SHA b704d46View commit details
Commits on May 2, 2022
-
Changes the gym box2d, toy-text and classic-control entry points to t…
…heir actual file not __init__.py import (#2791)
Configuration menu - View commit details
-
Copy full SHA for 2708d81 - Browse repository at this point
Copy the full SHA 2708d81View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4f40f5 - Browse repository at this point
Copy the full SHA b4f40f5View commit details
Commits on May 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 971aea8 - Browse repository at this point
Copy the full SHA 971aea8View commit details
Commits on May 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b044b90 - Browse repository at this point
Copy the full SHA b044b90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40c26ab - Browse repository at this point
Copy the full SHA 40c26abView commit details
Commits on May 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 31e6f23 - Browse repository at this point
Copy the full SHA 31e6f23View commit details
Commits on May 10, 2022
-
* Added pydocstyle to pre-commit * Added docstrings for tests and updated the tests for autoreset * Add pydocstyle exclude folder to allow slowly adding new docstrings * Add docstrings for setup.py and gym/__init__.py, core.py, error.py and logger.py * Check that all unwrapped environment are of a particular wrapper type * Reverted back to import gym.spaces.Space to gym.spaces * Fixed the __init__.py docstring * Fixed autoreset autoreset test * Updated gym __init__.py top docstring * Remove unnecessary import * Removed "unused error" and make APIerror deprecated at gym 1.0 * Add pydocstyle description to CONTRIBUTING.md * Added docstrings section to CONTRIBUTING.md * Added :meth: and :attr: keywords to docstrings * Added :meth: and :attr: keywords to docstrings * Update the step docstring placing the return type in the as a note. * Updated step return type to include each element * Update maths notation to reward range * Fixed infinity maths notation
Configuration menu - View commit details
-
Copy full SHA for 1c62d3c - Browse repository at this point
Copy the full SHA 1c62d3cView commit details -
Pydocstyle spaces docstring (#2798)
* Added docstrings for spaces, WIP * Formatting changes * Use raw docstring for Box.sample * Formatting fix * Formatting fix * Use :class:, :meth:, formatting fixes, resolve TODO, use Optional
Configuration menu - View commit details
-
Copy full SHA for 745e705 - Browse repository at this point
Copy the full SHA 745e705View commit details
Commits on May 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 350a082 - Browse repository at this point
Copy the full SHA 350a082View commit details -
Remove try except from box2d __init__.py as the environment have try …
…except natively (#2816)
Configuration menu - View commit details
-
Copy full SHA for 9a5db3b - Browse repository at this point
Copy the full SHA 9a5db3bView commit details
Commits on May 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bf688c3 - Browse repository at this point
Copy the full SHA bf688c3View commit details
Commits on May 14, 2022
-
Improve performance for car racing rendering (#2821)
* Improve performance for car racing rendering This change eliminates unnecessary drawing by pygame if it is out of bounds * Fix format with black * Fix out of bounds condition
Configuration menu - View commit details
-
Copy full SHA for 58081ed - Browse repository at this point
Copy the full SHA 58081edView commit details
Commits on May 15, 2022
-
* Add NOOP to play, allow for unordered key combination, strings as keys * Extended type hint
Configuration menu - View commit details
-
Copy full SHA for bf0113b - Browse repository at this point
Copy the full SHA bf0113bView commit details
Commits on May 16, 2022
-
[Proposal] Add turbulance disturbance to LunarLander (#2808)
* create torque function * create comment for torque function * remove second arg from ApplyTorque * lower torque mag wind power to 20% * Add torque_power as kwarg * Use torque_power in ApplyTorque function * Set torque_wind kwarg default to 1.5 * Update version history for torque_power * Updated version 2 history for 0.24 * Updated arguments to include torque_power * Update assert for wind_power and torque_power can equal 0.0 * Update version history for v2 * Change torque_wind to turbulance_wind * Remove assert for wind_power, turbulence_power. Add warnings for wind_power, turbulence_power. Add recommendations for wind_power, turbulence_power to docs. * Update docs definition/recommended values for wind_power, turbulence_power * Add `v` before `0.24` version description
Configuration menu - View commit details
-
Copy full SHA for 7fc2ebf - Browse repository at this point
Copy the full SHA 7fc2ebfView commit details -
Upgrade test_action_dim. Refer to #2767 (#2802)
* Add action in bound checks. * add correct dtype to clip_action test. * ensure correct dtype in tests. * action check in car_racing no more needed. * Prune PR. parametrize tests with spec_list. * revert changes. * remove file. * remove magic number. * test both upper and lower bound for every action. * assert oob is really out of bound. also bugfix in action performed * valide car racing discrete action. Add docstrings. Include car racing discrete in tests. Co-authored-by: Gianluca De Cola <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6112b0d - Browse repository at this point
Copy the full SHA 6112b0dView commit details -
Fix edge case for out of bounds (#2822)
* Fix edge case for out of bounds This deals with the edge case where an object's corner may not be in the screen, but the object still overlaps and should be drawn. * Calculate maximum diagonal for out of bounds calculation
Configuration menu - View commit details
-
Copy full SHA for 64b4b31 - Browse repository at this point
Copy the full SHA 64b4b31View commit details
Commits on May 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5f237ac - Browse repository at this point
Copy the full SHA 5f237acView commit details -
Add a minimal env checker on
gym.make
(#2807)* Add a minimal env checker on make * Unpack the space checker for custom messages * Update some dummy envs to use the right API * Try to fix observation space checking * And again * Wrong env * Swap the minimal env checker to the regular env checker. Change the argument name * Disable env checker for two test envs * Conver env checker exception into warnings. * Reenable env checker for test envs, it should only raise warning, no exceptions
Configuration menu - View commit details
-
Copy full SHA for fd9cffe - Browse repository at this point
Copy the full SHA fd9cffeView commit details
Commits on May 20, 2022
-
Add a compatibility layer for the new registration mechanism (#2818)
* Added some compat methods * Some missing methods * Update registration.py * Style fix
Configuration menu - View commit details
-
Copy full SHA for 1b09191 - Browse repository at this point
Copy the full SHA 1b09191View commit details -
Pydocstyle utils vector docstring (#2788)
* Added pydocstyle to pre-commit * Added docstrings for tests and updated the tests for autoreset * Add pydocstyle exclude folder to allow slowly adding new docstrings * Add docstrings for setup.py and gym/__init__.py, core.py, error.py and logger.py * Check that all unwrapped environment are of a particular wrapper type * Reverted back to import gym.spaces.Space to gym.spaces * Fixed the __init__.py docstring * Fixed autoreset autoreset test * Updated gym __init__.py top docstring * Fix examples in docstrings * Add docstrings and type hints where known to all functions and classes in gym/utils and gym/vector * Remove unnecessary import * Removed "unused error" and make APIerror deprecated at gym 1.0 * Add pydocstyle description to CONTRIBUTING.md * Added docstrings section to CONTRIBUTING.md * Added :meth: and :attr: keywords to docstrings * Added :meth: and :attr: keywords to docstrings * Imported annotations from __future__ to fix python 3.7 * Add __future__ import annotations for python 3.7 * isort * Remove utils and vectors for this PR and spaces for previous PR * Update gym/envs/classic_control/acrobot.py Co-authored-by: Markus Krimmel <[email protected]> * Update gym/envs/classic_control/acrobot.py Co-authored-by: Markus Krimmel <[email protected]> * Update gym/envs/classic_control/acrobot.py Co-authored-by: Markus Krimmel <[email protected]> * Update gym/spaces/dict.py Co-authored-by: Markus Krimmel <[email protected]> * Update gym/utils/env_checker.py Co-authored-by: Markus Krimmel <[email protected]> * Update gym/utils/env_checker.py Co-authored-by: Markus Krimmel <[email protected]> * Update gym/utils/env_checker.py Co-authored-by: Markus Krimmel <[email protected]> * Update gym/utils/env_checker.py Co-authored-by: Markus Krimmel <[email protected]> * Update gym/utils/env_checker.py Co-authored-by: Markus Krimmel <[email protected]> * Update gym/utils/ezpickle.py Co-authored-by: Markus Krimmel <[email protected]> * Update gym/utils/ezpickle.py Co-authored-by: Markus Krimmel <[email protected]> * Update gym/utils/play.py Co-authored-by: Markus Krimmel <[email protected]> * Pre-commit * Updated docstrings with :meth: * Updated docstrings with :meth: * Update gym/utils/play.py * Update gym/utils/play.py * Update gym/utils/play.py * Apply suggestions from code review Co-authored-by: Markus Krimmel <[email protected]> * pre-commit * Update gym/utils/play.py Co-authored-by: Markus Krimmel <[email protected]> * Updated fps and zoom parameter docstring * Update play docstring * Apply suggestions from code review Added suggested corrections from @Markus28 Co-authored-by: Markus Krimmel <[email protected]> * Pre-commit magic * Update the `gym.make` docstring with a warning for `env_checker` * Updated and fixed vector docstrings * Update test names for reflect the project filename style Co-authored-by: Markus Krimmel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e226602 - Browse repository at this point
Copy the full SHA e226602View commit details
Commits on May 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a37b956 - Browse repository at this point
Copy the full SHA a37b956View commit details -
Fix scale for Car Racing (#2831)
* Shift relative position of coordinates in render * Format file
Configuration menu - View commit details
-
Copy full SHA for 8f9b62f - Browse repository at this point
Copy the full SHA 8f9b62fView commit details
Commits on May 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3e006f3 - Browse repository at this point
Copy the full SHA 3e006f3View commit details -
Bump the ale-py version (#2832)
* Up the ale-py version * Updates the ale-py version
Configuration menu - View commit details
-
Copy full SHA for bbf8f5a - Browse repository at this point
Copy the full SHA bbf8f5aView commit details -
New
info
API for vectorized environments #2657 (#2773)* WIP refactor info API sync vector. * Add missing untracked file. * Add info strategy to reset_wait. * Add interface and docstring. * info with strategy pattern on async vector env. * Add default to async vecenv. * episode statistics for asyncvecnev. * Add tests info strategy format. * Add info strategy to reset_wait. * refactor and cleanup. * Code cleanup. Add tests. * Add tests for video recording with new info format. * fix test case. * fix camelcase. * rename enum. * update tests, docstrings, cleanup. * Changes brax strategy to numpy. add_strategy method in StrategyFactory. Add tests. * fix docstring and logging format. * Set Brax info format as default. Remove classic info format. Update tests. * breaking the wrong loop. * WIP: wrapper. * Add wrapper for brax to classic info. * WIP: wrapper with nested RecordEpisodeStatistic. * Add tests. Refactor docstrings. Cleanup. * cleanup. * patch conflicts. * rebase and conflicts. * new pre-commit conventions. * docstring. * renaming. * incorporate info_processor in vecEnv. * renaming. Create info dict only if needed. * remove all brax references. update docstring. Update duplicate test. * reviews. * pre-commit. * reviews. * docstring. * cleanup blank lines. * add support for numpy dtypes. * docstring fix. * formatting. * naming. * assert correct info from wrappers chaining. Test correct wrappers chaining. naming. * simplify episode_statistics. * change args orer. * update tests. * wip: refactor episode_statistics. * Add test for add_vecore_episode_statistics.
Configuration menu - View commit details
-
Copy full SHA for 49d8299 - Browse repository at this point
Copy the full SHA 49d8299View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2eca119 - Browse repository at this point
Copy the full SHA 2eca119View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2c3f73 - Browse repository at this point
Copy the full SHA f2c3f73View commit details -
Mujoco and Website Docstring fixes (#2834)
* Fixed minor docstring issues found on the website * Updated the top docstrings with mujoco environments that fixed the observation and action tables. Added v4 gym.make code
Configuration menu - View commit details
-
Copy full SHA for 4487008 - Browse repository at this point
Copy the full SHA 4487008View commit details
Commits on May 25, 2022
-
Updated docstrings using darglint (#2827)
* Updated docstrings using darglint, ignoring 402 and 202 plus shortened lines into multiple where they were overflowing * Remove abstract method decorators, for a future PR * Add __future__ import annotation for python 3.7+ notion * Added missing bracket * Fix minor docstring tables
Configuration menu - View commit details
-
Copy full SHA for 273e3f2 - Browse repository at this point
Copy the full SHA 273e3f2View commit details -
Add support for python 3.6 (#2836)
* Add support for python 3.6 * Add support for python 3.6 * Added check for python 3.6 to not install mujoco as no version exists * Fixed the install groups for python 3.6 * Re-added python 3.6 support for gym * black * Added support for dataclasses through dataclasses module in setup that backports the module * Fixed install requirements * Re-added dummy env spec with dataclasses * Changed type for compatability for python 3.6 * Added a python 3.6 warning * Fixed python 3.6 typing issue * Removed __future__ import annotation for python 3.6 support * Fixed python 3.6 typing
Configuration menu - View commit details
-
Copy full SHA for 0263deb - Browse repository at this point
Copy the full SHA 0263debView commit details -
Configuration menu - View commit details
-
Copy full SHA for e89b00c - Browse repository at this point
Copy the full SHA e89b00cView commit details
Commits on May 27, 2022
-
Remove operations from xml files (#2843)
Inserting operations in the xml file cases MuJoCo to ignore the operation and set to zero the following numbers
Configuration menu - View commit details
-
Copy full SHA for 1b09a7e - Browse repository at this point
Copy the full SHA 1b09a7eView commit details
Commits on May 30, 2022
-
Remove a redundant warning in registration (#2850)
* Update registration.py * Style
Configuration menu - View commit details
-
Copy full SHA for 6c8abef - Browse repository at this point
Copy the full SHA 6c8abefView commit details
Commits on May 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 34fba52 - Browse repository at this point
Copy the full SHA 34fba52View commit details
Commits on Jun 1, 2022
-
Added support for unpickling legacy Box (#2851) (#2854)
Co-authored-by: Mark Towers <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e99e3c - Browse repository at this point
Copy the full SHA 0e99e3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b1e30d - Browse repository at this point
Copy the full SHA 6b1e30dView commit details
Commits on Jun 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 53ff70e - Browse repository at this point
Copy the full SHA 53ff70eView commit details -
Test BipedalWalker hardcore kwargs. Refer to #2767 (#2841)
* test hardcore environment creation. * add type hint. * typo.
Configuration menu - View commit details
-
Copy full SHA for 83dac2c - Browse repository at this point
Copy the full SHA 83dac2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9147790 - Browse repository at this point
Copy the full SHA 9147790View commit details
Commits on Jun 4, 2022
-
* fix arguments key callback * close env in renderer * mujoco_rendering close base method
Configuration menu - View commit details
-
Copy full SHA for 8a323c9 - Browse repository at this point
Copy the full SHA 8a323c9View commit details
Commits on Jun 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6744d53 - Browse repository at this point
Copy the full SHA 6744d53View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa01fda - Browse repository at this point
Copy the full SHA fa01fdaView commit details -
Forwards all np_random assignments to the actual environment and prev…
…ent access to the `_np_random` in wrappers (#2857)
Configuration menu - View commit details
-
Copy full SHA for 9fa7ede - Browse repository at this point
Copy the full SHA 9fa7edeView commit details -
Updates the environment checker (#2864)
* Updated testing requirements based off extra["testing"] * Updated setup to check the version is valid, added testing and all dependency groups and collects the requirements from requirements.txt to keep everything standardized. * Updated requirements.txt based on the current minimum gym requirements.txt to work * Updated requirements.txt based on the current minimum gym requirements.txt to work * Updated test_requirements.txt based on the current gym full testing requirements * Pre-commit updates * Add integer check for the `n` parameter * The type of self.spaces is an Iterable which is absorbed by the tuple. * Simplifies the environment checker to two files, env_checker.py and passive_env_checker.py with a new wrapper env_checker.py * Adds the passive environment checker on `gym.make` * Ignore the `check_env` warn parameter * Ignore the `check_env` warn parameter * Use the `data_equivalence` function * Revert rewrite setup.py changes * Remove smart formatting for 3.6 support * Fixed `check_action_space` and `check_observation_space` * Added disable_env_checker to vector.make such that env_checker would only run on the first environment created. * Removing check that different seeds would produce different initialising states * Use the unwrapped environment np_random * Fixed vector environment creator
Configuration menu - View commit details
-
Copy full SHA for 134de4a - Browse repository at this point
Copy the full SHA 134de4aView commit details -
* Updated testing requirements based off extra["testing"] * Updated setup to check the version is valid, added testing and all dependency groups and collects the requirements from requirements.txt to keep everything standardized. * Updated requirements.txt based on the current minimum gym requirements.txt to work * Updated requirements.txt based on the current minimum gym requirements.txt to work * Updated test_requirements.txt based on the current gym full testing requirements * Pre-commit updates * Add integer check for the `n` parameter * The type of self.spaces is an Iterable which is absorbed by the tuple. * Simplifies the environment checker to two files, env_checker.py and passive_env_checker.py with a new wrapper env_checker.py * Adds the passive environment checker on `gym.make` * Ignore the `check_env` warn parameter * Ignore the `check_env` warn parameter * Use the `data_equivalence` function * Remove env_checker PR changes * Move pip install pytest and mock to py 3.6 * Update setup.py and requirements.txt
Configuration menu - View commit details
-
Copy full SHA for 734bd4b - Browse repository at this point
Copy the full SHA 734bd4bView commit details
Commits on Jun 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 66c431d - Browse repository at this point
Copy the full SHA 66c431dView commit details -
* add pygame GUI for frozen_lake.py env * add new line at EOF * pre-commit reformat * improve graphics * new images and dynamic window size * darker tile borders and fix ICC profile * pre-commit hook * adjust elf and stool size * Update frozen_lake.py * reformat * fix #2600 * #2600 * add rgb_array support * reformat * test render api change on FrozenLake * add render support for reset on frozenlake * add clock on pygame render * new render api for blackjack * new render api for cliffwalking * new render api for Env class * update reset method, lunar and Env * fix wrapper * fix reset lunar * new render api for box2d envs * new render api for mujoco envs * fix bug * new render api for classic control envs * fix tests * add render_mode None for CartPole * new render api for test fake envs * pre-commit hook * fix FrozenLake * fix FrozenLake * more render_mode to super - frozenlake * remove kwargs from frozen_lake new * pre-commit hook * add deprecated render method * add backwards compatibility * fix test * add _render * move pygame.init() (avoid pygame dependency on init) * fix pygame dependencies * remove collect_render() maintain multi-behaviours .render() * add type hints * fix renderer * don't call .render() with None * improve docstring * add single_rgb_array to all envs * remove None from metadata["render_modes"] * add type hints to test_env_checkers * fix lint * add comments to renderer * add comments to single_depth_array and single_state_pixels * reformat * add deprecation warnings and env.render_mode declaration * fix lint * reformat * fix tests * add docs * fix car racing determinism * remove warning test envs, customizable modes on renderer * remove commments and add todo for env_checker * fix car racing * replace render mode check with assert * update new mujoco * reformat * reformat * change metaclass definition * fix tests * implement mark suggestions (test, docs, sets) * check_render Co-authored-by: J K Terry <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9acf9cd - Browse repository at this point
Copy the full SHA 9acf9cdView commit details
Commits on Jun 8, 2022
-
fixed
gym.vector.make
where the checker was being applied in the op……posite case than was intended to (#2871)
Configuration menu - View commit details
-
Copy full SHA for 519dfd9 - Browse repository at this point
Copy the full SHA 519dfd9View commit details
Commits on Jun 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f9e2b92 - Browse repository at this point
Copy the full SHA f9e2b92View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6274a5 - Browse repository at this point
Copy the full SHA a6274a5View commit details
Commits on Jun 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7211532 - Browse repository at this point
Copy the full SHA 7211532View commit details
Commits on Jun 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1a7a727 - Browse repository at this point
Copy the full SHA 1a7a727View commit details
Commits on Jun 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 053ee80 - Browse repository at this point
Copy the full SHA 053ee80View commit details
Commits on Jun 15, 2022
-
Fix TimeLimit wrapper and add tests (#2888)
* Fix TimeLimit wrapper and add tests * Slip test
Configuration menu - View commit details
-
Copy full SHA for 3498617 - Browse repository at this point
Copy the full SHA 3498617View commit details -
fix: allow mode as argument (#2893)
* allow mode as argument * change Wrapper render doc
Configuration menu - View commit details
-
Copy full SHA for a5afdb3 - Browse repository at this point
Copy the full SHA a5afdb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71f11a0 - Browse repository at this point
Copy the full SHA 71f11a0View commit details
Commits on Jun 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ffbf971 - Browse repository at this point
Copy the full SHA ffbf971View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2aeb82 - Browse repository at this point
Copy the full SHA f2aeb82View commit details -
Fix: add mujoco render arguments to init (#2891)
* fix: add render_mode getter to Wrappers * fix: add render args to mujoco init * reformat * add type hints
Configuration menu - View commit details
-
Copy full SHA for a7e1861 - Browse repository at this point
Copy the full SHA a7e1861View commit details
Commits on Jun 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for dc39a4e - Browse repository at this point
Copy the full SHA dc39a4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 528d878 - Browse repository at this point
Copy the full SHA 528d878View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5f8479 - Browse repository at this point
Copy the full SHA f5f8479View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08fbbf0 - Browse repository at this point
Copy the full SHA 08fbbf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 979407f - Browse repository at this point
Copy the full SHA 979407fView commit details -
Configuration menu - View commit details
-
Copy full SHA for feea527 - Browse repository at this point
Copy the full SHA feea527View commit details
Commits on Jun 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4d57b86 - Browse repository at this point
Copy the full SHA 4d57b86View commit details
Commits on Jun 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 174c299 - Browse repository at this point
Copy the full SHA 174c299View commit details -
Configuration menu - View commit details
-
Copy full SHA for af918d8 - Browse repository at this point
Copy the full SHA af918d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51a6386 - Browse repository at this point
Copy the full SHA 51a6386View commit details
Commits on Jun 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f493aba - Browse repository at this point
Copy the full SHA f493abaView commit details -
Pitch: Wrapper that adds human-mode rendering to any environment with…
… rgb_array-rendering (#2719)
Configuration menu - View commit details
-
Copy full SHA for 94081fb - Browse repository at this point
Copy the full SHA 94081fbView commit details
Commits on Jun 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2fb6043 - Browse repository at this point
Copy the full SHA 2fb6043View commit details
Commits on Jun 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d750eb8 - Browse repository at this point
Copy the full SHA d750eb8View commit details -
Added Action masking for Space.sample() (#2906)
* Allows a new RNG to be generated with seed=-1 and updated env_checker to fix bug if environment doesn't use np_random in reset * Revert "fixed `gym.vector.make` where the checker was being applied in the opposite case than was intended to (#2871)" This reverts commit 519dfd9. * Remove bad pushed commits * Fixed spelling in core.py * Pins pytest to the last py 3.6 version * Add support for action masking in Space.sample(mask=...) * Fix action mask * Fix action_mask * Fix action_mask * Added docstrings, fixed bugs and added taxi examples * Fixed bugs * Add tests for sample * Add docstrings and test space sample mask Discrete and MultiBinary * Add MultiDiscrete sampling and tests * Remove sample mask from graph * Update gym/spaces/multi_discrete.py Co-authored-by: Markus Krimmel <[email protected]> * Updates based on Marcus28 and jjshoots for Graph.py * Updates based on Marcus28 and jjshoots for Graph.py * jjshoot review * jjshoot review * Update assert check * Update type hints Co-authored-by: Markus Krimmel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 024b0f5 - Browse repository at this point
Copy the full SHA 024b0f5View commit details
Commits on Jun 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0dba072 - Browse repository at this point
Copy the full SHA 0dba072View commit details
Commits on Jun 29, 2022
-
Inferring Box scalar shape (#2911)
* Allows a new RNG to be generated with seed=-1 and updated env_checker to fix bug if environment doesn't use np_random in reset * Revert "fixed `gym.vector.make` where the checker was being applied in the opposite case than was intended to (#2871)" This reverts commit 519dfd9. * Remove bad pushed commits * Fixed spelling in core.py * Pins pytest to the last py 3.6 version * Allow Box automatic scalar shape * Add test box and change default from () to (1,) * update Box shape inference with more strict checking * Update the box shape and add check on the custom Box shape * Removed incorrect shape type and assert shape code * Update the Box and associated tests
Configuration menu - View commit details
-
Copy full SHA for 7f6effb - Browse repository at this point
Copy the full SHA 7f6effbView commit details
Commits on Jun 30, 2022
-
Initialize observation spaces and pytest (#2929)
* Remove step initialization for mujoco obs spaces * remove step initialization for mujoco obs space * pre-commit pytest obs space mujoco
Configuration menu - View commit details
-
Copy full SHA for 61a39f4 - Browse repository at this point
Copy the full SHA 61a39f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2017f3e - Browse repository at this point
Copy the full SHA 2017f3eView commit details -
* Update pyproject.toml * Maybe fix typing for frozen lake and taxi * Clean up pyproject a bit * Reenable box2d pyright * Disable box2d pyright * Fix typing for toy text envs * Narrow down pyright excludes for almost everything except mujoco * Fix a wrapper test typing * Remove env checker from excludes * Remove redundant type hints which mess up pyright. And a typo fix. * Remove test_spaces exclude * Remove some redundant warnings * Change pyright ignore to more specific * Fix a weird private variable which gets explicitly exported for whatever reason. It's still exported for backwards compatibility, but internal code now uses a public variable. * re-export the private variable * Fix lunar_lander typing * Remove lunar lander from excludes * Small fix
Configuration menu - View commit details
-
Copy full SHA for 9c1d288 - Browse repository at this point
Copy the full SHA 9c1d288View commit details -
Add option to change colour on carracing through "options" argument, …
…remove carracingdomainrandomize registration (#2931) * add option to change colour on carracing through "option" * fix dict bug * black * add docs for reset arg * fix thing * remove randomize from registration * update doc * update docs * update docs * remove unnecessary argument * fix thing * fix thing * f * update docs * add test * remove unused import * Update registration.py
Configuration menu - View commit details
-
Copy full SHA for f042d0b - Browse repository at this point
Copy the full SHA f042d0bView commit details
Commits on Jul 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cc7552f - Browse repository at this point
Copy the full SHA cc7552fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e66399 - Browse repository at this point
Copy the full SHA 9e66399View commit details
Commits on Jul 4, 2022
-
* Allows a new RNG to be generated with seed=-1 and updated env_checker to fix bug if environment doesn't use np_random in reset * Revert "fixed `gym.vector.make` where the checker was being applied in the opposite case than was intended to (#2871)" This reverts commit 519dfd9. * Remove bad pushed commits * Fixed spelling in core.py * Pins pytest to the last py 3.6 version * Allow Box automatic scalar shape * Add test box and change default from () to (1,) * update Box shape inference with more strict checking * Update the box shape and add check on the custom Box shape * Removed incorrect shape type and assert shape code * Update the Box and associated tests * Remove all folders and files from pyright exclude * Revert issues * Push RedTachyon code review * Add Python Platform * Remove play from pyright check * Fixed CI issues * remove mujoco env type hinting * Fixed pixel observation test * Added some new type hints * Fixed CI errors * Fixed CI errors * Remove play.py from exlucde pyright * Fixed pyright issues
Configuration menu - View commit details
-
Copy full SHA for 2ede090 - Browse repository at this point
Copy the full SHA 2ede090View commit details
Commits on Jul 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 071f0bf - Browse repository at this point
Copy the full SHA 071f0bfView commit details
Commits on Jul 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ca39816 - Browse repository at this point
Copy the full SHA ca39816View commit details -
Configuration menu - View commit details
-
Copy full SHA for c292d35 - Browse repository at this point
Copy the full SHA c292d35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 571fcd6 - Browse repository at this point
Copy the full SHA 571fcd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3c05c2 - Browse repository at this point
Copy the full SHA e3c05c2View commit details
Commits on Jul 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 907b1b2 - Browse repository at this point
Copy the full SHA 907b1b2View commit details
Commits on Jul 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 015b31f - Browse repository at this point
Copy the full SHA 015b31fView commit details -
* Allows a new RNG to be generated with seed=-1 and updated env_checker to fix bug if environment doesn't use np_random in reset * Revert "fixed `gym.vector.make` where the checker was being applied in the opposite case than was intended to (#2871)" This reverts commit 519dfd9. * Remove bad pushed commits * Fixed spelling in core.py * Pins pytest to the last py 3.6 version * Add Text space * Add Text space * Added Text space * Updated comment * Allow Box automatic scalar shape * Add test box and change default from () to (1,) * Refactored conditional * Refactored contains() * update Box shape inference with more strict checking * Update the box shape and add check on the custom Box shape * Removed incorrect shape type and assert shape code * Update the Box and associated tests * Move dependency error to inside the atari environment * Update the gym version to v0.25.0 * Fixed bugs in Text space and tests * Code review by Drew Co-authored-by: Ryan Rudes <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 634afec - Browse repository at this point
Copy the full SHA 634afecView commit details
Commits on Jul 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for aeda7eb - Browse repository at this point
Copy the full SHA aeda7ebView commit details -
Bump Car racing and Remove Car Racing Discrete (#2963)
* Allows a new RNG to be generated with seed=-1 and updated env_checker to fix bug if environment doesn't use np_random in reset * Revert "fixed `gym.vector.make` where the checker was being applied in the opposite case than was intended to (#2871)" This reverts commit 519dfd9. * Remove bad pushed commits * Fixed spelling in core.py * Pins pytest to the last py 3.6 version * Allow Box automatic scalar shape * Add test box and change default from () to (1,) * update Box shape inference with more strict checking * Update the box shape and add check on the custom Box shape * Removed incorrect shape type and assert shape code * Update the Box and associated tests * Move dependency error to inside the atari environment * Update the gym version to v0.25.0 * Bump car racing and remove car racing discrete
Configuration menu - View commit details
-
Copy full SHA for ddce4a5 - Browse repository at this point
Copy the full SHA ddce4a5View commit details
Commits on Jul 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f3f8a97 - Browse repository at this point
Copy the full SHA f3f8a97View commit details
Commits on Jul 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 98a9293 - Browse repository at this point
Copy the full SHA 98a9293View commit details
Commits on Jul 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5dc2076 - Browse repository at this point
Copy the full SHA 5dc2076View commit details -
Configuration menu - View commit details
-
Copy full SHA for e741d42 - Browse repository at this point
Copy the full SHA e741d42View commit details
Commits on Jul 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ce6bad7 - Browse repository at this point
Copy the full SHA ce6bad7View commit details -
Raise warning in
PixelObservationWrapper
ifrender_mode
is None (#……2978) * init * adapt PixelObservationWrapper to new API * reformat Co-authored-by: younik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e812e1 - Browse repository at this point
Copy the full SHA 8e812e1View commit details
Commits on Jul 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8461425 - Browse repository at this point
Copy the full SHA 8461425View commit details
Commits on Jul 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3c60ae9 - Browse repository at this point
Copy the full SHA 3c60ae9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39b8661 - Browse repository at this point
Copy the full SHA 39b8661View commit details
Commits on Jul 24, 2022
-
fixed bipedal walker render rgb_array (#2991)
(returning uncropped width)
Configuration menu - View commit details
-
Copy full SHA for ddd4419 - Browse repository at this point
Copy the full SHA ddd4419View commit details
Commits on Jul 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3ea8819 - Browse repository at this point
Copy the full SHA 3ea8819View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8115b0 - Browse repository at this point
Copy the full SHA b8115b0View commit details -
Add pygame GUI for Cliffwalking (#2997)
* fix typo * add pygame render cliffwalking * refactor frozen lake, new images for cliffwalking * backto old images * improve graphics * use old images * refactor frozen lake * reformat
Configuration menu - View commit details
-
Copy full SHA for cb3df61 - Browse repository at this point
Copy the full SHA cb3df61View commit details -
fix render popping when render is called internally for Wrappers (#2998)
* fix render popping when render is called internally * move _render workaround from Wrapper to PixelObservation
Configuration menu - View commit details
-
Copy full SHA for 9d35dc8 - Browse repository at this point
Copy the full SHA 9d35dc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96e6cd6 - Browse repository at this point
Copy the full SHA 96e6cd6View commit details
Commits on Aug 1, 2022
-
Add type annotations for metadata and render_mode (#3007)
Alexander Zhang authoredAug 1, 2022 Configuration menu - View commit details
-
Copy full SHA for dce35df - Browse repository at this point
Copy the full SHA dce35dfView commit details
Commits on Aug 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 607602b - Browse repository at this point
Copy the full SHA 607602bView commit details
Commits on Aug 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8b74413 - Browse repository at this point
Copy the full SHA 8b74413View commit details
Commits on Aug 15, 2022
-
Add
Sequence
space, updateflatten
functions (#2968)* Added Sequence space, updated flatten functions to work with Sequence, Graph. WIP. * Small fixes, added Sequence space to tests * Replace Optional[Any] by Any * Added tests for flattening of non-numpy-flattenable spaces * Return all seeds
Configuration menu - View commit details
-
Copy full SHA for 63ea5f2 - Browse repository at this point
Copy the full SHA 63ea5f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3da6b6e - Browse repository at this point
Copy the full SHA 3da6b6eView commit details
Commits on Aug 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3303783 - Browse repository at this point
Copy the full SHA 3303783View commit details -
Avoid metaclass conflicts when inheriting from gym.Env (#3001)
Using __init_subclass__ instead of metaclass, suggested by PEP 487(introduced in python3.6). As a result, downstream package can safely inherit from gym.Env and abc.ABC/Protocol/...(classes with metaclass != type), or set their own metaclass without making a intermediate metaclass inherited from custom metaclass and type(gym.Env).
Configuration menu - View commit details
-
Copy full SHA for e24877a - Browse repository at this point
Copy the full SHA e24877aView commit details -
Reduce memory consumption and hanging for Dict and Tuple spaces (#3011)
* Reduce memory consumption and hanging. Signed-off-by: Olaf Lipinski <[email protected]> * Use len(subseeds) instead of x. Clearer error message Signed-off-by: Olaf Lipinski <[email protected]> * Allow for non-unique seeds in subspaces Signed-off-by: Olaf Lipinski <[email protected]> * Update docstrings Signed-off-by: Olaf Lipinski <[email protected]> * Update doc for Tuple Signed-off-by: Olaf Lipinski <[email protected]> Signed-off-by: Olaf Lipinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a6b87f1 - Browse repository at this point
Copy the full SHA a6b87f1View commit details -
Type hint mujoco_env.py and update pyright (#3015)
* Investigated the pyright attributes and removed mujoco from ignored * Fixed pyright CI
Configuration menu - View commit details
-
Copy full SHA for f54319e - Browse repository at this point
Copy the full SHA f54319eView commit details -
Fix unpickling Box2D and MuJoCo envs (#3025)
* Try to fix car racing unpickling * Fix EzPickle for BipedalWalker and LunarLander * Shamelessly steal the pickle-unpickle test from Mark, with slight modifications * CarRacing EzPickle fix * Mujoco ezpickle fix
Configuration menu - View commit details
-
Copy full SHA for 51c2026 - Browse repository at this point
Copy the full SHA 51c2026View commit details
Commits on Aug 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for aa43d13 - Browse repository at this point
Copy the full SHA aa43d13View commit details -
Add testing for step api compatibility functions and wrapper (#3028)
* Initial commit * Fixed tests and forced TimeLimit.truncated to always exist when truncated or terminated * Fix CI issues * pre-commit * Revert back to old language * Revert changes to step api wrapper
Configuration menu - View commit details
-
Copy full SHA for a8d4dd7 - Browse repository at this point
Copy the full SHA a8d4dd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1061949 - Browse repository at this point
Copy the full SHA 1061949View commit details
Commits on Aug 21, 2022
-
Fixed typo in the contributing guidelines (#3035)
* Fix typo in pre-commit * Fix markdown syntax for gogle docstring style hyperlink
Configuration menu - View commit details
-
Copy full SHA for 78c3faa - Browse repository at this point
Copy the full SHA 78c3faaView commit details
Commits on Aug 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7b0b85c - Browse repository at this point
Copy the full SHA 7b0b85cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22555c6 - Browse repository at this point
Copy the full SHA 22555c6View commit details -
* init * add .gitignore * fix .gitignore * remove internal backend use * fix VideoRecorder test * fix .gitignore * fix order enforcing tests * adapt play.py * reformat * fix .gitignore * add type to DummyPlayEnv
Configuration menu - View commit details
-
Copy full SHA for de9eed5 - Browse repository at this point
Copy the full SHA de9eed5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e53948 - Browse repository at this point
Copy the full SHA 0e53948View commit details -
Fix toy_text rendering on headless machines (#3037)
* Do stuff with pygame init only in human mode * Fix CliffWalking * Pre-commit
Configuration menu - View commit details
-
Copy full SHA for 1f86478 - Browse repository at this point
Copy the full SHA 1f86478View commit details
Commits on Aug 23, 2022
-
Removing return_info argument to env.reset() and deprecated env.seed(…
…) function (reset now always returns info) (#2962) * removed return_info, made info dict mandatory in reset * tenatively removed deprecated seed api for environments * added more info type checks to wrapper tests * formatting/style compliance * addressed some comments * polish to address review * fixed tests after merge, and added a test of the return_info deprecation assertion if found in reset signature * some organization of env_checker tests, reverted a probably merge error * added deprecation check for seed function in env * updated docstring * removed debug prints, tweaked test_check_seed_deprecation * changed return_info deprecation check from assertion to warning * fixes to vector envs, now should be correctly structured * added some explanation and typehints for mockup depcreated return info reset function * re-removed seed function from vector envs * added explanation to _reset_return_info_type and changed the return statement
Configuration menu - View commit details
-
Copy full SHA for 3a8daaf - Browse repository at this point
Copy the full SHA 3a8daafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e2e921 - Browse repository at this point
Copy the full SHA 6e2e921View commit details
Commits on Aug 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 44e9475 - Browse repository at this point
Copy the full SHA 44e9475View commit details
Commits on Aug 29, 2022
-
Add save_video util and deprecate RecordVideo in favor of it (#3016)
* init * add save_video util * simplify API @pseudo-rnd-thoughts * fix video_length and remove folder warning * remove RecordVideo deprecation warnings * add test record video * avoid test failing cascade
Configuration menu - View commit details
-
Copy full SHA for 2a9853f - Browse repository at this point
Copy the full SHA 2a9853fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 884ba08 - Browse repository at this point
Copy the full SHA 884ba08View commit details
Commits on Aug 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 54b406b - Browse repository at this point
Copy the full SHA 54b406bView commit details -
Reduce the number of unexpected warnings during testing (#3050)
* Initial commit * Remove unnecessary `warnings.simplefilters` * Fix tests for new step API * Fix testing Co-authored-by: Markus28 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab3e02d - Browse repository at this point
Copy the full SHA ab3e02dView commit details
Commits on Aug 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for aaa6cd9 - Browse repository at this point
Copy the full SHA aaa6cd9View commit details
Commits on Sep 1, 2022
-
Rename "rgb_array" to "rgb_array_list" and "single_rgb_array" to "rgb…
…_array" (#3040) * initial commit * Fix CI * Fixed CI * third time the charm * Fix mujoco environment render modes order * Remove unnecessary changes * pre-commit * Fix tests * Comment out test render modes * Fix code review and readd mujoco * pre-commit * Fix testing envs * Fix all GenericTestEnvs * Do not run mujoco-py render environments
Configuration menu - View commit details
-
Copy full SHA for 799c8d2 - Browse repository at this point
Copy the full SHA 799c8d2View commit details -
Updates the make and registration functions with better parameters an…
…d hints (#3041) * Initial commit * Add missing __init__ for EnvSpec * third time a charm * Replace entry_point=None with entry_point="no-entry-point" * Readd make overloads, updated with all gym envs * pre-commit * Add apply_step_compatibility to make and add testing * Code review by Arjun
Configuration menu - View commit details
-
Copy full SHA for 0bcd49e - Browse repository at this point
Copy the full SHA 0bcd49eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c79ac2e - Browse repository at this point
Copy the full SHA c79ac2eView commit details
Commits on Sep 3, 2022
-
cliffwalking: remove annoying warnings (#3058)
* cliffwalking: remove annoying warning * fix pre-commit
Configuration menu - View commit details
-
Copy full SHA for 43b42d5 - Browse repository at this point
Copy the full SHA 43b42d5View commit details -
Add testing for Fundamental spaces with full coverage (#3048)
* initial commit * Fix the multi-binary sample and upgrade multi-discrete sample * Fix MultiBinary sample tests and pre-commit * Adds coverage tests and updates test_utils.py to use the utils.py spaces. Fix bug in text.py * pre-commit
Configuration menu - View commit details
-
Copy full SHA for 8e74fe3 - Browse repository at this point
Copy the full SHA 8e74fe3View commit details -
Update Composite spaces with full coverage (#3047)
* Update composite space and tests * Pre-commit * pyright * Fix pyright * retrigger actions * Code review by Arjun * Code review by Arjun * Code review by Omar
Configuration menu - View commit details
-
Copy full SHA for f39747d - Browse repository at this point
Copy the full SHA f39747dView commit details
Commits on Sep 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0608263 - Browse repository at this point
Copy the full SHA 0608263View commit details
Commits on Sep 5, 2022
-
Correct the module scope of DeprecationWarning warning filter (#3059)
The `warnings.simplefilter(...)` call mistakenly voids and nullifies all the previous warning filters for DeprecationWarning, registered by other packages or user programs via `warnings.filterwarnings` call which has an explicit intention of suppress DeprecationWarning. Control of DeprecationWarning's made in the gym library should have effects only within the gym package.
Configuration menu - View commit details
-
Copy full SHA for 525b983 - Browse repository at this point
Copy the full SHA 525b983View commit details -
Fix lunar lander reward doc (#3064)
* Improved documentation to specify decode state space * Improve taxi documentation * Fixed LunarLanderv2 reward doc
Configuration menu - View commit details
-
Copy full SHA for a18e0a3 - Browse repository at this point
Copy the full SHA a18e0a3View commit details -
fix: restore auto human rendering (#3063)
* restore auto human rendering * add assert for minimal modes
Configuration menu - View commit details
-
Copy full SHA for 2f33096 - Browse repository at this point
Copy the full SHA 2f33096View commit details
Commits on Sep 6, 2022
-
Add a complete compatibility wrapper (#3066)
* Added a new compatibility wrapper along with tests * Fix for 3.6 typing * Fix for 3.6 typing again * Add make integration * Unrelated change that for some reason is necessary to fix pyright * Ignore weird (and very non-critical) type check bug * Adjust old tests * Rename the compatibility argument in make * Rename the compatibility argument in register and envspec * Documentation updates * Remove test envs from the registry * Some rogue renames * Add nicer str and repr to the compatibility layer * Reorder the compatibility layer application * Add metadata to test envs * Add proper handling of automatic human rendering * Add auto human rendering to reset * Enable setting render_mode in gym.make * Documentation update * Fix an unrelated stochastic test
Configuration menu - View commit details
-
Copy full SHA for d818750 - Browse repository at this point
Copy the full SHA d818750View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1d0c96 - Browse repository at this point
Copy the full SHA d1d0c96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 824507b - Browse repository at this point
Copy the full SHA 824507bView commit details
Commits on Sep 8, 2022
-
[BugFix] Raise exception in PixelObservationWrapper if env.render_mod…
…e is not specified (#3076) * init * amend
Configuration menu - View commit details
-
Copy full SHA for abefea7 - Browse repository at this point
Copy the full SHA abefea7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4d668f - Browse repository at this point
Copy the full SHA f4d668fView commit details
Commits on Sep 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cae736b - Browse repository at this point
Copy the full SHA cae736bView commit details -
Configuration menu - View commit details
-
Copy full SHA for eca535e - Browse repository at this point
Copy the full SHA eca535eView commit details
Commits on Sep 12, 2022
-
Fix mujoco_py only installation (#3072)
Only import `mujoco_rendering` when `mujoco` installed. Otherwise the `try import` code in `gym.envs.mujoco.mujoco_env` is useless.
Configuration menu - View commit details
-
Copy full SHA for 05d52cf - Browse repository at this point
Copy the full SHA 05d52cfView commit details
Commits on Sep 13, 2022
-
Update the CarRacing main method to the new rendering API. (#3085)
Additionally, the running application can be stopped not just by closing the window, but also by pressing the Escape key. Fixed #3082.
Configuration menu - View commit details
-
Copy full SHA for af14749 - Browse repository at this point
Copy the full SHA af14749View commit details
Commits on Sep 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 94aaff9 - Browse repository at this point
Copy the full SHA 94aaff9View commit details
Commits on Sep 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 53d784e - Browse repository at this point
Copy the full SHA 53d784eView commit details
Commits on Sep 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e055ee7 - Browse repository at this point
Copy the full SHA e055ee7View commit details
Commits on Oct 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4544bb9 - Browse repository at this point
Copy the full SHA 4544bb9View commit details
Commits on Oct 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2ac7b1c - Browse repository at this point
Copy the full SHA 2ac7b1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21e6e27 - Browse repository at this point
Copy the full SHA 21e6e27View commit details -
Fix reset info being lost in vector environments (#3111)
* Fix reset info * Added test for checking vector info
Configuration menu - View commit details
-
Copy full SHA for 1486d33 - Browse repository at this point
Copy the full SHA 1486d33View commit details -
ENH: add render warn for None (#3112)
* add render warn for None * restore _render (car racing) * improve warn message * reformat
Configuration menu - View commit details
-
Copy full SHA for 780e884 - Browse repository at this point
Copy the full SHA 780e884View commit details -
* Bump version to v26.2 * Fix pre-commit
Configuration menu - View commit details
-
Copy full SHA for a368cfa - Browse repository at this point
Copy the full SHA a368cfaView commit details
Commits on Oct 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6a04d49 - Browse repository at this point
Copy the full SHA 6a04d49View commit details
Commits on Jan 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9942f3d - Browse repository at this point
Copy the full SHA 9942f3dView commit details
Commits on Jan 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for dcd1858 - Browse repository at this point
Copy the full SHA dcd1858View commit details