You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
authored
hotfix: head-lag Solana opens on First to report, 1 ms floor, 30 s presence ratio (cherry-picks) (#2393)
* bench spec: optional chart block (min_range, default_range, window_label) for daily-cadence benches (#2364)
perp-daily-volume moves once per UTC day, so 1h/6h/24h drew one point at
"now" and the ledger said "(24h)" for a closed-day figure. The chart now
hides ranges below min_range, opens on default_range and the ledger's
base window reads "last closed day".
Claude-Session: https://claude.ai/code/session_01HJgbZCqjR4nvCfcJSzofbw
Co-authored-by: Flotapponnier <florent@mobula.io>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
(cherry picked from commit f9e4360)
* head-lag: Solana opens on First to report; leader lag floored at 1 ms; success ratio on the real 30 s scrape (#2392)
- spec chart.default_panel_by_chain: a chain tab can open on a metric
panel; Solana opens on First to report, Base keeps the head lag view.
A ?view= in the URL still wins on first paint.
- The site drops rows whose headline is exactly 0 (Singapore: Mobula won
every race and vanished from the ranked chart); the race lag is now
floored at 1 ms, below the tie window.
- Presence ratio divided by 5,760 assumed a 15 s scrape; the store is
scraped every 30 s, so every provider capped at 49.5 %. Now 2,880.
Claude-Session: https://claude.ai/code/session_01HJgbZCqjR4nvCfcJSzofbw
Co-authored-by: Flotapponnier <florent@mobula.io>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
(cherry picked from commit d1646ef)
---------
Co-authored-by: Flotapponnier <florent@mobula.io>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: benchmarks/aggregator-head-lag.yml
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -72,8 +72,8 @@ methodology:
72
72
- "Regions: us-east, eu-west, sgp. Cross-region median reported in the headline."
73
73
- "Reference on Base: the sequencer's flashblock preconfirmation stream, held by us in every region. A Base block becomes queryable about 0.36 s after the timestamp it carries, while flashblocks publish every 200 ms inside the 2 s interval, so that timestamp is not the moment a trade becomes knowable."
74
74
- "Base emissions we cannot match to a flashblock are dropped rather than measured against a different ruler. Measuring against the block timestamp charged a provider reading preconfirmations with a negative lag, and described the chain's stamping convention rather than the provider's pipeline."
75
-
- "Metric: gauge `head_lag_seconds`, sampled every 15 seconds. Aggregated over the 24-hour window using `quantile_over_time`."
76
-
- "Success rate: presence ratio. Share of expected sampling slots where a value was actually emitted (5,760 expected per provider per day at the 15s cadence). 100% means the aggregator's feed was reachable for the full window."
75
+
- "Metric: gauge `head_lag_seconds`, scraped every 30 seconds. Aggregated over the 24-hour window using `quantile_over_time`."
76
+
- "Success rate: presence ratio. Share of expected sampling slots where a value was actually emitted (2,880 expected per provider per day at the 30 s scrape). 100% means the aggregator's feed was reachable for the full window."
77
77
- "Cardinality: 4 aggregators × 4 chains × 3 regions = 48 active series."
78
78
- "Probe placement: the three probes run in their named regions on Railway (europe-west4, us-east4, asia-southeast1). Until 2026-09-15 all three ran in asia-southeast1 under regional labels; region columns before that date are three Singapore vantage points."
0 commit comments