Skip to contents

Gradescope Data Functions

These functions are to read in and process data from a grading platform such as Gradescope.

read_files()
Read in File(s) from Grading Platform(s)
process_gs()
Process Gradescope Data
check_data_format()
Check Formatting of Grades Data
get_id_cols()
Get the ID Columns for Gradescope Data
get_assignments()
Get the Assignment Names for Gradescope Data
determine_grade_source()
Predict the source of grade dataframe.
read_gs()
Read Gradescope CSV File

Policy File Functions

These functions are to read in and process the policy file.

read_policy()
Read Grading Policy .yml
process_policy()
Process Policy File
reconcile_policy_with_gs()
Reconcile Policy File with Gradescope Data
flatten_policy()
Flatten Policy File ("Un-nest" the Nested Structure of Policy File)
get_categories()
Get the Category Names for Policy
get_nested_assignments()
Get the Nested Assignments for Category

Grading Functions

These functions are to grade the processed Gradescope data based on the criteria in the processed policy file

get_grades()
Get Grades
calculate_grades()
Calculate Grades
get_category_grade()
Calculate A Single Category Grade
score() aggregation() lateness() drop_n_lowest() aggregation_max_pts() aggregation_lateness()
Key Functions
raw_over_max()
Score Functions
equally_weighted() weighted_by_points() max_score() min_score() weighted_mean() none()
Aggregation Functions
sum_max_pts() mean_max_pts()
Aggregation for Maximum Possible Points Functions
until() add() between() scale_by() after() set_to()
Lateness Functions
mean_lateness() sum_lateness() max_lateness()
Aggregation for Lateness Functions
apply_slip_days()
Apply Slip Days

Demo Items

These items are used to demonstrate the functionality of this package.

gs_demo
Gradescope Demo Data
policy_demo
Policy Demo File