This is a staging copy of the PARASOL documentation, published for review before it goes live. Pages here may be unfinished, unreviewed or wrong, and they can change or disappear without notice.
This documentation is in draft and under active review. Figures for the Fall 2026 GPU reservation system are not yet published, and some pages describe behavior that has not been verified against a primary source. Confirm any figure with parasol@ucsd.edu before relying on it.
Follow the nbgrader workflow for a Datahub course, from creating an assignment
to importing its grades into Canvas. nbgrader runs inside Datahub from a shared
course grader account. If you have not chosen a grading tool yet, see
Choosing a Grading Tool & Interface.
Each Datahub course is issued one shared nbgrader TA grader account, and its
credentials go to the instructor before instruction begins. nbgrader works only
from that account. An instructor's or TA's own account cannot use it.
The grader account is shared course infrastructure. Its local environment must
not be reset or cleaned by hand. Request any reset or cleanup in the course
ticket. Common Grading Failures & Recovery lists known
failures of the grader environment and their recovery.
Assignment file size is capped at 100MB by default. Raising the limit requires
editing nbgrader_config.py in the course environment. Contact ITS at
parasol@ucsd.edu before raising it.
Open the assignment notebook and turn on the nbgrader cell toolbar with
Nbgrader → Create Assignment or the panel on the right-hand side of the
notebook. In the classic interface, the toolbar is under
View → Cell Toolbar → Create Assignment. Every cell then carries a grading
control.
Cell type
Use
Manually graded answer
A free response, in one cell
Manually graded task
Work the student does across cells, such as processing data and plotting it
Autograded answer
Code the student writes, tested later
Autograder tests
assert statements that grade an autograded answer
Read-only
Anything students must not change, including test cells
Every marked cell needs an ID, and a point value where one applies.
Do not ask students to copy a read-only or autograded cell. Copying one corrupts
the notebook's metadata and blocks autograding.
Common Grading Failures & Recovery covers recovery.
Select Generate in Manage Assignments. This creates release/,
mirroring source/ with solutions stripped.
Preview the release version
Preview the release version and confirm that the hidden tests are hidden.
Release
Select Release. The button becomes an "x"; clicking it again un-releases
the assignment. Un-releasing does not recall copies that students have
already fetched.
Collect after the deadline
Select Collect after the deadline. A pop-up reports how many submissions
came in.
Course materials that are not nbgrader assignments, such as lecture notebooks
and data, are usually distributed with a git-pull link. The most common
failure of the link is a student clicking it before signing in.
Datahub in the Browser covers signing in.
In Manage Assignments, click the submission count to open
Manage Submissions. Grade one submission with Autograde, or grade all of
them at once with the command line shown under the Instructions tab.
Results are written to autograded/.
After autograding, each submission shows as graded or
needs manual grading. Submissions that need manual grading are worked
through in the Manual Grading tab, where per-cell comments are also added.
Returning feedback takes two steps, and both are required.
Generate Feedback builds an HTML breakdown of each student's assignment.
Release Feedback makes it visible to the student.
Grade export is manual. nbgrader export produces grades.csv, and course
staff upload that CSV to Canvas. There is no automatic route from Datahub to the
Canvas gradebook.
Export fails for two known reasons: an assignment created with a space in its
title, and an assignment deleted through the filesystem rather than with
nbgrader db assignment remove. In both cases, delete the assignment properly
and run the export again.
Common Grading Failures & Recovery covers recovery.
Access to the grader account ends on the same date as instructor and student
access to the course. See
One Additional Quarter.
Export grades and any other grading data that must be kept well before that
date, following
Retrieving Work Before Access Ends.
The exported CSV, like other grading data, is student record data. Once
downloaded, it leaves the platform and is stored on a local machine. Handle and
dispose of it in line with Policy.
Map any assignment Canvas does not recognize. Canvas offers a
--Choose Assignment-- dropdown for each unknown assignment. Pick the
matching Canvas assignment, or create one, and set the points it is worth.
Continue to the review screen
Select Continue. Canvas shows every student and their new grade, with
changes highlighted in red.
Review, then save
Review that screen, then select Save Changes.
The highlighted rows are the grades about to change. The review screen is the
last point before Canvas writes them.
Canvas carries course membership into Datahub and creates teams from Canvas
groups. It does not receive grades from nbgrader or from Datahub by any
automatic route, and a Canvas account is not the account used to sign in to
Datahub.
Enrolled student access comes from TSS course rosters; auditors, observers, TAs,
and other course staff are added through Canvas. See
Students Enrolled in a Course.
On the Otter and Gradescope routes, grades reach Canvas through Gradescope, not
through Datahub. A course that needs automatic grade transfer uses a Gradescope
route.
Choosing a Grading Tool & Interface compares the
routes.