Skip to content

Polish guided model comparison setup and results #341817

Closed

Description

Feature request

Polish the guided model comparison (Agent Bake Off) workflow so configuring attempts and reviewing the Judge result is stable, responsive, and easy to scan.

Proposed behavior

  • Select attempt models with checkboxes and complete each setup step with clear Done/Next actions.
  • Keep the picker anchored and stable while models, effort variants, and Details configuration change.
  • Allow the same model to run as distinct attempts with different supported configurations, while preventing duplicate effective configurations.
  • Keep committed comparison state valid when a model's persisted base configuration changes.
  • Identify comparison attempts consistently in the composer, with responsive icon treatment in expanded, compact, and minimal layouts.
  • Present the Judge result as an Attempt/Time/Tokens scorecard with visible winner badges where space permits.
  • Keep rationale and validation evidence in expandable attempt details, including keyboard-accessible evidence source and purpose.
  • Provide direct Open Attempt actions for every result row and retain complete Accessible View content.

Verification

  1. Enable sessions.chat.compareAgents.enabled and open the model picker in the Agents window.
  2. Start Compare Models, select multiple distinct models, and verify the list updates in place without the popup moving or resizing unexpectedly.
  3. Add a second attempt of one model at another effort, change the base effort, and verify duplicate effective attempts are removed. Cancel and reopen setup to verify committed state remains valid.
  4. Complete setup with and without Judge/Synthesizer choices, then run the comparison.
  5. In the Judge result, verify Attempt, Time, and Tokens stay aligned; wide layouts show metric Winner badges and narrow layouts do not overlap adjacent values or Open actions.
  6. Expand attempts and verify rationale, validation status, validation evidence hover/focus behavior, and Open Attempt actions.
  7. Resize the composer through expanded, compact, and minimal states. Distinct attempts show individual icons when expanded and the layers fallback when compact/minimal; repeated-model variants keep an identifiable summary.
  8. Exercise the workflow with keyboard navigation and the Accessible View.

Accessibility

  • Setup remains fully keyboard operable.
  • Expanded validation evidence is focusable and exposes its source and purpose from the keyboard.
  • Metric winner meaning remains in row accessible labels when visual badges are hidden.
  • Comparison result content remains available in the Accessible View.

