Project

General

Profile

Feature #4541

Exercises: add success score

Added by Yannick Warnier over 7 years ago. Updated about 7 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
23/03/2012
Due date:
% Done:

90%

Estimated time:
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

After a first usability work of HEAJ/ESIAJ, it appears the exercises tool could use a "minimum success score" data that would allow us to show the interface of the exercises results in a way that tells the user whether he succeeded or not.

Add a field "success_pct" in the "quiz" table, and add this field in the exercise creation and exercise edition screens.
It should be a percentage because this way it also allows for a success score on exercises that have a random number of questions.

The field should be optional, and if not defined, it should use the NULL value in the table.

On the exercise_result screen, if a success_pct is defined:
  • if the user reached it, show a line that says "Congratulations, you passed the test"
  • if the user didn't reach it, show a line that says "You didn't reach the minimum score, sorry"

This indication should be both on top and at the bottom of the results list, so the user knows immediately whether he passed or failed.

Get some inspiration from this design, between others, you can re-use the colouring idea for each question (mark it green if all answers were right, red if no answer was right, grey if some were right and some other not)
https://plus.google.com/u/0/photos/107485966684661155858/albums/5720915626116599361/5720915916907386818

In the future (or directly if you feel like it) it might be good to add a success_score for each question, so that we can base the colouring on this score (shouldn't be a percentage in this case as we know what the minimum should be with precision) and auto-fill it with 50% of the total score of all positive answers.


Files

quiz.png (59.3 KB) quiz.png Julio Montoya, 08/08/2012 19:04
porcentage.gif (29.4 KB) porcentage.gif Yoselyn Castillo, 09/09/2012 02:50
exercise.lib.php (86.5 KB) exercise.lib.php Yoselyn Castillo, 10/09/2012 17:09
test_results.gif (14.4 KB) test_results.gif Yoselyn Castillo, 11/09/2012 17:19

Associated revisions

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

Adding pass_percentage funcionality in exercises see #4541

Revision 636360e8 (diff)
Added by Julio Montoya about 7 years ago

Cleaning exercise page result + adding nicer UI not finished yet see #4541

Revision 54de7ca6 (diff)
Added by Julio Montoya about 7 years ago

More exercise result UI changes see #4541

Revision fa7c86cf (diff)
Added by Yoselyn Castillo about 7 years ago

Should fix exercise score div see #4541

History

#1

Updated by Julio Montoya over 7 years ago

  • Status changed from Assigned to Needs more info
  • Assignee deleted (Julio Montoya)
  • % Done changed from 0 to 30

I added the new field pass_percentage in the exercise.

I can't do this for the moment:

"This indication should be both on top and at the bottom of the results list, so the user knows immediately whether he passed or failed"

It will require some "core" changes in the tool in order to achieve this. Let me know if you want really want this.

http://code.google.com/p/chamilo/source/detail?r=baf9241f38ce8ac2f54c276f3a25522698f39865&repo=classic

The message will be show even if we add the exercise in the LP (not sure about these).

Lang variables were added in translate.chamilo

#2

Updated by Julio Montoya over 7 years ago

  • % Done changed from 30 to 70
#3

Updated by Michela Mosquera over 7 years ago

  • Status changed from Needs more info to Assigned
  • Assignee set to Yannick Warnier
#4

Updated by Yannick Warnier over 7 years ago

  • Status changed from Assigned to New
  • Assignee deleted (Yannick Warnier)
  • Target version changed from 1.9 Beta to 1.9.2
  • % Done changed from 70 to 50

It's OK for now. I still want to implement this feature (the message on top of the exercise) in the future, so I'm moving it to 1.9.1, but reducing the progress a little bit (don't be sad :p)

#5

Updated by Yannick Warnier over 7 years ago

  • Priority changed from Immediate to Normal
#6

Updated by Julio Montoya about 7 years ago

  • Status changed from New to Assigned
  • Assignee set to Julio Montoya
  • Target version changed from 1.9.2 to 2.0
#7

Updated by Julio Montoya about 7 years ago

  • Target version changed from 2.0 to 1.9.2
#8

Updated by Julio Montoya about 7 years ago

  • File quiz.png quiz.png added
  • Status changed from Assigned to Needs testing
  • % Done changed from 50 to 80

I added some changes, some CSS work still remaining

#9

Updated by Julio Montoya about 7 years ago

  • Assignee deleted (Julio Montoya)
#10

Updated by Yoselyn Castillo about 7 years ago

  • Assignee set to Yoselyn Castillo
#11

Updated by Yoselyn Castillo about 7 years ago

  • File porcentage.gif porcentage.gif added
  • Status changed from Needs testing to Needs more info
  • Assignee changed from Yoselyn Castillo to Yannick Warnier

Porcentage is on top and bottom of the result list. What is it missing now in this task?

#12

Updated by Yannick Warnier about 7 years ago

  • Status changed from Needs more info to Assigned
  • Assignee changed from Yannick Warnier to Yoselyn Castillo
  • % Done changed from 80 to 70

When you pick the "Exam" mode (do not show score, do not show feedback), the score information appears twice, one below the other (without anything in-between). In this case (where nothing appears in the middle), it should not show the 2nd score bar.

Once this is taken care of, just screenshot to demonstrate and close the task.

#13

Updated by Yoselyn Castillo about 7 years ago

Ok, Verifyin and Working..

#14

Updated by Yoselyn Castillo about 7 years ago

I suppose you refer when you pick "Practice mode: Show score only", because exam mode only shows label saved in test results. Fixing it...

#15

Updated by Yoselyn Castillo about 7 years ago

Please,Upload this file. It removes the second score message.

#16

Updated by Julio Montoya about 7 years ago

  • Status changed from Assigned to Needs testing
  • Assignee deleted (Julio Montoya)

file sent

#17

Updated by Yoselyn Castillo about 7 years ago

  • Status changed from Needs testing to Bug resolved

Fixed

Also available in: Atom PDF