A collection of functions to apply lateness policies if the lateness of an assignment falls within a specified threshold
until()
determines if the lateness forassignments
is less than or equal tolate_policy
between()
determines if lateness forassignments
is betweenlate_policy
after()
determines if lateness forassignments
is more than or equal tolate_policy
add()
addslate_policy
to score if the lateness of theassignments
is within the threshold (Note: a positive value forlate_policy
would increase the score for that assignment)scale_by()
scales score bylate_policy
if the lateness of theassignments
is within the thresholdset_to()
sets score tolate_policy
if the lateness of theassignments
is within the threshold
Usage
until(grades_mat, late_policy, original_late_mat, assignments)
add(grades_mat, late_policy, original_late_mat, assignments)
between(grades_mat, late_policy, original_late_mat, assignments)
scale_by(grades_mat, late_policy, original_late_mat, assignments)
after(grades_mat, late_policy, original_late_mat, assignments)
set_to(grades_mat, late_policy, original_late_mat, assignments)