Subtracting points for late submissions
Use AutoTest submission metadata to automatically and flexibly subtract points for late submissions.
One of the most common applications of AutoTest submission metadata is to automatically subtract points for late days. By default, students can not hand in after the deadline, to allow students to do that, turn it on by following the steps in:
pageAllow students to hand in after deadlineIn our example, we want to automatically subtract 1 point from the total rubric score for each day after the deadline, up to a maximum of 10 points subtracted:
Set up a rubric category with 11 items ranging from -10 to 0 or a continuous rubric category with a negative lower bound of -10.
Add a new "Custom Test" block to your AutoTest, nest it in a "Connect Rubric" block and select the rubric category you just made.
Execute the following command to run our custom
deadline.py
script (shared later in this guide) and make sure theCG_INFO
variable is visible for the script:
Now, we'll have to upload the deadline.py
script. This is done in the "Setup" tab using a "Upload Files" block.
You may copy and paste the script below and edit it to your own needs and wishes.
In this example, we are subtracting 1 rubric point per late day. Keep in mind that rubric points are not final grade points, unless your rubric has exactly 10 rubric points.
Last updated