An extra column will need to the added to the scales table to (optionally) store a mapping of scale items to points.
This column will need to be used when converting a raw scale item to a normalised, bounded value for the gradebook finalgrade. (see grade_item::bounded_grade).
A "nice" ui needs to be made to edit these mappings.
These custom mappings need unit tests.