Skip to content
Snippets Groups Projects
Commit 9b333133 authored by Dominik Krupke's avatar Dominik Krupke
Browse files

making assert more robust (if the runtime is only 10sec, the timelimit does...

making assert more robust (if the runtime is only 10sec, the timelimit does not work very reliably).
parent b653dc27
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ for p, instance in list_instances(max_points=100):
m.save_seconds("runtime")
if not (m["solution"] or m["runtime"] >= timelimit):
print("DEBUG", m)
assert m["solution"] or m["runtime"] >= timelimit
assert m["solution"] or m["runtime"] >= timelimit-2
m.save_metadata()
print(m)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment