dashboard: leaderboard gains est. hashrate, gap p10, drift median and consecutive columns #13

Merged
grenade merged 1 commits from arena/leaderboard-columns into main 2026-09-04 05:51:20 +00:00
Owner

The leaderboard table now joins five instant queries on the reward preimage:

column source note
blocks increase(quantus_blocks_authored_total[$__range]), top 20 as before
est. MH/s share of blocks over the range × quantus_network_hashrate average statistical, about ±10% at a few hundred blocks; over the last 6 h it credits us 598 against a real 497 because our share ran above expected
gap p10 (s) quantus_block_gap_seconds per author near zero means blocks released right after others'
drift median (s) quantus_block_timestamp_drift_seconds per author a few seconds negative is normal; positive is future-dated
consecutive quantus_consecutive_self_blocks_total per author blocks authored straight after the author's own

Outer join, filtered to rows present in the blocks query, so an author without timing data yet shows blanks rather than disappearing. Timing columns fill from the exporter's restart this morning. Verified each query returns per-preimage rows against Prometheus before wiring; the rendered table needs a look in Grafana after the deploy.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CBgs2nSi4H2mdh8kD8vMX5

The leaderboard table now joins five instant queries on the reward preimage: | column | source | note | | --- | --- | --- | | blocks | `increase(quantus_blocks_authored_total[$__range])`, top 20 | as before | | est. MH/s | share of blocks over the range × `quantus_network_hashrate` average | statistical, about ±10% at a few hundred blocks; over the last 6 h it credits us 598 against a real 497 because our share ran above expected | | gap p10 (s) | `quantus_block_gap_seconds` per author | near zero means blocks released right after others' | | drift median (s) | `quantus_block_timestamp_drift_seconds` per author | a few seconds negative is normal; positive is future-dated | | consecutive | `quantus_consecutive_self_blocks_total` per author | blocks authored straight after the author's own | Outer join, filtered to rows present in the blocks query, so an author without timing data yet shows blanks rather than disappearing. Timing columns fill from the exporter's restart this morning. Verified each query returns per-preimage rows against Prometheus before wiring; the rendered table needs a look in Grafana after the deploy. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01CBgs2nSi4H2mdh8kD8vMX5
grenade added 1 commit 2026-09-04 05:51:10 +00:00
Estimated hashrate is the author's share of blocks over the range times the
network hashrate estimate: statistical, roughly ±10% at a few hundred
blocks, and labelled as such. The timing columns join the new per-author
histograms (lair/quantus#12) on the preimage; outer join filtered to the
top-20 rows from the blocks query so authors without timing data still
appear with blanks.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CBgs2nSi4H2mdh8kD8vMX5
grenade merged commit af7992f712 into main 2026-09-04 05:51:20 +00:00
grenade deleted branch arena/leaderboard-columns 2026-09-04 05:51:20 +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#13