-
Notifications
You must be signed in to change notification settings - Fork 84
Autograder design
Sumukh Sridhara edited this page Feb 18, 2017
·
2 revisions
This page is out of date. The OK Autograder is now a standalone API.
The autograder is going to use Google App Engine's pull queues to manage queueing of autograder jobs. I'm not sure how easy it would be to move away from GAE; is there a task queue out there which allows you to do this kind of "leasing" that GAE has?
The steps of a student's submission being graded will be:
- Student submits their submission to the website
- A autograder server leases their submission from the pull queue
- The autograder server completes the autograding and uploads the results to the server
- The server notifies whoever needs to be notified that the submission is graded
The pull queue will just have one piece of data associated with each task; the submission id.
The autograder server will lease a task, and then pull down the submission using the okpy API, and run the tests.