interactive autograder: better failure checks (#2165)