CrisisCleanup / crisiscleanup-1

[OLD] Legacy Crisis Cleanup on GAE/Python
https://sandy-disaster-recovery.appspot.com
Other
8 stars 4 forks source link

Training Validation #169

Open aarontitus opened 11 years ago

aarontitus commented 11 years ago

Original author: v...@aarontitus.net (January 29, 2013 05:50:24)

When a point of contact signs up, they must watch a training video. To make sure that they have watched the training video, the administrator should be able to create an unlimited bank of simple multiple-choice questions designed to test the person's knowledge of the training video.

In the Admin Panel (#166), the Global Administrator should be able to create an unlimited number of questions from which the system draws, and indicate how many random questions must be answered (e.g. probably only 2 or 3, with 3-5 possible answers each.

If a person fails, they are given a reason why the answer is wrong (a validation error message), and are allowed to try as many times as they need to choose the correct answer.

The validation module should contain the following fields (training_question has a one-to-many relationship with the other fields): training_number_display = db.StringProperty(required=True)|Number of random questions to display during the application process (See #21) training_question = db.StringProperty(required=True)|Question

training_answer = db.StringProperty(required=True)|Answer
training_answer_is_correct = db.BooleanProperty(required=True)|If TRUE, then this answer is correct.
training_answer_false_alert = db.StringProperty(required=False)|If incorrect, then this alert appears in red, if the answer is chosen.

Original issue: http://code.google.com/p/sandy-disaster-recovery/issues/detail?id=169