Grader Examples (Python)

If you haven’t already, check out Writing a Grader (Python) before looking at some examples.

Note

These are Python grader examples. For Java assignments, see Grader Examples (Java).

The following graders range from simple, to more sophisticated.

To see an example of a grader that looks for a specific function name in a student script, see addition.

To see an example of a grader that gives specific permissions on files, check out file_io.