f33a03ea4d71525eabadbe22f31ad0a91607b134,tests/garage/envs/test_noisy_env.py,TestNoisyObservationEnv,test_does_not_modify_action,#TestNoisyObservationEnv#,41

Before Change


        a = env.action_space.sample()
        a_copy = a.copy()
        env.step(a)
        self.assertEquals(a.all(), a_copy.all())

After Change


        step_env(round_trip)

    def test_does_not_modify_action(self):
        inner_env = PointEnv(goal=(1., 2.))
        env = NoisyObservationEnv(inner_env, obs_noise=5.)
        a = env.action_space.high + 1.
        a_copy = a.copy()
        env.step(a)
        assert np.array_equal(a, a_copy)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 5

Instances


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_normalized_env.py
Class Name: TestNormalizedEnv
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_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_occlusion_env.py
Class Name: TestOcclusionEnv
Method Name: test_does_not_modify_action