fix(assessment): return confirmed categories with their basis and label demonstration categories

This commit is contained in:
shira committed 2026-10-09 21:24:24 +03:00
1 parent 623d41b969
commit d4903a3796
77 files changed
+1441 -288

No files matched your search

+4
View File
@@ -119,6 +119,10 @@ var specializationCodes = []SpecializationCode{
// IsKnown reports whether code is a specialization of the catalog.
func (code SpecializationCode) IsKnown() bool { return slices.Contains(specializationCodes, code) }
// SpecializationCatalog returns the specializations in catalog order. The
// result is a copy that the caller may change.
func SpecializationCatalog() []SpecializationCode { return slices.Clone(specializationCodes) }
// GradeCode is a grade of the MVP scale. The same codes describe a
// self-assessed grade, which the candidate states, and a confirmed grade,
// which only an assessment result establishes; a profile stores only the