numeric(_:)
Creates a scoring scale from a numeric dictionary.
Declaration
static func numeric(_ scale: [Double : String]) -> ScoringScaleParameters
- scale:
A dictionary mapping numeric scores to rubric guidance.
Discussion
Each key-value pair maps a numeric score to rubric guidance. The label for each option is derived from the numeric value (e.g., 5 becomes "5").