google-code-export / sandy-disaster-recovery

Automatically exported from code.google.com/p/sandy-disaster-recovery
2 stars 2 forks source link

Training Validation #169

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 (Issue 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 Issue 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 reported on code.google.com by v...@aarontitus.net on 29 Jan 2013 at 5:50