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

Allow decimals and easier marking in Assignments

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Inactive
    • Affects Version/s: 1.9.2
    • Fix Version/s: None
    • Component/s: Assignment (2.2)
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      An oft-requested feature. Attached are two diffs to the 1.9.2 source which enable this. Unfortunately I had to alter weblib a little to make all of the features work, but it shouldn't break any existing code. The other changes are relatively minor. Please note that this patch does not do any validation on the text field inputs, and will silently accept erroneous values.

      In order to use this modification, simply patch the files in mod/assignment with the assignment.diff file, and lib/weblib with the weblib.diff file. To allow decimal grades, you must also change the database field 'grade' in 'assigment_submissions'. On MySQL I used
      ALTER TABLE `mdl_assignment_submissions` CHANGE `grade` `grade` DECIMAL( 10, 2 ) NOT NULL DEFAULT '0.00'
      – your command will be similar.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              karaken12 Tom Potts
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: