scripting teaching
Script to find ungraded assignments: https://github.com/KTH/devops-course/blob/2024/tools/missing_grade.py (2024 edition in branch 2024)
#!/bin/bash
CANVAS_TOKEN=8779~foobar
CANVAS_COURSE_ID=48942 # 2024 edition
python final_grade_exporter.py --token $CANVAS_TOKEN --course $CANVAS_COURSE_ID
By piping CSV data to ladok report
. (See ladok report -h) r use the Python interface.
Requires the Ladok student identifier (c4d672db-a8d7-11e8-9bba-19a33c164972
), obtained from from canvas: canvaslms users -sc course -l
gives a CSV to translate.