CLI progress bars: add feature
CLI progress bars: add feature: a task in smol-software-harbor (Harbor dataset). Add eta(done, total, elapsed s) to progress.py : the remaining time as m:ss , assuming the rate so far stays constant (remaining seconds rounded to the nearest second), and --:-- while nothing is done yet. For example…
The task
Add `eta(done, total, elapsed_s)` to `progress.py`: the remaining time as `m:ss`, assuming the rate so far stays constant (remaining seconds rounded to the nearest second), and `--:--` while nothing is done yet. For example `eta(25, 100, 30)` is `1:30`. Run `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.