Skip to content

Bugfix: mock method to increment costs#298

Merged
mdr223 merged 2 commits into
mainfrom
mock_progress_bug
Apr 6, 2026
Merged

Bugfix: mock method to increment costs#298
mdr223 merged 2 commits into
mainfrom
mock_progress_bug

Conversation

@vitaglianog
Copy link
Copy Markdown
Collaborator

Fixed a bug when using Abacus optimizer without progress bar.
Bug was triggered since MAB Execution strategy calls:
self.progress_manager.incr_overall_progress_cost(val_gen_stats.cost_per_record)
But when progress is False in the runtime configuration, the MockProgressManager does not expose that function.
This fix is simple enough but maybe in future incr_overall_progress_cost may be defined by the ProgressManager class.

@vitaglianog vitaglianog changed the title Added mock method to increment costs Bugfix: mock method to increment costs Apr 6, 2026
@vitaglianog vitaglianog requested a review from mdr223 April 6, 2026 17:10
@mdr223 mdr223 merged commit 6440138 into main Apr 6, 2026
6 of 7 checks passed
@mdr223 mdr223 deleted the mock_progress_bug branch April 6, 2026 18:00
claire-mao pushed a commit that referenced this pull request May 1, 2026
* Added mock method to increment costs

* bump version

---------

Co-authored-by: Matthew Russo <mdrusso@mit.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants