-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scoring protocol does not timeout when scheme code has infinite loop #117
Comments
The problem is a bit more complex than I thought. For a solution like this, and the scoring protocol times out just fine:
However, this particular solution causes OK to hang indefinitely after grading. OK doesn't respond to a keyboard interrupt after this, so you have to terminate the process some other way:
This also affects the normal grading protocol:
|
Confirmed, repros on 1.14.19 |
I'm pretty sure this is related to memory usage. That specific piece of student code is equivalent to
which, since the test case is I think the solution to this is probably to limit the memory usage of |
If there's an infinite loop in scheme code that is tail-recursive, OK does not time it out, but continues to run indefinitely.
The text was updated successfully, but these errors were encountered: