-
My autograder or student code has a GUI or renders output to a display. How can I run it on Gradescope? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
By default, autograders run in a headless environment and must be able to run to completion without interaction. If your code requires a display output, you may need to emulate a display and/or emulate user interactions to get it to run to completion without human intervention. One piece of software that can be used to emulate a display is xvfb. This should allow a graphical program to run, though you still might require further interaction emulation to work through any interactive processes. |
Beta Was this translation helpful? Give feedback.
By default, autograders run in a headless environment and must be able to run to completion without interaction.
If your code requires a display output, you may need to emulate a display and/or emulate user interactions to get it to run to completion without human intervention. One piece of software that can be used to emulate a display is xvfb. This should allow a graphical program to run, though you still might require further interaction emulation to work through any interactive processes.