Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-41725

move question statistics code and db tables into the question bank so that they can be used by other modules that use questions

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6
    • 2.6
    • Questions, Quiz
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • MDL-41725-master-onecommit
    • Hide

      Run the quiz, question and quiz report unit tests. Or have the integration server do that for you.

      The statistics calculations themselves are checked by unit tests you can find in quiz/report/statistics/tests/.

      If you want to check the actual display of the reports then you could try the tool I created : https://github.com/jamiepratt/moodle-quiz_simulate

      See the README for installation instructions. And there is a example quiz back-up and stepdata.csv file in the mod/quiz/report/simulate/example/ directory to get you started.

      You could restore the backup and then upload the stepdata.csv to simulate attempts by students.

      Then check that the statistics report works. And that the graph displays correctly. And that when you click on the question names which are all hyperlinked you get taken to the response analysis.

      Show
      Run the quiz, question and quiz report unit tests. Or have the integration server do that for you. The statistics calculations themselves are checked by unit tests you can find in quiz/report/statistics/tests/. If you want to check the actual display of the reports then you could try the tool I created : https://github.com/jamiepratt/moodle-quiz_simulate See the README for installation instructions. And there is a example quiz back-up and stepdata.csv file in the mod/quiz/report/simulate/example/ directory to get you started. You could restore the backup and then upload the stepdata.csv to simulate attempts by students. Then check that the statistics report works. And that the graph displays correctly. And that when you click on the question names which are all hyperlinked you get taken to the response analysis.

    Description

      We will move both the code and db tables for calculating and caching question statistics into the question/engine/ directory.

      Attachments

        Issue Links

          Activity

            People

              jamiesensei Jamie Pratt
              jamiesensei Jamie Pratt
              Tim Hunt Tim Hunt
              Marina Glancy Marina Glancy
              Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13