feat(assessment): grade choice answers with distractors from error models

This commit is contained in:
shira committed 2026-10-11 03:12:24 +03:00
1 parent efa41d5967
commit f1147b1885
22 files changed
+1346 -47

No files matched your search

+3 -2
View File
@@ -237,8 +237,9 @@ func ParseAssessmentLifecycle(value string) (AssessmentLifecycle, error) {
// AssessmentAnswerKey is the reference answer description of a family. The
// reference answer of a variant itself comes from the family's algorithm.
type AssessmentAnswerKey struct {
// AnswerFormat is the format of the reference answer: "integer" or
// "integer_sequence". It must match the algorithm of the generator.
// AnswerFormat is the format of the reference answer: "integer",
// "integer_sequence", or "choice". It must match the algorithm of the
// generator.
AnswerFormat string `json:"answer_format"`
// ReferenceSolution describes the reference approach in prose.
ReferenceSolution string `json:"reference_solution"`