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

Add extra credit, drop-low/ keep-high, accurate weights and contribution column to User report

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: BACKEND
    • Component/s: Gradebook
    • Labels:
    • Story Points:
      40
    • Sprint:
      BACKEND Sprint 17

      Description

      1. calculate up each container’s (category or course items) adjusted weight percentage and grademax associated with the items adjusted (need this for weighting, so could be done here or after the next step)
      2. calculate points (must be first, you cannot calculate weights until you have the finalgrade and grademax for categories). For each gtree->levels starting with highest (items) to lowest (course) for both finalgrade and grademax
        1. include hidden only if hidetotalsifcontainhiddenitems is set to GRADE_REPORT_SHOW_REAL_TOTAL_IF_CONTAINS_HIDDEN
        2. ignore ungraded items if aggregateonlygraded is set, does not apply when calculating total points for Setup (Categories and items) screen
        3. include extra credit items in finalgrade calculations only, not grademax
        4. ignore items that have been dropped from drop low or keep high
        5. accumulate all other finalgrades and grademaxes into parent category finalgrade and grademaxes
      3. calculate weights (must be done before calculating contributions). For each gtree->levels starting with highest (items) to lowest (course)
        1. weight is always percentage grade * weight... in this case PERCENTAGE:[item grademax / (container grademax - adjusted grademax for the container from step 1)] * WEIGHT:[(100 - adjusted weight for the container from step 1)]
      4. Adjust weights in a container to always equal 100
      5. calculate contributions (needed in order to accurately drop lowest, keep highest. Also needed to provide the most percentages). For each gtree->levels starting with highest (items) to lowest (course)
        1. contribution is always the item’s percentage * the item’s weight * the container’s weight… so (finalgrade / grademax) * item weight * container weight
      6. limit categories - drop lowest, keep highest (need to have contributions in order to accurately drop low and keep high)
        1. remove contribs
        2. remove finalgrades from parent finalgrade
        3. remove maxgrade from parent maxgrade

        Attachments

        1. Highest grade.png
          Highest grade.png
          25 kB
        2. Lowest grade.png
          Lowest grade.png
          25 kB
        3. Mean of grades.png
          Mean of grades.png
          28 kB
        4. Mean of grades with extra credits.png
          Mean of grades with extra credits.png
          29 kB
        5. Median of grades.png
          Median of grades.png
          28 kB
        6. Mode of grades.png
          Mode of grades.png
          22 kB
        7. Screen Shot 2014-06-25 at 10.10.27 AM.png
          Screen Shot 2014-06-25 at 10.10.27 AM.png
          344 kB
        8. Simple weighted mean of grades.png
          Simple weighted mean of grades.png
          29 kB
        9. Sum of grades.png
          Sum of grades.png
          29 kB
        10. Weighted mean of grades.png
          Weighted mean of grades.png
          29 kB

          Issue Links

            Activity

              People

              Assignee:
              damyon Damyon Wiese
              Reporter:
              bobpuffer Bob Puffer
              Peer reviewer:
              Frédéric Massart
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: