Skip to content
wiseoddPublic

About

Gradescope-compatible autograder for marimo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

mogs

mogs: marimo + Gradescope

Gradescope-compatible Marimo autograder. Alternative to Otter-Grader

Docs: Quickstart Instructors Students
Python 3.13+ License: MIT

Installation

Install uv. Then:

uv tool install mogs

The command is mogs.

Usage

Create an assignment (replace <name> with your assignment name) and edit it in marimo's editor:

mogs init <name>
mogs edit <name>

This will create a directory called <name> with <name>.py inside. You can change <name>.py if you want. This Python file is a marimo notebook and it has a short guide and two example questions (see docs; full example here).

Say the assignment is in the directory demo, with the notebook demo/hw.py. Then:

mogs build demo

In demo/dist/student, it will output hw.zip. It contains the student notebook (hw.py), its public tests (tests/), and any data attached to the notebook (if any). Distribute it to your students. Refer your students to https://mogs.kristia.de/students/.

In demo/dist/autograder, it will output hw-autograder-*.zip and hw.py. Upload the former to Gradescope. The file hw.py here is like the one in the student zip, but with full solution. It's useful to check the autograder on Gradescope.

More info: https://mogs.kristia.de

Development

make check   # ruff, ty, pytest
make docs    # build the docs site into docs/dist

mogs is not affiliated with or endorsed by marimo or Gradescope.

About

Gradescope-compatible autograder for marimo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages