Fix SPDHG progress bar to show correct number of steps#3012
Fix SPDHG progress bar to show correct number of steps#3012ashleymeigh2 wants to merge 1 commit into
Conversation
|
The trouble with "fixing" this to make the numbers match is that there are more steps than just the PDHG iterations. If we ignore the other steps, then the progress bar is less informative. |
I agree — the bar reflects total reconstruction work, not just PDHG iterations. We could either keep counting all steps and report iteration progress in the message (e.g. PDHG iteration i / num_iter), or treat setup as a separate step and be explicit that the bar represents overall progress rather than iterations. What do you suggest? |
|
Would it be possible to tweak the message to make it clearer? A full solution would be to have the progress system track steps and sub steps. But that would be a lot more work. Not a high priority this side of release. |
Issue
Closes #2911
Description
Fix SPDHG progress bar to show the correct number of steps. The progress bar now matches the actual number of iterations for SPDHG (no extra setup step), while non-stochastic algorithms still include a setup step. This resolves the issue where the progress bar showed two extra steps for SPDHG.
Developer Testing
python -m pytest -vsAcceptance Criteria and Reviewer Testing
python -m pytest -vsDocumentation and Additional Notes