Right now, students must wait for the autograder to finish before receiving feedback on their submission. We want to find a way to notify them of failed builds if they leave the page early. Our idea is as follows:
If the autograder fails (output.json includes ERROR: Grading Failed) send an email to the student.
The autograder includes a metadata file with the student's email, dropbox name, project ID, and submission ID.
Automatically send an email to the student informing them of the failed submission. Provide the name of the dropbox and a link to resubmit.
We do not want to use a personal email address (for security reasons), so look into a program or library that allows us to send emails without credentials or from a repurposed account (specific to this use case).
We can use an external server for this. An idea is to have a "heartbeat" when the grading starts and one at the end. This way, we can tell if something out of our control failed.
The end message will include the metadata for the submission and the results file, which will be parsed externally to lessen the performance impact on the Gradescope container.
Right now, students must wait for the autograder to finish before receiving feedback on their submission. We want to find a way to notify them of failed builds if they leave the page early. Our idea is as follows:
output.json
includesERROR: Grading Failed
) send an email to the student.We can use an external server for this. An idea is to have a "heartbeat" when the grading starts and one at the end. This way, we can tell if something out of our control failed.
The end message will include the metadata for the submission and the results file, which will be parsed externally to lessen the performance impact on the Gradescope container.