fix(delivery): honour Melhores count — stop under-filling the gallery (BIT-172) #172

Merged
spark merged 1 commits from task/BIT-172-best-honour-count into main 2026-11-03 22:38:28 +00:00
Owner

Summary

  • Melhores N is a hard target: fill to N (relax 8s gap, then allow a 2nd frame per burst if still short).
  • Asking for 200–300 and getting ~107 was a bug in the fill pass, not a lack of photos.
  • AGENTS: every feature offline (§12); prefer Rust for heavy local work (§13).

Test plan

  • best.fill.test.ts
  • Melhores 300 on the treino — chosen length should approach min(300, usable frames), not stall ~107
## Summary - Melhores N is a **hard target**: fill to N (relax 8s gap, then allow a 2nd frame per burst if still short). - Asking for 200–300 and getting ~107 was a bug in the fill pass, not a lack of photos. - AGENTS: every feature offline (§12); prefer Rust for heavy local work (§13). ## Test plan - [x] `best.fill.test.ts` - [ ] Melhores 300 on the treino — chosen length should approach min(300, usable frames), not stall ~107
spark added 1 commit 2026-11-03 22:29:02 +00:00
fix(delivery): honour Melhores count — stop under-filling the gallery (BIT-172)
ci / rust (pull_request) Successful in 5m2s
ci / typescript (pull_request) Successful in 9m10s
75ca04f890
Asking for 200–300 was capped by the 8s twin gap and one-frame-per-burst fill.
fillToCount now treats the asked number as a hard target, then relaxes gap and
allows a second frame from a burst when still short. Local-first/Rust noted in AGENTS.
spark merged commit 5ccbab8baf into main 2026-11-03 22:38:28 +00:00
Author
Owner

Merged.

Melhores N is a hard target now (fillToCount). Asking 300 and getting ~107 was the 8s/one-per-burst fill bug.

Also locked in AGENTS: every feature offline; prefer Rust for heavy local work.

Merged. Melhores N is a hard target now (fillToCount). Asking 300 and getting ~107 was the 8s/one-per-burst fill bug. Also locked in AGENTS: every feature offline; prefer Rust for heavy local work.
Author
Owner

Merged.

Melhores N is a hard target now (fillToCount). Asking 300 and getting ~107 was the 8s/one-per-burst fill bug.

Also locked in AGENTS: every feature offline; prefer Rust for heavy local work.

Merged. Melhores N is a hard target now (fillToCount). Asking 300 and getting ~107 was the 8s/one-per-burst fill bug. Also locked in AGENTS: every feature offline; prefer Rust for heavy local work.
Sign in to join this conversation.