Commit 91279a6e authored by lintangsutawika's avatar lintangsutawika
Browse files

calculate std if items > 1

parent f8c2cfcb
......@@ -492,8 +492,10 @@ def evaluate(
else bootstrap_iters,
)
if stderr is not None:
if stderr is not None and len(items) > 1:
results[task_name][metric + "_stderr" + "," + key] = stderr(items)
else:
results[task_name][metric + "_stderr" + "," + key] = "N/A"
if bool(results):
for group, task_list in reversed(task_hierarchy.items()):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment