A desktop tool that scans a folder of photos and moves them into a dated structure got a visibility pass: the destination path, previously 12px on one truncated line, became 15px bold on two lines with the full path on hover. The scan's real elapsed time was split out from the estimate and shown next to it with a check mark. And the estimated time to complete, which had been a fixed guess, was replaced with a projection from the previous session's log.
Honest history, useless estimate
The projection rule was strict: if there is no history, show a dash rather than invent a number. There was history. All of it was moves within the same volume, where the operating system renames rather than copies. The last session had moved 27,601 files in two seconds. Projected onto any new batch, that rate rounded to zero seconds. The estimate was accurate about the past and said nothing useful about a move to a network share, which is the case where a user actually wants an estimate.
The interim fix was to round up with ceil and show at least one second. Test inputs confirmed it: a 2,000-file projection displayed 00:01, and an empty history returned no value and displayed the dash. The scan time, the number that matters most, was a direct measurement and stayed correct.
What would fix it properly
Once a cross-volume move to a network share happens, that session enters the history and the projection corrects itself. Keying the estimate on whether source and destination share a volume would fix it sooner. Neither had been done when the record closed.
The changes were verified by importing the modules, by exercising the projection function with real logs, and by checking that the HTML's 61 opening and closing div tags still balanced. The window itself was not rendered and looked at; that was left for a person with the app open. The packaged build was also not rebuilt, so the shipped app still showed the old layout.