f33a03ea4d71525eabadbe22f31ad0a91607b134,tests/garage/envs/test_sliding_mem_env.py,TestSlidingMemEnv,test_does_not_modify_action,#TestSlidingMemEnv#,19
Before Change
step_env(round_trip)
def test_does_not_modify_action(self):
inner_env = CartpoleEnv(obs_noise=5.)
env = SlidingMemEnv(inner_env, n_steps=10)
a = env.action_space.sample()
a_copy = a.copy()
env.reset()
env.step(a)
self.assertEquals(a.all(), a_copy.all())
After Change
a_copy = a.copy()
env.reset()
env.step(a)
assert np.array_equal(a, a_copy)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: rlworkgroup/garage
Commit Name: f33a03ea4d71525eabadbe22f31ad0a91607b134
Time: 2019-02-05
Author: rjulian@usc.edu
File Name: tests/garage/envs/test_sliding_mem_env.py
Class Name: TestSlidingMemEnv
Method Name: test_does_not_modify_action
Project Name: rlworkgroup/garage
Commit Name: f33a03ea4d71525eabadbe22f31ad0a91607b134
Time: 2019-02-05
Author: rjulian@usc.edu
File Name: tests/garage/envs/test_noisy_env.py
Class Name: TestNoisyObservationEnv
Method Name: test_does_not_modify_action
Project Name: rlworkgroup/garage
Commit Name: f33a03ea4d71525eabadbe22f31ad0a91607b134
Time: 2019-02-05
Author: rjulian@usc.edu
File Name: tests/garage/envs/test_noisy_env.py
Class Name: TestDelayedActionEnv
Method Name: test_does_not_modify_action
Project Name: rlworkgroup/garage
Commit Name: f33a03ea4d71525eabadbe22f31ad0a91607b134
Time: 2019-02-05
Author: rjulian@usc.edu
File Name: tests/garage/envs/test_occlusion_env.py
Class Name: TestOcclusionEnv
Method Name: test_does_not_modify_action
Project Name: rlworkgroup/garage
Commit Name: f33a03ea4d71525eabadbe22f31ad0a91607b134
Time: 2019-02-05
Author: rjulian@usc.edu
File Name: tests/garage/envs/test_normalized_env.py
Class Name: TestNormalizedEnv
Method Name: test_does_not_modify_action