Write a grading rubric to a YAML file
write_rubric_yaml.RdSerializes a rubric (one or more questions' rubric items plus optional scoring setup) to a human-readable, schema-validatable YAML file. Items are written in display order; order is meaningful, as the first ten items are bound to keyboard hotkeys on import. No per-repository grading data is written.
Arguments
- rubric
A rubric list as returned by
read_rubric_yaml()orrubric_export():format_versionplus aquestionslist whose entries havename,items(a list ofmarkermd_rubric_itemobjects) and optionallyscoring(amarkermd_grade_stateobject).- path
Output file path (
.yaml).