c3640ac78a06b512e7838a042a8829641caa3877,parlai/mturk/tasks/model_evaluator/run.py,,main,#,14

Before Change


    while not world.episode_done():
        world.parley()

    world.shutdown()

if __name__ == "__main__":
    main()

After Change


    opt = argparser.parse_args()
    opt["task"] = os.path.basename(os.getcwd())

    // The task that we will evaluate the dialog model on
    task_opt = {}
    task_opt["datatype"] = "test"
    task_opt["datapath"] = opt["datapath"]
    task_opt["task"] = "//MovieDD-Reddit"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: facebookresearch/ParlAI
Commit Name: c3640ac78a06b512e7838a042a8829641caa3877
Time: 2017-06-09
Author: willfeng@fb.com
File Name: parlai/mturk/tasks/model_evaluator/run.py
Class Name:
Method Name: main


Project Name: elfi-dev/elfi
Commit Name: 91de05779be2545c6c95b2ed4658e7ab4d607ad5
Time: 2017-02-23
Author: jarno.lintusaari@aalto.fi
File Name: tests/functional/test_inference.py
Class Name:
Method Name: test_rejection


Project Name: facebookresearch/ParlAI
Commit Name: c3640ac78a06b512e7838a042a8829641caa3877
Time: 2017-06-09
Author: willfeng@fb.com
File Name: parlai/mturk/tasks/multi_agent_dialog/run.py
Class Name:
Method Name: main