d87d10eda9a79892b47f412c4545353817fafaca,ml_perf/eval_models.py,,main,#,128
Before Change
continue
winrate = evaluate_model(path)
if winrate >= 0.50:
break
if __name__ == "__main__":
app.run(main)
After Change
continue
winrate = evaluate_model(path)
if winrate >= FLAGS.winrate:
print("Model {} beat target after {}s".format(name, timestamp))
break

In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 2
Instances
Project Name: tensorflow/minigo
Commit Name: d87d10eda9a79892b47f412c4545353817fafaca
Time: 2019-12-28
Author: tmadams@google.com
File Name: ml_perf/eval_models.py
Class Name:
Method Name: main
Project Name: tristandeleu/pytorch-maml-rl
Commit Name: bef7dd92cbdd2c81a7d89786b9a76b011f1bc086
Time: 2018-06-19
Author: tristan.deleu@gmail.com
File Name: maml_rl/baseline.py
Class Name: LinearFeatureBaseline
Method Name: fit
Project Name: yahoo/TensorFlowOnSpark
Commit Name: 981e4266d4ea816b08a762193bd52f40cd1a3242
Time: 2019-08-07
Author: leewyang@verizonmedia.com
File Name: examples/mnist/keras/mnist_inference.py
Class Name:
Method Name: inference
Project Name: IndicoDataSolutions/Enso
Commit Name: aa33836c882f59bba8273dfce844929a17374d61
Time: 2018-07-20
Author: benlt@hotmail.co.uk
File Name: enso/experiment/finetuning.py
Class Name: IndicoSequenceLabel
Method Name: fit
Project Name: automl/auto-sklearn
Commit Name: 68b022cb9d24eb4e9b8341887e8ff1c9f9fda405
Time: 2020-12-11
Author: 44504424+franchuterivera@users.noreply.github.com
File Name: test/test_pipeline/test_classification.py
Class Name: SimpleClassificationPipelineTest
Method Name: test_fit_instantiates_component