c7ad5ba6d05809db066b60bc3564201b66d2d51a,tf_agents/drivers/dynamic_episode_driver_test.py,DynamicEpisodeDriverTest,testContinuePreviusRun,#DynamicEpisodeDriverTest#,112

Before Change


        env.time_step_spec(), env.action_spec())

    num_episodes_observer = NumEpisodesObserver()
    num_steps_observer = NumStepsObserver()

    driver = dynamic_episode_driver.DynamicEpisodeDriver(
        env, policy, observers=[num_episodes_observer, num_steps_observer])
    time_step, policy_state = driver.run()

After Change


    policy = driver_test_utils.TFPolicyMock(
        env.time_step_spec(), env.action_spec())

    num_episodes_observer = driver_test_utils.NumEpisodesObserver()
    num_steps_observer = driver_test_utils.NumStepsObserver()

    driver = dynamic_episode_driver.DynamicEpisodeDriver(
        env, policy, observers=[num_episodes_observer, num_steps_observer])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: tensorflow/agents
Commit Name: c7ad5ba6d05809db066b60bc3564201b66d2d51a
Time: 2018-12-10
Author: kgonina@google.com
File Name: tf_agents/drivers/dynamic_episode_driver_test.py
Class Name: DynamicEpisodeDriverTest
Method Name: testContinuePreviusRun


Project Name: tensorflow/agents
Commit Name: c7ad5ba6d05809db066b60bc3564201b66d2d51a
Time: 2018-12-10
Author: kgonina@google.com
File Name: tf_agents/drivers/dynamic_episode_driver_test.py
Class Name: DynamicEpisodeDriverTest
Method Name: testMultiStepUpdatesObservers


Project Name: tensorflow/agents
Commit Name: c7ad5ba6d05809db066b60bc3564201b66d2d51a
Time: 2018-12-10
Author: kgonina@google.com
File Name: tf_agents/drivers/dynamic_episode_driver_test.py
Class Name: DynamicEpisodeDriverTest
Method Name: testPolicyState


Project Name: tensorflow/agents
Commit Name: c7ad5ba6d05809db066b60bc3564201b66d2d51a
Time: 2018-12-10
Author: kgonina@google.com
File Name: tf_agents/drivers/dynamic_episode_driver_test.py
Class Name: DynamicEpisodeDriverTest
Method Name: testOneStepUpdatesObservers