c7ad5ba6d05809db066b60bc3564201b66d2d51a,tf_agents/drivers/dynamic_episode_driver_test.py,DynamicEpisodeDriverTest,testOneStepUpdatesObservers,#DynamicEpisodeDriverTest#,133

Before Change


        driver_test_utils.PyEnvironmentMock())
    policy = driver_test_utils.TFPolicyMock(
        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])

After Change


        driver_test_utils.PyEnvironmentMock())
    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: 6

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: testOneStepUpdatesObservers


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: 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: testMultiStepUpdatesObservers


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


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