Manages progress reporting for long-running operations in MLSampling. Provides a consistent interface for progress bars and status updates.
Details
The ProgressManager ensures:
Consistent user experience (Constitutional requirement)
Graceful fallback when not in interactive mode
Integration with logging system
Public fields
config_managerConfiguration manager instance
active_barCurrent active progress bar Initialize Progress Manager
Methods
Method new()
Usage
ProgressManager$new(config_manager = NULL)Method start_progress()
Usage
ProgressManager$start_progress(
total,
format = " :what [:bar] :percent eta: :eta",
show_after = 0.5
)