Members
# static constant exports.assertICE
Throws error if obj is not an ICE object.
# static constant exports.getEarnedICE
Returns an ICE object that represents the earned ICE points from the passed Course\Opportunity Instance Documents. ICE values are counted only if verified is true.
# static constant exports.getProjectedICE
Returns an ICE object that represents the total ICE points from the passed Course/Opportunity Instance Documents. ICE values are counted whether or not they are verified.
# static constant exports.gradeCompetency
The competency points earned for each grade A, B, or C.
# static constant exports.isICE
Returns true if the object passed conforms to the ICE object specifications. Note this does not test to see if additional fields are present.
# static constant exports.makeCourseICE
Returns an ICE object based upon the course slug and the passed grade. Students only earn ICE competency points for 'interesting' courses. Interesting courses are courses that have non other slugs. If an A, then return 9 competency points. If a B, then return 5 competency points. Otherwise return zero points.