Skip to content

Restore blank-line separators in grading-criteria.md - #2943

Merged
algomaster99 merged 1 commit into
2026from
fix/grading-criteria-formatting
Aug 28, 2026
Merged

Restore blank-line separators in grading-criteria.md#2943
algomaster99 merged 1 commit into
2026from
fix/grading-criteria-formatting

Conversation

@algomaster99

Copy link
Copy Markdown
Collaborator

Most sections collapsed to single blank lines, so update_grading.py's parser (splits on double-blank-line) saw 1 part instead of 4 and crashed. Restored double blank lines for the 5 sections with tables. Project untouched (no fixed criteria yet — companion fix in KTH/github-canvas-integration-devops#7 skips it gracefully).

update_grading.py's parse_criteria() splits each section on double-blank
lines (\n\n\n) into title/description/table/grading-note. Most sections
had collapsed to single blank lines at some point, so the parser saw only
1 part per section instead of 4 and crashed with IndexError on the first
one it hit (Project). Restored the double blank lines for the five
sections that have a criteria table; Project is left alone since it has
no fixed criteria yet (companion fix in
KTH/github-canvas-integration-devops makes the parser skip such sections
instead of crashing).
@algomaster99
algomaster99 merged commit 131465a into 2026 Aug 28, 2026
2 checks passed
@algomaster99
algomaster99 deleted the fix/grading-criteria-formatting branch August 28, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant