Utilities for building Gradescope autograders. Current version 0.5.0, released June 2022. The library provides decorators and a JSON test runner to streamline autograder development. Low release cadence.
pip install gradescope-utilsVerified import paths — ran on the pinned version, not inferred.
Basic autograder using unittest and gradescope-utils decorators.
Update to >=0.3.1 or pass number as a string.
Set visibility on the runner and ensure individual tests don't override incorrectly.
Inside the test method, set self.score to the desired score (float or int).
For deeper checks, implement custom validation.
No dependency data recorded yet.