Table of Contents
Codio Reference: Finding Solution Code in Codio Courses
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. Access methods differ by course type: solutions may be embedded inline in the notebook using nbgrader tags, located in a Secure folder within the file tree for older notebooks, or stored in a Secure folder for non-Jupyter units. This guide explains each method and provides tips for locating solution code across different course formats.
Jupyter Notebook–based Units with Nbgrader
For courses built with Jupyter Notebooks, especially those using Codio’s integration with Jupyter's NBGrader utility, the solution code is embedded directly in the notebook. These solutions are located between ## begin solution and ## end solution tags.
Steps:
- Navigate to the page that includes the Codio unit.
- In Teacher view, click Edit Assignments.

- Click the assignment to be reviewed in the main codio panel

- Scroll through the notebook — look for sections marked:
## begin solution
<solution code here>
## end solution
Example:

Older Jupyter Notebook Units (no nbgrader)
Some courses use Jupyter Notebook units that do not include nbgrader markup (## begin solution / ## end solution). In these cases, solution code is stored in separate Jupyter Notebook files rather than embedded inline in the notebook.
## begin solution
<solution code here>
## end solution
If these tags are not present, you’ll need to collapse the Guide panel, open the file tree, and locate the Secure → Solution folder.
Steps:
- Navigate to the page containing the Codio unit.

- In Teacher View in the Codio interface, click Edit Assignment.

- Click on the Codio panel arrow to collapse/close the Guide panel in order to reveal the file tree.

- Click the 'x' symbol to close the Guide tab. The left-hand navigation panel will appear.

- Click the 'x' symbol to close the Guide tab. The left-hand navigation panel will appear.
- On the left-hand file navigation panel:If you cannot see the file tree, click the small arrow/triangle icon to uncollapse it.Open the following folders in the file tree:
.guides→Content→Secure→Solution
- In the
Solutionfolder, you’ll find the answer code files.- These may sometimes be paired with a
Guidesfolder containing walkthrough notes.
- These may sometimes be paired with a
DEMO:

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:
- Navigate to the page containing the Codio unit.
- In Teacher View in the Codio interface, click Edit Assignment.
- Click the Edit button in the upper right corner of the Codio UI window.

- On the left-hand file navigation panel:If you cannot see the file tree, click the small arrow/triangle icon to uncollapse it.Open the following folders in the file tree:
.guides→Content→Secure→Solution

- 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 solutionmarkup. - 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.