moodle/question/tests
Tim Hunt bb93fc24aa MDL-6340 quiz: avoid reusing random questions between attempts
There are several improvements over what we had before:

1. We track all the questions seen in the the student's previous
quiz attempts, so that when they start a new quiz attempt, they get
questions they have not seen before if possible.

2. When there are no more unseen questions, we start repeating, but
always taking from the questions with the fewest attempts so far.

3. A similar logic is applied with variants within one question.

There is lots of credit to go around here. Oleg Sychev's students Alex
Shkarupa, Sergei Bastrykin and Darya Beda all worked on this over
several years, helping to clarify the problem and shape the best
solution. In the end, their various attempts were rewritten into this
final patch by me.
2015-03-26 17:45:49 +00:00
..
behat MDL-48373 behat, questions: convert tests to use the new steps 2014-12-05 12:22:27 +00:00
generator MDL-38538 question auto-save back end. 2013-03-28 16:51:59 +00:00
events_test.php MDL-40063 mod_quiz: replaced 'addcategory' add_to_log call with an event 2014-04-10 20:38:34 -07:00
generator_test.php MDL-38582 testing: Let any component have a data generator. 2013-03-22 10:28:24 +00:00
importexport_test.php
least_used_variant_strategy_test.php MDL-6340 quiz: avoid reusing random questions between attempts 2015-03-26 17:45:49 +00:00
random_question_loader_test.php MDL-6340 quiz: avoid reusing random questions between attempts 2015-03-26 17:45:49 +00:00