From 5f90d5981d19d67d4dfc53544ad04d0fc0a5303d Mon Sep 17 00:00:00 2001 From: Donaldson Date: Fri, 2 Aug 2019 13:02:14 -0500 Subject: [PATCH] Standardize ksa vs ksas naming convention --- devel/moth.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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):