Skip to content

Commit 4d9d9ae

Browse files
committed
removed flow id from run evaluations
1 parent 8f2f1d6 commit 4d9d9ae

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

openml/runs/functions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ def _create_run_from_xml(xml):
228228
evaluation_flows = dict()
229229
for evaluation_dict in run['oml:output_data']['oml:evaluation']:
230230
key = evaluation_dict['oml:name']
231-
flow_id = int(evaluation_dict['oml:flow_id'])
232231
if 'oml:value' in evaluation_dict:
233232
value = float(evaluation_dict['oml:value'])
234233
elif 'oml:array_data' in evaluation_dict:

tests/test_runs/test_run_functions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def test_run_pipeline(self):
100100
model = Pipeline(steps=(('scaler', scaler), ('dummy', dummy)))
101101

102102
run = self._perform_run(task_id, num_instances, model)
103-
self.assertEqual(len(run.trace_content), num_iterations * num_folds)
103+
self.assertEqual(run.trace_content, None)
104104

105105
def test__run_task_get_arffcontent(self):
106106
task = openml.tasks.get_task(1939)
@@ -247,5 +247,5 @@ def test_get_runs_list_by_filters(self):
247247
runs = openml.runs.list_runs(id=ids, task=tasks, uploader=uploaders_1)
248248

249249
def test_get_runs_list_by_tag(self):
250-
runs = openml.runs.list_runs(tag='02-11-16_21.46.39')
251-
self.assertEqual(len(runs), 1)
250+
runs = openml.runs.list_runs(tag='curves')
251+
self.assertGreaterEqual(len(runs), 1)

0 commit comments

Comments
 (0)