Skip to content

Instantly share code, notes, and snippets.

@jarv
Created September 12, 2014 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jarv/4ed9e6faa374a99acbc8 to your computer and use it in GitHub Desktop.
Save jarv/4ed9e6faa374a99acbc8 to your computer and use it in GitHub Desktop.
edx xqueue
The XQueue software is one of our earliest components and not very
well documented unfortunately.
What it is from a high level is a Django app that monitors a rabbitMQ
cluster that takes student submissions and makes it available to an
external grader.
Here is example code that watches the xqueue for new submissions and
grades them using our python grader -
https://github.com/edx/xqueue-watcher
Here is documentation that describes how to interface with xqueue -
https://berkeleyx.berkeley.edu/wiki/autograding
Here is an example code-response with a file submission:
<coderesponse queuename="BerkeleyX-cs188x">
<filesubmission points="25" allowed_files="search.py
searchAgents.py" required_files="search.py searchAgents.py"/>
<codeparam>
<grader_payload>{"project": "p1"}</grader_payload>
</codeparam>
</coderesponse>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment