The Autolab command-line program provides students with the ability to:
- List their current courses
- List their current assignments for a class
- Download assignments (and writeups)
- Submit assignments
- View autograded scores
- View autograded feedback
autolab setupfrom the terminal
yto agree to the terms (READ THEM)
- Ctrl-Click on the URL to login to autolab
- Copy the 6-character authentication code using Ctrl-Shift-C
- Paste the authentication code
- (If necessary) Click “Authorized”
[user@hostname ~] $ autolab courses 362-s20 (CSCI 362) 476-s20 (CSCI 476)
Viewing Assignments for a given course
Note: you will have to use the course ID (e.g.
[user@hostname ~] $ autolab assessments 362-s20 array (Array) elementarysorts (Elementary Sorts) introtoc (Intro to C++) statredux (Statistician Redux)
Downloading an Assignment
- COURSEID: usually of the form
- ASSIGNMENTID: some name (use
autolab assessmentsto see list)
[user@hostname ~] $ autolab download 362-s20:elementarysorts Querying assessment 'elementarysorts' of course '362-s20' ... Creating directory /home/faculty/wkillian/elementarysorts Handout downloaded into assessment directory Writeup URL: http://cs.millersville.edu/~autolab/362-s20/elementarysorts/ Due: Mon Feb 10 23:59:00 2020
handin.tar is your filename (and within the assessment folder), you can simply invoke
[user@hostname elementarysorts] $ autolab submit handin.tar Submitting to 362-s20:elementarysorts ... Successfully submitted to Autolab (version N)
If you want to wait for the autograder feedback, add a
[user@hostname elementarysorts] $ autolab submit handin.tar Submitting to 362-s20:elementarysorts ... Successfully submitted to Autolab (version 9) Waiting for scores to be ready ... | version | auto (69.0) | style (6.0) | +---------+-------------+-------------+ | 9 | 16.0 | -- |
[user@hostname elementarysorts] $ autolab scores Scores for 362-s20:elementarysorts (Only submissions made via this client can be shown) | version | auto (69.0) | style (6.0) | +---------+-------------+-------------+ | 9 | 16.0 | -- |
If you just want to submit any file that was NOT acquired using
autolab download, do the following:
autolab submit COURSEID:ASSIGNID <filename> [-w]
COURSEID: course-semester e.g.
ASSIGNID: arbitrary name e.g.
<filename>: name of file e.g.
[-w]: include if you want to wait for autograder feedback
autolab submit 362-s20:elementarysorts handin.tar -w
handin.tar for the
elementarysorts lab and wait for autograder feedback
BONUS – Augmenting your Makefile
For Prof. Killian’s (and potentially other) courses, handins can usually be generated via a Makefile
You can add a new rule to your Makefile which will do the submission dirty work for you!
For example, the following snippet will allow you to say
make submit from the terminal and will submit for you!
submit: handin autolab submit 362-s20:elementarysorts handin.tar -w