Skip to contents

Parses a rubric YAML file into the rubric list structure used by rubric_import() and write_rubric_yaml(). Item order in the file determines display order and keyboard hotkeys (1-10 by position, none beyond ten). Validation is performed by the S7 constructors as items are built.

Usage

read_rubric_yaml(path)

Arguments

path

Path to a rubric .yaml/.yml file.

Value

A rubric list: format_version plus questions, each with name, items (a list of markermd_rubric_item objects) and scoring (a markermd_grade_state object, or NULL when the file omits it).