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

Move functions related to computing the quiz grade into a new class

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.2
    • 4.1.1
    • Quiz

      Sitting in lib.php and locallib.php, there are a bunch of fuctions related to computing the grade for the quiz. (Either computing the grade for one attempt based on the grades of individual attempts, or computing the final grade for the quiz from the separate attempt grades.)

      All this code would be better grouped into an autoloaded class.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Anupama Sarjoshi Anupama Sarjoshi
            Jake Dallimore Jake Dallimore
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 6 hours, 15 minutes
                1d 6h 15m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.