Problem: the current progress bar interface is quite low-level and error-prone.
Solution: the proposed solution here modifies both the progress bar internal model and interface by representing progress units by witnesses. It does not require great changes, but the resulting interface is clearer and less error-prone.
Related issue(s)
Relates #235
:white_check_mark: Checklist for your Pull Request
Related changes
Tests
[x] If I added new functionality, I added tests covering it.
[x] If I fixed a bug, I added a regression test to prevent the bug from
silently reappearing again.
Documentation
[x] I checked whether I should update the docs and did so if necessary:
Description
Problem: the current progress bar interface is quite low-level and error-prone.
Solution: the proposed solution here modifies both the progress bar internal model and interface by representing progress units by witnesses. It does not require great changes, but the resulting interface is clearer and less error-prone.
Related issue(s)
Relates #235
:white_check_mark: Checklist for your Pull Request
Related changes
Tests
Documentation
Public contracts
Stylistic guide