Serializes a rubric (one or more questions' rubric items plus optional
scoring setup and item groups) 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 and any
further items (there is no limit) are toggled by clicking. A group's
items are nested under a group entry (group, optional floor,
ceiling and exclusive, then items). The file is written as
format_version "1.1" when it contains a group and "1.0" otherwise.
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 in display order, each item'sgroupnaming its group orNA), optionallygroups(a named list ofmarkermd_rubric_groupobjects keyed by group id) and optionallyscoring(amarkermd_grade_stateobject).- path
Output file path (
.yaml).