scoreboard: surface turbine-root in DZ lead-time and publishing stats#663
Open
juan-malbeclabs wants to merge 3 commits into
Open
scoreboard: surface turbine-root in DZ lead-time and publishing stats#663juan-malbeclabs wants to merge 3 commits into
juan-malbeclabs wants to merge 3 commits into
Conversation
|
🔗 Preview: https://pr-663.data.malbeclabs.com |
… of publisher_shred_stats
Adds a source-vs-source pairwise win-rate matrix (dz leader, turbine-root, retransmit, jito, turbine), computed from the pairwise rows of slot_feed_race_summary_v2. Gated client-side behind ?matrix=1; the view hides the slot race chart and node table and moves the saturated turbine-root publishing/stake stats out of the hero panel into the matrix header.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dz), turbine-root (edge-solana-root) and regional retransmit — so the advantage metric matches the win-rate'sdz_edgeaggregate instead of excluding root. Applies to both leaders-only and all-slots modes.root_slots/publishing_root) from theedge-solana-rootfeed inpublisher_shred_stats.Why
The scoreboard already counts turbine-root wins inside
dz_edge, but the lead-time stat silently excluded root, so the two DZ metrics measured different feed sets. Pooling them makes "how much DZ wins" and "by how much" consistent. The new cards give the same leader-slot stake visibility for the turbine-root path.Notes
edge-solana-rootsource (tracked in the infra repo). The feed string lives in a single named constant (rootPublisherFeed) for easy realignment.Testing Verification
TestGetEdgeScoreboard_WithDatastill passes: it only seedsfeed='dz'lead-time rows, so widening the q2b feed set adds no rows androot_slotsstays 0 with no leader-metric drift.root_statsCTE shares the same epoch/slot window as the leader stats and dedups by slot, so multi-host observations don't double-count.