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

    • 40
    • BACKEND Sprint 17

      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

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

            damyon Damyon Wiese
            bobpuffer Bob Puffer
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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