/bux-demo-course-grader

An example grader for use with https://github.com/bu-ist/bux-grader-framework

Primary LanguagePython

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>