I believe it is a mistake to have the fields quiz_question_answer.points and quiz_result.score set to TINYINT.
I am currently putting together some question types that require fractional scores. For example, consider the case of a problem with multiple correct answers where we want to give a fraction of a point if the quiz-taker picks some, but not all of the right answers. (Implementing this with whole points adds unnecessary complexity to weighting the scores when we mix various question types.)
Fractional result scores will also allow implementing a guessing penalty (as used, for example, on the SAT), where a fraction of a point is subtracted for incorrect answers.
So I suggest changing these fields to DECIMAL, or perhaps FLOAT.
Comments
Comment #1
gilcot commentedyou are right and i've just noticed that i'm using DEC for that field in my testing DB...
i'll submit patch if everybody agree with that suggestion.
thanks
Comment #2
falcon commentedCleaning up the issue list. This one should still be considered I think.
Comment #3
djdevinThis issue is being closed because it was filed against a version that is no longer supported. If the issue still persists in the latest version of Quiz, please open a new issue.