microsoft / pybryt

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

Prevent floats from being added to the memory footprint prematurely #131

Closed chrispyles closed 2 years ago

chrispyles commented 2 years ago

This branch also contains the code from #128, which should be merged first.

Closes #125

codecov-commenter commented 2 years ago

Codecov Report

Merging #131 (824dbbe) into main (4506ddc) will decrease coverage by 0.11%. The diff coverage is 97.84%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #131      +/-   ##
==========================================
- Coverage   95.21%   95.10%   -0.12%     
==========================================
  Files          28       29       +1     
  Lines        1569     1656      +87     
==========================================
+ Hits         1494     1575      +81     
- Misses         75       81       +6     
Impacted Files Coverage Δ
pybryt/annotations/value.py 94.21% <78.26%> (-2.46%) :arrow_down:
pybryt/__init__.py 100.00% <100.00%> (ø)
pybryt/annotations/annotation.py 99.21% <100.00%> (ø)
pybryt/annotations/collection.py 95.65% <100.00%> (+0.09%) :arrow_up:
pybryt/annotations/complexity/annotation.py 100.00% <100.00%> (ø)
pybryt/annotations/relation.py 100.00% <100.00%> (ø)
pybryt/annotations/type_.py 100.00% <100.00%> (ø)
pybryt/execution/__init__.py 100.00% <100.00%> (ø)
pybryt/execution/complexity.py 100.00% <100.00%> (ø)
pybryt/execution/memory_footprint.py 100.00% <100.00%> (ø)
... and 5 more

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 4506ddc...824dbbe. Read the comment docs.