Skip to content

Nightly Vibe Test 2026-06-18: XDS 96 vs Baseline 95 vs HTML 83 #2913

Closed

Description

@cixzhang

Nightly Vibe Test Results - 2026-06-18

Scoreboard

Dimension XDS Baseline HTML Winner
Correctness 99 100 100 Tie
Accessibility 100 100 100 Tie
Code Quality 100 100 100 Tie
Efficiency 87 81 79 XDS
Maintainability 94 95 36 Baseline
Overall 96 95 83 XDS

XDS vs XDS+Tailwind

Dimension XDS XDS+TW Winner
Correctness 99 91 XDS
Accessibility 100 100 Tie
Code Quality 100 100 Tie
Efficiency 87 87 Tie
Maintainability 94 94 Tie
Overall 96 94 XDS

Per-Prompt Results

Prompt Category XDS Baseline HTML Winner
cwm-1 clone-with-modification 95 97 82 Baseline
dd-4 data-display 96 96 84 Tie
fwc-10 feature-with-constraint 97 97 84 Tie
io-5 integration-oriented 99 98 83 Tie
ps-4 page-setup 95 97 82 Baseline
rc-3 responsive-context 90 95 82 Baseline
sd-5 state-driven 98 98 85 Tie
tc-4 theme-customization 99 87 83 XDS
ty-3 typography 97 96 83 Tie
wd-1 workflow-description 90 90 78 Tie

Per-prompt tally: XDS wins 1, Baseline wins 3, Ties 6

Correctness Failures

Prompt Target Errors Root Cause
cwm-1 XDS 1 XDSToggleButtonGroup onChange type mismatch: passed Dispatch<SetStateAction<string>> but component expects (value: string | null) => void
ps-4 XDS+TW 4 XDSBreadcrumbItem props incorrect: passed label + href but component uses different prop shape
tc-4 XDS+TW 2 defineTheme tokens object: 'color-background' is not a valid XDSTokenName
Full tsc errors (XDS iteration)

cwm-1.tsx:

cwm-1.tsx(20,5): error TS2322: Type 'Dispatch<SetStateAction<string>>' is not assignable to type '((value: string | null) => void) | ((value: string[]) => void)'.
Full tsc errors (XDS+TW iteration)

ps-4.tsx:

ps-4.tsx(12,5): error TS2322: Type '{ label: string; href: string; }' is not assignable to type 'IntrinsicAttributes & XDSBreadcrumbItemProps'.
ps-4.tsx(13,5): error TS2322: Type '{ label: string; href: string; }' is not assignable to type 'IntrinsicAttributes & XDSBreadcrumbItemProps'.
ps-4.tsx(14,5): error TS2322: Type '{ label: string; href: string; }' is not assignable to type 'IntrinsicAttributes & XDSBreadcrumbItemProps'.
ps-4.tsx(15,5): error TS2322: Type '{ label: string; isCurrent: true; }' is not assignable to type 'IntrinsicAttributes & XDSBreadcrumbItemProps'.

tc-4.tsx:

tc-4.tsx(16,5): error TS2353: Object literal may only specify known properties, and ''color-background'' does not exist in type 'Partial<Record<XDSTokenName, XDSTokenValue>>'.
tc-4.tsx(27,5): error TS2353: Object literal may only specify known properties, and ''color-background'' does not exist in type 'Partial<Record<XDSTokenName, XDSTokenValue>>'.

Key Insights

  1. XDS wins overall (96 vs 95 vs 83), driven by Efficiency advantage. The type system catches incorrect component usage at compile time, which paradoxically hurts the correctness score slightly when agents guess wrong.
  2. XDS strongly outperforms HTML (13-point gap), confirming the value of a typed component library over raw HTML.
  3. XDS beats XDS+TW (96 vs 94). The Tailwind variant introduced extra type errors from BreadcrumbItem and defineTheme misuse, suggesting agents sometimes mix Tailwind conventions into XDS APIs.
  4. Theme customization (tc-4) is where XDS shines: the defineTheme + XDSTheme provider pattern scores 99 vs Baseline's 87, as baseline requires manual style-switching with no runtime theming.
  5. Responsive layout (rc-3) slightly favors Baseline: Tailwind's grid-cols-1 md:grid-cols-2 lg:grid-cols-3 is more concise than XDS's CSS Grid via StyleX.

Iterations

  • XDS: 4490b1a3
  • XDS+Tailwind: e18b206b
  • Baseline: 8d023ec1
  • HTML: f7574cae

Report

https://facebookexperimental.github.io/xds/reports/4490b1a3/

Night Watch - Vibe Test Runner

Activity

  1. added
    vibe-test
    on Jun 18, 2026
  2. cixzhang commented on Jun 18, 2026

    @cixzhang
    ContributorAuthor

    API Concern — ToggleButtonGroup onChange type friction

    Issue: Single-select XDSToggleButtonGroup expects onChange: (value: string | null) => void, but the natural React pattern is:

    const [billing, setBilling] = useState('monthly');
    <XDSToggleButtonGroup value={billing} onChange={setBilling} />
    //                                              ^^^^^^^^^ TS error

    Dispatch<SetStateAction<string>> is not assignable to (value: string | null) => void because the state type doesn't include null.

    Why this matters: Every agent (and likely human developer) naturally writes useState('monthly') and passes the setter directly. The fix requires useState<string | null>('monthly') which is unintuitive — the initial value is clearly not null, so why would you type it that way?

    Evidence: Appeared in cwm-1 (both XDS and XDS+TW targets). First occurrence being tracked.

    Options:

    1. Widen the onChange type to accept Dispatch<SetStateAction<string | null>>
    2. Accept (value: string) => void for single-select (only multi-select needs null for "none selected")
    3. Keep current type, accept the developer friction

    Validation needed:

    • Reproduce: Agent naturally hits this type error (yes — both targets)
    • Stability: Recurs in 2+ consecutive nightlies?
    • If validated: Consider option 1 or 2

    Do not change API based on a single nightly. Monitoring for recurrence.

  3. cixzhang commented on Jun 21, 2026

    @cixzhang
    ContributorAuthor

    Superseded by newer vibe test results in #2953.

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

    vibe-test

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions