Namespace

api/ice

api/ice

Members

# static constant exports.assertICE

Throws error if obj is not an ICE object.

View Source api/ice/IceProcessor.ts, line 58

# 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.

View Source api/ice/IceProcessor.ts, line 99

# 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.

View Source api/ice/IceProcessor.ts, line 121

# static constant exports.gradeCompetency

The competency points earned for each grade A, B, or C.

View Source api/ice/IceProcessor.ts, line 39

# 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.

View Source api/ice/IceProcessor.ts, line 51

# 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.

View Source api/ice/IceProcessor.ts, line 75