MDL-47011 core_grade: added naive natural weight calculation to gradebook