f93bb008bb40f63661718bb506ff44c295f730b4,rllib/optimizers/async_replay_optimizer.py,LocalReplayBuffer,get_host,#LocalReplayBuffer#,342

Before Change


        return _local_replay_buffer

    def get_host(self):
        return os.uname()[1]

    def add_batch(self, batch):
        // Make a copy so the replay buffer doesn"t pin plasma memory.
        batch = batch.copy()

After Change


        return _local_replay_buffer

    def get_host(self):
        return platform.node()

    def add_batch(self, batch):
        // Make a copy so the replay buffer doesn"t pin plasma memory.
        batch = batch.copy()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 5

Instances


Project Name: ray-project/ray
Commit Name: f93bb008bb40f63661718bb506ff44c295f730b4
Time: 2020-06-08
Author: mehrdadn@users.noreply.github.com
File Name: rllib/optimizers/async_replay_optimizer.py
Class Name: LocalReplayBuffer
Method Name: get_host


Project Name: ray-project/ray
Commit Name: f93bb008bb40f63661718bb506ff44c295f730b4
Time: 2020-06-08
Author: mehrdadn@users.noreply.github.com
File Name: rllib/execution/replay_buffer.py
Class Name: LocalReplayBuffer
Method Name: get_host


Project Name: ray-project/ray
Commit Name: f93bb008bb40f63661718bb506ff44c295f730b4
Time: 2020-06-08
Author: mehrdadn@users.noreply.github.com
File Name: rllib/execution/tree_agg.py
Class Name: Aggregator
Method Name: get_host


Project Name: ray-project/ray
Commit Name: f93bb008bb40f63661718bb506ff44c295f730b4
Time: 2020-06-08
Author: mehrdadn@users.noreply.github.com
File Name: rllib/evaluation/rollout_worker.py
Class Name: RolloutWorker
Method Name: get_host


Project Name: ray-project/ray
Commit Name: f93bb008bb40f63661718bb506ff44c295f730b4
Time: 2020-06-08
Author: mehrdadn@users.noreply.github.com
File Name: rllib/optimizers/aso_tree_aggregator.py
Class Name: AggregationWorker
Method Name: get_host