Assignments and related code from MSPA Predict 412