feat: add free provider rankings page by Arena AI ELO scores - #3799
Merged
diegosouzapw merged 1 commit intoJun 13, 2026
Merged
Conversation
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Add a new dashboard page that ranks free providers by their models' ELO scores from the Arena AI leaderboard. Changes: - src/lib/freeProviderRankings.ts: Core logic with flexible model name matching (exact, version-suffix strip, prefix) joining free providers (no-auth, OAuth hasFree, API key hasFree) with model_intelligence DB entries, sorted by top model ELO descending - src/app/api/free-provider-rankings/route.ts: GET endpoint with Zod schema validation for category filter and limit params - src/app/(dashboard)/dashboard/free-provider-rankings/page.tsx: Dashboard page with podium (top 3), category filter buttons, full table with score labels (not misleading percentages), i18n throughout - src/shared/constants/sidebarVisibility.ts: Registered in Costs section - src/i18n/messages/en.json: Added i18n keys for sidebar + page - tests/unit/freeProviderRankings.test.ts: 16 unit tests covering stripVersionSuffix, findMatchingIntelligence exact/fuzzy/prefix/null
pizzav-xyz
force-pushed
the
feat/free-provider-rankings
branch
from
June 13, 2026 21:50
3755d98 to
c5d0752
Compare
diegosouzapw
added a commit
that referenced
this pull request
Jun 13, 2026
ARENA_ELO_SYNC_ENABLED flips to on-by-default (opt out with =false) so the Free Provider Rankings page (#3799) has data out of the box. Sync stays non-blocking/never-fatal.
diegosouzapw
added a commit
that referenced
this pull request
Jun 13, 2026
Initializes initArenaEloSync() from instrumentation-node.ts (the Next standalone startup hook) instead of the never-executed server-init.ts, so the Free Provider Rankings page (#3799) actually gets data. On by default; opt out with ARENA_ELO_SYNC_ENABLED=false.
HouMinXi
pushed a commit
to HouMinXi/OmniRoute
that referenced
this pull request
Aug 2, 2026
…w#3799) Adds a dashboard page + /api/free-provider-rankings route ranking free providers by model ELO/intelligence scores. Pure computation over the existing provider registry + model-intelligence data (no external fetch). Sidebar entry included.
HouMinXi
pushed a commit
to HouMinXi/OmniRoute
that referenced
this pull request
Aug 2, 2026
…leanup (diegosouzapw#3800) Surfaces the Plugins page (marketplace, diegosouzapw#3656) in the sidebar; adds the proxy IP-family selector (auto/ipv4/ipv6) completing diegosouzapw#3777's UI; clears the remaining CodeQL URL-substring alerts; covers diegosouzapw#3799 with tests and fixes the costs-section count.
HouMinXi
pushed a commit
to HouMinXi/OmniRoute
that referenced
this pull request
Aug 2, 2026
…#3801) diegosouzapw#3799 already shipped tests/unit/freeProviderRankings.test.ts (thorough pure-function coverage). My diegosouzapw#3800 file duplicated it; remove the redundant copy. The matching algorithm (stripVersionSuffix/findMatchingIntelligence) stays covered by diegosouzapw#3799's tests.
HouMinXi
pushed a commit
to HouMinXi/OmniRoute
that referenced
this pull request
Aug 2, 2026
ARENA_ELO_SYNC_ENABLED flips to on-by-default (opt out with =false) so the Free Provider Rankings page (diegosouzapw#3799) has data out of the box. Sync stays non-blocking/never-fatal.
HouMinXi
pushed a commit
to HouMinXi/OmniRoute
that referenced
this pull request
Aug 2, 2026
…gosouzapw#3803) Initializes initArenaEloSync() from instrumentation-node.ts (the Next standalone startup hook) instead of the never-executed server-init.ts, so the Free Provider Rankings page (diegosouzapw#3799) actually gets data. On by default; opt out with ARENA_ELO_SYNC_ENABLED=false.
Poid-ZA
pushed a commit
to Poid-ZA/OmniRoute
that referenced
this pull request
Aug 5, 2026
…w#3799) Adds a dashboard page + /api/free-provider-rankings route ranking free providers by model ELO/intelligence scores. Pure computation over the existing provider registry + model-intelligence data (no external fetch). Sidebar entry included.
Poid-ZA
pushed a commit
to Poid-ZA/OmniRoute
that referenced
this pull request
Aug 5, 2026
…leanup (diegosouzapw#3800) Surfaces the Plugins page (marketplace, diegosouzapw#3656) in the sidebar; adds the proxy IP-family selector (auto/ipv4/ipv6) completing diegosouzapw#3777's UI; clears the remaining CodeQL URL-substring alerts; covers diegosouzapw#3799 with tests and fixes the costs-section count.
Poid-ZA
pushed a commit
to Poid-ZA/OmniRoute
that referenced
this pull request
Aug 5, 2026
…#3801) diegosouzapw#3799 already shipped tests/unit/freeProviderRankings.test.ts (thorough pure-function coverage). My diegosouzapw#3800 file duplicated it; remove the redundant copy. The matching algorithm (stripVersionSuffix/findMatchingIntelligence) stays covered by diegosouzapw#3799's tests.
Poid-ZA
pushed a commit
to Poid-ZA/OmniRoute
that referenced
this pull request
Aug 5, 2026
ARENA_ELO_SYNC_ENABLED flips to on-by-default (opt out with =false) so the Free Provider Rankings page (diegosouzapw#3799) has data out of the box. Sync stays non-blocking/never-fatal.
Poid-ZA
pushed a commit
to Poid-ZA/OmniRoute
that referenced
this pull request
Aug 5, 2026
…gosouzapw#3803) Initializes initArenaEloSync() from instrumentation-node.ts (the Next standalone startup hook) instead of the never-executed server-init.ts, so the Free Provider Rankings page (diegosouzapw#3799) actually gets data. On by default; opt out with ARENA_ELO_SYNC_ENABLED=false.
muhamadgalihsaputra
pushed a commit
to niyatna/NiyatnaRoute
that referenced
this pull request
Sep 27, 2026
…w#3799) Adds a dashboard page + /api/free-provider-rankings route ranking free providers by model ELO/intelligence scores. Pure computation over the existing provider registry + model-intelligence data (no external fetch). Sidebar entry included.
muhamadgalihsaputra
pushed a commit
to niyatna/NiyatnaRoute
that referenced
this pull request
Sep 27, 2026
…leanup (diegosouzapw#3800) Surfaces the Plugins page (marketplace, diegosouzapw#3656) in the sidebar; adds the proxy IP-family selector (auto/ipv4/ipv6) completing diegosouzapw#3777's UI; clears the remaining CodeQL URL-substring alerts; covers diegosouzapw#3799 with tests and fixes the costs-section count.
muhamadgalihsaputra
pushed a commit
to niyatna/NiyatnaRoute
that referenced
this pull request
Sep 27, 2026
…#3801) diegosouzapw#3799 already shipped tests/unit/freeProviderRankings.test.ts (thorough pure-function coverage). My diegosouzapw#3800 file duplicated it; remove the redundant copy. The matching algorithm (stripVersionSuffix/findMatchingIntelligence) stays covered by diegosouzapw#3799's tests.
muhamadgalihsaputra
pushed a commit
to niyatna/NiyatnaRoute
that referenced
this pull request
Sep 27, 2026
ARENA_ELO_SYNC_ENABLED flips to on-by-default (opt out with =false) so the Free Provider Rankings page (diegosouzapw#3799) has data out of the box. Sync stays non-blocking/never-fatal.
muhamadgalihsaputra
pushed a commit
to niyatna/NiyatnaRoute
that referenced
this pull request
Sep 27, 2026
…gosouzapw#3803) Initializes initArenaEloSync() from instrumentation-node.ts (the Next standalone startup hook) instead of the never-executed server-init.ts, so the Free Provider Rankings page (diegosouzapw#3799) actually gets data. On by default; opt out with ARENA_ELO_SYNC_ENABLED=false.
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
Add a new dashboard page that ranks free providers by their models' ELO scores from the Arena AI leaderboard.
What this does
How it works
Validation
Files changed