Commit Graph

1762 Commits

Author SHA1 Message Date
Ariel Kwiatkowski
fdb7045453 Rename the repo link in the issue templates (#17) 2022-09-14 20:20:02 +01:00
Jordan Terry
be3c975f07 Update README.md 2022-09-14 09:35:44 -04:00
Jordan Terry
e68d7dae37 Update README.md 2022-09-13 19:20:44 -04:00
Manuel Goulão
91769fc862 Add docs (#13) 2022-09-13 20:27:34 +01:00
Mark Towers
b48e1626fd Update to gymnasium notices (#14) v0.26.0 2022-09-13 12:14:08 +01:00
Jordan Terry
e36e400db1 Update README.md 2022-09-12 11:54:31 -04:00
Jordan Terry
f68cf8a54e Update README.md 2022-09-12 11:54:03 -04:00
Jordan Terry
c5c0afdd04 Add files via upload 2022-09-12 11:52:23 -04:00
Mark Towers
7ebf6dfb6f Language changes (#4) 2022-09-08 14:31:08 +01:00
Jordan Terry
2e92c98b99 Update setup.py 2022-09-08 09:30:38 -04:00
StringTheory
94a18bc3c5 Merge branch 'main' into openai
# Conflicts:
#	gymnasium/core.py
#	gymnasium/envs/classic_control/pendulum.py
2022-09-08 14:28:24 +01:00
Mark Towers
a62b738c78 Merge pull request #3 from pseudo-rnd-thoughts/rename
Renames Gym to Gymnasium
2022-09-08 13:05:14 +01:00
pseudo-rnd-thoughts
345c17e824 Fix build issue 2022-09-08 11:01:41 +01:00
pseudo-rnd-thoughts
29b1316bc3 Control f chaneg of gym to gymnasium 2022-09-08 10:58:14 +01:00
pseudo-rnd-thoughts
2526810e85 Rename to gymnasium in Dockerfile 2022-09-08 10:19:10 +01:00
pseudo-rnd-thoughts
47ba48b611 Rename to gymnasium 2022-09-08 10:11:31 +01:00
pseudo-rnd-thoughts
640c509109 Rename to gymnasium 2022-09-08 10:10:07 +01:00
Mark Towers
316f616f14 Merge pull request #2 from andrewtanJS/code-of-conduct
Update Code of Conduct
2022-09-08 08:36:36 +01:00
Mark Towers
3f6d912bda Merge pull request #1 from balisujohn/dev-pypi
added experimental pypi build config file, copied from PettingZoo
2022-09-08 08:34:16 +01:00
Andrew
7029067d89 Update Code of Conduct 2022-09-08 12:58:21 +08:00
John U. Balis
80befeaea9 fixed branch name in build-publish.yml 2022-09-07 22:12:31 -05:00
John U. Balis
109041a12f added experimental pypi build config file, copied from PettingZoo 2022-09-07 22:00:19 -05:00
J K Terry
e9365fb85d initial 2022-09-07 22:27:28 -04:00
Mark Towers
824507b270 update the version number to v26 (#3056) 2022-09-06 14:22:40 -04:00
Mark Towers
d1d0c960c2 Bump ale to 0.8.0 (#3071) 2022-09-06 12:03:51 -04:00
Ariel Kwiatkowski
d818750547 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
2022-09-06 11:20:04 -04:00
Omar Younis
2f33096040 fix: restore auto human rendering (#3063)
* restore auto human rendering

* add assert for minimal modes
2022-09-05 15:56:36 -04:00
Vairo Di Pasquale
a18e0a3d6c Fix lunar lander reward doc (#3064)
* Improved documentation to specify decode state space

* Improve taxi documentation

* Fixed LunarLanderv2 reward doc
2022-09-05 10:36:04 -04:00
Jongwook Choi
525b98305b 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.
2022-09-05 10:35:56 -04:00
Omar Younis
0608263025 environment agnostic {mode}_list render mode (#3060) 2022-09-04 09:42:10 -04:00
Mark Towers
f39747d6a2 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
2022-09-03 18:39:23 -04:00
Mark Towers
8e74fe3b62 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
2022-09-03 17:56:29 -04:00
Omar Younis
43b42d5280 cliffwalking: remove annoying warnings (#3058)
* cliffwalking: remove annoying warning

* fix pre-commit
2022-09-03 14:54:28 -04:00
Omar Younis
c79ac2efe8 fix test_record_video_within_vector (#3055) 2022-09-01 14:07:06 -04:00
Mark Towers
0bcd49ec10 Updates the make and registration functions with better parameters and 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
2022-09-01 11:02:31 -04:00
Mark Towers
799c8d20c1 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
2022-09-01 09:06:42 -04:00
Fiete
aaa6cd9f33 replace references to gymlibrary.ml with new .dev domain (#3053) 2022-08-31 17:33:46 -04:00
Mark Towers
ab3e02db83 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 <montcyril@gmail.com>
2022-08-30 14:47:26 -04:00
Arjun KG
54b406b799 Support only new step API (while retaining compatibility functions) (#3019) 2022-08-30 10:11:59 -04:00
Mark Towers
884ba08f19 initial commit (#3046) 2022-08-29 18:04:03 -04:00
Omar Younis
2a9853fdc3 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
2022-08-29 18:01:17 -04:00
YouJiacheng
44e9475cda Fix#3043 (#3044) 2022-08-24 12:20:24 -04:00
Ariel Kwiatkowski
6e2e921b5f Update README.md (#3039) 2022-08-23 11:10:15 -04:00
John Balis
3a8daafce1 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
2022-08-23 11:09:54 -04:00
Ariel Kwiatkowski
1f864789fd Fix toy_text rendering on headless machines (#3037)
* Do stuff with pygame init only in human mode

* Fix CliffWalking

* Pre-commit
2022-08-22 11:36:40 -04:00
I-Ju Lin
0e53948eb0 Rename rotors in mujoco swimmer (#3036) 2022-08-22 11:36:16 -04:00
Omar Younis
de9eed541b Remove old Render API (#3027)
* 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
2022-08-22 11:21:08 -04:00
Jordan Terry
22555c62aa Update README.md 2022-08-22 11:05:00 -04:00
John Balis
7b0b85cbca removed inline RandomNumberGenerator implementation (#3022) 2022-08-22 09:20:28 -04:00
Daniel Y. Kim
78c3faac04 Fixed typo in the contributing guidelines (#3035)
* Fix typo in pre-commit

* Fix markdown syntax for gogle docstring style hyperlink
2022-08-21 13:14:55 -04:00