4dd96193aaa69485ef183778f053fcfcbef457a2,sac/algos/base.py,RLAlgorithm,_train,#RLAlgorithm#Any#Any#Any#,72

Before Change


                        observation = next_ob
                    gt.stamp("sample")

                    if self._pool.size >= self._min_pool_size:
                        for i in range(self._n_train_repeat):
                            batch = self._pool.random_batch(self._batch_size)
                            self._do_training(iteration, batch)

                    gt.stamp("train")

                self._evaluate(epoch)

After Change



                gt.stamp("eval")

            self.sampler.terminate()

    def _evaluate(self, epoch):
        Perform evaluation for the current policy.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: rail-berkeley/softlearning
Commit Name: 4dd96193aaa69485ef183778f053fcfcbef457a2
Time: 2018-05-22
Author: azhou42@berkeley.edu
File Name: sac/algos/base.py
Class Name: RLAlgorithm
Method Name: _train


Project Name: vatlab/SoS
Commit Name: 0c8e7a0165897014a15dcb5b6dcb71678206ae19
Time: 2019-02-16
Author: ben.bog@gmail.com
File Name: src/sos/workflow_executor.py
Class Name: ExecutionManager
Method Name: terminate


Project Name: mozilla/bugbug
Commit Name: b7a17d323cdabaab6e6c2d4ea0d3d27685d9de7d
Time: 2019-12-10
Author: mcastelluccio@mozilla.com
File Name: bugbug/rust_code_analysis_server.py
Class Name: RustCodeAnalysisServer
Method Name: __init__