data-8 / Gofer-Grader

Small autograding library
http://okgrade.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
16 stars 19 forks source link

Plain-text report of per-question scores #18

Open papajohn opened 5 years ago

papajohn commented 5 years ago

Right now, the only way to render the result of scoring is as HTML via gofer.ok.OKTestsResult._repr_html_. A __repr__ method that generates an equivalent plain-text version that's nicely formatted would be awesome. Right now, if you run grade_notebook from the command line, the description isn't useful. E.g.,

Question 1:
<gofer.ok.OKTestsResult object at 0x107b3fe48>
Question 2:
<gofer.ok.OKTestsResult object at 0x107b3f390>