microsoft / pybryt

Python library for pedagogical auto-assessment
https://microsoft.github.io/pybryt
MIT License
63 stars 19 forks source link

Catch when student implementation fails due to an error #83

Closed chrispyles closed 3 years ago

chrispyles commented 3 years ago

PyBryt should notify an instructor when a student implementation errors out during execution. The current implementation continues executing despite errors, but does not notify the instructor.

chrispyles commented 3 years ago

@ranigb I'm thinking of raising a UserWarning with a message like Executing the student notebook produced one or more errors. What do you think of this? Or should it raise an error?

chrispyles commented 3 years ago

Raise a warning, and add a field for all error messages to the StudentImplementation. Also add a field for keeping track of the output notebook?