Student's solution with input()
passes "Validate", but fails on "Autograde"
#1844
Labels
input()
passes "Validate", but fails on "Autograde"
#1844
Steps to reproduce the actual behavior
For example, give students this assignment (I'll omit the description as it is self-explanatory):
Let's assume just one simple public test case:
Let's say that a student changes the cell with the assignment as follows:
Now there is an issue: when the student clicks on the "Validate" button in JupyterLab to validate their assignment, nbgrader executes it just fine and says that the solution passes all the tests. However, when the instructor runs autograde, it fails with the following error:
Expected behavior
Validate and autograde should behave consistently with respect to the
input()
function: either both should succeed, or both should fail with the same error.Operating system
Arch Linux
nbgrader --version
jupyterhub --version
(if used with JupyterHub)jupyter notebook --version
jupyter lab --version
The text was updated successfully, but these errors were encountered: