validations for grades and scaling factors