Docs

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


class mcautograder.notebook.Notebook(tests=".tests.py", scored=False, max_attempts=None)

Initlaizes multiple choice autograder.

Args:

Kwargs:

Returns:

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

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

Args:

Returns:

method mcautograder.notebook.Notebook.score()

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


function mcautograder.utils.repeat(x, n)

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

Args:

Returns:

function mcautograder.utils.serialize(obj, file)

Serializes an object and writes its bytes to a file

Args: