microsoft / pybryt

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

Debug mode #118

Closed chrispyles closed 3 years ago

chrispyles commented 3 years ago

Initial implementation of debug mode. More conversations will need to be had about what events elicit exceptions in debug mode, but two have been included here as a demonstration.

Thoughts @leestott @ranigb @marijanbeg @rolotumazi?

Closes #116

codecov-commenter commented 3 years ago

Codecov Report

Merging #118 (7e6d7e1) into main (97213ec) will increase coverage by 0.06%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #118      +/-   ##
==========================================
+ Coverage   95.12%   95.19%   +0.06%     
==========================================
  Files          26       27       +1     
  Lines        1540     1561      +21     
==========================================
+ Hits         1465     1486      +21     
  Misses         75       75              
Impacted Files Coverage Δ
pybryt/__init__.py 100.00% <100.00%> (ø)
pybryt/annotations/value.py 96.66% <100.00%> (+0.09%) :arrow_up:
pybryt/debug.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 97213ec...7e6d7e1. Read the comment docs.

marijanbeg commented 3 years ago

Very nice. Thanks @chrispyles!

leestott commented 3 years ago

Discussed with @ranigb and @marijanbeg both agree this is great addition.