b91fcf1e3a703cb04c2c5c1de4aeef5e4e3fd026,src/garage/sampler/local_sampler.py,LocalSampler,obtain_samples,#LocalSampler#Any#Any#Any#Any#,90

Before Change


                completed_samples += len(batch.actions)
                batches.append(batch)
                if completed_samples >= num_samples:
                    return EpisodeBatch.concatenate(*batches)

    def obtain_exact_episodes(self,
                              n_eps_per_worker,
                              agent_update,

After Change


                completed_samples += len(batch.actions)
                batches.append(batch)
                if completed_samples >= num_samples:
                    samples = EpisodeBatch.concatenate(*batches)
                    self.total_env_steps += sum(samples.lengths)
                    return samples

    def obtain_exact_episodes(self,
                              n_eps_per_worker,
                              agent_update,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 10

Instances


Project Name: rlworkgroup/garage
Commit Name: b91fcf1e3a703cb04c2c5c1de4aeef5e4e3fd026
Time: 2020-10-16
Author: 41180126+krzentner@users.noreply.github.com
File Name: src/garage/sampler/local_sampler.py
Class Name: LocalSampler
Method Name: obtain_samples


Project Name: rlworkgroup/garage
Commit Name: b91fcf1e3a703cb04c2c5c1de4aeef5e4e3fd026
Time: 2020-10-16
Author: 41180126+krzentner@users.noreply.github.com
File Name: src/garage/sampler/multiprocessing_sampler.py
Class Name: MultiprocessingSampler
Method Name: obtain_samples


Project Name: rlworkgroup/garage
Commit Name: b91fcf1e3a703cb04c2c5c1de4aeef5e4e3fd026
Time: 2020-10-16
Author: 41180126+krzentner@users.noreply.github.com
File Name: src/garage/sampler/multiprocessing_sampler.py
Class Name: MultiprocessingSampler
Method Name: obtain_exact_episodes


Project Name: rlworkgroup/garage
Commit Name: b91fcf1e3a703cb04c2c5c1de4aeef5e4e3fd026
Time: 2020-10-16
Author: 41180126+krzentner@users.noreply.github.com
File Name: src/garage/sampler/ray_sampler.py
Class Name: RaySampler
Method Name: obtain_samples


Project Name: rlworkgroup/garage
Commit Name: b91fcf1e3a703cb04c2c5c1de4aeef5e4e3fd026
Time: 2020-10-16
Author: 41180126+krzentner@users.noreply.github.com
File Name: src/garage/sampler/ray_sampler.py
Class Name: RaySampler
Method Name: obtain_exact_episodes


Project Name: rlworkgroup/garage
Commit Name: b91fcf1e3a703cb04c2c5c1de4aeef5e4e3fd026
Time: 2020-10-16
Author: 41180126+krzentner@users.noreply.github.com
File Name: src/garage/sampler/local_sampler.py
Class Name: LocalSampler
Method Name: obtain_exact_episodes