Homeworks are due at the beginning of class on the due date.
Homeworks submitted more than two minutes after class starts will not
be graded. Homework submissions must follow the policy detailed below,
otherwise they will not be graded. If the TAs are asked to regrade a
problem that did not adhere to the guidelines, we will treat the
homework as a late submssion.
- Homework must have your eid or full name as listed on Blackboard.
- Homework must be printed or handwritten. The only exceptions are
the R scripts that we ask you to submit. We will not print any of the
homeworks.
- R scripts must be zipped (.zip) or compressed tar archives
(.tar.gz). There should only be 1 compressed file per student (no
individual files).
- No nested folders within the student folder.
- R code must be submitted in a .R or .r extension. Embedding code
in a report or in a text file will not be graded.
- R scripts must be named with the problem they are associated with
(e.g. 3.R, 4.R). Our automated script relies on this naming convention
to find the right script. Although we prefer one file per problem,
students can name the parts separately (e.g. 3a.R, 3b.R).
- Any data that was provided on Blackboard will be available in the
folder of code execution. We will not manually correct setwd().
- Only submit the R scripts that are necessary, if you submit 2 R
scripts for the same problem (e.g. 3.R and 3_final.R), we will randomly
decide which R script to execute and your grade will be based on that
one.
R Code Grading Algorithm
A script will unzip / uncompress all the submissions such that each
individual student gets their own folder. Another script will then
traverse each student directory, copy the necessary data into the
folder (e.g. spam.Rdata),
find the appropriate problem files and run the R scripts sequentially.
For example, if the folder has the files 3.R, 4.R, 5.R, the R scripts
will be run in that order in the same environment.