Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update openai-gym fork #1

Open
wants to merge 714 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
714 commits
Select commit Hold shift + click to select a range
a1f1421
Enable Legacy Warnings (#2617)
trigaten Feb 17, 2022
2aa7639
Update box2d/toy_text docs (#2622)
dyodx Feb 17, 2022
2c0358b
update frozen_lake docs (#2619)
Arcify Feb 17, 2022
95063a0
Updating MuJoCo docstrings (#2616)
Markus28 Feb 17, 2022
e842a8f
Update version.py
jkterry1 Feb 17, 2022
29a093a
Setter-based approach for the fix (#2626)
RedTachyon Feb 18, 2022
b5c0cd2
## to ### (#2623)
trigaten Feb 18, 2022
bdde1ed
Fix Frozen Lake docstring (#2628)
trigaten Feb 18, 2022
b64f5cf
add rllib
jkterry1 Feb 20, 2022
d7c39f8
Notice print conditin fixed (#2633)
vakker Feb 20, 2022
3d2146d
new website and typo
jkterry1 Feb 20, 2022
c8321e6
Make `NormalizeObservation` compatible with pybullet (#2638)
vwxyzjn Feb 23, 2022
b8634bb
Change snippet in README to show off new API (#2643)
Markus28 Feb 26, 2022
649a245
Fixed tests and precommit (#2653)
RushivArora Feb 28, 2022
35b78ac
Rename render modes/fps (#2654)
trigaten Feb 28, 2022
fc207f9
Removed Striker and Thrower (#2651)
RushivArora Feb 28, 2022
e3b4857
Remove deprecated Monitor class and its dependencies. (#2606)
gianlucadecola Feb 28, 2022
8d4dff1
Locked framerate in human-mode rendering with PyGame (#2649)
Markus28 Mar 2, 2022
15b5c6c
Fix RandomNumberGenerator pickling (#2639)
jjyyxx Mar 2, 2022
d1f35fe
Box Boundedness determined using get_inf instead of np.inf (#2630)
rusu24edward Mar 2, 2022
b2a2e67
compatibility for loading legacy Discrete states (#2646)
dyodx Mar 2, 2022
b78d1a1
Remove display initialization when not rendering in human mode (#2658)
andrewtanJS Mar 2, 2022
4a3c63f
render_fps API test (#2659)
trigaten Mar 2, 2022
108f32c
gym.spaces.Tuple inherits from collections.abc.Sequence (#2637)
duburcqa Mar 4, 2022
e671aa1
Fix space utils for Discrete with non-zero start (#2645)
tristandeleu Mar 4, 2022
2dddaf7
Update version.py
jkterry1 Mar 4, 2022
29cf1e5
Make `VideoRecorder` backward-compatible to `gym<0.23` (#2678)
vwxyzjn Mar 10, 2022
6f1ec7c
Fix issues with pygame event handling (#2684)
andrewtanJS Mar 11, 2022
25f80c4
Add py.typed to package_data (#2683)
micimize Mar 11, 2022
252c333
Update version.py
jkterry1 Mar 11, 2022
028686c
Actually displays deprecation warnings (#2685)
vwxyzjn Mar 11, 2022
6eec83c
fix documentation cliffwalking (#2686)
younik Mar 11, 2022
57b157b
Fix misleading warning message. (#2690)
ZhiqingXiao Mar 13, 2022
e5bac2a
Wipeout striker thrower (#2694)
RushivArora Mar 14, 2022
b1b0a12
Docs pusher (#2693)
RushivArora Mar 14, 2022
850247f
Reduces warnings produced by pytest from ~1500 to 13 (#2660)
pseudo-rnd-thoughts Mar 14, 2022
f00933a
fix credits
jkterry1 Mar 15, 2022
27464d3
black (#2698)
trigaten Mar 16, 2022
00c0c04
refresh notable related libraries
jkterry1 Mar 16, 2022
c8c42a5
minor update
jkterry1 Mar 16, 2022
3e7eb2e
fix: duplicated dependency (#2704)
kir0ul Mar 20, 2022
aa7aebc
Remove duplicated import (#2708)
ZhiqingXiao Mar 20, 2022
941e5bf
Fixed issue 2702 (#2705)
pseudo-rnd-thoughts Mar 20, 2022
64a0eb0
make error message on accessing private attributes more representativ…
H4sh3 Mar 24, 2022
05df86e
autoreset wrapper (#2650)
balisujohn Mar 25, 2022
d6a3431
call close method of Wrapper when overriding (#2711)
witoong623 Mar 25, 2022
e913bc8
Improve `pre-commit` workflow (#2602)
kir0ul Mar 31, 2022
1285fed
Update check_env (#2717)
Markus28 Mar 31, 2022
4f23049
Fixed warnings produced by test_record_video.py and test_video_record…
pseudo-rnd-thoughts Mar 31, 2022
214a835
Wrapper should not overwrite default render mode (#2706)
duburcqa Mar 31, 2022
bc17d9f
Make pygame optional in classic control and toy text envs (#2712)
RedTachyon Mar 31, 2022
752af3c
Fix black version (#2724)
trigaten Apr 1, 2022
e11231d
add pygame GUI render for taxi env (#2713)
younik Apr 2, 2022
07fd227
Make pygame optional for Box2D. Fix ci. Closes #2712 (#2731)
gianlucadecola Apr 5, 2022
658d408
fix and complete docstrings to match the documentation page (#2697)
mgoulao Apr 6, 2022
bfdd259
Changed reward_threshold from int to float (#2735)
Markus28 Apr 6, 2022
3fd204d
Update README.md
jkterry1 Apr 7, 2022
227e246
Pyright versioning update. Fix #2700 (#2739)
gianlucadecola Apr 8, 2022
623dd8d
fix #2736 (#2737)
younik Apr 8, 2022
d4cda25
AutoResetWrapper integration with gym.make() (#2728)
balisujohn Apr 8, 2022
2ac8553
Added kwarg documentation for BlackJack and LunarLander (#2742)
Markus28 Apr 10, 2022
b717924
Update the parametrize to show the ids of the specification to make d…
pseudo-rnd-thoughts Apr 10, 2022
06072ed
fix: type ignore from #2739 (#2744)
kir0ul Apr 11, 2022
33970e2
Update README.md
jkterry1 Apr 13, 2022
5ae6bf9
Bipedal fix bounds and type hints (#2750)
jjshoots Apr 14, 2022
1a3a891
fix #2723 and remove unuseful board (#2754)
younik Apr 15, 2022
681a992
Add gravity and wind as kwarg in Lunar Lander (#2746)
jjshoots Apr 15, 2022
c6deb81
Add mild domain randomization to Car Racing Env (#2749)
jjshoots Apr 15, 2022
da7b8ae
Made documentation for carracing more descriptive, and renamed one of…
jjshoots Apr 15, 2022
6138920
Fix turn indicators not working in Carracing (#2759)
jjshoots Apr 17, 2022
36a7fe5
Add test gym utils play. Fix #2729 (#2743)
gianlucadecola Apr 18, 2022
3ee7420
reduce wind power further for heuristic landing (#2766)
jjshoots Apr 21, 2022
0a5f543
Vector Api for website (#2764)
RushivArora Apr 21, 2022
00a60e6
Rewriting of the registration mechanism (#2748)
RedTachyon Apr 21, 2022
dcae553
Remove magic numbers. Imports cleanup. Remove redudant test. (#2769)
gianlucadecola Apr 21, 2022
3354451
Fixed batch spaces where the original space's seed was ignored. Issue…
pseudo-rnd-thoughts Apr 24, 2022
3f7de05
Remove orphan comment (#2774)
ikamensh Apr 24, 2022
feb7ec3
Fix docstring format on seed arg to reset (#2775)
efokschaner Apr 24, 2022
0c78ea5
Avoid using deperecated distutils package (#2770)
kngwyu Apr 25, 2022
4ecc2ad
Improved taxi documentation (#2777)
vairodp Apr 26, 2022
bf093c6
Update the flake8 pre-commit ignores (#2778)
pseudo-rnd-thoughts Apr 26, 2022
5c8ce49
Add discrete action space for Carracing (#2761)
jjshoots Apr 29, 2022
ae15f59
Added docstrings for wrappers, some typehints (#2784)
Markus28 Apr 29, 2022
b704d46
Place try except around all imports of pygame (#2782)
pseudo-rnd-thoughts Apr 29, 2022
2708d81
Changes the gym box2d, toy-text and classic-control entry points to t…
pseudo-rnd-thoughts May 2, 2022
b4f40f5
Add deprecation warning on PlayPlot. (#2792)
gianlucadecola May 2, 2022
971aea8
Fixes to the new registration (#2771)
RedTachyon May 5, 2022
b044b90
Fixed bug where the env could terminate while checking observations a…
pseudo-rnd-thoughts May 6, 2022
40c26ab
BugFix - VecEnvWrapper doesn't forward call, set_attr to self.env (#2…
arjun-kg May 6, 2022
31e6f23
Add pyright to precommit (#2796)
pseudo-rnd-thoughts May 9, 2022
1c62d3c
Add Pydocstyle to CI (#2785)
pseudo-rnd-thoughts May 10, 2022
745e705
Pydocstyle spaces docstring (#2798)
Markus28 May 10, 2022
350a082
Upgrade test_determinism. Refer to #2767 (#2814)
gianlucadecola May 12, 2022
9a5db3b
Remove try except from box2d __init__.py as the environment have try …
pseudo-rnd-thoughts May 12, 2022
bf688c3
Pydocstyle wrappers docstrings (#2787)
pseudo-rnd-thoughts May 13, 2022
58081ed
Improve performance for car racing rendering (#2821)
andrewtanJS May 14, 2022
bf0113b
Improve ``play`` (#2819)
Markus28 May 15, 2022
7fc2ebf
[Proposal] Add turbulance disturbance to LunarLander (#2808)
virgilt May 16, 2022
6112b0d
Upgrade test_action_dim. Refer to #2767 (#2802)
gianlucadecola May 16, 2022
64b4b31
Fix edge case for out of bounds (#2822)
andrewtanJS May 16, 2022
5f237ac
Render order enforcing (#2805)
pseudo-rnd-thoughts May 18, 2022
fd9cffe
Add a minimal env checker on `gym.make` (#2807)
RedTachyon May 18, 2022
1b09191
Add a compatibility layer for the new registration mechanism (#2818)
RedTachyon May 20, 2022
e226602
Pydocstyle utils vector docstring (#2788)
pseudo-rnd-thoughts May 20, 2022
a37b956
Add support for including module with gym.make (#2815)
arjun-kg May 23, 2022
8f9b62f
Fix scale for Car Racing (#2831)
andrewtanJS May 23, 2022
3e006f3
Add new MuJoCo bindings (#2762)
rodrigodelazcano May 24, 2022
bbf8f5a
Bump the ale-py version (#2832)
pseudo-rnd-thoughts May 24, 2022
49d8299
New `info` API for vectorized environments #2657 (#2773)
gianlucadecola May 24, 2022
2eca119
Update registration.py (#2833)
RedTachyon May 24, 2022
f2c3f73
Updated mujoco to 2.2.0 from 2.1.5 (#2835)
pseudo-rnd-thoughts May 24, 2022
4487008
Mujoco and Website Docstring fixes (#2834)
pseudo-rnd-thoughts May 24, 2022
273e3f2
Updated docstrings using darglint (#2827)
pseudo-rnd-thoughts May 25, 2022
0263deb
Add support for python 3.6 (#2836)
pseudo-rnd-thoughts May 25, 2022
e89b00c
Updated the gym version to v0.24 (#2839)
pseudo-rnd-thoughts May 25, 2022
1b09a7e
Remove operations from xml files (#2843)
quagla May 27, 2022
6c8abef
Remove a redundant warning in registration (#2850)
RedTachyon May 30, 2022
34fba52
Update LICENSE.md
jkterry1 May 31, 2022
0e99e3c
Added support for unpickling legacy Box (#2851) (#2854)
jkterry1 Jun 1, 2022
6b1e30d
show readme as pypi description
jkterry1 Jun 1, 2022
53ff70e
Fixed doc strings for the website (#2846)
pseudo-rnd-thoughts Jun 2, 2022
83dac2c
Test BipedalWalker hardcore kwargs. Refer to #2767 (#2841)
gianlucadecola Jun 2, 2022
9147790
Fixed the docstring to reflect the actual environment implementation …
pseudo-rnd-thoughts Jun 2, 2022
8a323c9
Fix issue #2860 (#2861)
rodrigodelazcano Jun 4, 2022
6744d53
remove unuseful comments
jkterry1 Jun 6, 2022
fa01fda
fix docstring. (#2868)
gianlucadecola Jun 6, 2022
9fa7ede
Forwards all np_random assignments to the actual environment and prev…
pseudo-rnd-thoughts Jun 6, 2022
134de4a
Updates the environment checker (#2864)
pseudo-rnd-thoughts Jun 6, 2022
734bd4b
Rewrite setup (#2865)
pseudo-rnd-thoughts Jun 6, 2022
66c431d
Incremented the version to v24.1 (#2870)
pseudo-rnd-thoughts Jun 7, 2022
9acf9cd
Render API (#2671)
younik Jun 7, 2022
519dfd9
fixed `gym.vector.make` where the checker was being applied in the op…
pseudo-rnd-thoughts Jun 8, 2022
f9e2b92
remove xml_file from mujoco args (#2872)
rodrigodelazcano Jun 9, 2022
a6274a5
Add Graph to Spaces (#2869)
jjshoots Jun 9, 2022
7211532
Env Step Check allow rewards to be np int (#2879)
ttran2 Jun 10, 2022
1a7a727
Updated FrozenLakeEnv docstring (#2877)
johnMinelli Jun 12, 2022
053ee80
fix: add render_mode getter to Wrappers (#2884)
younik Jun 13, 2022
3498617
Fix TimeLimit wrapper and add tests (#2888)
araffin Jun 15, 2022
a5afdb3
fix: allow mode as argument (#2893)
younik Jun 15, 2022
71f11a0
Fix CarRacing termination (#2890)
araffin Jun 15, 2022
ffbf971
Rewrite env tests (#2867)
pseudo-rnd-thoughts Jun 16, 2022
f2aeb82
check render_mode in make (#2896)
younik Jun 16, 2022
a7e1861
Fix: add mujoco render arguments to init (#2891)
younik Jun 16, 2022
dc39a4e
Pin pytest to 7.0.1 (#2898)
pseudo-rnd-thoughts Jun 19, 2022
528d878
Fixed action dim check (#2899)
pseudo-rnd-thoughts Jun 19, 2022
f5f8479
Add vector make tests (#2901)
pseudo-rnd-thoughts Jun 19, 2022
08fbbf0
Mujoco metadata (#2904)
pseudo-rnd-thoughts Jun 19, 2022
979407f
Fix `check_observation_space`and `check_action_space` inversion (#2909)
qgallouedec Jun 19, 2022
feea527
Remove pytest class in test pixel observation wrapper (#2902)
pseudo-rnd-thoughts Jun 19, 2022
4d57b86
Roll back mujoco docstrings (#2913)
Markus28 Jun 21, 2022
174c299
Split test registration (#2900)
pseudo-rnd-thoughts Jun 23, 2022
af918d8
Parameterize initial state distributions for classic control envs. (#…
psc-g Jun 23, 2022
51a6386
Revert "Parameterize initial state distributions for classic control …
RedTachyon Jun 23, 2022
f493aba
tentative fix for render function showing changing dealer top card (#…
balisujohn Jun 24, 2022
94081fb
Pitch: Wrapper that adds human-mode rendering to any environment with…
Markus28 Jun 24, 2022
2fb6043
Fix: warning for mode in render with python 3.6 (#2927)
younik Jun 25, 2022
d750eb8
fix some pixel art credits
jkterry1 Jun 26, 2022
024b0f5
Added Action masking for Space.sample() (#2906)
pseudo-rnd-thoughts Jun 26, 2022
0dba072
remove sys.exit(0) mujoco render (#2930)
rodrigodelazcano Jun 28, 2022
7f6effb
Inferring Box scalar shape (#2911)
pseudo-rnd-thoughts Jun 29, 2022
61a39f4
Initialize observation spaces and pytest (#2929)
rodrigodelazcano Jun 30, 2022
2017f3e
Fix the initialization of render mode set (#2938)
KexianShen Jun 30, 2022
9c1d288
[WIP] Typing fixes (#2939)
RedTachyon Jun 30, 2022
f042d0b
Add option to change colour on carracing through "options" argument, …
jjshoots Jun 30, 2022
cc7552f
Properly check whether AttributeError is caused by render_mode (#2941)
Markus28 Jul 1, 2022
9e66399
Try to fetch keys_to_action from environment, made tests stronger (#2…
Markus28 Jul 1, 2022
2ede090
Full type hinting (#2942)
pseudo-rnd-thoughts Jul 4, 2022
071f0bf
Fix error with import gym without cv2 (#2948)
pseudo-rnd-thoughts Jul 5, 2022
ca39816
Add reset params (with np support) (#2926)
psc-g Jul 6, 2022
c292d35
RecordVideo wrapper revived (#2894)
johnMinelli Jul 6, 2022
571fcd6
improve docker image size (#2953)
TheDen Jul 6, 2022
e3c05c2
split base mujoco env class (#2946)
rodrigodelazcano Jul 6, 2022
907b1b2
New Step API with terminated, truncated bools instead of done (#2752)
arjun-kg Jul 9, 2022
015b31f
Bug fix, add tests for environment checker and passive environment ch…
pseudo-rnd-thoughts Jul 11, 2022
634afec
Text space (#2959)
pseudo-rnd-thoughts Jul 11, 2022
aeda7eb
Version v0.25.0 release (#2949)
pseudo-rnd-thoughts Jul 13, 2022
ddce4a5
Bump Car racing and Remove Car Racing Discrete (#2963)
pseudo-rnd-thoughts Jul 13, 2022
f3f8a97
Fixed tests for Car racing v2 (#2964)
pseudo-rnd-thoughts Jul 14, 2022
98a9293
Fix reset bounds for mountain car (#2965)
psc-g Jul 15, 2022
5dc2076
Updating the docstring disable_env_checker (#2967)
pseudo-rnd-thoughts Jul 17, 2022
e741d42
docs: Fix a few typos (#2971)
timgates42 Jul 17, 2022
ce6bad7
Bug fix: Revert an incorrect edition on wrapper.FrameStack (#2973)
ZhiqingXiao Jul 18, 2022
8e812e1
Raise warning in `PixelObservationWrapper` if `render_mode` is None (…
vmoens Jul 18, 2022
8461425
Fix typo (#2980)
Ice1187 Jul 21, 2022
3c60ae9
Remove pytest.importorskip (#2976)
pseudo-rnd-thoughts Jul 23, 2022
39b8661
Rephrase observations' definition in Lunar Lander Environment (#2987)
EvanMath Jul 23, 2022
ddd4419
fixed bipedal walker render rgb_array (#2991)
1b15 Jul 24, 2022
3ea8819
backward compatibility when metadata doesn't include render mode (#2990)
pseudo-rnd-thoughts Jul 26, 2022
b8115b0
Update swimmer_v4.py (#2993)
lin826 Jul 26, 2022
cb3df61
Add pygame GUI for Cliffwalking (#2997)
younik Jul 26, 2022
9d35dc8
fix render popping when render is called internally for Wrappers (#2998)
younik Jul 26, 2022
96e6cd6
Version v0.25.1 (#2988)
pseudo-rnd-thoughts Jul 26, 2022
dce35df
Add type annotations for metadata and render_mode (#3007)
Aug 1, 2022
607602b
Add swig as a Box2D dependency (#3009)
kir0ul Aug 3, 2022
8b74413
Fixed all environment close issues in testing (#3020)
pseudo-rnd-thoughts Aug 8, 2022
63ea5f2
Add `Sequence` space, update `flatten` functions (#2968)
Markus28 Aug 15, 2022
3da6b6e
handle no info mask (#3026)
arjun-kg Aug 15, 2022
3303783
Corrected episode end description for mujoco/ant (#3029)
raja-grewal Aug 16, 2022
e24877a
Avoid metaclass conflicts when inheriting from gym.Env (#3001)
YouJiacheng Aug 16, 2022
a6b87f1
Reduce memory consumption and hanging for Dict and Tuple spaces (#3011)
olipinski Aug 16, 2022
f54319e
Type hint mujoco_env.py and update pyright (#3015)
pseudo-rnd-thoughts Aug 16, 2022
51c2026
Fix unpickling Box2D and MuJoCo envs (#3025)
RedTachyon Aug 16, 2022
aa43d13
Consider key order in `spaces.Dict.__eq__` (#3024)
XuehaiPan Aug 18, 2022
a8d4dd7
Add testing for step api compatibility functions and wrapper (#3028)
pseudo-rnd-thoughts Aug 18, 2022
1061949
Update to v0.25.2 (#3033)
pseudo-rnd-thoughts Aug 18, 2022
78c3faa
Fixed typo in the contributing guidelines (#3035)
danielykim Aug 21, 2022
7b0b85c
removed inline RandomNumberGenerator implementation (#3022)
balisujohn Aug 22, 2022
22555c6
Update README.md
jkterry1 Aug 22, 2022
de9eed5
Remove old Render API (#3027)
younik Aug 22, 2022
0e53948
Rename rotors in mujoco swimmer (#3036)
lin826 Aug 22, 2022
1f86478
Fix toy_text rendering on headless machines (#3037)
RedTachyon Aug 22, 2022
3a8daaf
Removing return_info argument to env.reset() and deprecated env.seed(…
balisujohn Aug 23, 2022
6e2e921
Update README.md (#3039)
RedTachyon Aug 23, 2022
44e9475
Fix#3043 (#3044)
YouJiacheng Aug 24, 2022
2a9853f
Add save_video util and deprecate RecordVideo in favor of it (#3016)
younik Aug 29, 2022
884ba08
initial commit (#3046)
pseudo-rnd-thoughts Aug 29, 2022
54b406b
Support only new step API (while retaining compatibility functions) …
arjun-kg Aug 30, 2022
ab3e02d
Reduce the number of unexpected warnings during testing (#3050)
pseudo-rnd-thoughts Aug 30, 2022
aaa6cd9
replace references to gymlibrary.ml with new .dev domain (#3053)
FieteO Aug 31, 2022
799c8d2
Rename "rgb_array" to "rgb_array_list" and "single_rgb_array" to "rgb…
pseudo-rnd-thoughts Sep 1, 2022
0bcd49e
Updates the make and registration functions with better parameters an…
pseudo-rnd-thoughts Sep 1, 2022
c79ac2e
fix test_record_video_within_vector (#3055)
younik Sep 1, 2022
43b42d5
cliffwalking: remove annoying warnings (#3058)
younik Sep 3, 2022
8e74fe3
Add testing for Fundamental spaces with full coverage (#3048)
pseudo-rnd-thoughts Sep 3, 2022
f39747d
Update Composite spaces with full coverage (#3047)
pseudo-rnd-thoughts Sep 3, 2022
0608263
environment agnostic {mode}_list render mode (#3060)
younik Sep 4, 2022
525b983
Correct the module scope of DeprecationWarning warning filter (#3059)
wookayin Sep 5, 2022
a18e0a3
Fix lunar lander reward doc (#3064)
vairodp Sep 5, 2022
2f33096
fix: restore auto human rendering (#3063)
younik Sep 5, 2022
d818750
Add a complete compatibility wrapper (#3066)
RedTachyon Sep 6, 2022
d1d0c96
Bump ale to 0.8.0 (#3071)
pseudo-rnd-thoughts Sep 6, 2022
824507b
update the version number to v26 (#3056)
pseudo-rnd-thoughts Sep 6, 2022
abefea7
[BugFix] Raise exception in PixelObservationWrapper if env.render_mod…
vmoens Sep 8, 2022
f4d668f
fix truncarted typo in readme API example (#3080)
rdnfn Sep 8, 2022
cae736b
fix bipedal rgb_array shape (#3083)
younik Sep 11, 2022
eca535e
Correctly change color of visited road tiles. (#3081)
foxik Sep 11, 2022
05d52cf
Fix mujoco_py only installation (#3072)
YouJiacheng Sep 12, 2022
af14749
Update the CarRacing main method to the new rendering API. (#3085)
foxik Sep 13, 2022
94aaff9
Update pendulum.py (#3086)
ikamensh Sep 14, 2022
53d784e
Bump version to v26.1 (#3090)
pseudo-rnd-thoughts Sep 16, 2022
e055ee7
GitHub Workflows security hardening (#3094)
sashashura Sep 27, 2022
4544bb9
Update README.md
jkterry1 Oct 3, 2022
2ac7b1c
clarified and fixed typo in GraphInstance docstring (#3100)
ekalosak Oct 4, 2022
21e6e27
Update atari_preprocessing.py (#3105)
vermouth1992 Oct 4, 2022
1486d33
Fix reset info being lost in vector environments (#3111)
pseudo-rnd-thoughts Oct 4, 2022
780e884
ENH: add render warn for None (#3112)
younik Oct 4, 2022
a368cfa
Bump to V26.2 (#3116)
pseudo-rnd-thoughts Oct 4, 2022
6a04d49
Update README.md
jkterry1 Oct 25, 2022
9942f3d
Update README.md
jkterry1 Jan 23, 2023
dcd1858
Update README.md
jkterry1 Jan 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .dockerignore

This file was deleted.

27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Bug Report
about: Submit a bug report
title: "[Bug Report] Bug title"

---

If you are submitting a bug report, please fill in the following details and use the tag [bug].

**Describe the bug**
A clear and concise description of what the bug is.

**Code example**
Please try to provide a minimal example to reproduce the bug. Error messages and stack traces are also helpful.

**System Info**
Describe the characteristic of your environment:
* Describe how Gym was installed (pip, docker, source, ...)
* What OS/version of Linux you're using. Note that while we will accept PRs to improve Window's support, we do not officially support it.
* Python version

**Additional context**
Add any other context about the problem here.

### Checklist

- [ ] I have checked that there is no similar [issue](https://github.com/openai/gym/issues) in the repo (**required**)
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/proposal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Proposal
about: Propose changes that are not fixes bugs
title: "[Proposal] Proposal title"
---



### Proposal

A clear and concise description of the proposal.

### Motivation

Please outline the motivation for the proposal.
Is your feature request related to a problem? e.g.,"I'm always frustrated when [...]".
If this is related to another GitHub issue, please link here too.

### Pitch

A clear and concise description of what you want to happen.

### Alternatives

A clear and concise description of any alternative solutions or features you've considered, if any.

### Additional context

Add any other context or screenshots about the feature request here.

### Checklist

- [ ] I have checked that there is no similar [issue](https://github.com/openai/gym/issues) in the repo (**required**)
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Question
about: Ask a question
title: "[Question] Question title"
---


### Question

If you're a beginner and have basic questions, please ask on [r/reinforcementlearning](https://www.reddit.com/r/reinforcementlearning/) or in the [RL Discord](https://discord.com/invite/xhfNqQv) (if you're new please use the beginners channel). Basic questions that are not bugs or feature requests will be closed without reply, because GitHub issues are not an appropriate venue for these.

Advanced/nontrivial questions, especially in areas where documentation is lacking, are very much welcome.
45 changes: 45 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

## Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update

### Screenshots
Please attach before and after screenshots of the change if applicable.

<!--
Example:

| Before | After |
| ------ | ----- |
| _gif/png before_ | _gif/png after_ |


To upload images to a PR -- simply drag and drop an image while in edit mode and it should upload the image directly. You can then paste that source into the above before/after sections.
-->

# Checklist:

- [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) with `pre-commit run --all-files` (see `CONTRIBUTING.md` instructions to set it up)
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes

<!--
As you go through the checklist above, you can mark something as done by putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->
62 changes: 62 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 60

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 14

# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
onlyLabels:
- more-information-needed

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- pinned
- security
- "[Status] Maybe Later"

# Set to true to ignore issues in a project (defaults to false)
exemptProjects: true

# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: true

# Set to true to ignore issues with an assignee (defaults to false)
exemptAssignees: true

# Label to use when marking as stale
staleLabel: stale

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

# Comment to post when removing the stale label.
# unmarkComment: >
# Your comment here.

# Comment to post when closing a stale Issue or Pull Request.
# closeComment: >
# Your comment here.

# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 30

# Limit to only `issues` or `pulls`
only: issues

# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
# pulls:
# daysUntilStale: 30
# markComment: >
# This pull request has been automatically marked as stale because it has not had
# recent activity. It will be closed if no further activity occurs. Thank you
# for your contributions.

# issues:
# exemptLabels:
# - confirmed
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: build
on: [pull_request, push]

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v2
- run: |
docker build -f py.Dockerfile \
--build-arg PYTHON_VERSION=${{ matrix.python-version }} \
--tag gym-docker .
- name: Run tests
run: docker run gym-docker pytest
19 changes: 19 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# https://pre-commit.com
# This GitHub Action assumes that the repo contains a valid .pre-commit-config.yaml file.
name: pre-commit
on:
pull_request:
push:
branches: [master]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: pip install pre-commit
- run: pre-commit --version
- run: pre-commit install
- run: pre-commit run --all-files
55 changes: 55 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
repos:
- repo: https://github.com/python/black
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
hooks:
- id: codespell
args:
- --ignore-words-list=nd,reacher,thist,ths, ure, referenc
- repo: https://gitlab.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
args:
- '--per-file-ignores=*/__init__.py:F401 gym/envs/registration.py:E704'
- --ignore=E203,W503,E741
- --max-complexity=30
- --max-line-length=456
- --show-source
- --statistics
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/pycqa/pydocstyle
rev: 6.1.1 # pick a git hash / tag to point to
hooks:
- id: pydocstyle
exclude: ^(gym/version.py)|(gym/envs/)|(tests/)
args:
- --source
- --explain
- --convention=google
additional_dependencies: ["toml"]
- repo: https://github.com/asottile/pyupgrade
rev: v2.32.0
hooks:
- id: pyupgrade
# TODO: remove `--keep-runtime-typing` option
args: ["--py36-plus", "--keep-runtime-typing"]
- repo: local
hooks:
- id: pyright
name: pyright
entry: pyright
language: node
pass_filenames: false
types: [python]
additional_dependencies: ["pyright"]
args:
- --project=pyproject.toml
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

55 changes: 55 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Gym Contribution Guidelines

At this time we are currently accepting the current forms of contributions:

- Bug reports (keep in mind that changing environment behavior should be minimized as that requires releasing a new version of the environment and makes results hard to compare across versions)
- Pull requests for bug fixes
- Documentation improvements

Notably, we are not accepting these forms of contributions:

- New environments
- New features

This may change in the future.
If you wish to make a Gym environment, follow the instructions in [Creating Environments](https://github.com/openai/gym/blob/master/docs/creating_environments.md). When your environment works, you can make a PR to add it to the bottom of the [List of Environments](https://github.com/openai/gym/blob/master/docs/third_party_environments.md).


Edit July 27, 2021: Please see https://github.com/openai/gym/issues/2259 for new contributing standards

# Development
This section contains technical instructions & hints for the contributors.

## Type checking
The project uses `pyright` to check types.
To type check locally, install `pyright` per official [instructions](https://github.com/microsoft/pyright#command-line).
It's configuration lives within `pyproject.toml`. It includes list of included and excluded files currently supporting type checks.
To run `pyright` for the project, run the pre-commit process (`pre-commit run --all-files`) or `pyright --project=pyproject.toml`
Alternatively, pyright is a built-in feature of VSCode that will automatically provide type hinting.

### Adding typing to more modules and packages
If you would like to add typing to a module in the project,
the list of included, excluded and strict files can be found in pyproject.toml (pyproject.toml -> [tool.pyright]).
To run `pyright` for the project, run the pre-commit process (`pre-commit run --all-files`) or `pyright`

## Git hooks
The CI will run several checks on the new code pushed to the Gym repository. These checks can also be run locally without waiting for the CI by following the steps below:
1. [install `pre-commit`](https://pre-commit.com/#install),
2. Install the Git hooks by running `pre-commit install`.

Once those two steps are done, the Git hooks will be run automatically at every new commit.
The Git hooks can also be run manually with `pre-commit run --all-files`, and if needed they can be skipped (not recommended) with `git commit --no-verify`.
**Note:** you may have to run `pre-commit run --all-files` manually a couple of times to make it pass when you commit, as each formatting tool will first format the code and fail the first time but should pass the second time.

Additionally, for pull requests, the project runs a number of tests for the whole project using [pytest](https://docs.pytest.org/en/latest/getting-started.html#install-pytest).
These tests can be run locally with `pytest` in the root folder.

## Docstrings
Pydocstyle has been added to the pre-commit process such that all new functions follow the [google docstring style](https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html).
All new functions require either a short docstring, a single line explaining the purpose of a function
or a multiline docstring that documents each argument and the return type (if there is one) of the function.
In addition, new file and class require top docstrings that should outline the purpose of the file/class.
For classes, code block examples can be provided in the top docstring and not the constructor arguments.

To check your docstrings are correct, run `pre-commit run --all-files` or `pydocstyle --source --explain --convention=google`.
If all docstrings that fail, the source and reason for the failure is provided.
2 changes: 0 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# gym

The MIT License

Copyright (c) 2016 OpenAI (https://openai.com)
Expand Down
Loading