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

Grade penalty - Do not apply penalty on overridden grade

XMLWordPrintable

    • MOODLE_500_STABLE
    • MOODLE_500_STABLE
    • MDL-85012-main
    • Hide

      Enable "Late submission penalty" plugin

      1. Go to "Grades > Grade penalties > Manage penalty plugins* in site administration:
        • Click on 'toggle' button to enable 'Late submission penalties' plugin
      2. Go to "Grades > Grade penalties > Late submission penalties > Penalty rules":
        • Create some penalty rules

      Enable "Grade penalty" for assignment

      1. Go to "Grades > Grade penalties > Manage supported activities":
      2. Verify there is no more "Apply penalty to overridden grades" checkbox
      3.  Click to select "Assignment" and save changes

      Testing: Penalty implementation on an assignment

      1. Create a test course
      2. Create an assignment in the course:
        1. Set due date to "Yesterday" / a date in the past
        2. Submission types: online text
        3. Make sure grade type is set to point
        4. Enable "Grade penalties" under "Grade" section
        5. Require students to click the submit button: Yes
        6. Allowed attempts: Unlimited
        7. Grant attempts: Manually
      3. Enrol a student to the course
      4. Log in as the student, go to the assignment and add a submission.
      5. Log in as a teacher, mark the submission of the student and then allow another attempt.
      6. In the assignment "Submissions" page, verify:
        • The original assignment grade (without penalty) from the current active attempt is shown in the grade column. (If you haven't added a new grade once the new attempt has been granted, then there a grade won't be shown)
        • The grade with applied penalty is shown in the final grade (gradebook grade) column.
      7. Go to the course grader report (Grades > Grader report) 
      8. Verify that the grade in the gradebook is deducted according to the penalty rules and has a penalty indicator.
      9. Log in as the student and go to the assignment.
      10. Verify that penalized grades are shown to the student on both "Feedback" and the previous attempt sections

      Testing: Overridden grade should discard penalty

      1. (Continue from the previous step)
      2. Log in as the teacher
      3. Go to grader report
      4. Notice there is a penalty indicator on the student's grade
      5. Turn on editing
      6. Override the grade for the student on the assignment
      7. Turn off editing and verify:
        • The overridden grade is the same as the on the teacher has entered (No penalty is applied)
        • There is no penalty indicator on the overridden grade.
      8. Go to the assignment - submission page and verify:
        1. There is no penalty indicator on the final grade (if there is n)
      9. Log in as the student
      10. Go the the assignment page and verify:
        1. Feedback section: the grade is the overridden grade, and there is no penalty indicator
        2. Previous attempt: should show penalized grades, and there are penalty indicators
      Show
      Enable "Late submission penalty" plugin Go to "Grades > Grade penalties > Manage penalty plugins* in site administration: Click on 'toggle' button to enable 'Late submission penalties' plugin Go to "Grades > Grade penalties > Late submission penalties > Penalty rules": Create some penalty rules Enable "Grade penalty" for assignment Go to "Grades > Grade penalties > Manage supported activities": Verify there is no more "Apply penalty to overridden grades" checkbox  Click to select "Assignment" and save changes Testing: Penalty implementation on an assignment Create a test course Create an assignment in the course: Set due date to "Yesterday" / a date in the past Submission types: online text Make sure grade type is set to point Enable "Grade penalties" under "Grade" section Require students to click the submit button: Yes Allowed attempts: Unlimited Grant attempts: Manually Enrol a student to the course Log in as the student, go to the assignment and add a submission. Log in as a teacher, mark the submission of the student and then allow another attempt. In the assignment "Submissions" page, verify : The original assignment grade (without penalty) from the current active attempt is shown in the grade column. (If you haven't added a new grade once the new attempt has been granted, then there a grade won't be shown) The grade with applied penalty is shown in the final grade (gradebook grade) column. Go to the course grader report (Grades > Grader report)  Verify that the grade in the gradebook is deducted according to the penalty rules and has a penalty indicator. Log in as the student and go to the assignment. Verify that penalized grades are shown to the student on both "Feedback" and the previous attempt sections Testing: Overridden grade should discard penalty (Continue from the previous step) Log in as the teacher Go to grader report Notice there is a penalty indicator on the student's grade Turn on editing Override the grade for the student on the assignment Turn off editing and verify : The overridden grade is the same as the on the teacher has entered (No penalty is applied) There is no penalty indicator on the overridden grade. Go to the assignment - submission page and verify : There is no penalty indicator on the final grade (if there is n) Log in as the student Go the the assignment page and verify : Feedback section: the grade is the overridden grade, and there is no penalty indicator Previous attempt: should show penalized grades, and there are penalty indicators
    • Hide

      Code verified against automated checks.

      Checked MDL-85012 using repository: https://github.com/mihailges/moodle.git

      More information about this report

      Built on: Fri Apr 4 10:16:41 UTC 2025

      Show
      Code verified against automated checks. Checked MDL-85012 using repository: https://github.com/mihailges/moodle.git main (0 errors / 0 warnings) [branch: MDL-85012-main | CI Job ] More information about this report Built on: Fri Apr 4 10:16:41 UTC 2025
    • Show
      Launching automatic jobs for branch MDL-85012 -main https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/18924/ PHPUnit (sqlsrv / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/64775/ Behat (NonJS - boost and classic / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/64776/ Behat (Firefox - boost / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/64777/ Behat (Firefox - classic / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/64778/ App tests (stable app version) / complete) Built on: Fri Apr 4 10:10:56 UTC 2025

      The "Apply penalty to overridden grade" should be removed.

      It is not in line with the way gradebook is working.

       

        1. (1) 2 Passed -- (Main)MDL-85012.png
          53 kB
          Kim Jared Lucas
        2. (2) 10 Passed -- (Main)MDL-85012.png
          97 kB
          Kim Jared Lucas
        3. (2) 6 Passed -- (Main)MDL-85012.png
          130 kB
          Kim Jared Lucas
        4. (2) 9 Passed -- (Main)MDL-85012.png
          72 kB
          Kim Jared Lucas
        5. (3) 10 Passed -- (Main)MDL-85012.png
          91 kB
          Kim Jared Lucas
        6. (3) 7 Passed -- (Main)MDL-85012.png
          73 kB
          Kim Jared Lucas
        7. (3) 8 Passed -- (Main)MDL-85012.png
          100 kB
          Kim Jared Lucas

            Nguyen Nathan Nguyen
            Nguyen Nathan Nguyen
            Alexander Van der Bellen Alexander Van der Bellen
            Mihail Geshoski Mihail Geshoski
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 26 minutes
                26m

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