MDL-47058 core_grades: allow alteration of weight

Part of MDL-46576