edulinq / autograder-py

The Python interface to the autograder.
MIT License
4 stars 7 forks source link

Allow for Assertion-Like Statements #4

Closed eriq-augustine closed 8 months ago

eriq-augustine commented 10 months ago

This would require some refactoring to questions, but would allow some more natural grader code.

For example, Question.fail() should throw a specific type of exception that is caught by the framework and recognized as not an error in the code/grader, but just a quick escape.

eriq-augustine commented 8 months ago

Done.