Natural weighting: Difference between revisions
Line 62: | Line 62: | ||
==Logic changes== | ==Logic changes== | ||
Sum of Grades aggregation must be fixed to respect hidden items setting and to Exclude non-graded items (new terminology) | |||
Natural weights must be saved and applied to the form. | |||
Results are stored directly into grade_grades table. | |||
(Bob, we need an exact description of the expected mathematics here, using an example of items A, B, C, D, hidden E, and nongraded F, with weights Aw, Bw, Cw, Dw, Ew and Fw). | |||
== See also == | == See also == |
Revision as of 13:55, 12 July 2014
Natural Weighting | |
---|---|
Project state | Specification |
Tracker issue | https://tracker.moodle.org/browse/MDL-43378 |
Discussion | https://moodle.org/mod/forum/discuss.php?d=245442 |
Assignee | Moodle HQ |
Note: This page is a work-in-progress. Feedback and suggested improvements are welcome. Please join the discussion on moodle.org or use the page comments.
Description
Natural weighting is a modification to how grades are combined.
When 'Sum of Grades' aggregation is chosen (and natural weighting is active), there will be a weight column with form fields, looking exactly like "Weighted mean" is now. By default, the weight column shows the natural weights given to all categories and items based on gradebook structure (exactly as Simple weighted mean does now).
Weights can be overridden by modifying the values in the form fields. All the numbers in a category will be automatically normalised (on save) to add up to 100%.
A "Reset weights" button in each category resets the weights to their defaults.
Rationale
This interface is expected to suit the needs of most teachers, and will allow them to avoid using other aggregations. Admins can therefore hide the aggregation menu and simplify the interface. If it turns out that this is enough for everyone then we can potentially remove quite a lot of aggregation code from the gradebook at a later stage, improving speed and readability.
(Bob, we need a description here of exactly HOW each of the old calculations can be implemented, or not, via this new interface:).
- Sum of grades
- leave all the weightings to be the same?
- Mean of grades
- ??
- Weighted mean of grades
- ??
- Simple weighted mean of grades
- ??
- Mean of grades (with extra credits)
- can't be done?
- Median of grades
- can't be done
- Lowest grade
- can't be done
- Highest grade
- can't be done
- Mode of grades
- can't be done
Implementation stages
To be safe, we plan to implement this in stages:
STAGE 1) Implement natural weighting as part of the Sum of Grades aggregation type, with admin settings that allow them to disable all other aggregations if they choose. (Moodle 2.8)
STAGE 2) Once people have been using this for a while, explore the possibility of removing other aggregation code or making them into optional plugins. (Moodle 3.0 perhaps)
Interfaces
Category editing
(We need a full mockup here)
Admin settings
New setting to "Force Natural Weighting" - this will hide the aggregation menu and all new categories will default to "Sum of grades" and natural weights. It will not affect existing gradebooks with other aggregations set, so we probably need some sort of upgrade script that can detect, display and optionally convert any other aggregations to this one as required.
Upgrade changes
None
Database changes
None?
Logic changes
Sum of Grades aggregation must be fixed to respect hidden items setting and to Exclude non-graded items (new terminology)
Natural weights must be saved and applied to the form.
Results are stored directly into grade_grades table.
(Bob, we need an exact description of the expected mathematics here, using an example of items A, B, C, D, hidden E, and nongraded F, with weights Aw, Bw, Cw, Dw, Ew and Fw).