autograder .cli .grading
The autograder.cli.grading package contains tools to grade submissions or help in the grading process.
This package contains the following CLI tools:
Grade a submission given an already prepared grading directory (see autograder.cli.testing.setup-grading-dir) and a grader file. Use autograder.cli.grading.grade if you have not already prepared your grading directory.
usage: python3 -m autograder.cli.grading.grade-dir [-h] -g GRADER -d DIR
[-o OUTPATH]
Grade an assignment (specified by an assignment JSON file) with the given submission. Non-Python assignments can be graded, but they require an "invocation" field' in the assignment config, and the running machine must be configured to run them' (e.g. have all the required software installed).
usage: python3 -m autograder.cli.grading.grade [-h] [--version]
[--testing-mode]
[-a ASSIGNMENT] -s SUBMISSION
[-o OUT_PATH]
[-t TEST_SUBMISSION_PATH]
Take any necessary steps before performing a standard docker-based grading. This script is used as part of the standard docker grading procedure for Python.
usage: python3 -m autograder.cli.grading.pre-docker [-h] [-c CONFIG]
[-bd BASEDIR]
[-id INPUTDIR]
[-od OUTPUTDIR]
[-wd WORKDIR]