Docs

This page contains the documentation for the classes and methods in the mcautograder package.


class notebook.Notebook

Multiple choice question autograder for Jupyter Notebook

method notebook.Notebook.check(self, identifier, answer)

Visible wrapper for Notebook._check_answer to print output based on whether or not student's answer is correct

Args:

Returns:

method notebook.Notebook.score(self)

If assignment is scored, displays student's score as fraction and percentage.


function utils.repeat(x, n)

Returns a list of a given value repeated a given number of times

Args:

Returns:

function utils.serialize(obj, file)

Serializes an object and writes its bytes to a file

Args: