Finding Solution Code in Codio Courses

Jason Carroll Updated by Jason Carroll

Overview

In some Codio courses, faculty or facilitators may need to access the solution code for assignments. The location and format of the solution code can vary depending on the course setup. This guide explains the most common methods for finding solution code and provides tips for different course types.

Jupyter Notebook–based units

For courses built with Jupyter Notebooks, especially those using Codio’s nbgrader system, the solution code is embedded directly in the notebook.

Steps:

  1. Navigate to the page that includes the Codio unit.
  2. In Teacher view, click Edit Assignments.
  3. Click the assignment to be reviewed in the main codio panel
  4. Scroll through the notebook — look for sections marked:
## begin solution
<solution code here>
## end solution

Non-Jupyter Codio Units

In non-Jupyter Notebook assignments (e.g., text instructions plus files), the solution code is stored in a secure folder within Codio’s file tree.

Steps:

  1. Open the assignment.
  2. Click the Edit Assignment option.
  3. In the file navigation panel, go to the following folders: Content → Secure → Solution
  4. In the Solution folder, you’ll find the answer code files. These may sometimes also be paired with a Guides folder containing walkthrough notes.

Reference Sandbox & Examples

To familiarize yourself with different unit setups, you can explore the Codio Unit Types (Grading Types) Sandbox in Canvas. This course is a good resource for finding solutions in different formats. It's useful for creating screenshots for documentation or faculty guidance. This sandbox contains examples of:

  • Jupyter Notebook units with begin solution / end solution markup.
  • File-based units with secure solution folders.
  • Other variations depending on course design.

Best Practices for Facilitators

  • Always confirm whether you are in Teacher Mode when searching for embedded solutions.
  • Avoid modifying solution files in a live course — changes can affect student grading.
  • Document the exact path or method for accessing solutions if you are working with multiple faculty members on one course.
  • When possible, include screenshots in guidance you share with faculty to reduce confusion.

How did we do?

Contact