- Issue created by @arcaic
- 093a481b committed on 1.0.x
Issue #3475833: Fix "Simple Scoring".
- 093a481b committed on 1.0.x
- πΊπ¦Ukraine r_cheh
The bug was fixed in branch
1.0.x
, changes will be added in the next release, now you can apply a patch.
But you need to take into account the formula that the user to calculate a score for not "Simple scoring" -
round(($total_score / $max_score) * $question->getMaxScore(), 2);
,
where:- $total_score - sum of points of chosen answers
- $max_score - sum of points of all correct answers
- $question->getMaxScore() - max score of Question, if you need to get just the sum of answers you need set 1 here
For example, you have a question with a max score of 5, there are 4 answers, with 2 correct answers, fist correct answer has 2 points, and the second correct answer has 1 point, during taking a quiz, user chooses the first right answer, so the score will be:
round((2/(2+1))*5, 2)
Automatically closed - issue fixed for 2 weeks with no activity.