1. 22 Nov, 2021 1 commit
  2. 04 Oct, 2021 1 commit
    • Safat Shahin's avatar
      MDL-71679 mod_quiz: Updates for new qbank api · f9fc355e
      Safat Shahin authored
      This implementation will introduct changes to
      the mod_quiz to implement the new qbank api
      for view. Major changes are introduced in
      the custom view and also all the legacy points
      to the old qbank are changed to qbank plugins
      where needed. It also deprecated and deletes
      classes and scripts which were kept not to
      break mod_quiz for the new api implementation.
      f9fc355e
  3. 17 Aug, 2021 1 commit
    • safatshahin's avatar
      MDL-71516 core_question: Qbank api implementation · dfed4fd0
      safatshahin authored
      
      
      This commit implements the qbank api so that any plugin
      can implement its own question bank. This api currently
      works parallely with the moodle core classes and the
      added qbank in the core, means the moment a plugin
      is installed, that object is replaced with the object
      from the plugin instead of core, which means the api
      has flexibility till the plugins are integrated and the
      plugins can be integrated in any order.
      
      All the old classes are still there and not deprecated
      as there is a different tracker for the changes to the
      quiz and another tracker for class deprecation and
      class renaming. Core question units tests are pointing
      to the new api structure but the classes are pointing
      to the location related to the plugin availability.
      Co-Authored-By: default avatarLuca Bösch <luca.boesch@bfh.ch>
      Co-Authored-By: default avatarGuillermo Gomez Arias <guillermogomez@catalyst-au.net>
      
      one more array fix
      dfed4fd0
  4. 19 Apr, 2021 1 commit
  5. 11 Oct, 2019 1 commit
  6. 19 Jul, 2019 1 commit
  7. 18 Dec, 2018 1 commit
  8. 13 Feb, 2018 2 commits
  9. 08 Feb, 2018 2 commits
  10. 24 Oct, 2017 1 commit
  11. 27 Mar, 2015 1 commit
    • Tim Hunt's avatar
      MDL-6340 quiz: avoid reusing random questions between attempts · bb93fc24
      Tim Hunt authored
      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.
      bb93fc24
  12. 03 Oct, 2014 1 commit