Skip to content

bu-ist/bux-demo-course-grader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo External Grader

Defines package requirements and configuration for a demo course grader.

Requirements

Quick Start

git clone git@github.com:bu-ist/bux-demo-course-grader
cd bux-demo-course-grader
pip install -r requirements.txt

Modify the configuration in settings.py and start the grader:

grader --settings=settings

Type Ctl-C to stop the grader.

For provisioning of production and development VM environments use the configuration repository: https://github.com/bu-ist/bux-grader-configuration.

Notes

The default configuration in settings.py will look for a local XQueue install created using the fullstack provisioning instructions: https://github.com/edx/configuration/wiki/edX-Production-Stack.

Here's an example problem you could add to your course to test the grader once it's up and running:

<problem>
  <text>
    <p>Say hello to the dummy external grader!</p>
  </text>
  <coderesponse queuename="test-pull">
    <textbox />
    <codeparam>
      <initial_display></initial_display>
      <answer_display>Hello, dummy grader!</answer_display>
      <grader_payload>
        {
          "answer": "Hello, dummy grader!"
        }
      </grader_payload>
    </codeparam>
  </coderesponse>
</problem>