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
- Alan Guedes – @alanlivio
- Giorgio Werberich Scur – @giorgioscur
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdeebb7925dec7b2725fbf1c25e9f45a9ab535660c757c07c4d0fb0c072e7a62
|
|
| MD5 |
145a023993173d08c276147f03d53a27
|
|
| BLAKE2b-256 |
bd460de499ed16629e36ef250d0e02af92d889d90410d58a3cd5520f47509936
|