Package exam#

Alongside the feedback command the feedback-builder command is also installed. It is a module that creates an autograder.zip file, with all the appropriate scripts and files, as specified in the autograder docs. It also configures security settings vital to ensure students are not able to modify results.

To use it run it like this:

feedback-builder <tested_file_location> <config_file_location>

It mirrors how feedback works. If running feedback at the current location with the <tested_file_location> and <config_file_location> works and produces results, feedback-builder will package correctly. It will replace the path to the tester files so it works when uploaded to Gradescope.

Run parameters#

  • -v - Verbose execution
  • -o - Specify the output zip file path

Configure and upload#

  • Create the assignment on Gradescope as a Programming assignment, set the max score to be the same as you set in the config file
  • In the Configure Autograder section, select Upload Autograder (.zip) (or Replace Autograder (.zip))
  • Upload the .zip file generated by the feedback-builder
  • Click Update Autograder
  • Wait for the build process to complete
  • (Optional) Click Test Autograder to upload your own file to be evaluated

For developers#

To run the feedback-builder package from source, run:

python -m feedback.builder

It supports the same arguments as above