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

Allow decimals and easier marking in Assignments

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Inactive
    • Icon: Minor Minor
    • None
    • 1.9.2
    • Assignment (2.2)
    • None
    • MOODLE_19_STABLE

      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.

        1. weblib.diff
          3 kB
          Tom Potts
        2. assignment.diff
          8 kB
          Tom Potts

            Unassigned Unassigned
            karaken12 Tom Potts (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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