Closed aaaaaa2493 closed 5 years ago
Updated:
1) Not AssertionError
but any Error
2) Not in solve
but in generateTests
and check
Why do you exclude solve
? Example: solve
has an invariant and it is checked by assert
. And the invariant is written with a mistake and sometimes it fails. So the problem is in the solve
method, it's a fatal error of the grader that should be sent to the team.
There is a great chance that there would be no solve
method in v5
as well as generatePredefinedInputOutput
and checkSolved
as these methods serve a little purpose but complicate things a lot.
Finally got it! Great plans to remove these methods, by the way :)
Need to catch
AssertionError
insolve
method and raiseFatal error