Bug #4801

Calcul de score réponse multiple

Added by Eric Petitdemange over 7 years ago. Updated over 7 years ago.

Feature implemented
Target version:
Start date:
Due date:
% Done:


Estimated time:
Spent time:
SCRUM pts - complexity:



Le score sur Question réponse multiple n'est pas calculé correctement :
Mes réponses bonnes attendues son 1 et 3. Si je coche la 1, mais pas la 3, je devrais avoir 10/20 or le score est à 0.
Pour info le même souci existe si mes bonnes réponses sont 2 et 3 et que je coche 2.

Le même souci si je coche 2 bonnes réponses plus 1 fausse, je devrais avoir +20 - 10 donc 10 or j'obtiens 0
Le test réponse multiples se comporte comme réponse multiples choix exact ce qui ne devrait pas ;)

Help please :)


bad_Calc.jpg (42 KB) bad_Calc.jpg Eric Petitdemange, 28/05/2012 23:20

Related issues

Related to Chamilo LMS - Bug #4661: Multiple choice question score calculation for the questionBug resolved26/04/2012


Associated revisions

Revision dfdc6e36 (diff)
Added by Julio Montoya over 7 years ago

Undo multiple answer changes see #4801



Updated by Marko Kastelic over 7 years ago

Julio, as been mentioned inside #4661, this can be reverted back to normal type (note: score must not be negative)


Updated by Julio Montoya over 7 years ago

  • Status changed from New to Needs more info
  • Target version set to 1.9 Beta
  • % Done changed from 0 to 80

I undo the changes now it should work


Updated by Eric Petitdemange over 7 years ago

Hi Julio,

Could you please ensure we can use negative scores as I do need them in my examinations.

I need Multiple Answer as in if you have 2 good and 2 bad, then you get 0.
I use this or with 1 good answer, or all answers are expected and good, or multiple answers mixed with bad one, so I need the score per question .

In the meantime, did you get the dev we made for with global calculation?
I can't manage makig it workig yet on 1.9, but with a bit of help... :)

Thanks ion advance.


Updated by Marko Kastelic over 7 years ago

Currently score calcučation is not good. Penalty (negative scores) are not realized. As i remember, penalty shoud be calculated but the total score for the question must not be negative. As : question sum is sum(all selected choices), if sum is negative than sum is 0.


Updated by Eric Petitdemange over 7 years ago

This was previousmly the issue as, if you decide that answers 2 and 3 (of a 4 questions quiz) are correct, then if the trainees select, let's say 1 and 2, they SHOULD get 0. as score, but they won't as the calculation doesn't allow negative scores.

Another thing i =s in a quiz scenario I can select that negative score "crosses over" the questions, this is not anymore feasable?

I'll make a test when I have a minute :)


Updated by Eric Petitdemange over 7 years ago

OK, when I update, I can't add an screenshot....

This is exactly it ;)
I should've get 0, and I got 10... I remember for pre-alpha this was the same and Julio, you modified very fast the way it calculated and this was great!

I just installed the 1.9 night... I found, didn't even take the time to modify anything, but created a quiz of 4 answers, where 2 and 4 are correct (+10 each) and 1 and 3 are false (-10 each).
I selected 1 and 2 and have 10...

Thanks in advance for your help (note that doesn't have the issue).


Updated by Julio Montoya over 7 years ago

  • Status changed from Needs more info to Feature implemented

ok, there 2 tasks talking about the same thing I'm closing this task and leaving open and updating this one #4661

Also available in: Atom PDF