diff --git a/devel/moth.py b/devel/moth.py index a1dd7de..580ceb6 100644 --- a/devel/moth.py +++ b/devel/moth.py @@ -85,7 +85,7 @@ class Puzzle: self.objective = None # Text describing the expected learning outcome from solving this puzzle, *why* are you solving this puzzle self.success = None # Text describing criteria for different levels of success, e.g. {"Acceptable": "Did OK", "Mastery": "Did even better"} self.solution = None # Text describing how to solve the puzzle - self.ksa = [] # A list of references to related NICE KSAs (e.g. K0058, . . .) + self.ksas = [] # A list of references to related NICE KSAs (e.g. K0058, . . .) self.logs = [] self.randseed = category_seed * self.points @@ -142,7 +142,7 @@ class Puzzle: elif key == "solution": self.solution = val elif key == "ksa": - self.ksa.append(val) + self.ksas.append(val) else: raise ValueError("Unrecognized header field: {}".format(key)) else: @@ -296,7 +296,7 @@ class Puzzle: 'objective': self.objective, 'success': self.success, 'solution': self.solution, - 'ksa': self.ksa, + 'ksas': self.ksas, } def hashes(self):