We will use Gradescope to collect your homework and grade it. This will reduce the turnaround time, and you will get more consistent and rapid feedback.
The homework submission workflow below is a bit more complex than it could be if a few changes were made to Gradescope. These changes may happen in the near future. For now,
Follow the instructions below scrupulously for full credit.
The first time around, please read the long version below, as details matter. For later assignments, it may be more convenient to refer to the short version at the bottom of this page.
There are multiple ways to achieve slightly different versions of the same outcome. Please do not be tempted to improvise.
In particular, there are a few different ways to obtain a PDF file from a Jupyter notebook. Do not make PDF files by running
File->Download as->PDF via LaTeX. These methods will not reproduce all aspects of your noteboook, and you may lose credit for things not showing up where they are supposed to.
In the instructions below,
0n stands for a two-digit integer that numbers the current assignment (for instance,
To submit your homework for grading, assuming that your notebook
homework0n.ipynb is open in the Jupyter notebook editor, do the following:
Kernel->Restart & Run All.
File->Download as->HTML (.html). This will download an HTML version
homework0n.htmlof your notebook to your computer, typically in your
Downloadfolder. You may want to move that to a place where you can find it later if needed.
homework0n.htmlin your web browser (just double-click on it).
File->Printcommand of your browser to produce a PDF file.
Change Destinationbutton or something similar, but the option to print to PDF is available at least in Firefox, Chrome, Safari, and Internet Explorer. Results from these browsers vary slightly, but are generally acceptable. (We consistently obtain the best results with Firefox.)
homework0n.pdfand your notebook
homework0n.ipynb. Do not submit your HTML file.
Homework n PDFis what we actually grade. We refer to your
Homework n NBsubmission only if and when when we want to run your code to understand what is going on.
n, these will be called
Homework n PDFand
Homework n NB.
Homework n PDF: Submit
homework0n.pdfto this Gradescope assignment.
Homework n NB: Submit
homework0n.ipynbto this Gradescope assignment. Make sure you list all the group members. This assignment interface will mention an autograder. Ignore that. Also, there is no answer-to-page mapping for this submission.
(You have completed your
homework0n.ipynb in the Jupyter editor.)
Kernel->Restart & Run Allto execute the notebook from a blank slate
Double-check text, math, code, outputs, figures. Re-run if needed
File->Download as->HTML (.html) to make
homework0n.html in your web browser
File->Print (Save as PDF) in your browser to make
homework0n.pdfper group to Gradescope
Homework n PDF
homework0n.ipynbper group to Gradescope
Homework n NB