386917355bbe616ec57881ba8a950a49cfbef9b0,tgen/parallel_percrank_train.py,ParallelRanker,train,#ParallelRanker#Any#Any#Any#,116

Before Change


                            log_info("Retrieved finished request %d / %d" % (iter_no, req_portion))
                            if req.error:
                                log_info("Error found on request: IT %d PORTION %d, WORKER %s:%d" %
                                         (iter_no, req_portion, sc.host, sc.port))
                            results[req_portion] = pickle.loads(req.value)
                            self.pending_requests.remove((sc, req_portion, req))
                            self.free_services.append(sc)

After Change



                // delete the temporary ranker dump when the 1st iteration is complete
                if self.ranker_dump_path:
                    os.remove(self.ranker_dump_path)
                    self.ranker_dump_path = None

                // gather/average the diagnostic statistics
                self.loc_ranker.set_diagnostics_average([d for _, d in results])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: UFAL-DSG/tgen
Commit Name: 386917355bbe616ec57881ba8a950a49cfbef9b0
Time: 2015-12-18
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/parallel_percrank_train.py
Class Name: ParallelRanker
Method Name: train


Project Name: tensorflow/cleverhans
Commit Name: b214ee503bf7e8a27b6d89460e49fb12a5b8d947
Time: 2016-11-22
Author: ngp5056@cse.psu.edu
File Name: cleverhans/attacks.py
Class Name:
Method Name: jacobian


Project Name: mne-tools/mne-python
Commit Name: dc3bffdbbbd9dd4249561792f73328ced0b5c2c0
Time: 2020-08-18
Author: guillaume.favelier@gmail.com
File Name: mne/viz/_brain/_timeviewer.py
Class Name: _TimeViewer
Method Name: remove_point