Turning In Homeworks

Author

David Evans

Published

April 2, 2026

This guide explains how to complete and submit problem sets for EC 410/510, and how to get new problem sets as they are released.

1 Completing a Problem Set

1.1 Step 1: Copy the Problem Set to a New Location

Each problem set is a Jupyter notebook (.ipynb file) located in the UndergraduateComputationalNotebooks folder you cloned during setup. Do not edit the original file directly — you will need the original folder clean to pull updates later.

  1. Open the UndergraduateComputationalNotebooks folder in VS Code (FileOpen Folder).
  2. In the Explorer sidebar, navigate to the problem-sets/ folder.
  3. Find the problem set you want to work on (e.g., ProblemSet1.ipynb).
  4. Right-click the file and select Copy.
  5. Navigate to a separate folder where you keep your homework (e.g., a Homework folder on your Desktop). Right-click in the Explorer sidebar and select Paste, or simply copy the file using your file manager (Finder on Mac, File Explorer on Windows).
Tip

Create a dedicated folder for your homework submissions, such as EC410-Homework in the UndergraduateComputationalNotebooks.

1.2 Step 2: Answer the Questions

  1. Open your copy of the problem set in VS Code.
  2. Make sure the Julia environment is set to UndergraduateComputationalNotebooks. Check the bottom toolbar: click Julia env: and select UndergraduateComputationalNotebooks if it is not already selected.
  3. You may need to select the julia kernel (top right hand side of the notebook)
  4. Work through the notebook, filling in code cells where you see # Your code here and answering any written questions in Markdown cells.
  5. Run each cell to make sure your code works. You can run a cell by clicking the play button to the left of the cell or pressing Shift+Enter.
  6. Save your work frequently (Ctrl+S / ⌘+S).
Important

Make sure all your cells have been run and the output is visible before exporting. The HTML file will include whatever output is currently shown in the notebook.

1.3 Step 3: Export the Notebook to HTML

Once you have completed the problem set and all cells display their output:

  1. Open your completed .ipynb file in VS Code.
  2. Click the ... (more actions) button in the top toolbar of the notebook.
  3. Select Export.
  4. Choose HTML from the list of export formats.
  5. VS Code will prompt you to choose a save location. You can save the .html file in the same folder as your .ipynb file.
Tip

If you do not see the Export option, make sure you have the Jupyter extension installed (see the Getting Started guide).

1.4 Step 4: Upload to Canvas

  1. Go to the Canvas page and navigate to the appropriate assignment.
  2. Upload both files:
    • The .ipynb file (your notebook with code and output)
    • The .html file (the exported version for easy grading)
  3. Click Submit Assignment.
Warning

Make sure you upload both files. The .ipynb file lets us run your code if needed, and the .html file lets us read your answers quickly.

2 Getting New Problem Sets

New problem sets will be added to the UndergraduateComputationalNotebooks repository throughout the quarter. They will also be posted to Canvas, but the easiest way to get them is to pull the latest version using Git. This downloads any new or updated files without affecting your separate homework folder.

2.1 Pulling Updates in VS Code

  1. Open the UndergraduateComputationalNotebooks folder in VS Code (FileOpen Folder).
  2. Open the Source Control panel by clicking the branch icon in the left sidebar (or press Ctrl+Shift+G).
  3. Click the ... (more actions) menu at the top of the Source Control panel.
  4. Select Pull.
  5. VS Code will download any new or updated files from the repository.
Tip

You can also pull from the terminal. Open a terminal in VS Code (Terminal -> New Terminal), make sure you are in the UndergraduateComputationalNotebooks directory, and run:

git pull

After pulling, check the problem-sets/ folder for any new problem set notebooks. Copy them to your homework folder following the steps in [Step 1] above.

If you run into any issues, don’t hesitate to come to office hours or email me at devans@uoregon.edu.