Skip to content

Fix Arena TablesDB score mapping#2978

Open
ChiragAgg5k wants to merge 1 commit intomainfrom
fix/arena-tablesdb-score
Open

Fix Arena TablesDB score mapping#2978
ChiragAgg5k wants to merge 1 commit intomainfrom
fix/arena-tablesdb-score

Conversation

@ChiragAgg5k
Copy link
Copy Markdown
Member

Summary

  • Update the Arena-backed LLM table to show the TablesDB category.
  • Read the renamed Arena score field from scores.tablesdb instead of scores.databases.

Verification

  • git diff --check origin/main..HEAD
  • bun run check (fails on existing Statsig module/type errors in src/lib/statsig/*, unrelated to this change)

@appwrite
Copy link
Copy Markdown

appwrite Bot commented May 7, 2026

Appwrite Website

Project ID: 69d7efb00023389e8d27

Sites (1)
Site Status Logs Preview QR
 website
69d7f2670014e24571ca
Building Building View Logs Preview URL QR Code

Website (appwrite/website)

Project ID: 684969cb000a2f6c0a02

Sites (1)
Site Status Logs Preview QR
 website
68496a17000f03d62013
Processing Processing View Logs Preview URL QR Code


Tip

Ephemeral API keys are generated automatically for each function execution

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 7, 2026

Greptile Summary

This PR fixes the Arena benchmark table on the marketing page to reflect the renamed tablesdb category, replacing the old databases field name throughout.

  • Updates the ModelCategory type union, the categoryKeys state array, and the m.scores?.databases mapping — all three sites changed consistently to TablesDB / tablesdb.
  • The /api/arena proxy is untouched; the fix is purely in the client-side mapping and display label.

Confidence Score: 5/5

Safe to merge — the change is a self-contained rename that touches exactly the three places that must agree.

All three references (type union, category key array, and score field accessor) are updated together and consistently. The null-coalescing fallback to 0 is preserved, and no other component or API route is affected.

No files require special attention.

Important Files Changed

Filename Overview
src/routes/(marketing)/(components)/ai-table.svelte Renames the 'Databases' category to 'TablesDB' in the type definition, state array, and score mapping — all three sites updated consistently.

Reviews (1): Last reviewed commit: "Fix Arena TablesDB score mapping" | Re-trigger Greptile

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