Commit ba8196d
Lasse Benninga
fix(ci): grant contents:read so grader runs + align autograder with rubric
1. .github/workflows/grade-assignment.yml: add 'contents: read' to the job
permissions. The reusable auto-grade.yml requests contents:read (its
actions/checkout needs it); a reusable workflow cannot request a
permission the caller did not grant, so every run was startup_failure and
no grader comment ever posted. Week 10's working workflow already has it.
2. .hyf/test.sh Level 3: accept psycopg2/psycopg imports, not just
sqlalchemy. The rubric allows 'sqlalchemy or psycopg2'; the grader only
credited sqlalchemy, under-scoring a valid psycopg2 submission by 5 pts.
3. .hyf/test.sh Level 4: count any H3 heading as a documented panel instead
of only '### Panel'. A student who titles entries by metric name rather
than 'Panel N' was scored 0 panels despite documenting them.
Verified: no regression on a passing submission (95 -> 95); a psycopg2 app
now gets the import point; panels titled by metric name are counted.1 parent 0a5b1b1 commit ba8196d
2 files changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
| 91 | + | |
| 92 | + | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
| |||
0 commit comments