import trac.core class IAssignment(trac.core.Interface): """a single assignment""" def question(): """returns the question (plain text)""" def evaluate(answer): """evaluate the answer test wether it succeeds using (preferrably random!) test data, return a Boolean """