Skip to main content

autograder_gen

autograder_gen is a tool for lecturers to automatically generate assessment scripts for Grading a Programming Assignment on Gradescope. It supports filling out an interactive web form or providing a YAML configuration, which then generates a packaged ZIP file ready to be uploaded to Gradescope. The project validates your YAML configuration, renders test scripts using Jinja2 templates, and packages everything for immediate upload to Gradescope.

Setup

Set up the virtual environment and install all dependencies:

make venv

CLI Usage

The Command-Line Interface allows you to generate autograders (autograder.zip) directly from a configuration file.

python autograder_gen/cli.py --config <path/to/config.yaml> [options]

Arguments:

  • --config, -c (required): Path to your configuration file (YAML).
  • --output, -o: Output directory for the generated files (default: ./output).

Example:

python autograder_gen/cli.py --config tests/examples/py_simple/config.yaml

Web Interface

The web interface provides a graphical form to define your autograder structure or upload existing configurations. Start the Web Server:

python autograder_gen/web/app.py

Testing

To run the automated test suite and verify your installation:

python -m pytest

Authors

License

Contributions are welcome and will be credited. This project is licensed under the MIT License.
The University of Reading retains rights of original contributions.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autograder_gen-0.1.0-py3-none-any.whl (61.8 kB view details)

Uploaded Python 3

File details

Details for the file autograder_gen-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: autograder_gen-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 61.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for autograder_gen-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cdeebb7925dec7b2725fbf1c25e9f45a9ab535660c757c07c4d0fb0c072e7a62
MD5 145a023993173d08c276147f03d53a27
BLAKE2b-256 bd460de499ed16629e36ef250d0e02af92d889d90410d58a3cd5520f47509936

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page