Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions cms/grading/tasktypes/interactive_keeper.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,13 @@ def do_merge(a, b):
+ text[1:]
)
elif not evaluation_success_mgr:
outcome = 0.0
text = ["Controller failed"] + (controller_text if controller_text else [])
success = False
text = ["Controller failed"]
elif score is None:
success = False
text = ["Controller did not report a score"]
else:
outcome = score if score is not None else 0.0
outcome = score
text = controller_text

result = {
Expand Down
Loading