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
else:
metric_meta = list(self._metric_metadatas[dbms_id])
udm_metric_meta = []
db_metric_meta = []
for metric_name, metric in metric_meta:
if metric_name.startswith("udm."):
udm_metric_meta.append((metric_name, metric))
else:
db_metric_meta.append((metric_name, metric))
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:
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: Theano/Theano
Commit Name: 996d737eaad2a85cda13954efa5b066ade1e678d
Time: 2017-02-09
Author: nouiz@nouiz.org
File Name: theano/scan_module/scan_utils.py
Class Name:
Method Name: forced_replace
Project Name: Qiskit/qiskit-aqua
Commit Name: 0efa80c13c695b03b180f0d899e4ed340c3d549c
Time: 2018-10-07
Author: chenrich@us.ibm.com
File Name: qiskit_aqua/algorithms/components/feature_maps/pauli_z_expansion.py
Class Name: PauliZExpansion
Method Name: init_args