Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-32188 Improve how CBM behaviours work
  3. MDL-42105

Allow question attempts to have a maxfraction different from 1

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.5.2
    • Fix Version/s: None
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide

      This will be tested as part of MDL-32188.

      Show
      This will be tested as part of MDL-32188 .
    • Affected Branches:
      MOODLE_25_STABLE

      Description

      Nominally, questions work internally by grading the students response on a scale of 0 to 1, called fraction.

      Except that, since the new question engine was created, we have allowed question grades to go down below zero, no 'minfraction'.

      Now, to make the certainty-based marking behaviours work better, we are introducing maxfraction, which can be greater than 1.

      To implement this, I simply searched the code for 'minfraction' and everywhere that was mentioned, implemented an equivalent 'maxfraction', defaulting to 1, to replace the hard-coded, or implicit, 1.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              timhunt Tim Hunt
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: