refactor: improve cohort report
This commit is contained in:
@@ -261,6 +261,43 @@ fn policy_schema() -> Value {
|
||||
"minimum": 1,
|
||||
"description": "Below this many items on an objective, reports say 'not enough \
|
||||
evidence' rather than classifying."
|
||||
},
|
||||
"grade_scale": {
|
||||
"type": "array",
|
||||
"description": "Letter-grade bands. Only the lower bound of each is recorded; a \
|
||||
band runs up to the next one. Set this and a class report bins \
|
||||
scores by letter rather than by ten-point interval.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["letter", "min"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"letter": {
|
||||
"type": "string",
|
||||
"description": "The letter as it appears on a transcript."
|
||||
},
|
||||
"min": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 100,
|
||||
"description": "Lowest percentage earning this letter, inclusive."
|
||||
},
|
||||
"gpa": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"description": "Grade points the band carries."
|
||||
},
|
||||
"attainment": {
|
||||
"type": "string",
|
||||
"description": "The attainment word attached to the band."
|
||||
},
|
||||
"group": {
|
||||
"type": "string",
|
||||
"description": "Colour group for reports; defaults to the letter's \
|
||||
first character."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user