1d4823c0ec446e93d00df8ca654db4b45b63b3d4,rllib/agents/ddpg/tests/test_ddpg.py,TestDDPG,test_ddpg_exploration_and_with_random_prerun,#TestDDPG#,29

Before Change


        obs = np.array([0.0, 0.1, -0.1])

        // Test against all frameworks.
        for fw in ["tf", "eager", "torch"]:
            if fw != "tf":
                continue
            config["eager"] = True if fw == "eager" else False
            config["use_pytorch"] = True if fw == "torch" else False

            // Default OUNoise setup.
            trainer = ddpg.DDPGTrainer(config=config, env="Pendulum-v0")
            // Setting explore=False should always return the same action.

After Change


        obs = np.array([0.0, 0.1, -0.1])

        // Test against all frameworks.
        for _ in framework_iterator(config, "tf"):
            // Default OUNoise setup.
            trainer = ddpg.DDPGTrainer(config=config, env="Pendulum-v0")
            // Setting explore=False should always return the same action.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: ray-project/ray
Commit Name: 1d4823c0ec446e93d00df8ca654db4b45b63b3d4
Time: 2020-04-03
Author: sven@anyscale.io
File Name: rllib/agents/ddpg/tests/test_ddpg.py
Class Name: TestDDPG
Method Name: test_ddpg_exploration_and_with_random_prerun


Project Name: ray-project/ray
Commit Name: 1d4823c0ec446e93d00df8ca654db4b45b63b3d4
Time: 2020-04-03
Author: sven@anyscale.io
File Name: rllib/agents/ddpg/tests/test_ddpg.py
Class Name: TestDDPG
Method Name: test_ddpg_compilation


Project Name: ray-project/ray
Commit Name: 1d4823c0ec446e93d00df8ca654db4b45b63b3d4
Time: 2020-04-03
Author: sven@anyscale.io
File Name: rllib/agents/ddpg/tests/test_td3.py
Class Name: TestTD3
Method Name: test_td3_exploration_and_with_random_prerun