When using the library code in programming exercises, it is not allowed to have imports in this code. This seems odd behavior as you might want to have imports in your library code....

Submitted by Algoritmiek-TAs on 8 January 2016 at 11:01

On 8 January 2016 at 11:24 Guido Wachsmuth commented:

IIRC, this was caused by appending the library code to the student's submission code. This approach also results in incomprehensible error messages, when students have syntax errors such as missing closing parentheses in their submission code. If possible, the library code should go into its own file.

Log in to post comments