Skip to content

About

The MITx Grading Library, a python grading library for edX

Topics

Resources

Stars

16 stars

Watchers

9 watching

Forks

Latest commit

 

History

1,116 Commits

Folders and files

Repository files navigation

MITx Grading Library

Build Status

A library of graders for edX Custom Response problems.

Version 3.1.0 (changelog)

Copyright 2017-2024 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

Demo Course

A demonstration course for the MITx Grading Library can be viewed here. The source code for this course is contained in this repository here.

Documentation for edX Course Authors

Extensive documentation has been compiled for the configuration of the different graders in the library.

Local Installation

This is not required but can be useful for testing configurations in Python, rather than in edX.

To install:

Requirements: An installation of Python 3.11 (Open edX Ulmo) or 3.12 (Open edX Verawood and edx-platform master).

  1. (Optional) Create and activate a new Python Virtual Environment.
  2. Clone this repository and cd into it.
  3. Run pip install -r requirements-<release>.txt to install the numpy, scipy and pyparsing versions that ship in that Open edX release's codejail sandbox, where <release> is ulmo (Python 3.11), verawood (Python 3.12) or master (Python 3.12). For Python 3.13 and newer, use requirements-latest.txt, which installs the latest releases of those packages.
  4. Run pytest to 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/*)

FAQ

  • What's this voluptuous thing?

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 python_lib.zip file.

About

The MITx Grading Library, a python grading library for edX

Topics

Resources

Stars

16 stars

Watchers

9 watching

Forks

Releases

Packages

Used by

Contributors

Languages