e7a1635367e7637f316aadc99c4556614a3663e9,test/experiment/test_control.py,,test_trial_demo,#,24

Before Change


@pytest.mark.skip(reason="TODO broken by pytorch in session parallelization")
def test_trial_demo():
    spec = spec_util.get("reinforce.json", "reinforce_cartpole")
    spec["meta"]["train_mode"] = True
    spec["meta"]["max_episode"] = 20
    Trial(spec).run()


@pytest.mark.skip(reason="TODO tmp search removal")

After Change


@pytest.mark.skip(reason="TODO broken by pytorch in session parallelization")
def test_trial_demo():
    spec = spec_util.get("reinforce.json", "reinforce_cartpole")
    util.override_test_spec(spec)
    Trial(spec).run()


@pytest.mark.skip(reason="TODO tmp search removal")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: kengz/SLM-Lab
Commit Name: e7a1635367e7637f316aadc99c4556614a3663e9
Time: 2018-01-25
Author: kengzwl@gmail.com
File Name: test/experiment/test_control.py
Class Name:
Method Name: test_trial_demo


Project Name: kengz/SLM-Lab
Commit Name: e7a1635367e7637f316aadc99c4556614a3663e9
Time: 2018-01-25
Author: kengzwl@gmail.com
File Name: test/spec/test_spec.py
Class Name:
Method Name: test_base


Project Name: kengz/SLM-Lab
Commit Name: e7a1635367e7637f316aadc99c4556614a3663e9
Time: 2018-01-25
Author: kengzwl@gmail.com
File Name: test/spec/test_spec.py
Class Name:
Method Name: test_algo