News‎ > ‎

Download all assignment data!

posted Jan 14, 2014, 12:08 PM by Luca de Alfaro
Assignment managers (both instructors, and TAs listed as observers) can now download all assignment data! 

There are two steps required.  

First, you need to download a Json file that contains a description of the assignment. 
You can do so by going to the assignment, and selecting Download Assignment Data. 

You can then run the downloader via:

./ <assignment_file.json> <destination_directory>

This will produce a directory in <destination_directory>, and it will create one sub-directory for each submission.  In the sub-directory for each submission, you will find the submission metadata, the submission text, the reviews if any, and the files that have been uploaded.  The format should be self-explanatory. 

The reason you have to go through this two-step process is that an assignment can consist of a very large amount of data (up to several GB for some assignments, depending on the files that have been uploaded).  Therefore, downloading an entire assignment can take a long time, and cannot be performed as a single download. 

The downloader code is supplied with a MIT license, so please feel free to improve it and to share back your improvements.