A collection of functions that correspond to the keys used in the policy YAML file: each function/key corresponds to a specific cluster of grading functionality.
score()
computes the percentage score and saves back into the column with the original assignment scoreaggregation()
computes the category score by aggregating the associated assignment scoreslateness()
applies any relevant lateness penalty within the given thresholdsdrop_n_lowest()
drops the n lowest assignment scores; if n >= num of assignments, returns highest assignment scoreaggregation_max_pts()
computes the maximum possible points for each categoryaggregation_lateness()
computes the aggregated lateness for each category
Usage
score(grades_mat, policy_line, category, assignments, weights = c())
aggregation(grades_mat, policy_line, category, assignments, weights = c())
lateness(grades_mat, policy_line, category, assignments, weights = c())
drop_n_lowest(grades_mat, policy_line, category, assignments, weights = c())
aggregation_max_pts(
grades_mat,
policy_line,
category,
assignments,
weights = c()
)
aggregation_lateness(
grades_mat,
policy_line,
category,
assignments,
weights = c()
)