2f8128d914ba01d6b04c6bf87980beab8013f4e8,tests/algorithms/test_ddpg.py,,test_ddpg,#,101

Before Change




def test_ddpg():
    policy = learn(DDPG)
    w = policy.get_weights()
    w_test = np.array([-0.28865, -0.7487735, -0.5533644, -0.34702766])

    assert np.allclose(w, w_test)

After Change




def test_ddpg():
    policy = learn(DDPG).policy
    w = policy.get_weights()
    w_test = np.array([-0.28865, -0.7487735, -0.5533644, -0.34702766])

    assert np.allclose(w, w_test)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 17

Non-data size: 3

Instances


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_ddpg.py
Class Name:
Method Name: test_ddpg


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_trust_region.py
Class Name:
Method Name: test_TRPO


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_black_box.py
Class Name:
Method Name: test_REPS


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_policy_gradient.py
Class Name:
Method Name: test_eNAC


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_dqn.py
Class Name:
Method Name: test_prioritized_dqn


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_stochastic_ac.py
Class Name:
Method Name: test_stochastic_ac_avg


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_trust_region.py
Class Name:
Method Name: test_PPO


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_dqn.py
Class Name:
Method Name: test_categorical_dqn


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_dqn.py
Class Name:
Method Name: test_averaged_dqn


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_dqn.py
Class Name:
Method Name: test_dqn


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_stochastic_ac.py
Class Name:
Method Name: test_stochastic_ac


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_policy_gradient.py
Class Name:
Method Name: test_GPOMDP


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_dqn.py
Class Name:
Method Name: test_double_dqn


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_ddpg.py
Class Name:
Method Name: test_td3


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_black_box.py
Class Name:
Method Name: test_PGPE


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_policy_gradient.py
Class Name:
Method Name: test_REINFORCE


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 2f8128d914ba01d6b04c6bf87980beab8013f4e8
Time: 2020-02-11
Author: 19434395+benvoe@users.noreply.github.com
File Name: tests/algorithms/test_black_box.py
Class Name:
Method Name: test_RWR