eoas-ubc / eoas_tlef

developing jupyter courseware for eoas 2020
BSD 3-Clause "New" or "Revised" License
4 stars 6 forks source link

nbgrader workflow #58

Open phaustin opened 2 years ago

phaustin commented 2 years ago

1) review how to use nbgrader

phaustin commented 2 years ago

1) make several attempts for the four students in classlist.csv with filenames like:

-rw-r--r-- 1 phil docker 0 Aug 6 13:50 wozniak_731093_66388337_lab_wk2_good.ipynb -rw-r--r-- 1 phil docker 0 Aug 6 13:49 torvalds_965120_66388380_lab_wk2_try1.ipynb -rw-r--r-- 1 phil docker 0 Aug 6 13:48 rossum_605072_99788380_lab_wk2_try3.ipynb -rw-r--r-- 1 phil docker 0 Aug 6 13:46 turing_510720_311380_lab_wk2_final.ipynb

2) zip those together to make a zipfile that mimics the zipfile we'll get from canvas

zip test.zip *.ipynb

(to check, you can list the zipfile contents using zipinfo)

3) run write_zipfile to turn the test.zip into a file that canvas can read:

write_zipfile test.zip lab2_extracted.zip  lab_wk02 lab_wk2.ipynb

3) We can read lab2_extracted.zip into nbgrader by putting it into the extracted folder and running nbgrader zip_collect

4) autograde the labs

5) manually grade the manual questions