MDL-47055 core_grade: implemented support for extra credit within natural weighting