mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-11-24 14:56:40 +00:00
- Move the adaptive estimation into SelfTestEtaEstimator, which tracks observed seconds per percent instead of per-change "segment" durations. This fixes NVMe estimates (1% steps were counted as 10% segments, giving ~10x too short ETAs), and progress spanning several steps between two polls (e.g. 80% -> 60%) being counted as a single segment. - Reset the estimator state in start(). - Return unknown ETA when the test is not running. - Add unit tests for the estimator (the existing tests did not cover it). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>