arena: backfill the rolling window at startup; leaderboard hides zero-block rows #21

Merged
grenade merged 1 commits from arena/backfill-window into main 2026-09-04 07:24:42 +00:00
Owner

Follow-up to #17/#19. After a restart the exporter's window started empty, so authors who had not sealed a block since had no author label series (and no timing caps) until they authored again. On the leaderboard that showed as blank author cells for the smaller miners, and the #19 range fallback could not help because the label metric did not exist before 06:45 today.

The first poll now fills the window from chain history: 3600 blocks in 15 s against bob. Window only: the authored counter is untouched so increase() sees no phantom burst, and no tip timing is observed for blocks not watched arriving. Capped at 180 s of wall clock. Locally the three authors that were blank on the dashboard (0x2f7730…, 0xcc5c9b…, 0x435ca0…) get their abbreviated label immediately after start.

The leaderboard's top-20 also drops rows with zero blocks in the range; those were stale series with nothing to show and could never carry a label.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CBgs2nSi4H2mdh8kD8vMX5

Follow-up to #17/#19. After a restart the exporter's window started empty, so authors who had not sealed a block since had no author label series (and no timing caps) until they authored again. On the leaderboard that showed as blank author cells for the smaller miners, and the #19 range fallback could not help because the label metric did not exist before 06:45 today. The first poll now fills the window from chain history: 3600 blocks in 15 s against bob. Window only: the authored counter is untouched so `increase()` sees no phantom burst, and no tip timing is observed for blocks not watched arriving. Capped at 180 s of wall clock. Locally the three authors that were blank on the dashboard (0x2f7730…, 0xcc5c9b…, 0x435ca0…) get their abbreviated label immediately after start. The leaderboard's top-20 also drops rows with zero blocks in the range; those were stale series with nothing to show and could never carry a label. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01CBgs2nSi4H2mdh8kD8vMX5
grenade added 1 commit 2026-09-04 07:24:36 +00:00
After a restart the window started empty, so authors who had not sealed a
block since had no leaderboard row source, no author label series and no
timing caps until they authored again; on the dashboard that showed as
blank author cells for the smaller miners. The first poll now fills the
window (3600 blocks, 15 s against bob) from chain history, window only:
the authored counter is untouched so increase() sees no phantom burst, and
no tip timing is observed for blocks not watched arriving. Capped at 180 s
of wall clock.

The leaderboard's top-20 also drops rows with zero blocks in the range;
they were stale series with nothing to show.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CBgs2nSi4H2mdh8kD8vMX5
grenade merged commit 9998cb81c9 into main 2026-09-04 07:24:42 +00:00
grenade deleted branch arena/backfill-window 2026-09-04 07:24:43 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lair/quantus#21