Sun, Feb 22, 2026

Propagation anomalies - 2026-02-22

Detection of blocks that propagated slower than expected, attempting to find correlations with blob count.

Show code
display_sql("block_production_timeline", target_date)
View query
WITH
-- Base slots using proposer duty as the source of truth
slots AS (
    SELECT DISTINCT
        slot,
        slot_start_date_time,
        proposer_validator_index
    FROM canonical_beacon_proposer_duty
    WHERE meta_network_name = 'mainnet'
      AND slot_start_date_time >= '2026-02-22' AND slot_start_date_time < '2026-02-22'::date + INTERVAL 1 DAY
),

-- Proposer entity mapping
proposer_entity AS (
    SELECT
        index,
        entity
    FROM ethseer_validator_entity
    WHERE meta_network_name = 'mainnet'
),

-- Blob count per slot
blob_count AS (
    SELECT
        slot,
        uniq(blob_index) AS blob_count
    FROM canonical_beacon_blob_sidecar
    WHERE meta_network_name = 'mainnet'
      AND slot_start_date_time >= '2026-02-22' AND slot_start_date_time < '2026-02-22'::date + INTERVAL 1 DAY
    GROUP BY slot
),

-- Canonical block hash (to verify MEV payload was actually used)
canonical_block AS (
    SELECT DISTINCT
        slot,
        execution_payload_block_hash
    FROM canonical_beacon_block
    WHERE meta_network_name = 'mainnet'
      AND slot_start_date_time >= '2026-02-22' AND slot_start_date_time < '2026-02-22'::date + INTERVAL 1 DAY
),

-- MEV bid timing using timestamp_ms
mev_bids AS (
    SELECT
        slot,
        slot_start_date_time,
        min(timestamp_ms) AS first_bid_timestamp_ms,
        max(timestamp_ms) AS last_bid_timestamp_ms
    FROM mev_relay_bid_trace
    WHERE meta_network_name = 'mainnet'
      AND slot_start_date_time >= '2026-02-22' AND slot_start_date_time < '2026-02-22'::date + INTERVAL 1 DAY
    GROUP BY slot, slot_start_date_time
),

-- MEV payload delivery - join canonical block with delivered payloads
-- Note: Use is_mev flag because ClickHouse LEFT JOIN returns 0 (not NULL) for non-matching rows
-- Get value from proposer_payload_delivered (not bid_trace, which may not have the winning block)
mev_payload AS (
    SELECT
        cb.slot,
        cb.execution_payload_block_hash AS winning_block_hash,
        1 AS is_mev,
        max(pd.value) AS winning_bid_value,
        groupArray(DISTINCT pd.relay_name) AS relay_names,
        any(pd.builder_pubkey) AS winning_builder
    FROM canonical_block cb
    GLOBAL INNER JOIN mev_relay_proposer_payload_delivered pd
        ON cb.slot = pd.slot AND cb.execution_payload_block_hash = pd.block_hash
    WHERE pd.meta_network_name = 'mainnet'
      AND slot_start_date_time >= '2026-02-22' AND slot_start_date_time < '2026-02-22'::date + INTERVAL 1 DAY
    GROUP BY cb.slot, cb.execution_payload_block_hash
),

-- Winning bid timing from bid_trace (may not exist for all MEV blocks)
winning_bid AS (
    SELECT
        bt.slot,
        bt.slot_start_date_time,
        argMin(bt.timestamp_ms, bt.event_date_time) AS winning_bid_timestamp_ms
    FROM mev_relay_bid_trace bt
    GLOBAL INNER JOIN mev_payload mp ON bt.slot = mp.slot AND bt.block_hash = mp.winning_block_hash
    WHERE bt.meta_network_name = 'mainnet'
      AND slot_start_date_time >= '2026-02-22' AND slot_start_date_time < '2026-02-22'::date + INTERVAL 1 DAY
    GROUP BY bt.slot, bt.slot_start_date_time
),

-- Block gossip timing with spread
block_gossip AS (
    SELECT
        slot,
        min(event_date_time) AS block_first_seen,
        max(event_date_time) AS block_last_seen
    FROM libp2p_gossipsub_beacon_block
    WHERE meta_network_name = 'mainnet'
      AND slot_start_date_time >= '2026-02-22' AND slot_start_date_time < '2026-02-22'::date + INTERVAL 1 DAY
    GROUP BY slot
),

-- Column arrival timing: first arrival per column, then min/max of those
column_gossip AS (
    SELECT
        slot,
        min(first_seen) AS first_column_first_seen,
        max(first_seen) AS last_column_first_seen
    FROM (
        SELECT
            slot,
            column_index,
            min(event_date_time) AS first_seen
        FROM libp2p_gossipsub_data_column_sidecar
        WHERE meta_network_name = 'mainnet'
          AND slot_start_date_time >= '2026-02-22' AND slot_start_date_time < '2026-02-22'::date + INTERVAL 1 DAY
          AND event_date_time > '1970-01-01 00:00:01'
        GROUP BY slot, column_index
    )
    GROUP BY slot
)

SELECT
    s.slot AS slot,
    s.slot_start_date_time AS slot_start_date_time,
    pe.entity AS proposer_entity,

    -- Blob count
    coalesce(bc.blob_count, 0) AS blob_count,

    -- MEV bid timing (absolute and relative to slot start)
    fromUnixTimestamp64Milli(mb.first_bid_timestamp_ms) AS first_bid_at,
    mb.first_bid_timestamp_ms - toInt64(toUnixTimestamp(mb.slot_start_date_time)) * 1000 AS first_bid_ms,
    fromUnixTimestamp64Milli(mb.last_bid_timestamp_ms) AS last_bid_at,
    mb.last_bid_timestamp_ms - toInt64(toUnixTimestamp(mb.slot_start_date_time)) * 1000 AS last_bid_ms,

    -- Winning bid timing (from bid_trace, may be NULL if block hash not in bid_trace)
    if(wb.slot != 0, fromUnixTimestamp64Milli(wb.winning_bid_timestamp_ms), NULL) AS winning_bid_at,
    if(wb.slot != 0, wb.winning_bid_timestamp_ms - toInt64(toUnixTimestamp(s.slot_start_date_time)) * 1000, NULL) AS winning_bid_ms,

    -- MEV payload info (from proposer_payload_delivered, always present for MEV blocks)
    if(mp.is_mev = 1, mp.winning_bid_value, NULL) AS winning_bid_value,
    if(mp.is_mev = 1, mp.relay_names, []) AS winning_relays,
    if(mp.is_mev = 1, mp.winning_builder, NULL) AS winning_builder,

    -- Block gossip timing with spread
    bg.block_first_seen,
    dateDiff('millisecond', s.slot_start_date_time, bg.block_first_seen) AS block_first_seen_ms,
    bg.block_last_seen,
    dateDiff('millisecond', s.slot_start_date_time, bg.block_last_seen) AS block_last_seen_ms,
    dateDiff('millisecond', bg.block_first_seen, bg.block_last_seen) AS block_spread_ms,

    -- Column arrival timing (NULL when no blobs)
    if(coalesce(bc.blob_count, 0) = 0, NULL, cg.first_column_first_seen) AS first_column_first_seen,
    if(coalesce(bc.blob_count, 0) = 0, NULL, dateDiff('millisecond', s.slot_start_date_time, cg.first_column_first_seen)) AS first_column_first_seen_ms,
    if(coalesce(bc.blob_count, 0) = 0, NULL, cg.last_column_first_seen) AS last_column_first_seen,
    if(coalesce(bc.blob_count, 0) = 0, NULL, dateDiff('millisecond', s.slot_start_date_time, cg.last_column_first_seen)) AS last_column_first_seen_ms,
    if(coalesce(bc.blob_count, 0) = 0, NULL, dateDiff('millisecond', cg.first_column_first_seen, cg.last_column_first_seen)) AS column_spread_ms

FROM slots s
GLOBAL LEFT JOIN proposer_entity pe ON s.proposer_validator_index = pe.index
GLOBAL LEFT JOIN blob_count bc ON s.slot = bc.slot
GLOBAL LEFT JOIN mev_bids mb ON s.slot = mb.slot
GLOBAL LEFT JOIN mev_payload mp ON s.slot = mp.slot
GLOBAL LEFT JOIN winning_bid wb ON s.slot = wb.slot
GLOBAL LEFT JOIN block_gossip bg ON s.slot = bg.slot
GLOBAL LEFT JOIN column_gossip cg ON s.slot = cg.slot

ORDER BY s.slot DESC
Show code
df = load_parquet("block_production_timeline", target_date)

# Filter to valid blocks (exclude missed slots)
df = df[df["block_first_seen_ms"].notna()]
df = df[(df["block_first_seen_ms"] >= 0) & (df["block_first_seen_ms"] < 60000)]

# Flag MEV vs local blocks
df["has_mev"] = df["winning_bid_value"].notna()
df["block_type"] = df["has_mev"].map({True: "MEV", False: "Local"})

# Get max blob count for charts
max_blobs = df["blob_count"].max()

print(f"Total valid blocks: {len(df):,}")
print(f"MEV blocks: {df['has_mev'].sum():,} ({df['has_mev'].mean()*100:.1f}%)")
print(f"Local blocks: {(~df['has_mev']).sum():,} ({(~df['has_mev']).mean()*100:.1f}%)")
Total valid blocks: 7,188
MEV blocks: 6,597 (91.8%)
Local blocks: 591 (8.2%)

Anomaly detection method

The method:

  1. Fit linear regression: block_first_seen_ms ~ blob_count
  2. Calculate residuals (actual - expected)
  3. Flag blocks with residuals > 2σ as anomalies

Points above the ±2σ band propagated slower than expected given their blob count.

Show code
# Conditional outliers: blocks slow relative to their blob count
df_anomaly = df.copy()

# Fit regression: block_first_seen_ms ~ blob_count
slope, intercept, r_value, p_value, std_err = stats.linregress(
    df_anomaly["blob_count"].astype(float), df_anomaly["block_first_seen_ms"]
)

# Calculate expected value and residual
df_anomaly["expected_ms"] = intercept + slope * df_anomaly["blob_count"].astype(float)
df_anomaly["residual_ms"] = df_anomaly["block_first_seen_ms"] - df_anomaly["expected_ms"]

# Calculate residual standard deviation
residual_std = df_anomaly["residual_ms"].std()

# Flag anomalies: residual > 2σ (unexpectedly slow)
df_anomaly["is_anomaly"] = df_anomaly["residual_ms"] > 2 * residual_std

n_anomalies = df_anomaly["is_anomaly"].sum()
pct_anomalies = n_anomalies / len(df_anomaly) * 100

# Prepare outliers dataframe
df_outliers = df_anomaly[df_anomaly["is_anomaly"]].copy()
df_outliers["relay"] = df_outliers["winning_relays"].apply(lambda x: x[0] if len(x) > 0 else "Local")
df_outliers["proposer"] = df_outliers["proposer_entity"].fillna("Unknown")
df_outliers["builder"] = df_outliers["winning_builder"].apply(
    lambda x: f"{x[:10]}..." if pd.notna(x) and x else "Local"
)

print(f"Regression: block_ms = {intercept:.1f} + {slope:.2f} × blob_count (R² = {r_value**2:.3f})")
print(f"Residual σ = {residual_std:.1f}ms")
print(f"Anomalies (>2σ slow): {n_anomalies:,} ({pct_anomalies:.1f}%)")
Regression: block_ms = 1707.4 + 16.81 × blob_count (R² = 0.009)
Residual σ = 650.8ms
Anomalies (>2σ slow): 316 (4.4%)
Show code
# Create scatter plot with regression band
x_range = np.array([0, int(max_blobs)])
y_pred = intercept + slope * x_range
y_upper = y_pred + 2 * residual_std
y_lower = y_pred - 2 * residual_std

fig = go.Figure()

# Add ±2σ band
fig.add_trace(go.Scatter(
    x=np.concatenate([x_range, x_range[::-1]]),
    y=np.concatenate([y_upper, y_lower[::-1]]),
    fill="toself",
    fillcolor="rgba(100,100,100,0.2)",
    line=dict(width=0),
    name="±2σ band",
    hoverinfo="skip",
))

# Add regression line
fig.add_trace(go.Scatter(
    x=x_range,
    y=y_pred,
    mode="lines",
    line=dict(color="white", width=2, dash="dash"),
    name="Expected",
))

# Normal points (sample to avoid overplotting)
df_normal = df_anomaly[~df_anomaly["is_anomaly"]]
if len(df_normal) > 2000:
    df_normal = df_normal.sample(2000, random_state=42)

fig.add_trace(go.Scatter(
    x=df_normal["blob_count"],
    y=df_normal["block_first_seen_ms"],
    mode="markers",
    marker=dict(size=4, color="rgba(100,150,200,0.4)"),
    name=f"Normal ({len(df_anomaly) - n_anomalies:,})",
    hoverinfo="skip",
))

# Anomaly points
fig.add_trace(go.Scatter(
    x=df_outliers["blob_count"],
    y=df_outliers["block_first_seen_ms"],
    mode="markers",
    marker=dict(
        size=7,
        color="#e74c3c",
        line=dict(width=1, color="white"),
    ),
    name=f"Anomalies ({n_anomalies:,})",
    customdata=np.column_stack([
        df_outliers["slot"],
        df_outliers["residual_ms"].round(0),
        df_outliers["relay"],
    ]),
    hovertemplate="<b>Slot %{customdata[0]}</b><br>Blobs: %{x}<br>Actual: %{y:.0f}ms<br>+%{customdata[1]}ms vs expected<br>Relay: %{customdata[2]}<extra></extra>",
))

fig.update_layout(
    margin=dict(l=60, r=30, t=30, b=60),
    xaxis=dict(title="Blob count", range=[-0.5, int(max_blobs) + 0.5]),
    yaxis=dict(title="Block first seen (ms from slot start)"),
    legend=dict(orientation="h", yanchor="bottom", y=1.02, xanchor="right", x=1),
    height=500,
)
fig.show(config={"responsive": True})

All propagation anomalies

Blocks that propagated much slower than expected given their blob count, sorted by residual (worst first).

Show code
# All anomalies table with selectable text and Lab links
if n_anomalies > 0:
    df_table = df_outliers.sort_values("residual_ms", ascending=False)[
        ["slot", "blob_count", "block_first_seen_ms", "expected_ms", "residual_ms", "proposer", "builder", "relay"]
    ].copy()
    df_table["block_first_seen_ms"] = df_table["block_first_seen_ms"].round(0).astype(int)
    df_table["expected_ms"] = df_table["expected_ms"].round(0).astype(int)
    df_table["residual_ms"] = df_table["residual_ms"].round(0).astype(int)
    
    # Build HTML table
    html = '''
    <style>
    .anomaly-table { border-collapse: collapse; width: 100%; font-family: monospace; font-size: 13px; }
    .anomaly-table th { background: #2c3e50; color: white; padding: 8px 12px; text-align: left; position: sticky; top: 0; }
    .anomaly-table td { padding: 6px 12px; border-bottom: 1px solid #eee; }
    .anomaly-table tr:hover { background: #f5f5f5; }
    .anomaly-table .num { text-align: right; }
    .anomaly-table .delta { background: #ffebee; color: #c62828; font-weight: bold; }
    .anomaly-table a { color: #1976d2; text-decoration: none; }
    .anomaly-table a:hover { text-decoration: underline; }
    .table-container { max-height: 600px; overflow-y: auto; }
    </style>
    <div class="table-container">
    <table class="anomaly-table">
    <thead>
    <tr><th>Slot</th><th class="num">Blobs</th><th class="num">Actual (ms)</th><th class="num">Expected (ms)</th><th class="num">Δ (ms)</th><th>Proposer</th><th>Builder</th><th>Relay</th></tr>
    </thead>
    <tbody>
    '''
    
    for _, row in df_table.iterrows():
        slot_link = f'<a href="https://lab.ethpandaops.io/ethereum/slots/{row["slot"]}" target="_blank">{row["slot"]}</a>'
        html += f'''<tr>
            <td>{slot_link}</td>
            <td class="num">{row["blob_count"]}</td>
            <td class="num">{row["block_first_seen_ms"]}</td>
            <td class="num">{row["expected_ms"]}</td>
            <td class="num delta">+{row["residual_ms"]}</td>
            <td>{row["proposer"]}</td>
            <td>{row["builder"]}</td>
            <td>{row["relay"]}</td>
        </tr>'''
    
    html += '</tbody></table></div>'
    display(HTML(html))
    print(f"\nTotal anomalies: {len(df_table):,}")
else:
    print("No anomalies detected.")
SlotBlobsActual (ms)Expected (ms)Δ (ms)ProposerBuilderRelay
13746133 0 12589 1707 +10882 solo_stakers Local Local
13742177 0 10451 1707 +8744 abyss_finance Local Local
13744226 0 8413 1707 +6706 abyss_finance Local Local
13748331 5 6367 1791 +4576 solo_stakers Local Local
13743776 5 4905 1791 +3114 upbit Local Local
13743842 11 4795 1892 +2903 whale_0xd7f8 0x856b0004... Ultra Sound
13746112 1 4345 1724 +2621 upbit Local Local
13746113 4 4340 1775 +2565 solo_stakers Local Local
13745036 0 4160 1707 +2453 ether.fi Local Local
13743601 0 3943 1707 +2236 lido Local Local
13747355 3 3946 1758 +2188 everstake 0x88857150... Ultra Sound
13747392 11 3997 1892 +2105 blockdaemon 0x88857150... Ultra Sound
13741641 0 3791 1707 +2084 whale_0x8ebd Local Local
13741824 0 3775 1707 +2068 gateway.fmas_lido Local Local
13741955 0 3753 1707 +2046 csm_operator171_lido 0x855b00e6... BloXroute Max Profit
13743775 8 3828 1842 +1986 upbit Local Local
13743040 0 3641 1707 +1934 blockdaemon_lido 0x851b00b1... Ultra Sound
13745920 3 3682 1758 +1924 stakefish 0x853b0078... Agnostic Gnosis
13748160 0 3600 1707 +1893 whale_0xdc8d 0xb67eaa5e... BloXroute Regulated
13743972 1 3549 1724 +1825 blockdaemon 0x850b00e0... BloXroute Regulated
13745737 0 3525 1707 +1818 figment 0xb26f9666... BloXroute Regulated
13747639 5 3601 1791 +1810 ether.fi 0xb67eaa5e... EthGas
13744133 5 3590 1791 +1799 blockdaemon 0x8527d16c... Ultra Sound
13746798 5 3583 1791 +1792 figment 0xb26f9666... Titan Relay
13745394 0 3497 1707 +1790 blockdaemon 0x8527d16c... Ultra Sound
13746657 7 3605 1825 +1780 blockdaemon 0x8527d16c... Ultra Sound
13744021 3 3534 1758 +1776 whale_0x79a9 0x856b0004... Ultra Sound
13747733 9 3583 1859 +1724 blockdaemon 0x88857150... Ultra Sound
13742034 6 3530 1808 +1722 0x850b00e0... BloXroute Regulated
13742110 1 3426 1724 +1702 ether.fi 0xb26f9666... Titan Relay
13744387 8 3539 1842 +1697 blockdaemon 0x8a850621... Ultra Sound
13748298 3 3453 1758 +1695 blockdaemon 0x8a850621... Titan Relay
13742915 3 3451 1758 +1693 blockdaemon 0x8a850621... Ultra Sound
13741785 5 3483 1791 +1692 blockdaemon 0x8527d16c... Ultra Sound
13742083 0 3389 1707 +1682 blockdaemon 0x8a850621... Titan Relay
13746688 1 3401 1724 +1677 stakingfacilities_lido 0x856b0004... Agnostic Gnosis
13741760 4 3451 1775 +1676 stakingfacilities_lido 0x853b0078... Agnostic Gnosis
13744064 7 3499 1825 +1674 blockdaemon 0x8a850621... BloXroute Regulated
13747808 5 3460 1791 +1669 everstake 0xb26f9666... Titan Relay
13745019 11 3552 1892 +1660 luno 0x8527d16c... Ultra Sound
13748135 2 3383 1741 +1642 blockdaemon 0x856b0004... Ultra Sound
13742592 0 3348 1707 +1641 stakingfacilities_lido 0x852b0070... BloXroute Max Profit
13747680 3 3397 1758 +1639 stakingfacilities_lido 0x8527d16c... Ultra Sound
13747456 0 3343 1707 +1636 p2porg 0xb67eaa5e... BloXroute Max Profit
13744012 0 3341 1707 +1634 0x8527d16c... Ultra Sound
13741781 10 3501 1876 +1625 blockdaemon 0x8a850621... Titan Relay
13747520 3 3382 1758 +1624 0x823e0146... Flashbots
13746586 0 3323 1707 +1616 whale_0xdd6c 0x853b0078... Agnostic Gnosis
13742414 1 3339 1724 +1615 blockdaemon_lido 0x8527d16c... Ultra Sound
13747423 8 3456 1842 +1614 stakefish 0x856b0004... BloXroute Max Profit
13743631 0 3321 1707 +1614 blockdaemon_lido 0xb67eaa5e... BloXroute Regulated
13746007 2 3354 1741 +1613 whale_0xdc8d 0xb67eaa5e... BloXroute Regulated
13741476 4 3385 1775 +1610 whale_0xdc8d 0x88a53ec4... BloXroute Regulated
13743813 2 3340 1741 +1599 blockdaemon_lido 0x82c466b9... BloXroute Regulated
13747277 5 3390 1791 +1599 blockdaemon 0x8527d16c... Ultra Sound
13747217 7 3423 1825 +1598 blockdaemon 0xb26f9666... Titan Relay
13748262 1 3313 1724 +1589 blockdaemon 0xb26f9666... Titan Relay
13743934 1 3309 1724 +1585 everstake 0xb26f9666... Titan Relay
13748134 0 3290 1707 +1583 everstake 0xb26f9666... Titan Relay
13747354 0 3289 1707 +1582 0x8527d16c... Ultra Sound
13747756 4 3355 1775 +1580 everstake 0xb26f9666... Titan Relay
13745082 0 3286 1707 +1579 blockdaemon 0xb26f9666... Titan Relay
13741562 3 3328 1758 +1570 blockdaemon 0x88857150... Ultra Sound
13744654 5 3359 1791 +1568 blockdaemon 0x853b0078... BloXroute Max Profit
13747929 1 3290 1724 +1566 blockdaemon 0x88a53ec4... BloXroute Regulated
13744125 0 3273 1707 +1566 blockdaemon 0xb26f9666... Titan Relay
13746840 5 3357 1791 +1566 blockdaemon_lido 0x8527d16c... Ultra Sound
13747299 2 3305 1741 +1564 blockdaemon_lido 0x860d4173... BloXroute Max Profit
13743169 0 3271 1707 +1564 everstake 0x88a53ec4... BloXroute Regulated
13744583 5 3354 1791 +1563 blockdaemon 0x88857150... Ultra Sound
13747166 0 3268 1707 +1561 blockdaemon_lido 0x8527d16c... Ultra Sound
13745564 0 3264 1707 +1557 kiln 0xb26f9666... Titan Relay
13746337 8 3395 1842 +1553 blockdaemon_lido 0xb26f9666... Titan Relay
13746402 0 3258 1707 +1551 everstake 0xb26f9666... Titan Relay
13746336 6 3358 1808 +1550 ether.fi 0x88857150... Ultra Sound
13741962 2 3287 1741 +1546 blockdaemon 0x850b00e0... BloXroute Max Profit
13744908 11 3438 1892 +1546 ether.fi 0x8527d16c... Ultra Sound
13744454 0 3251 1707 +1544 luno 0x91b123d8... BloXroute Regulated
13744916 0 3251 1707 +1544 luno 0x82c466b9... BloXroute Regulated
13741801 1 3264 1724 +1540 blockdaemon_lido 0x850b00e0... BloXroute Regulated
13744493 6 3347 1808 +1539 blockdaemon_lido 0x8a850621... Ultra Sound
13741632 5 3330 1791 +1539 p2porg 0x850b00e0... BloXroute Max Profit
13746768 3 3296 1758 +1538 luno 0x853b0078... Ultra Sound
13743627 1 3262 1724 +1538 whale_0xdd6c 0xb26f9666... Titan Relay
13741782 0 3245 1707 +1538 blockdaemon_lido 0x852b0070... Ultra Sound
13744495 0 3243 1707 +1536 luno 0x8527d16c... Ultra Sound
13747071 7 3357 1825 +1532 everstake 0x8527d16c... Ultra Sound
13743397 1 3256 1724 +1532 blockdaemon 0x88857150... Ultra Sound
13741694 0 3239 1707 +1532 0xb67eaa5e... BloXroute Regulated
13741742 1 3255 1724 +1531 blockdaemon_lido 0xb67eaa5e... BloXroute Regulated
13748158 0 3237 1707 +1530 blockdaemon_lido 0x88857150... Ultra Sound
13748094 0 3235 1707 +1528 everstake 0x852b0070... BloXroute Max Profit
13747297 5 3319 1791 +1528 blockdaemon_lido 0xb26f9666... Titan Relay
13747200 5 3310 1791 +1519 everstake 0xb26f9666... Titan Relay
13746321 2 3259 1741 +1518 everstake 0xb26f9666... Titan Relay
13745132 5 3309 1791 +1518 whale_0xdc8d 0x8527d16c... Ultra Sound
13745148 1 3241 1724 +1517 blockdaemon 0xb26f9666... Titan Relay
13746769 4 3289 1775 +1514 everstake 0xb26f9666... Titan Relay
13747857 4 3286 1775 +1511 whale_0xdc8d 0x850b00e0... BloXroute Regulated
13742047 3 3269 1758 +1511 blockdaemon_lido 0x850b00e0... BloXroute Regulated
13747148 5 3301 1791 +1510 everstake 0xb67eaa5e... BloXroute Max Profit
13742816 0 3215 1707 +1508 ether.fi 0x8527d16c... Ultra Sound
13742226 5 3299 1791 +1508 gateway.fmas_lido 0x850b00e0... BloXroute Max Profit
13744935 8 3348 1842 +1506 blockdaemon_lido 0xb26f9666... Titan Relay
13743543 2 3244 1741 +1503 blockdaemon_lido 0xb67eaa5e... BloXroute Regulated
13747806 0 3210 1707 +1503 everstake 0x852b0070... BloXroute Max Profit
13745090 9 3361 1859 +1502 whale_0xdc8d 0x850b00e0... BloXroute Regulated
13743488 5 3290 1791 +1499 gateway.fmas_lido 0xb26f9666... Titan Relay
13742194 3 3256 1758 +1498 blockdaemon_lido 0x8527d16c... Ultra Sound
13745611 5 3289 1791 +1498 blockdaemon 0x8527d16c... Ultra Sound
13741960 3 3255 1758 +1497 everstake 0x8527d16c... Ultra Sound
13742686 5 3288 1791 +1497 blockdaemon_lido 0xb67eaa5e... BloXroute Regulated
13743987 7 3317 1825 +1492 0x8527d16c... Ultra Sound
13747059 4 3266 1775 +1491 0xb26f9666... Titan Relay
13743004 0 3197 1707 +1490 gateway.fmas_lido 0xb26f9666... Titan Relay
13741498 0 3197 1707 +1490 blockdaemon_lido 0x88a53ec4... BloXroute Regulated
13741815 1 3213 1724 +1489 everstake 0x88a53ec4... BloXroute Max Profit
13747157 4 3263 1775 +1488 blockdaemon_lido 0x856b0004... Ultra Sound
13744970 0 3191 1707 +1484 everstake 0x852b0070... BloXroute Max Profit
13741697 8 3323 1842 +1481 luno 0x853b0078... Ultra Sound
13747915 0 3185 1707 +1478 gateway.fmas_lido 0x852b0070... Ultra Sound
13742175 0 3185 1707 +1478 whale_0xdc8d 0x823e0146... BloXroute Max Profit
13746811 0 3184 1707 +1477 everstake 0xb26f9666... Titan Relay
13746204 5 3268 1791 +1477 figment 0x853b0078... Titan Relay
13746185 0 3183 1707 +1476 bitstamp 0x850b00e0... BloXroute Max Profit
13742848 11 3367 1892 +1475 stakingfacilities_lido 0x8527d16c... Ultra Sound
13745308 2 3215 1741 +1474 everstake 0xb26f9666... Titan Relay
13744519 0 3181 1707 +1474 everstake 0x8527d16c... Ultra Sound
13741975 8 3315 1842 +1473 blockdaemon 0xb7c5beef... Titan Relay
13744586 0 3179 1707 +1472 everstake 0x88a53ec4... BloXroute Regulated
13743302 5 3262 1791 +1471 everstake 0xb26f9666... Titan Relay
13743310 1 3189 1724 +1465 everstake 0xb26f9666... Titan Relay
13746536 0 3172 1707 +1465 gateway.fmas_lido 0xb26f9666... Titan Relay
13746512 6 3271 1808 +1463 everstake 0xb26f9666... Titan Relay
13743726 6 3269 1808 +1461 ether.fi 0xb26f9666... EthGas
13744151 1 3184 1724 +1460 everstake 0xb26f9666... Titan Relay
13747818 3 3217 1758 +1459 p2porg 0x850b00e0... BloXroute Regulated
13747716 3 3215 1758 +1457 whale_0x8ebd 0x88a53ec4... BloXroute Max Profit
13743279 10 3330 1876 +1454 everstake 0xb67eaa5e... BloXroute Max Profit
13745520 4 3228 1775 +1453 everstake 0x823e0146... Flashbots
13743296 3 3211 1758 +1453 nethermind_lido 0xb26f9666... Titan Relay
13746230 3 3211 1758 +1453 gateway.fmas_lido 0x88a53ec4... BloXroute Max Profit
13744635 1 3177 1724 +1453 gateway.fmas_lido 0x856b0004... Ultra Sound
13743831 9 3310 1859 +1451 blockdaemon_lido 0x88857150... Ultra Sound
13745285 5 3241 1791 +1450 whale_0xdc8d 0xb26f9666... Titan Relay
13742643 4 3223 1775 +1448 everstake 0x855b00e6... BloXroute Max Profit
13747302 0 3155 1707 +1448 everstake 0x856b0004... BloXroute Max Profit
13745719 5 3239 1791 +1448 blockdaemon 0xb26f9666... Titan Relay
13745827 3 3205 1758 +1447 p2porg 0x850b00e0... BloXroute Regulated
13748217 2 3187 1741 +1446 everstake 0x8527d16c... Ultra Sound
13741542 5 3236 1791 +1445 everstake 0x856b0004... Aestus
13741471 15 3402 1960 +1442 blockdaemon_lido 0x88857150... Ultra Sound
13744945 9 3301 1859 +1442 everstake 0x8527d16c... Ultra Sound
13747627 10 3316 1876 +1440 0x8527d16c... Ultra Sound
13741823 0 3147 1707 +1440 gateway.fmas_lido 0x856b0004... Ultra Sound
13746374 10 3314 1876 +1438 0xb26f9666... BloXroute Regulated
13744520 0 3145 1707 +1438 stader 0x852b0070... Agnostic Gnosis
13743056 8 3277 1842 +1435 blockdaemon 0x8527d16c... Ultra Sound
13744262 1 3159 1724 +1435 gateway.fmas_lido 0x8527d16c... Ultra Sound
13746880 3 3191 1758 +1433 0x853b0078... BloXroute Max Profit
13745892 8 3275 1842 +1433 everstake 0x856b0004... Agnostic Gnosis
13744862 10 3307 1876 +1431 blockdaemon_lido 0xb26f9666... Titan Relay
13746470 3 3188 1758 +1430 p2porg 0x850b00e0... BloXroute Max Profit
13741750 6 3236 1808 +1428 gateway.fmas_lido 0x853b0078... Ultra Sound
13743455 0 3134 1707 +1427 gateway.fmas_lido 0x8db2a99d... Flashbots
13743587 0 3134 1707 +1427 gateway.fmas_lido 0x88857150... Ultra Sound
13745785 5 3216 1791 +1425 everstake 0xb26f9666... Titan Relay
13746941 1 3148 1724 +1424 everstake 0xb26f9666... Titan Relay
13746345 4 3198 1775 +1423 whale_0x8ebd 0xb26f9666... Titan Relay
13746795 13 3349 1926 +1423 blockdaemon_lido 0xb26f9666... Titan Relay
13742716 0 3130 1707 +1423 gateway.fmas_lido 0x856b0004... BloXroute Max Profit
13744052 0 3130 1707 +1423 everstake 0x8527d16c... Ultra Sound
13746165 9 3280 1859 +1421 blockdaemon 0xb26f9666... Titan Relay
13747591 0 3128 1707 +1421 bitstamp 0x852b0070... Ultra Sound
13743769 3 3176 1758 +1418 whale_0x8ebd 0xb26f9666... Titan Relay
13742447 1 3142 1724 +1418 gateway.fmas_lido 0x853b0078... BloXroute Max Profit
13748332 3 3174 1758 +1416 bitstamp 0x8527d16c... Ultra Sound
13744300 1 3139 1724 +1415 everstake 0xb26f9666... Aestus
13742247 1 3137 1724 +1413 gateway.fmas_lido 0xac23f8cc... Flashbots
13747917 6 3220 1808 +1412 everstake 0xb26f9666... Titan Relay
13742872 4 3184 1775 +1409 everstake 0x88857150... Ultra Sound
13745942 3 3167 1758 +1409 gateway.fmas_lido 0x8527d16c... Ultra Sound
13742981 8 3250 1842 +1408 everstake 0x8db2a99d... Flashbots
13748390 7 3230 1825 +1405 gateway.fmas_lido 0xb26f9666... Aestus
13741813 0 3110 1707 +1403 everstake 0x805e28e6... BloXroute Max Profit
13745541 6 3209 1808 +1401 stader 0x8527d16c... Ultra Sound
13745602 7 3225 1825 +1400 kiln 0x850b00e0... Flashbots
13743422 5 3189 1791 +1398 everstake 0x856b0004... Agnostic Gnosis
13747207 8 3239 1842 +1397 everstake 0xb26f9666... Titan Relay
13747492 5 3187 1791 +1396 everstake 0xb26f9666... Titan Relay
13743998 2 3135 1741 +1394 p2porg 0x850b00e0... BloXroute Regulated
13743316 0 3101 1707 +1394 whale_0x8ebd 0xb26f9666... Titan Relay
13747131 2 3132 1741 +1391 p2porg 0x88a53ec4... BloXroute Regulated
13747701 0 3097 1707 +1390 everstake 0x88a53ec4... BloXroute Max Profit
13746519 9 3248 1859 +1389 gateway.fmas_lido 0x8527d16c... Ultra Sound
13744002 7 3214 1825 +1389 everstake 0x856b0004... Agnostic Gnosis
13745745 6 3197 1808 +1389 ether.fi 0x8527d16c... Ultra Sound
13742089 0 3096 1707 +1389 ether.fi 0x8527d16c... Ultra Sound
13743805 5 3178 1791 +1387 gateway.fmas_lido 0xac23f8cc... Flashbots
13745501 6 3194 1808 +1386 everstake 0xb26f9666... Titan Relay
13747413 8 3222 1842 +1380 whale_0xdd6c 0x8527d16c... Ultra Sound
13742967 1 3104 1724 +1380 whale_0xdd6c 0xb26f9666... Titan Relay
13747452 4 3154 1775 +1379 kelp 0x8527d16c... Ultra Sound
13742227 3 3137 1758 +1379 gateway.fmas_lido 0x8527d16c... Ultra Sound
13745890 3 3137 1758 +1379 p2porg 0x850b00e0... BloXroute Regulated
13741478 0 3086 1707 +1379 p2porg 0x850b00e0... BloXroute Regulated
13744469 5 3170 1791 +1379 everstake 0x88857150... Ultra Sound
13746459 7 3203 1825 +1378 p2porg 0x850b00e0... BloXroute Regulated
13742467 1 3102 1724 +1378 kelp 0x88857150... Ultra Sound
13747002 3 3135 1758 +1377 everstake 0x853b0078... Agnostic Gnosis
13743147 3 3134 1758 +1376 p2porg 0x850b00e0... BloXroute Regulated
13743170 0 3083 1707 +1376 mantle 0x88857150... Ultra Sound
13741739 8 3217 1842 +1375 blockdaemon 0x853b0078... Ultra Sound
13746301 8 3215 1842 +1373 everstake 0xb26f9666... Titan Relay
13748009 1 3097 1724 +1373 p2porg 0x8527d16c... Ultra Sound
13743319 0 3079 1707 +1372 p2porg 0x850b00e0... BloXroute Regulated
13743615 6 3177 1808 +1369 gateway.fmas_lido 0x88857150... Ultra Sound
13745263 5 3158 1791 +1367 0xb67eaa5e... BloXroute Max Profit
13741716 8 3208 1842 +1366 everstake 0x856b0004... Agnostic Gnosis
13746421 11 3258 1892 +1366 mantle 0x8527d16c... Ultra Sound
13743418 5 3157 1791 +1366 everstake 0x88857150... Ultra Sound
13745043 1 3089 1724 +1365 ether.fi 0x853b0078... Flashbots
13747914 8 3206 1842 +1364 ether.fi 0x8527d16c... Ultra Sound
13743114 6 3171 1808 +1363 stakingfacilities_lido 0xb26f9666... Titan Relay
13743791 6 3171 1808 +1363 gateway.fmas_lido 0x88857150... Ultra Sound
13741752 2 3103 1741 +1362 mantle 0x88857150... Ultra Sound
13742895 2 3101 1741 +1360 kelp 0x8db2a99d... Flashbots
13748074 0 3066 1707 +1359 abyss_finance 0x852b0070... Aestus
13745424 0 3066 1707 +1359 p2porg 0xb26f9666... BloXroute Regulated
13744373 8 3199 1842 +1357 everstake 0x856b0004... Agnostic Gnosis
13743115 0 3061 1707 +1354 whale_0xad3b 0x8527d16c... Ultra Sound
13741235 1 3077 1724 +1353 p2porg 0x88510a78... BloXroute Regulated
13744087 0 3059 1707 +1352 kiln 0x88a53ec4... BloXroute Regulated
13748387 0 3057 1707 +1350 p2porg 0x852b0070... Aestus
13743659 0 3057 1707 +1350 p2porg 0x850b00e0... BloXroute Regulated
13747174 1 3072 1724 +1348 mantle 0x88857150... Ultra Sound
13743501 3 3105 1758 +1347 figment 0xb26f9666... Titan Relay
13743909 4 3121 1775 +1346 kelp 0x88857150... Ultra Sound
13747035 6 3154 1808 +1346 whale_0x8ebd 0xb26f9666... Titan Relay
13742860 0 3052 1707 +1345 p2porg 0x88a53ec4... BloXroute Regulated
13743207 6 3152 1808 +1344 gateway.fmas_lido 0x88857150... Ultra Sound
13745471 5 3135 1791 +1344 0x8527d16c... Ultra Sound
13747528 3 3101 1758 +1343 stader 0xb26f9666... Titan Relay
13742149 3 3101 1758 +1343 p2porg 0x856b0004... Agnostic Gnosis
13744786 8 3185 1842 +1343 gateway.fmas_lido 0x8527d16c... Ultra Sound
13744101 8 3185 1842 +1343 mantle 0x8527d16c... Ultra Sound
13747233 2 3084 1741 +1343 0x88857150... Ultra Sound
13747638 1 3066 1724 +1342 0x8527d16c... Ultra Sound
13742377 5 3133 1791 +1342 whale_0xc541 0xac23f8cc... BloXroute Max Profit
13746357 1 3065 1724 +1341 p2porg 0x823e0146... BloXroute Max Profit
13741253 0 3047 1707 +1340 mantle 0xb26f9666... Titan Relay
13748054 3 3097 1758 +1339 p2porg 0xb26f9666... BloXroute Regulated
13742096 0 3046 1707 +1339 p2porg 0x8a850621... Ultra Sound
13745220 5 3130 1791 +1339 p2porg 0xb26f9666... Titan Relay
13746876 8 3180 1842 +1338 kelp 0x8db2a99d... Flashbots
13744054 1 3062 1724 +1338 kiln 0x88a53ec4... BloXroute Max Profit
13745058 0 3045 1707 +1338 mantle 0x926b7905... Flashbots
13747382 4 3112 1775 +1337 p2porg 0xb26f9666... Titan Relay
13745940 2 3078 1741 +1337 p2porg 0x823e0146... BloXroute Max Profit
13745964 3 3094 1758 +1336 ether.fi 0xb26f9666... Titan Relay
13745442 3 3094 1758 +1336 mantle 0x88a53ec4... BloXroute Regulated
13743377 3 3094 1758 +1336 p2porg 0x853b0078... Flashbots
13747659 2 3077 1741 +1336 whale_0x23be 0x856b0004... Aestus
13746186 1 3059 1724 +1335 kiln 0xb26f9666... Titan Relay
13742020 0 3042 1707 +1335 0x8527d16c... Ultra Sound
13744955 0 3041 1707 +1334 kelp 0x852b0070... BloXroute Max Profit
13741887 5 3125 1791 +1334 figment 0x8527d16c... Ultra Sound
13745095 5 3125 1791 +1334 p2porg 0x823e0146... BloXroute Max Profit
13742527 8 3174 1842 +1332 gateway.fmas_lido 0x88857150... Ultra Sound
13745312 18 3342 2010 +1332 blockdaemon 0xb67eaa5e... BloXroute Regulated
13744363 0 3039 1707 +1332 whale_0xedc6 0x852b0070... Agnostic Gnosis
13743216 4 3106 1775 +1331 kelp 0x856b0004... Ultra Sound
13744250 3 3089 1758 +1331 kiln 0xb26f9666... Titan Relay
13745066 0 3038 1707 +1331 p2porg 0x8527d16c... Ultra Sound
13745694 1 3054 1724 +1330 p2porg 0x853b0078... Agnostic Gnosis
13742884 1 3053 1724 +1329 figment 0x8527d16c... Ultra Sound
13746283 0 3036 1707 +1329 whale_0x8ebd 0xb26f9666... Titan Relay
13747694 8 3170 1842 +1328 whale_0x8ebd 0x8527d16c... Ultra Sound
13743935 0 3035 1707 +1328 ether.fi 0xb67eaa5e... BloXroute Max Profit
13742157 1 3050 1724 +1326 mantle 0x8527d16c... Ultra Sound
13742745 2 3066 1741 +1325 ether.fi 0xb26f9666... Aestus
13744818 7 3150 1825 +1325 ether.fi 0x8527d16c... Ultra Sound
13745109 1 3049 1724 +1325 p2porg 0x856b0004... Agnostic Gnosis
13742935 0 3032 1707 +1325 whale_0x8ebd 0xb26f9666... Titan Relay
13746570 6 3130 1808 +1322 whale_0xedc6 0x855b00e6... BloXroute Max Profit
13741291 8 3163 1842 +1321 everstake 0xb26f9666... Titan Relay
13744017 2 3061 1741 +1320 p2porg 0x853b0078... Aestus
13746109 0 3027 1707 +1320 p2porg 0x8527d16c... Ultra Sound
13744642 4 3093 1775 +1318 ether.fi 0x88857150... Ultra Sound
13741938 0 3025 1707 +1318 p2porg 0x853b0078... Agnostic Gnosis
13744860 5 3109 1791 +1318 ether.fi 0xb26f9666... Titan Relay
13746325 3 3075 1758 +1317 p2porg 0x856b0004... Aestus
13747502 1 3041 1724 +1317 kiln 0x8527d16c... Ultra Sound
13742297 0 3024 1707 +1317 ether.fi 0xb26f9666... Titan Relay
13743164 5 3108 1791 +1317 0x8527d16c... Ultra Sound
13745589 2 3057 1741 +1316 p2porg 0x8527d16c... Ultra Sound
13743758 0 3023 1707 +1316 0xb26f9666... BloXroute Max Profit
13744334 3 3071 1758 +1313 0x8db2a99d... BloXroute Max Profit
13745166 6 3121 1808 +1313 p2porg 0xb26f9666... Titan Relay
13743577 6 3120 1808 +1312 p2porg 0x853b0078... Agnostic Gnosis
13745717 3 3069 1758 +1311 kiln 0xb67eaa5e... BloXroute Regulated
13747547 5 3102 1791 +1311 p2porg 0x853b0078... Aestus
13742327 8 3152 1842 +1310 kelp 0x88857150... Ultra Sound
13744595 1 3034 1724 +1310 whale_0x8ebd 0xac23f8cc... Flashbots
13742814 11 3202 1892 +1310 p2porg 0x82c466b9... Flashbots
13744395 1 3033 1724 +1309 p2porg 0x823e0146... BloXroute Max Profit
13748339 1 3031 1724 +1307 ether.fi 0xac23f8cc... BloXroute Max Profit
13744674 0 3014 1707 +1307 ether.fi 0x856b0004... Agnostic Gnosis
13742613 5 3098 1791 +1307 mantle 0x88857150... Ultra Sound
13745431 12 3215 1909 +1306 gateway.fmas_lido 0x8527d16c... Ultra Sound
13744705 6 3113 1808 +1305 p2porg 0xb26f9666... Titan Relay
13746883 6 3113 1808 +1305 whale_0x0000 0x853b0078... Aestus
13747188 3 3062 1758 +1304 mantle 0xb26f9666... Titan Relay
13746190 3 3061 1758 +1303 0xb26f9666... Aestus
13742049 2 3044 1741 +1303 kelp 0xb26f9666... Titan Relay
13746077 7 3127 1825 +1302 p2porg 0x853b0078... Aestus
Total anomalies: 316

Anomalies by relay

Which relays produce the most propagation anomalies?

Show code
if n_anomalies > 0:
    # Count anomalies by relay
    relay_counts = df_outliers["relay"].value_counts().reset_index()
    relay_counts.columns = ["relay", "anomaly_count"]
    
    # Get total blocks per relay for context
    df_anomaly["relay"] = df_anomaly["winning_relays"].apply(lambda x: x[0] if len(x) > 0 else "Local")
    total_by_relay = df_anomaly.groupby("relay").size().reset_index(name="total_blocks")
    
    relay_counts = relay_counts.merge(total_by_relay, on="relay")
    relay_counts["anomaly_rate"] = relay_counts["anomaly_count"] / relay_counts["total_blocks"] * 100
    relay_counts = relay_counts.sort_values("anomaly_rate", ascending=True)
    
    fig = go.Figure()
    
    fig.add_trace(go.Bar(
        y=relay_counts["relay"],
        x=relay_counts["anomaly_count"],
        orientation="h",
        marker_color="#e74c3c",
        text=relay_counts.apply(lambda r: f"{r['anomaly_count']}/{r['total_blocks']} ({r['anomaly_rate']:.1f}%)", axis=1),
        textposition="outside",
        hovertemplate="<b>%{y}</b><br>Anomalies: %{x}<br>Total blocks: %{customdata[0]:,}<br>Rate: %{customdata[1]:.1f}%<extra></extra>",
        customdata=np.column_stack([relay_counts["total_blocks"], relay_counts["anomaly_rate"]]),
    ))
    
    fig.update_layout(
        margin=dict(l=150, r=80, t=30, b=60),
        xaxis=dict(title="Number of anomalies"),
        yaxis=dict(title=""),
        height=350,
    )
    fig.show(config={"responsive": True})

Anomalies by proposer entity

Which proposer entities produce the most propagation anomalies?

Show code
if n_anomalies > 0:
    # Count anomalies by proposer entity
    proposer_counts = df_outliers["proposer"].value_counts().reset_index()
    proposer_counts.columns = ["proposer", "anomaly_count"]
    
    # Get total blocks per proposer for context
    df_anomaly["proposer"] = df_anomaly["proposer_entity"].fillna("Unknown")
    total_by_proposer = df_anomaly.groupby("proposer").size().reset_index(name="total_blocks")
    
    proposer_counts = proposer_counts.merge(total_by_proposer, on="proposer")
    proposer_counts["anomaly_rate"] = proposer_counts["anomaly_count"] / proposer_counts["total_blocks"] * 100
    
    # Show top 15 by anomaly count
    proposer_counts = proposer_counts.nlargest(15, "anomaly_rate").sort_values("anomaly_rate", ascending=True)
    
    fig = go.Figure()
    
    fig.add_trace(go.Bar(
        y=proposer_counts["proposer"],
        x=proposer_counts["anomaly_count"],
        orientation="h",
        marker_color="#e74c3c",
        text=proposer_counts.apply(lambda r: f"{r['anomaly_count']}/{r['total_blocks']} ({r['anomaly_rate']:.1f}%)", axis=1),
        textposition="outside",
        hovertemplate="<b>%{y}</b><br>Anomalies: %{x}<br>Total blocks: %{customdata[0]:,}<br>Rate: %{customdata[1]:.1f}%<extra></extra>",
        customdata=np.column_stack([proposer_counts["total_blocks"], proposer_counts["anomaly_rate"]]),
    ))
    
    fig.update_layout(
        margin=dict(l=150, r=80, t=30, b=60),
        xaxis=dict(title="Number of anomalies"),
        yaxis=dict(title=""),
        height=450,
    )
    fig.show(config={"responsive": True})

Anomalies by builder

Which builders produce the most propagation anomalies? (Truncated pubkeys shown for MEV blocks)

Show code
if n_anomalies > 0:
    # Count anomalies by builder
    builder_counts = df_outliers["builder"].value_counts().reset_index()
    builder_counts.columns = ["builder", "anomaly_count"]
    
    # Get total blocks per builder for context
    df_anomaly["builder"] = df_anomaly["winning_builder"].apply(
        lambda x: f"{x[:10]}..." if pd.notna(x) and x else "Local"
    )
    total_by_builder = df_anomaly.groupby("builder").size().reset_index(name="total_blocks")
    
    builder_counts = builder_counts.merge(total_by_builder, on="builder")
    builder_counts["anomaly_rate"] = builder_counts["anomaly_count"] / builder_counts["total_blocks"] * 100
    
    # Show top 15 by anomaly count
    builder_counts = builder_counts.nlargest(15, "anomaly_rate").sort_values("anomaly_rate", ascending=True)
    
    fig = go.Figure()
    
    fig.add_trace(go.Bar(
        y=builder_counts["builder"],
        x=builder_counts["anomaly_count"],
        orientation="h",
        marker_color="#e74c3c",
        text=builder_counts.apply(lambda r: f"{r['anomaly_count']}/{r['total_blocks']} ({r['anomaly_rate']:.1f}%)", axis=1),
        textposition="outside",
        hovertemplate="<b>%{y}</b><br>Anomalies: %{x}<br>Total blocks: %{customdata[0]:,}<br>Rate: %{customdata[1]:.1f}%<extra></extra>",
        customdata=np.column_stack([builder_counts["total_blocks"], builder_counts["anomaly_rate"]]),
    ))
    
    fig.update_layout(
        margin=dict(l=150, r=80, t=30, b=60),
        xaxis=dict(title="Number of anomalies"),
        yaxis=dict(title=""),
        height=450,
    )
    fig.show(config={"responsive": True})

Anomalies by blob count

Are anomalies more common at certain blob counts?

Show code
if n_anomalies > 0:
    # Count anomalies by blob count
    blob_anomalies = df_outliers.groupby("blob_count").size().reset_index(name="anomaly_count")
    blob_total = df_anomaly.groupby("blob_count").size().reset_index(name="total_blocks")
    
    blob_stats = blob_total.merge(blob_anomalies, on="blob_count", how="left").fillna(0)
    blob_stats["anomaly_count"] = blob_stats["anomaly_count"].astype(int)
    blob_stats["anomaly_rate"] = blob_stats["anomaly_count"] / blob_stats["total_blocks"] * 100
    
    fig = go.Figure()
    
    fig.add_trace(go.Bar(
        x=blob_stats["blob_count"],
        y=blob_stats["anomaly_count"],
        marker_color="#e74c3c",
        hovertemplate="<b>%{x} blobs</b><br>Anomalies: %{y}<br>Total: %{customdata[0]:,}<br>Rate: %{customdata[1]:.1f}%<extra></extra>",
        customdata=np.column_stack([blob_stats["total_blocks"], blob_stats["anomaly_rate"]]),
    ))
    
    fig.update_layout(
        margin=dict(l=60, r=30, t=30, b=60),
        xaxis=dict(title="Blob count", dtick=1),
        yaxis=dict(title="Number of anomalies"),
        height=350,
    )
    fig.show(config={"responsive": True})