Skip to content

fix(optical-transfer): honest progress (frames collected, not solved blocks) - #104

Merged
slaveofcode merged 1 commit into
developfrom
fix/optical-progress
Aug 1, 2026
Merged

fix(optical-transfer): honest progress (frames collected, not solved blocks)#104
slaveofcode merged 1 commit into
developfrom
fix/optical-progress

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

Reported (GIF): progress stuck at 0% while many frames captured. LT fountain codes solve nothing until they avalanche at the end, so 'solved blocks ÷ total' reads ~0% during collection — looks stuck (the Decimen project calls this out too).

Report progress by unique frames collected ÷ ~k×1.15 needed (progress() + framesSeen), capped <100% until done. The bar now climbs smoothly, then completes on the avalanche.

592 tests · lint clean · build green.

🤖 Generated with Claude Code

…d blocks

Reported: progress stayed 0% while many frames were captured. LT fountain codes
solve almost nothing until they avalanche near the end, so 'solved blocks ÷ total'
reads ~0% the whole time you collect frames — looks stuck.

Report progress by unique frames collected ÷ the ~k×1.15 typically needed
(LtDecoder.progress() + new framesSeen), capped below 100% until actually done.
The bar now climbs smoothly as frames come in, then completes on the avalanche.

592 tests · lint clean · build green.
@slaveofcode
slaveofcode merged commit 4426e66 into develop Aug 1, 2026
1 check passed
@slaveofcode
slaveofcode deleted the fix/optical-progress branch August 1, 2026 15:08
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.

1 participant