Commit Graph

73 Commits

Author SHA1 Message Date
db842db2b7 Exclude non gym native envs from test for gym builtin envs. 2023-11-26 17:59:08 +01:00
d367ac0c4b Added new test to run all examples 2023-11-26 17:51:26 +01:00
14b7d1d6c3 Fix small bug in test_black_box.py:test_verbosity 2023-11-26 17:20:33 +01:00
cee8d59107 remove 'mode' from render() for all dummy envs (test suite) 2023-11-21 20:19:47 +01:00
600575cbac Dont run determinism tests on arbitrary external envs added by other
libs (like atari envs added by shimmy), only those included in gym and those added by us.
2023-10-11 13:08:06 +02:00
ddd11c1783 Skip Tests: Metaworld does currently not correclty implement seeding 2023-09-18 18:40:47 +02:00
22a72fed2f Fix: Seeding of act-space is not guaranteed, seed it manually since we
depend on it...
2023-08-28 17:37:34 +02:00
94c4397fac Fixed incorrect ns seperator for metaworld tests 2023-08-21 11:57:58 +02:00
78823d95b6 Various fixed to tests 2023-08-14 16:47:05 +02:00
f3ffa714cb Cleaning up test/test_dmc_envs.py 2023-08-14 16:09:28 +02:00
1fb5368cc2 Fix: Multiple issues in test/test_fancy_registry.py 2023-08-14 16:08:32 +02:00
eefcbcb0f0 tiny fix to env references in test 2023-08-14 11:57:06 +02:00
221e3fee5a Fix: Some tests omitted new ns 'fancy' when trying to access our envs 2023-07-30 18:34:27 +02:00
9020eb92ea Fix: test/test_replanning_sequencing.py still referenced old fancy_gym.make
(No longer exists as we now just use gym.make)
2023-07-30 18:16:47 +02:00
9c6d7956ce Extended Tests: Ensure no known namespace is empty 2023-07-30 18:16:19 +02:00
58bb8c0395 Fix: Env in new namespace 2023-07-23 13:24:16 +02:00
95b2c255e9 Fixed typo 2023-07-23 13:13:02 +02:00
0fb0506e49 Fix: Many tests still tried to seed during make 2023-07-23 12:31:47 +02:00
3e586a1407 Added tests for new fancy registry 2023-07-23 12:21:18 +02:00
eb9b6e1e22 test_black_box.py should use vanilla env.make 2023-07-23 12:20:49 +02:00
b0f7dc6c7c test/utils.py must use gym.make now (was fancy_gym.make) 2023-07-23 11:13:15 +02:00
eb1d145dbd Fix Test: Delay was not supplied to mp-generator 2023-06-28 20:25:50 +02:00
de118a3113 Down to 20 failing tests (more mitigations of metaworld bug) 2023-06-28 19:42:41 +02:00
7354257f8e Bug mitigation for metaworld refactored and extended 2023-06-18 17:47:54 +02:00
b6089c4b83 ugly_hack_to_mitigate_metaworld_bug 2023-06-18 15:52:17 +02:00
9ade0dcdc4 Fix: Make wrappers work with BB and Dict-Space 2023-06-18 14:25:20 +02:00
49ac9c3785 Fix: Don't throw errors for envs, that do not expose a max_episode_steps. 2023-06-18 11:53:10 +02:00
f44f01b478 Fix: Allow observation space dict in test_replanning 2023-06-18 11:52:35 +02:00
fbba129034 Fix: Need to supply seed to reset in tests 2023-06-18 11:51:01 +02:00
9605f2e56c Fix: Test for dmc still referenced lib directly (not via shimmy) 2023-06-11 18:05:50 +02:00
e44b0ed9ed Fix: Version specification now requirted for dmc envs 2023-06-11 13:46:38 +02:00
f07b8a26ac Made some assertions more verbose for easier debugging 2023-06-10 18:49:02 +02:00
a8a67601ca Fix: NameError: name 'd' is not defined 2023-05-27 12:48:45 +02:00
bc9d4cf19d More verbose errors for run_env_determinism 2023-05-19 14:54:13 +02:00
3bbf101e86 Fixed: test_black_box.py still used old gym specs in two places 2023-05-19 14:53:04 +02:00
21d5ebb442 Fixed Bug: ToyEnv did not follow new gym spec 2023-05-18 19:13:35 +02:00
d4a8306b9d Buf Fix: PyTests still used binding to old gym 2023-05-18 19:07:19 +02:00
a559f92562 Adapted test to new gym interface
In prevous gym versions executing a step returned
obs, reward, done, info = env.step(...)

With the switch to gymnasium this has changed to
obs, reward, terminated, truncated, info = env.step(...)

We also made the code a bit more self explainatory.
2023-05-18 17:52:55 +02:00
228e343a1b Merge branch '47-update-to-new-gym-api' into gym_upgrade 2023-05-15 17:19:50 +02:00
b695239318 num_basis is not implemented; tests are expected to fail 2023-05-15 16:32:45 +02:00
Fabian
176fb087af Merge remote-tracking branch 'origin/master' into Add-ProDMP-envs
# Conflicts:
#	fancy_gym/black_box/black_box_wrapper.py
#	fancy_gym/meta/__init__.py
2023-01-25 09:30:53 +01:00
Fabian
c53924d9fc updated to new API, so tests still failing 2023-01-17 08:27:29 +01:00
Fabian
ec2063aa0b updated tests for dm_control 2023-01-12 17:36:33 +01:00
Fabian
fbe3ef4a4b updated examples to new api, 2023-01-12 17:21:56 +01:00
Fabian
5cbefb2b11 updated setup.py 2022-12-05 14:07:45 +01:00
Hongyi Zhou
2674bf80fe update according to reviews opinion & fix bugs in box pushing IK 2022-11-20 21:56:32 +01:00
Hongyi Zhou
be14b21fff update test suite for replanning envs 2022-11-14 17:39:46 +01:00
Hongyi Zhou
104b909296 delete hacky experimental codes & add tests to test_black_box 2022-11-13 16:59:13 +01:00
Hongyi Zhou
60e18d2964 add prodmp to test_black_box 2022-11-09 17:54:34 +01:00
Hongyi Zhou
fd4f9ae0bc add tests for replanning env & adapt observation space for box pushing & add max_planning_times to replanning tasks 2022-11-01 22:51:43 +01:00