Instructors have the ability to view and download student submissions for any zyLabs being used in their zyBooks. Instructors can also give their TAs permission to view student submissions. This can be useful for checking student code and helping students who might be struggling.
How to download submission data
There are a number of different locations and ways to download student submission data. First, navigate to the cards below the Advanced zyLab you want to inspect. Click "show" to open that card.
Lab statistics
At the bottom of this card, there is a button labeled "Download best submissions". Click this button, to download a zip file containing the most recent, highest-scoring submission files from each student who has submitted.
The other button, "Download lab workspaces", will download workspaces in their current state.
The statistics, and these downloads, can be filtered to specific sections, and up until a set date and time.
Student behavior insights
The "Download insights data" button in the top right of this card downloads the table of data visible in the card. That data is based on all submissions and runs, and indicates only learners whose work is noted as an outlier.
The table, and download, can be filtered down to the section and individual/group.
The files being analyzed, and therefore the data in the table and download, can also be changed by clicking edit "Analyzed Files." This can be very useful when some files will be similar among all learners, or where pasting is expected. Omitting them in the analyzed files omits data related to those files from being listed in the table.
Similarity detection
To reach the downloads in the similarity detector, a "Run with best submissions" or "Run with current workspaces" must be completed. Once either has been run, a "Previous check" can be opened, or another run can be made.
Once a similarity check has been run, or a previous one opened, any similar sets of submissions will be shown, and the file comparison for the highlighted set will show up at the bottom.
In the top right, the "Download sets" button will download a CSV containing the data from the table.
Near the bottom, the "download submission files" button will download both of the highlighted learner's similar files. The file being compared and downloaded can be changed in the "Jump To:" dropdown.
Student activity
Student activity displays all student work. Instructors, and TAs with permission, can view that work, and download workspaces. The "Download student activity data" will submission date, scores, and test bench results for all learners indicated by the applied filter who have submitted.
To download workspace files, open a learner by clicking the \/ down chevron for that learner. Then, open "Files" menu in the top left of their workspace, and click the download button to get the entire workspace. Alternatively, click the three-dot menu to download specific files.
If the learners are working in VSC, or another IDE environment, click the settings menu in the top left of their workspace before downloading the workspace files.
View submissions
The Advanced zyLab allows learner work to be viewed at any time, including while they are working. Learner work is visible in the student activity card. Alternatively, click on any learner in the student insights' table to automatically filter student activity for that learner. After clicking the \/ down chevron, S10 in this example, that learner's current workspace will be opened.
For the workspace below, this learner has that workspace open. See their presence indicator by the run button, and some code they currently have highlighted. Note, presence indicators alone are not necessarily an indicator the learner is actively working.
With the learner open, click the Coding trail to jump to any run or submission in their history. That will allow you to view their work at that time. Here, the submission scoring a 0 is clicked, and the history automatically opens to that code state.
Learn more about history here.
Full test results for a given submission are visible below that student's IDE after clicking the \/ down chevron to expand them.
Check IP addresses
Click "show" to open the "Lab statistics and submissions" card. On the top right of that card is a button labeled "IP / user agent report".
Clicking that button downloads a CSV with a list of student names, their IP addresses, their User-Agent strings, and their submission times. Note that the submission timestamp is always in UTC.