Issue Details (XML | Word | Printable)

Key: MDL-15715
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: moodle.com
Reporter: Mark Berthelemy
Votes: 6
Watchers: 10
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Grade item disappearing after student takes quiz

Created: 20/Jul/08 03:51 AM   Updated: 13/Nov/09 04:08 PM
Component/s: Gradebook, Quiz
Affects Version/s: 1.9
Fix Version/s: None

File Attachments: 1. Zip Archive backup-demonstration_mb_2-20080718-1453.zip (74 kB)

Environment: Windows, XAMPP
Issue Links:
Dependency
 

Database: MySQL
Participants: Barry Oosthuizen, Cristian Alvarado, Gary Anderson, Mark Berthelemy, moodle.com, Nicolas Connault and Tim Hunt
Security Level: None
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
The problem I have is that after a student takes one of the quizzes, that quiz's results then get hidden in the gradebook.

It seems to be specific to just the first of the quizzes (there are three), but it happens with any student.

I can't see what's different between the quizzes that would make it behave this way.

I've attached the sample course that I'm using to test this. You'll see that the quizzes each take random questions from two of four categories. I use this course to demonstration the random question capability.

I'm using Moodle 1.9+ build 20080423.

Forum thread: http://moodle.org/mod/forum/discuss.php?d=101573



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Gary Anderson added a comment - 20/Jul/08 08:21 AM
I found the problem on this today; it caused us much confusion at the end of the year, and is likely to cause more confusion as more people start using 1.9.

The issue is that if a teachers uses the default settings for a quiz (something they are inclined to do if they don't understand every option), then grades will always be hidden from students the gradebook.

The problem is that if a ending date is not set for the quiz, and the option for showing scores during a quiz is not enabled, then the gradebook item is hidden.

This may make sense from an algorithm perspective, but it means that in many cases, grades will never show up in the gradebook, or will seem to be suddenly hidden. By default, teachers and students expect for an item visible in the gradebook if it is visible in the course (at least until their mental model of the gradebook becomes more sophisticated).

I would suggest, as a practical matter, changing line 366 of /mod/quiz/lib.php from 1 to 0. That is what we will do at our school.

The thinking is that if there is no closing date, then the quiz is treated as graded when the student completes it. If the teacher actually wants to set a closing date, then it will have the current behavior.

I will put Tim Hunt in the watch list on this as I know he has spent much time on the module and may have an even better solution.

--Gary


Tim Hunt added a comment - 21/Jul/08 06:58 PM
Further discussion of how this should work in http://moodle.org/mod/forum/discuss.php?d=101573.

And I am going to assign this to me, becuase it is more of a quiz issue than a gradebook one.

The current behaviour was explicitly asked for by the OU. If the student's can see their grade through the gradebook, why should they not also be able to see it in the quiz interface.

Also, remember that the defaults for what students are allowed to review is set on admin/module.php?module=quiz, and as far as I can see, reviewing of grades in the quiz is on by default, so the problem you have does not happen with a default install.


Gary Anderson added a comment - 21/Jul/08 11:28 PM
Tim:

Thanks for looking at this. You are right, on the "Later, while the quiz is still open" setting scores are only by default. On our local site that was changed in the preferences (or maybe there was a different old default that stuck). That explains why we have not seen this more often.

Still, I think the issue is how to handle this case when there is NO Close the quiz time set, which is the default. It seems to me that if the auto show/hide feature is to work, that there should be a way for the quiz to close.

One thing that was especially a mystery for us was that when we say these quizzes hidden, we went in and made them visible from the gradebook. But, if a change was then made to the quiz, it suddenly was hidden again, so it seemed like we had ghosts.

In any case, I think that the line I suggested does address the problem, which is to have it be visible unless a close date is set. It is not the best solution, but it does avoid the issues that did show up as an area for confusion while still allowing the feature (by setting a close date). There is proablbly a better way, however.


Cristian Alvarado added a comment - 28/Oct/08 04:26 AM
We have this happening to one particular instructor on our installation as well.

At first we thought that it was just the settings, but it only happens to 4 of the I think 8 quizzes he has in his course. I checked over the settings for the 4 that continuously become hidden, and they both have start and stop dates, as well as "Scores" ticked off in all three columns in the quiz settings.


Barry Oosthuizen added a comment - 08/Feb/09 08:20 AM
I've also been experiencing some ghost-like activity with quizzes in the Gradebook. All our quiz grades are currently visible to students (through clicking on the eye in the gradebook). When I update a quiz the eye in the gradebook is automatically closed.

My settings:
1. The Review options for 'Scores' in each quiz are not ticked.
2. I don't have any close dates on my quizzes

Expected behaviour:
I would expect that 'open eye' in the gradebook would continually override the 'Scores' settings of the quiz.

Actual Behaviour:
The gradebook (hide/show) and quiz review settings take turns in overriding each other (depending on which was updated last) if 'scores' are not ticked.


Nicolas Connault added a comment - 11/May/09 03:06 PM
Linked this issue with MDL-18301. The proposed fix here may help, but ultimately the solution will lie in centring the grades in the gradebook and out of quiz, which is scheduled to be done in 2.0. This way the logic for hiding/showing will not be split between modules and gradebook.