1a68a899bc796ade9e31ad5976dfda1b0695fe8b,gui/mozregui/bisection.py,GuiBisector,_bisect_next,#GuiBisector#,96
Before Change
@Slot()
def _bisect_next(self):
// this is executed in the working thread
try:
self.mid = mid = self.bisection.search_mid_point(
interrupt=self.should_stop.is_set)
except MozRegressionError:
self._finish_on_exception(self.bisection)
return
except StopIteration:
return
// if our last answer was skip, and that the next build
// to use is not chosen yet, ask to choose it.
if (self._next_build_index is None and
self.test_runner.verdict == "s" and
len(self.bisection.build_range) > 3):
self.choose_next_build.emit()
After Change
@Slot()
def _bisect_next(self):
// this is executed in the working thread
if self.test_runner.verdict != "r":
try:
self.mid = self.bisection.search_mid_point(
interrupt=self.should_stop.is_set)
except MozRegressionError:
self._finish_on_exception(self.bisection)
return
except StopIteration:
return
// if our last answer was skip, and that the next build
// to use is not chosen yet, ask to choose it.
if (self._next_build_index is None and
self.test_runner.verdict == "s" and
len(self.bisection.build_range) > 3):
self.choose_next_build.emit()
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 5
Instances
Project Name: mozilla/mozregression
Commit Name: 1a68a899bc796ade9e31ad5976dfda1b0695fe8b
Time: 2016-02-08
Author: j.parkouss@gmail.com
File Name: gui/mozregui/bisection.py
Class Name: GuiBisector
Method Name: _bisect_next
Project Name: cuemacro/finmarketpy
Commit Name: 62f0def439780a9f543a8110d227abbe3e7b0c84
Time: 2016-10-10
Author: saeedamen@hotmail.com
File Name: finmarketpy/backtest/tradeanalysis.py
Class Name: TradeAnalysis
Method Name: run_strategy_returns_stats
Project Name: KrishnaswamyLab/PHATE
Commit Name: f3fcb55a0e7e7e43748cbacc92a0f8db85c5e12a
Time: 2019-12-02
Author: scottgigante@gmail.com
File Name: Python/phate/mds.py
Class Name:
Method Name: embed_MDS
Project Name: victoresque/pytorch-template
Commit Name: 7d446f2e463230e9e8bf5874d1e15a2d79fef938
Time: 2018-09-30
Author: sunq0313@gmail.com
File Name: base/base_trainer.py
Class Name: BaseTrainer
Method Name: train
Project Name: 13o-bbr-bbq/machine_learning_security
Commit Name: fbf1298b6d7b5dd0eab212947831fb29792baa68
Time: 2018-07-11
Author: takaesu235@gmail.com
File Name: DeepExploit/CreateReport.py
Class Name: CreateReport
Method Name: create_report