stable-baselines3/tests
Lara Bergmann 32778ddc94
Fix wrong truncation in HER replay buffer (#1543)
* fix episode start idx that leads to wrong episode length

* add episode length test

* Update changelog

* Reformat files

* Use replay_buffer.dones to test HER truncation warning

* truncate_last_trajectory: sample truncated episode and handle infinite horizon tasks

* make test_truncate_last_trajectory independent of learning

* Add timeout comment HER truncate_last_trajectory

Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com>

* Update version.txt

* Update version

---------

Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com>
2023-06-07 15:57:12 +02:00
..
__init__.py Init: TD3 2019-09-05 17:29:41 +02:00
test_buffers.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
test_callbacks.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_cnn.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_custom_policy.py Removed shared layers in mlp_extractor (#1292) 2023-01-23 14:55:19 +01:00
test_deterministic.py Add the argument dtype (default to float32) to the noise (#1301) 2023-02-07 13:42:14 +01:00
test_dict_env.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_distributions.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_env_checker.py Fix env checker single-step-env edge case (#1524) 2023-05-25 17:12:32 +02:00
test_envs.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
test_gae.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_her.py Fix wrong truncation in HER replay buffer (#1543) 2023-06-07 15:57:12 +02:00
test_identity.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_logger.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
test_monitor.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_predict.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
test_preprocessing.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_run.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_save_load.py Fix DQN target update interval for multi-env (#1463) 2023-04-27 18:35:33 +02:00
test_sde.py Remove deprecated features and attributes (#1104) 2022-10-11 10:55:16 +02:00
test_spaces.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
test_tensorboard.py Fix test_vec_normalize.py, test_tensorboard.py and common/monitor.py type hint (#1194) 2023-01-13 18:28:22 +01:00
test_train_eval_mode.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_utils.py Type annotation bundle (logger, vec env, custom envs) (#1479) 2023-05-04 20:27:15 +02:00
test_vec_check_nan.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
test_vec_envs.py vec_envs fix seed() causing a reset (#1486) 2023-05-20 10:30:54 +02:00
test_vec_extract_dict_obs.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_vec_monitor.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_vec_normalize.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00
test_vec_stacked_obs.py Add Gymnasium support (#1327) 2023-04-14 13:13:59 +02:00