Otter-grader

Latest version: v6.0.4

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 16

4.0.1

* Fix Otter Grade Dockerfile per [517](https://github.com/ucbds-infra/otter-grader/issues/517)
* Fix display of Public Tests output on Gradescope due to new output format
* Updated Otter Export to only import the HTML exporter and its dependencies when an HTML export is indicated per [520](https://github.com/ucbds-infra/otter-grader/issues/520)

4.0.0

* Added a new test file format based on raising exceptions per [95](https://github.com/ucbds-infra/otter-grader/issues/95)
* Refactored execution internals to remove mocks and AST parsing
* Added use of `tempfile` to store the executed source for compilation per [229](https://github.com/ucbds-infra/otter-grader/issues/229)
* Added use of `wrapt` for `otter.Notebook` method decorators
* Set `export_cell: run_tests: true` and `check_all_cell: false` as new defaults for Otter Assign per [378](https://github.com/ucbds-infra/otter-grader/issues/378)
* Made the v1 format of Otter Assign the default and added the `--v0` flag to the CLI
* Converted logging in some of Otter's tooling from `print` statements to the `logging` library, and added verbosity flags to each command
* Updated containerized grading to better handle grading single files
* Made Otter compatible with Jupyterlite per [458](https://github.com/ucbds-infra/otter-grader/issues/458)
* Added Otter Assign R Markdown format v1 per [491](https://github.com/ucbds-infra/otter-grader/issues/491)
* Refactored Otter Assign internals per [491](https://github.com/ucbds-infra/otter-grader/issues/491)
* Converted user-supplied configuration management and documentation to `fica` per [485](https://github.com/ucbds-infra/otter-grader/issues/485)
* Added assignment names to Otter Assign and Otter Generate that can be verified by Otter Run to prevent students from submitting to the wrong autograder per [497](https://github.com/ucbds-infra/otter-grader/issues/497)
* Set the default version of `ottr` to v1.2.0

3.3.0

* Made `otter.check.utils.save_notebook` compatible with JupyterLab and RetroLab per [448](https://github.com/ucbds-infra/otter-grader/issues/448)
* Add `libmagick++-dev` to Gradescope R autograding image

3.2.1

* Display instructor-specified messages ahead of doctest messages per [441](https://github.com/ucbds-infra/otter-grader/issues/441)
* Round point values for display to 5 decimal places in Otter Assign per [457](https://github.com/ucbds-infra/otter-grader/issues/457)

3.2.0

* Changed Otter Generate to accept the path to the zip file to write as the output argument rather than a directory in which to write a file called `autograder.zip`
* Changed the file name of the zip file generated by Otter Assign to include the master notebook basename and a timestamp per [401](https://github.com/ucbds-infra/otter-grader/issues/401)
* Made `xeCJK` in Otter Export's LaTeX templates optional per [411](https://github.com/ucbds-infra/otter-grader/issues/411)
* Removed concise error messages and debug mode from Otter Export, instead opting to always display the full error message, per [407](https://github.com/ucbds-infra/otter-grader/issues/407)
* Upgraded to Ottr v1.1.3
* Set the default for the `--ext` option for Otter Grade to `ipynb` per [418](https://github.com/ucbds-infra/otter-grader/pull/418)
* Fixed the display of success messages when all tests cases pass per [425](https://github.com/ucbds-infra/otter-grader/issues/425)
* Added an error when the expected notebook file does not exist in `otter.Notebook` per [433](https://github.com/ucbds-infra/otter-grader/issues/433)
* Allow unset conda `channel_priority` in R setup.sh files per [430](https://github.com/ucbds-infra/otter-grader/issues/430)
* Reset all cell execution counts in Assign student notebook per [422](https://github.com/ucbds-infra/otter-grader/issues/422)

3.1.4

* Added the question name to the `otter.assign.utils.AssignNotebookFormatException` per [398](https://github.com/ucbds-infra/otter-grader/issues/398)
* Switched from manual install of the fandol font in grading images to installing the `texlive-lang-chinese` package
* Allowed submission zip to be exported even when PDF generation fails per [403](https://github.com/ucbds-infra/otter-grader/issues/403)
* Fixed bug in Otter Assign that fails when a notebook has no tests

Page 7 of 16

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.