34e04890315412b0cbb385420948ff0a0629e177,examples/openai_gym_async.py,,main,#,40

Before Change


    else:
        config = Configuration()

    config.default(default)

    if args.network_config:
        network_config = Configuration.from_json(args.network_config)
    else:

After Change


        agent_config = Configuration.from_json(args.agent_config)
    else:
        raise TensorForceError("No agent configuration provided.")
    agent_config["states"] = environment.states
    agent_config["actions"] = environment.actions

    if args.network_config:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: reinforceio/tensorforce
Commit Name: 34e04890315412b0cbb385420948ff0a0629e177
Time: 2017-06-10
Author: aok25@cl.cam.ac.uk
File Name: examples/openai_gym_async.py
Class Name:
Method Name: main


Project Name: reinforceio/tensorforce
Commit Name: 34e04890315412b0cbb385420948ff0a0629e177
Time: 2017-06-10
Author: aok25@cl.cam.ac.uk
File Name: examples/openai_gym.py
Class Name:
Method Name: main


Project Name: googledatalab/pydatalab
Commit Name: 73fad9d06454d7942279475999923af4337edca7
Time: 2017-10-26
Author: 4618540+rajivpb@users.noreply.github.com
File Name: google/datalab/contrib/bigquery/operators/_bq_extract_operator.py
Class Name: ExtractOperator
Method Name: execute