Hello, I guess I still have an incorrect version. When I set all the examples to mark 0, when I run the "precheck" I get a runtime error (division by zero).
When running the check its ok (because the other test cases are >0).
When running the check its ok (because the other test cases are >0).
Error in question
Bad output from grader:
Run result: Run error
Output:
Traceback (most recent call last):
File "__tester__.python3", line 190, in <module>
outcome = tester.test_code()
File "tester.py", line 287, in test_code
mark, comp_and_run_errors = self.compile_and_run()
File "tester.py", line 239, in compile_and_run
mark = self.result_table.get_mark() / max_mark # Fractional mark 0 - 1
ZeroDivisionError: float division by zero
. Your program execution may have aborted (e.g. a timeout or memory limit exceeded)Just as an example here is the screenshot:
