Project: moodle
Issue MDL-47062: Create an update script for natural grading
We need an upgrade script to calculate natural weights on grade items when changing from 'sum of grades' to 'natural'. Currently all weights are set to 0.0 when upgrading to this code.
Story points: 8