kfl / staffeli_nt

Staffeli NT Technology
MIT License
8 stars 7 forks source link

More error-checking when parsing grade.yml files #19

Open madsobitsoe opened 3 years ago

madsobitsoe commented 3 years ago

This is a very specific "bug" we ran into on PoP 2020.

If a feedback-template-file contains multiple headers/sections with the same name, only the first occurrence of the section is considered when the feedback.txt is generated and all following occurrences are thrown away.

I think a "good" solution would be to perform some sort of validation in download.py, before using a template to generate grade.yml files.

kfl commented 2 years ago

In general I think we should switch to StrictYAML for all the yaml parsing.