Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Grading with Otter

Otter grades Jupyter notebook assignments by running each student’s notebook against a set of tests and reporting a score per question. You give it two things: the student notebooks, and the assignment’s autograder.zip, which holds the tests and the solutions. It gives you back a CSV of grades to upload to your LMS.

You do not need to install anything. There are two ways to run it:

Both produce the same grades. The in-browser version is the quickest place to start.

Get access

What you need depends on where your assignments come from.

If you teach Data 8 from the shared materials, complete the Instructor Interest Form and include your GitHub username. You will get two GitHub invitations. Accept both:

If you wrote your own assignments with Otter, you already have an autograder.zip from otter assign. To use the hosted grader, email help@cloudbank.org with your GitHub username and we will add you to the otter-service-stdalone organization. The in-browser version needs no access.

Grade in your browser

  1. Open Otter Service In-Browser.

  2. Upload the assignment’s autograder.zip.

  3. Upload the student submissions: individual notebooks, or the zip your LMS exports.

  4. Add a batch for each assignment you are grading, and download the grades CSV for each batch.

Grade with the hosted grader

This five-minute screen recording walks through the same steps.

  1. Sign in. Once you have accepted the otter-service-stdalone invitation, sign in to grader.datahub.berkeley.edu with your GitHub account.

  2. Download the student submissions. Export them from your LMS. You can grade a whole folder by zipping it and uploading the zip, or grade one notebook at a time by uploading the notebook itself.

  3. Download the autograder.zip. For Data 8, open the private solutions repository, browse to the autograder_zips folder, and download the zip for the assignment you are grading.

  4. Upload and grade. In the Grade section, upload the autograder.zip and the submissions, then select Grade Notebooks. A download code appears under the button. Keep it.

  5. Download the results. Grading takes about a minute per ten notebooks. When it finishes, enter the code in the Results section. A folder downloads with a CSV of grades by notebook and a log file. If anything failed, check the log file first.

Grading checklist

Things to know