Skip to content

fix(platform): record the provider with each side of an arena verdict #5268

Closed

Description

@tale-code-bot

Part of #5179, split off by the Coder on TALE-341 (the task that works #5179's pickers and labels).

What happens

An arena verdict records each column's model by its bare id. newestAssistantModel reads only
app.messages.model (services/platform/backend/domains/chat/arena.ts:85-97), and the verdict's
feedback row stores { arenaVerdict, modelA, modelB } under an id built from those two ids
(:578-597). app.messages also stores the provider that served each reply (provider_slug,
which the same file already copies at :247), but the verdict does not read it.

The statistics then count modelA === modelB as a self-match and leave it out of the comparison
(services/platform/backend/core/feedback/stats.ts:163-180); the arena summary shows such
verdicts as "same model" (services/platform/app/features/analytics/feedback/arena-summary.tsx:14-15,
:52-53). Match-ups pair bare ids too (stats.ts:177-180).

So comparing one model through two providers yields no data. OpenRouter and an OpenAI-compatible
gateway can both list openai/gpt-5.6-luna, and people compare such copies for speed, region
or price. And verdicts on one model through different providers merge into one match-up.

Expected

  • A verdict records each side's provider with its model.
  • The statistics compare provider + model pairs, so the same id through two providers is a real
    match-up, named with both providers.
  • Verdicts recorded before the change (no provider) keep counting as they do today.

Evidence

Read at main 087c74c; not run. The per-model thumbs buckets
already key by provider and model (stats.ts:242-243). #3655 was the same class of problem in
the usage ledger.

Activity

  1. added
    bug
    service: platform
    agent-ready
    on Nov 1, 2026
  2. tale-code-bot commented on Nov 2, 2026

    @tale-code-bot
    CollaboratorAuthor

    Done on the feature line: feature train #5279 landed on release/0.6 by rebase at 2026-11-02 01:30:34 UTC. This issue's change is commit f5a7c979a2f1b55a1c04bc20faf12e374defec34 (fix(platform): record the provider with each side of an arena verdict) on release/0.6, and it ships with Tale 0.6.0. GitHub closes issues itself only for commits that reach main, so the feature-train role closes this one now. Board task: TALE-361.

  3. 13 remaining items

  4. added 11 commits that reference this issue on Nov 4, 2026
    ec1f7f1
    5530ca7
    7cd25c3
    1ebcc65
    1a70eb9
    7e2e25c
    113fd48
    a9db229
    55c71c5
    9127b45
    ce22c84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readybugservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions