MITx Grading Library
A library of graders for edX Custom Response problems.
Version 2.0.2 (changelog)
Copyright 2017-2019 Jolyon Bloomfield and Chris Chudzicki
Licensed under the BSD-3 License.
We thank the MIT Office of Open Learning for their support.
Table of Contents
Documentation for edX Course Authors
Extensive documentation has been compiled for the configuration of the different graders in the library.
This is not required but can be useful for testing configurations in python, rather than in edX.
Requirements: An installation of Python 2.7 (since this is what edX currently uses) or Python 3.6 or 3.7 (since edX is in the process of upgrading).
- (Optional) Create and activate a new python virtual environment.
- Clone this repository and
pip install -r requirements.txtto install the requirements specified in
requirements.txt. If using python 3, use
pytestto check that tests are passing. (To invoke tests of just the documentation, you can run the following command:
python -m pytest --no-cov --disable-warnings docs/*)
- What's this
Voluptuous is a library that handles configuration validation, while giving (hopefully) meaningful error messages. We use it to automate the checking of the configurations passed into the
mitxgraders library. They need to be packaged together in the