Skip to content

Tests Directory with Google Colab #860

Closed Answered by chrispyles
vladtkachuk4 asked this question in Q&A
Discussion options

You must be logged in to vote

What I am wondering is what the best way to distribute the student notebooks would be with Google Colab such that students also have access to the public tests. I don't want them to need to add the tests manually to their drive and then mount and copy it like I have.

I think the easiest thing to do would be to put the in a github repo, clone it at the top of the notebook, and then os.chdir into the repo directory.

Another minor note: I've had to manually add %pip install -q otter-grader as the first code cell to the student generated notebook. I'm assuming there is some Assignment Config setting that should cause for this to automatically be done? I suspected that runs_on: colab would …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vladtkachuk4
Comment options

Answer selected by chrispyles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants