Skip to content

fix(bench): aggregate per-route vector before exposing success rate - #584

Merged
Flotapponnier merged 1 commit into
devfrom
fix/bench-success-aggregation
Jun 19, 2026
Merged

fix(bench): aggregate per-route vector before exposing success rate#584
Flotapponnier merged 1 commit into
devfrom
fix/bench-success-aggregation

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

What

Wrap the success queries on bridge-quote-latency and bridge-fee in avg(...) so they collapse the per route times per amount vector into a single scalar.

Why

The previous queries returned a vector (one entry per route times amount times token times region). The materialize layer picked one entry from that vector, which made the rendered success rate wrong:

Bridge True 24h Page before
Mobula 79% 0%
LI.FI 91% 100%
Relay 97% 100%
deBridge 100% 100%

After this patch the rendered values match the true 24h average across all measured routes.

Out of scope

The underlying Mobula API failures on Arbitrum to Solana corridor (where the 0% per route came from) are an upstream issue, not a bench issue.

@Flotapponnier
Flotapponnier merged commit 4fb682e into dev Jun 19, 2026
1 check passed
Flotapponnier added a commit that referenced this pull request Jun 19, 2026
…ee (#593)

Adds the Near Intents 1Click API provider to both bridge benchmarks.
Metrics will start populating once the bridge-monitor harness is
redeployed with the nearintents_bridge.go integration shipped on
mobula-api side and the NEARINTENTS_API_KEY env var set on Railway.

Includes Near Protocol logo (public/logos/near-intents.svg), provider
registry entry with longDescription + docs link, and YAML provider
entries on both bridge-quote-latency and bridge-fee with the post-#584
avg(...) wrapper on success queries.

SEO cohort copy updated to include Near Intents in both benches.
Flotapponnier added a commit that referenced this pull request Jun 19, 2026
…ee (#593) (#594)

Adds the Near Intents 1Click API provider to both bridge benchmarks.
Metrics will start populating once the bridge-monitor harness is
redeployed with the nearintents_bridge.go integration shipped on
mobula-api side and the NEARINTENTS_API_KEY env var set on Railway.

Includes Near Protocol logo (public/logos/near-intents.svg), provider
registry entry with longDescription + docs link, and YAML provider
entries on both bridge-quote-latency and bridge-fee with the post-#584
avg(...) wrapper on success queries.

SEO cohort copy updated to include Near Intents in both benches.
@Flotapponnier
Flotapponnier deleted the fix/bench-success-aggregation branch July 17, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant