summaryrefslogtreecommitdiff
path: root/devfiles/questions/17.json
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2013-10-20 23:14:51 -0700
committerJesse Morgan <jesse@jesterpm.net>2013-10-20 23:14:51 -0700
commite472550fe154f0afa5b36d2a7e2334d4680d7884 (patch)
tree8131e3fa7db162f9a072ef4d89e7fb25d338cdd4 /devfiles/questions/17.json
parent31303114ef03b13ab320ee553f11a73346be7f4a (diff)
First stage of a major refactoring.
Question and Answer can now be serialized and deserialized to/from JSON. As such, I no longer have to pass awkward maps around. As part of this change I have introduced a Provider interface to abstract out loading and persisting these beans. The scoring logic has been completed factored out of SurveyResultsResource and into the various ScoringEngines. Tests have been added for Question, Answer, and the ScoringEngines. A bug has been fixed in computing the value for slider questions. The label identifiers in the circle questions have changed from all lower case to camel case. That is, topleft is now topLeft. Several issues have been corrected in the circle answers where the point values did not match the labels. Testing and code coverage support and reports have been added.
Diffstat (limited to 'devfiles/questions/17.json')
-rw-r--r--devfiles/questions/17.json16
1 files changed, 8 insertions, 8 deletions
diff --git a/devfiles/questions/17.json b/devfiles/questions/17.json
index b1b3f5e..2469a13 100644
--- a/devfiles/questions/17.json
+++ b/devfiles/questions/17.json
@@ -2,16 +2,16 @@
"id": "17",
"question": "Character, integrity, and excellent personal conduct are:",
"type": "circle",
- "bottomleft": "what I aspire toward, but I'm a workin progress",
- "bottomright": "Old Fashioned and not realistic",
- "topleft": "Important but you can lead others if you're trying hard",
- "topright": "Essential to me personally, and required in order to lead others",
+ "bottomLeft": "What I aspire toward, but I'm a work in progress",
+ "bottomRight": "Old Fashioned and not realistic",
+ "topLeft": "Important but you can lead others if you're trying hard",
+ "topRight": "Essential to me personally, and required in order to lead others",
"answers": {
- "1.00,1.00": { "score": "1" },
- "1.00,-1.00": { "score": "4" },
- "-1.00,-1.00": { "score": "2" },
- "-1.00,1.00": { "score": "3" }
+ "1.00,1.00": { "score": "4" },
+ "1.00,-1.00": { "score": "1" },
+ "-1.00,-1.00": { "score": "3" },
+ "-1.00,1.00": { "score": "2" }
},
"previousQuestion": "16",