diff --git a/cms/grading/tasktypes/interactive_keeper.py b/cms/grading/tasktypes/interactive_keeper.py index 30953904ff..bf03a27979 100644 --- a/cms/grading/tasktypes/interactive_keeper.py +++ b/cms/grading/tasktypes/interactive_keeper.py @@ -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 = {