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

Grade to pass of 0 shouldn't count for a scale

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.1
    • Fix Version/s: 2.7.4, 2.8.2
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide

      In a course with some students:

      1. Create a scale with the values of "A,B,C,D,E"
      2. Add a grade item (1) with a range of 0-100, and a grade to pass of 50
      3. Add a grade item (2) with a grade type of the scale set above, leaving grade to pass at 0.00
      4. Add a grade item (3) with a grade type of the scale set above, setting grade to pass at 3.00
      5. For grade item 1, grade a number of students, both above and below 50 points
      6. For grade items 2 and 3, grade a number of students, picking all scale items for each grade item
      7. View the grader report in non-editing mode and confirm:
        • Grade item 1:
          • Grades >50 are red
          • Grades >= 50 are green
        • Grade item 2:
          • All grades are black
        • Grade item 3:
          • Grades A and B are red
          • Grades C, D, and E are green

      Note, that if MDL-48582 isn't integrated, add these styles to the clean custom css on 2.8 and master:

      .path-grade-report-grader span.gradepass {
          color: #298721;
      }
      .path-grade-report-grader span.gradefail {
          color: #890d0d;
      }
      

      Show
      In a course with some students: Create a scale with the values of "A,B,C,D,E" Add a grade item (1) with a range of 0-100, and a grade to pass of 50 Add a grade item (2) with a grade type of the scale set above, leaving grade to pass at 0.00 Add a grade item (3) with a grade type of the scale set above, setting grade to pass at 3.00 For grade item 1, grade a number of students, both above and below 50 points For grade items 2 and 3, grade a number of students, picking all scale items for each grade item View the grader report in non-editing mode and confirm: Grade item 1: Grades >50 are red Grades >= 50 are green Grade item 2: All grades are black Grade item 3: Grades A and B are red Grades C, D, and E are green Note, that if MDL-48582 isn't integrated, add these styles to the clean custom css on 2.8 and master: .path-grade-report-grader span.gradepass { color: #298721; } .path-grade-report-grader span.gradefail { color: #890d0d; }
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull Master Branch:
      MDL-48655-master

      Description

      In the grader report, of you leave grade to pass for a scale graded item at it's default value of 0, it will always show as passed, you have to set it to 1 to 'disable' the grade-to-pass feature, which nobody knows. But for a numeric graded item, leaving it at 0 will 'disable' it.

      Course completion treats anything with a grade to pass of 0 as being disabled, even though the coloring logic in the grader report treats it as a valid value.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Jan/15