Problem: When generating a Colab notebook using Otter-Grader, I noticed that I have to manually add the line %pip install -q otter-grader as the first code cell to ensure that otter-grader is installed in the Colab environment. I expected that the runs_on: colab setting in the Assignment Config would automatically add this cell to the student notebook, but this doesn’t happen.
Proposed Solution: It would be helpful if, when using the runs_on: colab option in the Assignment Config, Otter-Grader could automatically insert the %pip install -q otter-grader cell at the top of the generated notebook.
Problem: When generating a Colab notebook using Otter-Grader, I noticed that I have to manually add the line
%pip install -q otter-grader
as the first code cell to ensure thatotter-grader
is installed in the Colab environment. I expected that theruns_on: colab
setting in the Assignment Config would automatically add this cell to the student notebook, but this doesn’t happen.Proposed Solution: It would be helpful if, when using the
runs_on: colab
option in the Assignment Config, Otter-Grader could automatically insert the%pip install -q otter-grader
cell at the top of the generated notebook.