What's Changed * Add MIT License by ibrahima in https://github.com/gradescope/gradescope-utils/pull/26 * Convert the value passed to `number` to a string by trombonehero in https://github.com/gradescope/gradescope-utils/pull/20 * Hide error messages by peterstory in https://github.com/gradescope/gradescope-utils/pull/25 * Use "status" prop and other misc improvements by isaacl in https://github.com/gradescope/gradescope-utils/pull/27 * Make test failure prefix msg configurable by isaacl in https://github.com/gradescope/gradescope-utils/pull/29
New Contributors * trombonehero made their first contribution in https://github.com/gradescope/gradescope-utils/pull/20 * peterstory made their first contribution in https://github.com/gradescope/gradescope-utils/pull/25 * isaacl made their first contribution in https://github.com/gradescope/gradescope-utils/pull/27
Adds a callback function to JSONTestRunner which can be used to modify the autograder results at the end of the test suite but before they are written to disk.
The `number` decorator allows setting the "number" field on tests, which is used to sort the tests when displayed on Gradescope. See the [format specification](https://gradescope-autograders.readthedocs.io/en/latest/specs/#output-format) for more information.
0.3.0
Adds a new decorator, `partial_credit`, which allows setting the final score directly for cases where you want to give partial credit.
When using it, you don't need to use the `weight` decorator (you pass in the test weight to `partial_credit`).
JSONTestRunner now accepts options for setting the top-level `visibility` and `stdout_visibility` fields (see the [docs](https://gradescope-autograders.readthedocs.io/en/latest/specs/) for more details).