906d528357a908dcf5449c24e4a7da825e40b7ed,server/website/website/db/base/target_objective.py,TargetObjectives,get_metric_metadata,#TargetObjectives#Any#Any#,164
Before Change
list(self._metric_metadatas[dbms_id])
else:
metadata = targets_list + list(self._metric_metadatas[dbms_id])
return OrderedDict(metadata)
def default(self):
return self._default_target_objective
After Change
metadata = targets_list + udm_metric_meta + db_metric_meta
meta_dict = OrderedDict()
for metric_name, metric in metadata:
if metric_name not in meta_dict:
meta_dict[metric_name] = metric
return meta_dict
def default(self):
return self._default_target_objective
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: cmu-db/ottertune
Commit Name: 906d528357a908dcf5449c24e4a7da825e40b7ed
Time: 2020-05-11
Author: bohanzhang95@gmail.com
File Name: server/website/website/db/base/target_objective.py
Class Name: TargetObjectives
Method Name: get_metric_metadata
Project Name: matplotlib/matplotlib
Commit Name: 9c7f926d6d70a994c3710ce570bb9807519ef090
Time: 2019-01-17
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/backends/backend_agg.py
Class Name: FigureCanvasAgg
Method Name: print_png
Project Name: deepmipt/DeepPavlov
Commit Name: c15e52623156084fbd74727dd3f34df2825e2ad3
Time: 2018-10-29
Author: yoptar@gmail.com
File Name: deeppavlov/core/common/cross_validation.py
Class Name:
Method Name: calc_cv_score