-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
48 lines (36 loc) · 2.21 KB
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
visible when='-tt':
python -m src.cli -v {{when}}
checkin:
python -m src.cli -checkin
participation target:
python -m src.cli grade -participation -assignment_id {{target}}
quiz day="":
python -m src.cli -q {{day}}
students:
python -m src.cli -students
# _ _
# __ _ _ __ __ _ __| (_)_ __ __ _
# / _` | '__/ _` |/ _` | | '_ \ / _` |
# | (_| | | | (_| | (_| | | | | | (_| |
# \__, |_| \__,_|\__,_|_|_| |_|\__, |
# |___/ |___/
#
autograde notebook_name canvas_name:
#!/usr/bin/env bash
python -m src.cli assignment -cn '{{canvas_name}}' -download -nbn '{{notebook_name}}' -autograde
ta target:
rsync -r /Users/abe/everything/teaching/S2023/3220/3220 /Users/abe/BAIM3220FeedbackReports -v --ignore-existing --include="*/" --include="*.html" --exclude="*"
cd /Users/abe/BAIM3220FeedbackReports && git status | grep {{target}} | grep -v "new file" | awk -F" " '{print $1}' | parallel -j 1 "git add {}" && git commit -m {{target}} && git push origin main
reports notebook_name canvas_name group_name='Exercises':
python -m src.cli assignment -reports -nbn "{{notebook_name}}" -g "{{group_name}}" -cn "{{canvas_name}}"
perfects notebook_name canvas_name group_name='Exercises':
python -m src.cli assignment -nbn "{{notebook_name}}" -sync -g "{{group_name}}" -cn "{{canvas_name}}" -perfects
skipped notebook_name canvas_name group_name='Exercises':
python -m src.cli assignment -nbn "{{notebook_name}}" -sync -g "{{group_name}}" -cn "{{canvas_name}}" -skipped
missed_challenge notebook_name canvas_name group_name='Exercises':
python -m src.cli assignment -nbn "{{notebook_name}}" -sync -g "{{group_name}}" -cn "{{canvas_name}}" -missed_challenge
# basically a wrapper over the three prior grading commands
run_grader notebook_name canvas_name group_name='Exercises':
python -m src.cli assignment -nbn "{{notebook_name}}" -sync -g "{{group_name}}" -cn "{{canvas_name}}" -perfects
python -m src.cli assignment -nbn "{{notebook_name}}" -sync -g "{{group_name}}" -cn "{{canvas_name}}" -skipped
python -m src.cli assignment -nbn "{{notebook_name}}" -sync -g "{{group_name}}" -cn "{{canvas_name}}" -missed_challenge