Activity

  1. added
    feature-request
    on Oct 15, 2026
  2. added
    unreleased
    on Oct 16, 2026
  3. vs-code-engineering commented on Oct 16, 2026

    @vs-code-engineering
    Contributor

    Sharing media and context from merged PR #339642 for verification:

    Builds on #339384's guided model comparison / bakeoff setup with focused UI polish and the minimal state/launch plumbing required for same-model effort variants.

    Compare-mode setup

    • Select attempt models with checkboxes and an inline Done/Next, instead of a repeat-count stepper
    • Keep the picker in place while setting up a comparison. Checking a model, adding an effort variant, or changing a model's effort in Details updates the rows in place, instead of showing the list again or resizing the popup so it moves beside its anchor
    • Add a same-model, different-effort variant as its own attempt (e.g. compare GPT-5.6 Terra Medium vs Max directly)
    • Reuse the model Details flyout for in-row configuration in compare mode
    • Composer pill shows each attempt's model icon instead of a joined name list

    Scorecard (Judge result)

    • Judge result renders as a scorecard: recommended attempt, per-attempt time/tokens, and an expandable row for the full rationale and validation evidence (collapsed by default)
    • Expanded rows keep validation evidence out of the summary scorecard while exposing each result, evidence source, and purpose through pointer and keyboard hover; comparisons where nothing ran show one clear explanation
    • The rationale leads with the Solution, then Comparison, Validation, and Code quality
    • Every attempt can be opened from the scorecard, with an always-visible open arrow on each row and an "Open Attempt N" link at the end of each expanded row
    • A round of visual polish on spacing, numbering, and type weight
    • Fix the scorecard bleeding past the chat input's width. It was centering itself again against the pane's uncapped width while its parent already centers and caps it in CSS, so the inset was applied twice
    Before After
    Scorecard before Scorecard after
    Expanded row before Expanded row after

    Supporting fixes

    • Keep queued effort variants distinct from the model's persisted base effort, including after the base effort changes
    • Make validation explanations keyboard-discoverable and keep unknown/not-applicable states accurately labeled
    • Fix focus restoring to the wrong row after model-picker refreshes
    • Let a model's Details select that model again when comparing is available but not started. In the Agents window, an effort or Fast choice there was being ignored

    Demo

    compare-models-scorecard-and-synthesis.mp4

    One continuous take in a local build of this branch, with real model responses. Idle agent time is sped up in place and nothing is cut.

    • Four attempts (GPT-5.6 Terra at Medium and Max effort, Gemini 4 Argon, and GPT-6 Luna) work on "Find and fix the event listener leaks in the agents voice UI under src/vs/workbench/contrib/agentsVoice." The voice UI leaks in several places, so the attempts find different ones and synthesis has something to combine
    • A Claude Sonnet 5.5 Judge recommends GPT-5.6 Terra at Max effort and lists what is worth keeping from the other attempts
    • The video opens Gemini 4 Argon from the scorecard, because the Judge called out its window lifecycle fixes
    • Claude Opus 5.5 synthesis builds on the winner, adds Gemini's window lifecycle fixes and Terra Medium's BroadcastChannel cleanup, and says what it left out and why

    Mixed-harness execution and permissions

    Added by Megan Rogge.

    • Comparison selections retain the harness tab they came from, so Copilot, Claude, and Codex models launch through their own session types for attempts, Judge, and Synthesizer instead of being re-resolved through the first compatible catalog.
    • Permission intent is translated to each harness native preset: Copilot Allow all uses autoApprove, Claude uses bypassPermissions, and Codex uses full-access. Manual/default intent maps to each harness default preset.
    • A draft mode is preserved only when the participant uses the same harness. Copilot modes such as interactive or autopilot are never copied to Claude or Codex, preventing the failed Claude startup that previously left comparisons at 2 of 3 ready.
    • Regression coverage verifies exact harness routing, native permission translation, and that cross-harness participants receive no incompatible source mode.
    • Restored sessions.chat.compareAgents.hideInactiveInputs for real comparison grids with three or more panes. The behavior is doubly scoped to the active comparison grid, never hides the active pane input, remains disabled for screen-reader optimized mode, and does not affect ordinary multi-session layouts.

    Testing

    • Updated to the latest main, including the comparison picker and sidebar changes from Fix comparison model picker details #341601 and sessions: improve comparison UI rendering #341610
    • npm run typecheck-client, npm run valid-layers-check, npm run stylelint, eslint, and pre-commit hygiene pass
    • Affected suites pass: TabbedModelPicker (105), TabbedActionListWidget (55), NewChatWidget (103), SessionsChatAccessibilityHelp (42), SessionComparisonModelSelection (18), ModelPickerActionItem (10), SessionComparisonResult (3), and SessionsList (236)
    • New tests fail without their fixes: checking a model updates the rows in place, a deferred refresh keeps its size once Details closes, changing a compared model's effort doesn't measure the popup again, and Details still select their model when comparing is available but not started
    • Manually validated end-to-end in a local build (setup, attempts, Judge, opening an attempt from the scorecard, synthesis)

    Source PR: #339642

  4. added
    insiders-released
    verification-needed
    and removed
    unreleased
    on Oct 16, 2026
  5. federicobrancasi commented on Oct 18, 2026

    @federicobrancasi
    Member

    🤖 How to verify: the attached video walks through the steps in real VS Code Insiders, checking each result in the app.

    issue-341817-how-to-verify.mp4
  6. connor4312 commented on Oct 19, 2026

    @connor4312
    Member

    The one weird thing I saw is the icon here

    Image
  7. kycutler commented on Oct 20, 2026

    @kycutler
    Collaborator

    Megan Rogge (@meganrogge) -- please take a look at the above. Not sure whether to mark this as verified or to re-open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestinsiders-releasedverification-needed

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions