Wed, Jan 14, 2026

Propagation anomalies - 2026-01-14

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-01-14' AND slot_start_date_time < '2026-01-14'::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-01-14' AND slot_start_date_time < '2026-01-14'::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-01-14' AND slot_start_date_time < '2026-01-14'::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-01-14' AND slot_start_date_time < '2026-01-14'::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-01-14' AND slot_start_date_time < '2026-01-14'::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-01-14' AND slot_start_date_time < '2026-01-14'::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-01-14' AND slot_start_date_time < '2026-01-14'::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-01-14' AND slot_start_date_time < '2026-01-14'::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,178
MEV blocks: 6,693 (93.2%)
Local blocks: 485 (6.8%)

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 = 1774.9 + 19.10 × blob_count (R² = 0.014)
Residual σ = 622.7ms
Anomalies (>2σ slow): 323 (4.5%)
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
13465794 0 6618 1775 +4843 Local Local
13467072 8 4662 1928 +2734 lido 0x8527d16c... Ultra Sound
13464128 0 4358 1775 +2583 upbit Local Local
13465888 0 4310 1775 +2535 upbit Local Local
13467104 0 4136 1775 +2361 Local Local
13466204 12 4327 2004 +2323 ether.fi 0xb7c5beef... EthGas
13463509 0 4082 1775 +2307 Local Local
13463968 0 4055 1775 +2280 stakefish Local Local
13466496 0 4026 1775 +2251 upbit Local Local
13461953 0 3818 1775 +2043 Local Local
13461771 6 3908 1889 +2019 blockdaemon_lido 0x8a850621... Titan Relay
13464640 3 3798 1832 +1966 stakefish Local Local
13463232 0 3729 1775 +1954 solo_stakers Local Local
13466241 8 3857 1928 +1929 csm_operator344_lido Local Local
13461378 3 3751 1832 +1919 lido Local Local
13465356 0 3637 1775 +1862 everstake 0xb26f9666... Titan Relay
13461165 1 3655 1794 +1861 ether.fi 0xb26f9666... Titan Relay
13463137 1 3633 1794 +1839 0x8527d16c... Ultra Sound
13466016 0 3602 1775 +1827 revolut 0x91a8729e... Ultra Sound
13466052 5 3697 1870 +1827 0x850b00e0... BloXroute Regulated
13464368 3 3653 1832 +1821 0x8527d16c... Ultra Sound
13461088 0 3561 1775 +1786 whale_0x319d 0x852b0070... Agnostic Gnosis
13461313 8 3711 1928 +1783 0x88a53ec4... BloXroute Regulated
13464231 1 3572 1794 +1778 0x8527d16c... Ultra Sound
13464069 4 3628 1851 +1777 0xb26f9666... Titan Relay
13466191 0 3539 1775 +1764 0x91b123d8... BloXroute Regulated
13461711 3 3595 1832 +1763 0xb26f9666... Titan Relay
13461952 11 3737 1985 +1752 stakingfacilities_lido 0x8527d16c... Ultra Sound
13465822 5 3610 1870 +1740 ether.fi 0x8527d16c... Ultra Sound
13465980 0 3505 1775 +1730 blockdaemon_lido 0x851b00b1... Ultra Sound
13466793 0 3500 1775 +1725 binance 0x99dbe3e8... Agnostic Gnosis
13462575 5 3594 1870 +1724 0x8527d16c... Ultra Sound
13464308 11 3706 1985 +1721 whale_0xdd6c 0x853b0078... Aestus
13461280 3 3551 1832 +1719 0xb26f9666... Titan Relay
13460699 9 3639 1947 +1692 ether.fi 0x8527d16c... Ultra Sound
13462295 8 3613 1928 +1685 0x853b0078... BloXroute Max Profit
13465625 3 3514 1832 +1682 ether.fi 0x853b0078... Aestus
13464431 6 3566 1889 +1677 blockdaemon 0x8527d16c... Ultra Sound
13463901 9 3623 1947 +1676 0x8527d16c... Ultra Sound
13466972 3 3494 1832 +1662 0xb26f9666... EthGas
13466947 7 3570 1909 +1661 everstake 0x853b0078... BloXroute Max Profit
13467520 6 3550 1889 +1661 stakingfacilities_lido 0xb26f9666... Titan Relay
13464554 8 3587 1928 +1659 ether.fi 0xb26f9666... Titan Relay
13466379 1 3452 1794 +1658 ether.fi 0x8527d16c... Ultra Sound
13467159 1 3446 1794 +1652 blockdaemon Local Local
13464391 9 3595 1947 +1648 ether.fi 0x8527d16c... Ultra Sound
13465947 15 3681 2061 +1620 whale_0xdd6c 0x856b0004... Ultra Sound
13462471 3 3437 1832 +1605 ether.fi 0x8db2a99d... BloXroute Max Profit
13463847 3 3420 1832 +1588 blockdaemon_lido 0x88a53ec4... BloXroute Regulated
13464213 9 3530 1947 +1583 ether.fi 0xb26f9666... Titan Relay
13466624 0 3356 1775 +1581 blockscape_lido 0x851b00b1... Ultra Sound
13464512 3 3399 1832 +1567 p2porg 0x856b0004... Aestus
13464704 4 3415 1851 +1564 gateway.fmas_lido 0x856b0004... Ultra Sound
13464589 5 3429 1870 +1559 revolut Local Local
13463447 1 3351 1794 +1557 blockdaemon_lido 0x850b00e0... BloXroute Regulated
13465683 8 3479 1928 +1551 ether.fi 0xa230e2cf... BloXroute Max Profit
13465314 0 3326 1775 +1551 luno 0x853b0078... Ultra Sound
13463911 0 3324 1775 +1549 luno 0x8527d16c... Ultra Sound
13462964 13 3572 2023 +1549 0x856b0004... Ultra Sound
13466654 5 3419 1870 +1549 blockdaemon_lido 0x88a53ec4... BloXroute Regulated
13462815 1 3341 1794 +1547 blockdaemon 0x850b00e0... BloXroute Regulated
13466909 6 3435 1889 +1546 0xb67eaa5e... Titan Relay
13461047 3 3377 1832 +1545 blockdaemon_lido 0x88a53ec4... BloXroute Regulated
13460935 0 3316 1775 +1541 blockscape_lido 0xb26f9666... Titan Relay
13461728 0 3311 1775 +1536 p2porg 0x8527d16c... Ultra Sound
13464283 5 3406 1870 +1536 blockdaemon_lido 0xb67eaa5e... Titan Relay
13464062 3 3366 1832 +1534 blockdaemon 0x850b00e0... BloXroute Regulated
13464046 3 3363 1832 +1531 luno 0x88a53ec4... BloXroute Regulated
13467224 4 3382 1851 +1531 blockdaemon 0x850b00e0... BloXroute Regulated
13467078 3 3362 1832 +1530 0x850b00e0... BloXroute Regulated
13467015 6 3417 1889 +1528 ether.fi 0x8527d16c... Ultra Sound
13466368 3 3356 1832 +1524 p2porg 0x853b0078... Agnostic Gnosis
13466764 0 3296 1775 +1521 blockdaemon 0xb26f9666... Titan Relay
13466528 1 3315 1794 +1521 bitstamp 0x8527d16c... Ultra Sound
13461008 4 3372 1851 +1521 blockdaemon_lido Local Local
13461177 6 3409 1889 +1520 blockdaemon_lido 0xb67eaa5e... Titan Relay
13466649 7 3425 1909 +1516 0xb26f9666... Titan Relay
13463776 5 3386 1870 +1516 stakingfacilities_lido 0xb26f9666... Titan Relay
13466597 0 3287 1775 +1512 p2porg 0x8527d16c... Ultra Sound
13464557 0 3286 1775 +1511 blockdaemon_lido 0xb67eaa5e... BloXroute Regulated
13467136 1 3302 1794 +1508 blockscape_lido 0x8db2a99d... Ultra Sound
13463649 2 3319 1813 +1506 blockdaemon 0x850b00e0... BloXroute Regulated
13460592 3 3338 1832 +1506 blockdaemon_lido 0x850b00e0... BloXroute Regulated
13466430 0 3277 1775 +1502 blockdaemon_lido 0x82c466b9... BloXroute Regulated
13461092 5 3372 1870 +1502 blockdaemon 0x88a53ec4... BloXroute Regulated
13466620 5 3368 1870 +1498 blockdaemon_lido 0xb67eaa5e... Titan Relay
13461888 8 3425 1928 +1497 gateway.fmas_lido 0x856b0004... Ultra Sound
13463550 2 3307 1813 +1494 blockdaemon_lido 0xb26f9666... Titan Relay
13464998 4 3342 1851 +1491 blockdaemon 0xb67eaa5e... Titan Relay
13464081 0 3262 1775 +1487 blockdaemon 0xb5f83342... Ultra Sound
13464033 6 3373 1889 +1484 revolut 0xb67eaa5e... BloXroute Regulated
13467366 8 3407 1928 +1479 blockdaemon_lido 0xb67eaa5e... BloXroute Regulated
13462432 0 3253 1775 +1478 ether.fi 0x8527d16c... Ultra Sound
13462911 0 3252 1775 +1477 blockdaemon_lido 0xb67eaa5e... BloXroute Regulated
13462983 2 3276 1813 +1463 blockdaemon_lido 0xb26f9666... Titan Relay
13463692 4 3313 1851 +1462 revolut 0x850b00e0... BloXroute Regulated
13462921 0 3231 1775 +1456 0x823e0146... Flashbots
13467484 4 3307 1851 +1456 blockdaemon 0xb26f9666... Titan Relay
13467021 6 3345 1889 +1456 everstake 0xac23f8cc... Flashbots
13463733 4 3305 1851 +1454 blockdaemon_lido 0x850b00e0... BloXroute Regulated
13463096 5 3316 1870 +1446 0xb26f9666... BloXroute Max Profit
13464439 0 3219 1775 +1444 blockdaemon_lido 0x91a8729e... BloXroute Regulated
13461066 7 3351 1909 +1442 blockdaemon 0xb7c5e609... BloXroute Regulated
13464745 3 3274 1832 +1442 0x82c466b9... Flashbots
13463969 0 3212 1775 +1437 everstake 0x83d6a6ab... Flashbots
13464049 4 3287 1851 +1436 0x8527d16c... Ultra Sound
13460916 3 3262 1832 +1430 blockdaemon_lido 0x88a53ec4... BloXroute Regulated
13465536 3 3261 1832 +1429 everstake 0x850b00e0... BloXroute Max Profit
13463600 5 3297 1870 +1427 0x850b00e0... BloXroute Regulated
13460556 1 3220 1794 +1426 stakingfacilities_lido 0xac23f8cc... BloXroute Max Profit
13461760 0 3193 1775 +1418 everstake 0x853b0078... BloXroute Max Profit
13466977 3 3249 1832 +1417 blockdaemon 0x88a53ec4... BloXroute Regulated
13461836 3 3249 1832 +1417 revolut 0xb26f9666... Titan Relay
13463828 5 3287 1870 +1417 everstake 0xb67eaa5e... BloXroute Regulated
13467004 3 3246 1832 +1414 stakingfacilities_lido 0x8527d16c... Ultra Sound
13467553 3 3245 1832 +1413 everstake 0x8527d16c... Ultra Sound
13461979 5 3283 1870 +1413 p2porg 0x850b00e0... BloXroute Regulated
13467502 6 3302 1889 +1413 0x88510a78... BloXroute Regulated
13460650 10 3372 1966 +1406 stakingfacilities_lido 0x88a53ec4... BloXroute Regulated
13467454 8 3333 1928 +1405 0xb26f9666... BloXroute Regulated
13465226 10 3369 1966 +1403 blockdaemon_lido 0x88a53ec4... BloXroute Regulated
13465935 7 3311 1909 +1402 blockdaemon 0xb26f9666... Titan Relay
13466843 8 3330 1928 +1402 blockdaemon_lido 0x853b0078... Ultra Sound
13460963 3 3232 1832 +1400 p2porg 0x853b0078... Aestus
13466234 3 3232 1832 +1400 0x850b00e0... BloXroute Regulated
13464789 0 3174 1775 +1399 p2porg 0x805e28e6... BloXroute Max Profit
13463124 5 3269 1870 +1399 revolut 0x853b0078... Ultra Sound
13460813 3 3230 1832 +1398 bitstamp 0x853b0078... Agnostic Gnosis
13466213 10 3359 1966 +1393 ether.fi 0xb67eaa5e... EthGas
13461631 3 3224 1832 +1392 blockdaemon_lido 0x850b00e0... BloXroute Regulated
13463657 5 3260 1870 +1390 p2porg 0x88a53ec4... BloXroute Max Profit
13462702 1 3183 1794 +1389 everstake 0x8527d16c... Ultra Sound
13460683 5 3258 1870 +1388 blockdaemon 0x8527d16c... Ultra Sound
13460659 8 3314 1928 +1386 0xb26f9666... BloXroute Max Profit
13465572 3 3218 1832 +1386 ether.fi 0x8a850621... Ultra Sound
13460513 3 3217 1832 +1385 everstake 0x8db2a99d... Flashbots
13461128 2 3196 1813 +1383 0x850b00e0... BloXroute Max Profit
13461333 14 3425 2042 +1383 blockdaemon_lido 0x88a53ec4... BloXroute Regulated
13467318 14 3425 2042 +1383 0x88a53ec4... BloXroute Regulated
13465748 3 3210 1832 +1378 blockdaemon_lido 0xb26f9666... Titan Relay
13465175 5 3248 1870 +1378 0xb26f9666... Titan Relay
13465026 3 3209 1832 +1377 gateway.fmas_lido 0x8db2a99d... BloXroute Max Profit
13464352 5 3246 1870 +1376 p2porg 0x856b0004... Ultra Sound
13461025 0 3150 1775 +1375 everstake 0x8527d16c... Ultra Sound
13464783 0 3150 1775 +1375 0x852b0070... Ultra Sound
13460948 0 3149 1775 +1374 blockdaemon_lido 0xb67eaa5e... BloXroute Regulated
13461300 3 3204 1832 +1372 0x823e0146... BloXroute Max Profit
13460430 9 3318 1947 +1371 blockdaemon 0x91b123d8... BloXroute Regulated
13466448 9 3318 1947 +1371 p2porg 0x8527d16c... Ultra Sound
13462900 3 3202 1832 +1370 p2porg 0x8527d16c... Ultra Sound
13461365 3 3201 1832 +1369 everstake 0x8527d16c... Ultra Sound
13460572 16 3449 2080 +1369 whale_0x23be 0x853b0078... Ultra Sound
13461297 4 3218 1851 +1367 gateway.fmas_lido 0x8527d16c... Ultra Sound
13466167 5 3237 1870 +1367 revolut 0xb26f9666... Titan Relay
13464134 0 3141 1775 +1366 0x8527d16c... Ultra Sound
13466135 3 3198 1832 +1366 ether.fi 0xb26f9666... EthGas
13464715 8 3290 1928 +1362 0x8db2a99d... BloXroute Max Profit
13463804 3 3192 1832 +1360 0x8527d16c... Ultra Sound
13463065 1 3150 1794 +1356 p2porg 0x853b0078... BloXroute Max Profit
13466955 11 3340 1985 +1355 blockdaemon 0x88a53ec4... BloXroute Regulated
13465291 3 3186 1832 +1354 stakingfacilities_lido 0x8db2a99d... Flashbots
13465987 9 3300 1947 +1353 blockscape_lido Local Local
13460713 1 3147 1794 +1353 0x856b0004... Agnostic Gnosis
13463352 2 3166 1813 +1353 gateway.fmas_lido 0x850b00e0... BloXroute Max Profit
13465670 3 3185 1832 +1353 0x8527d16c... Ultra Sound
13464798 3 3184 1832 +1352 0xb26f9666... BloXroute Regulated
13467033 9 3298 1947 +1351 mantle 0x88857150... Ultra Sound
13466618 4 3201 1851 +1350 blockdaemon 0xb26f9666... Titan Relay
13465287 6 3239 1889 +1350 0x8527d16c... Ultra Sound
13465322 0 3124 1775 +1349 0x850b00e0... BloXroute Regulated
13461523 3 3181 1832 +1349 0x8527d16c... Ultra Sound
13464863 0 3123 1775 +1348 everstake 0xb67eaa5e... BloXroute Regulated
13465685 2 3161 1813 +1348 kraken 0xb26f9666... EthGas
13461250 9 3294 1947 +1347 blockdaemon 0x850b00e0... BloXroute Regulated
13464395 3 3179 1832 +1347 0x850b00e0... BloXroute Regulated
13462899 4 3198 1851 +1347 p2porg 0x856b0004... Aestus
13466357 0 3121 1775 +1346 0x851b00b1... BloXroute Max Profit
13465851 3 3177 1832 +1345 0xb26f9666... BloXroute Regulated
13460628 4 3196 1851 +1345 figment 0x8527d16c... Ultra Sound
13464626 0 3119 1775 +1344 whale_0x23be 0x853b0078... Aestus
13461270 11 3329 1985 +1344 blockdaemon_lido 0x850b00e0... BloXroute Regulated
13463069 8 3271 1928 +1343 revolut 0xb26f9666... Titan Relay
13467057 8 3269 1928 +1341 whale_0x7791 0xac23f8cc... Flashbots
13462592 0 3116 1775 +1341 ether.fi 0x8db2a99d... BloXroute Max Profit
13466161 5 3211 1870 +1341 0xb67eaa5e... BloXroute Max Profit
13464472 6 3228 1889 +1339 0x850b00e0... BloXroute Regulated
13465345 3 3169 1832 +1337 blockscape_lido 0x853b0078... Ultra Sound
13465859 13 3359 2023 +1336 blockdaemon_lido 0x88a53ec4... BloXroute Regulated
13467063 0 3110 1775 +1335 0x99dbe3e8... Aestus
13463670 6 3223 1889 +1334 everstake 0xb67eaa5e... BloXroute Max Profit
13466626 5 3202 1870 +1332 everstake 0x88a53ec4... BloXroute Regulated
13460902 0 3106 1775 +1331 0xb67eaa5e... BloXroute Regulated
13466040 11 3316 1985 +1331 p2porg 0x856b0004... Ultra Sound
13463395 8 3258 1928 +1330 p2porg 0x853b0078... BloXroute Max Profit
13463225 1 3124 1794 +1330 kelp 0x850b00e0... BloXroute Max Profit
13461749 4 3181 1851 +1330 gateway.fmas_lido 0x88a53ec4... BloXroute Max Profit
13462549 1 3123 1794 +1329 gateway.fmas_lido 0x8db2a99d... Flashbots
13464569 3 3161 1832 +1329 p2porg 0x8527d16c... Ultra Sound
13465497 1 3121 1794 +1327 p2porg 0x856b0004... Agnostic Gnosis
13466341 2 3140 1813 +1327 gateway.fmas_lido 0x856b0004... Ultra Sound
13463494 1 3119 1794 +1325 kelp 0xac23f8cc... BloXroute Max Profit
13467173 1 3118 1794 +1324 blockscape_lido 0xb67eaa5e... BloXroute Max Profit
13460709 1 3118 1794 +1324 everstake 0xb26f9666... Aestus
13462309 0 3098 1775 +1323 p2porg 0xb26f9666... BloXroute Max Profit
13460696 5 3191 1870 +1321 gateway.fmas_lido 0x850b00e0... BloXroute Max Profit
13464238 0 3095 1775 +1320 p2porg 0x852b0070... Aestus
13461203 3 3152 1832 +1320 figment 0x8527d16c... Ultra Sound
13462418 4 3171 1851 +1320 stakingfacilities_lido 0x823e0146... Flashbots
13461472 5 3189 1870 +1319 bitstamp 0x8db2a99d... BloXroute Max Profit
13463338 0 3093 1775 +1318 p2porg 0x853b0078... BloXroute Max Profit
13461683 0 3093 1775 +1318 ether.fi 0x8527d16c... Ultra Sound
13463671 0 3093 1775 +1318 blockscape_lido 0x8527d16c... Ultra Sound
13467167 0 3092 1775 +1317 p2porg 0xb67eaa5e... BloXroute Max Profit
13460401 5 3184 1870 +1314 gateway.fmas_lido 0x8527d16c... Ultra Sound
13466371 0 3088 1775 +1313 gateway.fmas_lido 0x853b0078... Aestus
13465635 9 3257 1947 +1310 p2porg 0x853b0078... BloXroute Max Profit
13461790 14 3351 2042 +1309 p2porg 0xac23f8cc... BloXroute Max Profit
13464393 0 3083 1775 +1308 p2porg 0x91a8729e... Ultra Sound
13466178 13 3331 2023 +1308 everstake 0x88a53ec4... BloXroute Regulated
13462628 1 3101 1794 +1307 p2porg 0x823e0146... BloXroute Max Profit
13462914 4 3158 1851 +1307 p2porg 0x8527d16c... Ultra Sound
13466640 15 3368 2061 +1307 0x88a53ec4... BloXroute Max Profit
13466033 3 3138 1832 +1306 0x8527d16c... Ultra Sound
13463241 3 3138 1832 +1306 ether.fi 0xb7c5e609... BloXroute Max Profit
13463844 0 3079 1775 +1304 blockscape_lido 0x852b0070... Ultra Sound
13467268 6 3193 1889 +1304 gateway.fmas_lido 0x8527d16c... Ultra Sound
13464072 0 3077 1775 +1302 ether.fi 0x82c466b9... EthGas
13466248 0 3077 1775 +1302 everstake 0xb26f9666... Aestus
13460421 3 3134 1832 +1302 p2porg 0x8527d16c... Ultra Sound
13460852 4 3151 1851 +1300 p2porg 0xb26f9666... BloXroute Max Profit
13460651 0 3074 1775 +1299 mantle 0x8527d16c... Ultra Sound
13463344 0 3074 1775 +1299 blockscape_lido 0x823e0146... Ultra Sound
13465479 2 3112 1813 +1299 ether.fi 0x88a53ec4... BloXroute Regulated
13461666 5 3169 1870 +1299 everstake 0xb26f9666... Titan Relay
13461102 5 3169 1870 +1299 p2porg 0x853b0078... BloXroute Max Profit
13460970 3 3130 1832 +1298 everstake 0x88a53ec4... BloXroute Max Profit
13467052 5 3167 1870 +1297 gateway.fmas_lido 0xac23f8cc... BloXroute Max Profit
13465953 0 3071 1775 +1296 gateway.fmas_lido 0x8527d16c... Ultra Sound
13462580 0 3071 1775 +1296 gateway.fmas_lido 0x852b0070... Ultra Sound
13460609 3 3128 1832 +1296 gateway.fmas_lido 0x8527d16c... Ultra Sound
13462419 9 3242 1947 +1295 0xb67eaa5e... BloXroute Regulated
13466021 3 3126 1832 +1294 0x8a850621... Ultra Sound
13465210 8 3221 1928 +1293 0x853b0078... BloXroute Max Profit
13464549 1 3085 1794 +1291 0x8a850621... Titan Relay
13460924 9 3237 1947 +1290 0x856b0004... Aestus
13462941 3 3122 1832 +1290 p2porg 0x853b0078... Agnostic Gnosis
13462808 5 3160 1870 +1290 p2porg 0xb26f9666... Aestus
13465624 5 3160 1870 +1290 0x8527d16c... Ultra Sound
13462617 2 3101 1813 +1288 mantle 0x823e0146... Flashbots
13464194 0 3062 1775 +1287 gateway.fmas_lido 0x88857150... Ultra Sound
13467243 5 3156 1870 +1286 p2porg 0x8527d16c... Ultra Sound
13463037 6 3175 1889 +1286 blockscape_lido 0x8527d16c... Ultra Sound
13462827 0 3060 1775 +1285 0x852b0070... Agnostic Gnosis
13465798 3 3117 1832 +1285 whale_0x23be 0xb67eaa5e... BloXroute Max Profit
13464091 0 3059 1775 +1284 p2porg 0x91a8729e... BloXroute Max Profit
13463397 2 3097 1813 +1284 p2porg 0x853b0078... BloXroute Max Profit
13461789 4 3135 1851 +1284 0x88a53ec4... BloXroute Max Profit
13462041 7 3192 1909 +1283 everstake 0xb67eaa5e... BloXroute Regulated
13467286 8 3210 1928 +1282 0x8db2a99d... Flashbots
13464812 8 3210 1928 +1282 p2porg 0xb26f9666... BloXroute Max Profit
13465081 8 3209 1928 +1281 0x850b00e0... BloXroute Max Profit
13465086 0 3056 1775 +1281 gateway.fmas_lido 0x88a53ec4... BloXroute Max Profit
13465551 4 3132 1851 +1281 ether.fi 0x8527d16c... Ultra Sound
13462184 0 3055 1775 +1280 blockscape_lido 0x8527d16c... Ultra Sound
13464251 4 3131 1851 +1280 blockscape_lido 0x8527d16c... Ultra Sound
13462479 1 3073 1794 +1279 gateway.fmas_lido 0x8527d16c... Ultra Sound
13463681 1 3072 1794 +1278 p2porg 0x853b0078... BloXroute Max Profit
13464945 13 3300 2023 +1277 revolut 0x853b0078... Ultra Sound
13462645 3 3109 1832 +1277 0xb67eaa5e... BloXroute Max Profit
13464655 8 3204 1928 +1276 0x856b0004... Aestus
13463025 0 3051 1775 +1276 blockscape_lido 0x8527d16c... Ultra Sound
13466798 5 3146 1870 +1276 blockscape_lido 0x823e0146... BloXroute Max Profit
13462588 1 3069 1794 +1275 p2porg 0xb26f9666... BloXroute Max Profit
13461344 0 3049 1775 +1274 nethermind_lido 0x860d4173... BloXroute Max Profit
13467417 5 3143 1870 +1273 p2porg 0x853b0078... Ultra Sound
13466602 5 3143 1870 +1273 gateway.fmas_lido 0x856b0004... Agnostic Gnosis
13463256 6 3161 1889 +1272 ether.fi 0x8db2a99d... BloXroute Max Profit
13464580 12 3274 2004 +1270 mantle 0x88a53ec4... BloXroute Max Profit
13465965 0 3044 1775 +1269 0xb26f9666... Aestus
13465760 14 3311 2042 +1269 everstake 0xb67eaa5e... BloXroute Max Profit
13462195 0 3043 1775 +1268 0x852b0070... Agnostic Gnosis
13462258 2 3079 1813 +1266 blockscape_lido 0x850b00e0... Ultra Sound
13464336 5 3136 1870 +1266 0xb67eaa5e... BloXroute Max Profit
13464485 0 3040 1775 +1265 ether.fi 0x852b0070... Agnostic Gnosis
13463081 3 3097 1832 +1265 figment 0x8527d16c... Ultra Sound
13462895 0 3039 1775 +1264 0x823e0146... BloXroute Max Profit
13462002 0 3039 1775 +1264 gateway.fmas_lido 0xac23f8cc... BloXroute Max Profit
13465013 0 3038 1775 +1263 gateway.fmas_lido 0x8527d16c... Ultra Sound
13462249 0 3037 1775 +1262 whale_0x7791 0x850b00e0... Flashbots
13464625 8 3189 1928 +1261 0xb26f9666... BloXroute Regulated
13465567 0 3036 1775 +1261 p2porg 0x852b0070... Agnostic Gnosis
13466556 1 3055 1794 +1261 0xb67eaa5e... BloXroute Max Profit
13461803 0 3035 1775 +1260 kelp 0x91a8729e... BloXroute Max Profit
13465882 5 3130 1870 +1260 everstake 0x8527d16c... Ultra Sound
13465435 0 3034 1775 +1259 kelp 0x926b7905... BloXroute Max Profit
13462714 0 3034 1775 +1259 0x8527d16c... Ultra Sound
13464099 12 3262 2004 +1258 0x853b0078... BloXroute Max Profit
13465790 0 3032 1775 +1257 everstake 0xb26f9666... Titan Relay
13463974 8 3184 1928 +1256 0xb26f9666... Aestus
13461430 11 3240 1985 +1255 ether.fi 0x853b0078... Ultra Sound
13465172 1 3049 1794 +1255 0x823e0146... BloXroute Max Profit
13462285 10 3220 1966 +1254 everstake 0xb67eaa5e... BloXroute Max Profit
13465805 11 3239 1985 +1254 0x88a53ec4... BloXroute Regulated
13460578 3 3086 1832 +1254 0xb26f9666... BloXroute Max Profit
13461920 5 3124 1870 +1254 0x853b0078... Aestus
13466340 8 3181 1928 +1253 0xb67eaa5e... BloXroute Max Profit
13466219 0 3028 1775 +1253 0xb7c5e609... BloXroute Max Profit
13460795 1 3046 1794 +1252 bitstamp 0x850b00e0... BloXroute Max Profit
13466427 3 3084 1832 +1252 0x88a53ec4... BloXroute Regulated
13464313 4 3103 1851 +1252 blockscape_lido 0x823e0146... Ultra Sound
13463265 5 3122 1870 +1252 everstake 0x856b0004... BloXroute Max Profit
13466238 8 3179 1928 +1251 0x8527d16c... Ultra Sound
13467122 2 3064 1813 +1251 0x823e0146... BloXroute Max Profit
13461895 5 3121 1870 +1251 ether.fi 0xac23f8cc... Flashbots
13460797 4 3100 1851 +1249 0x88a53ec4... BloXroute Regulated
13465044 1 3042 1794 +1248 0x8a850621... Titan Relay
13463942 8 3175 1928 +1247 0xb26f9666... BloXroute Max Profit
13462614 0 3022 1775 +1247 0x853b0078... Agnostic Gnosis
13467533 0 3022 1775 +1247 0x88a53ec4... BloXroute Regulated
13466987 1 3041 1794 +1247 ether.fi 0xb7c5beef... Titan Relay
13464621 4 3098 1851 +1247 ether.fi 0x88857150... Ultra Sound
13462937 0 3021 1775 +1246 everstake 0xb26f9666... Titan Relay
13465686 8 3173 1928 +1245 p2porg 0x853b0078... BloXroute Max Profit
Total anomalies: 323

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})