Timeouts for non-terminating tests #855
-
Does Otter include timeouts to ensure the grading process doesn't get stuck indefinitely in a particular test? For example, suppose a test calls a student's function, and that function contains an infinite loop. Gradescope will eventually timeout the autograder, but I'm wondering whether Otter Grader will give up on the test that is hanging (and declare it as Failed) and move on to the other tests. If so, where exactly in the autograder files is this configured/specified? I'm asking because I'd like to implement this behavior in a non-Otter autograder, and am hoping to replicate whatever Otter does to ensure the autograder doesn't get stuck on a particular test case. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Otter doesn't support timeouts on a test-by-test basis; it just relies on Gradescope's global timeout, or there is a CLI flag for local grading |
Beta Was this translation helpful? Give feedback.
-
In our course, we used the |
Beta Was this translation helpful? Give feedback.
Otter doesn't support timeouts on a test-by-test basis; it just relies on Gradescope's global timeout, or there is a CLI flag for local grading