New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shuffle not working #209
Comments
Hello, we can confirm this problem on Moodle 4.1.5+ and offline quiz 2023070701. |
Hello, |
Thanks for reporting - we are just preparing v.4.2.0 where shuffle already works again and backport it afterwards. Please be patient. Thanks. |
Hi, we at ULPGC saw this a couple of weeks ago too. The failure to generate random exams when using several Groups/templates is quite a showstopper for may of our teachers. Do you have a time expectation to fix this bug?? Or a tip to try to correct it myself. But probably the problem is in createquiz.php itself. Obviously the concern is randomize questions not only for output (doable with explicit shuffle of $templateusage array in createquiz.php) but keeping that order usage for the scan/correction phase. I have a lot of teachers waiting for this being corrected; I can invest some time in fixing it, , with some help, in our site and put it back in github. |
we are still working on 4.2.0 which will be released pretty soon. |
I can confirm that removing the Using |
Hi, yes, confirmed, commenting out srand() in locallib.php returns shuffling. Thanks a lot!! |
Hello, Thanks ! |
hi! Thanks! |
@crnfpp I just pushed the backport402to401 branch to test it. We will probably publish it very soon. |
Tested locally backport402to401 and it works! I've tested also quiz creation, groupings, form creation, upload and correction without encountering any issue! |
Thanks for your feedback and testing - we have just released v.4.1.2/v.4.2.0. Please note #220 before you update! |
Hello,
With version v4.1.0 (2023070701) on a Moodle 4.1 the question shuffle is not working. The groups have the same order even if we click on the "Shuffle answers/Reload question list"
Is it possible to fix this ?
Thanks,
Monica
The text was updated successfully, but these errors were encountered: