← Model losses

Head-to-head comparison

xai / grok-4.7-efficient / xhigh / xhigh effort preferred over xai / grok-4.7-efficient / medium / medium effort · close win.

Primary judge: Sol 6.1, requested Low. Effective provider effort and internal attempts were not verified. A close win is still a scored preference; it does not establish a material defect.

Reviewed public evidence

Task goal

Independent review of a frozen login-page candidate. Do not implement. Return PASS or FAIL.

[REDACTED: person name] asked for three small MVP fixes only. MFA is explicitly future and must not be added. Do not request a redesign, forgot-password, show-password, backend changes, audit-label cleanup, or lockout-row locking.

Acceptance criteria:
1. 401 says "Invalid email or password. Check both and try again." Both email and password are aria-invalid and aria-describedby the alert. The message does not identify which field was wrong.
2. 429 says "Too many sign-in attempts. Try again later." Fields are not marked invalid.
3. 403 with detail exactly "Account is disabled" says "This account is disabled. Contact the person who invited you." Any other 403, 500, or network error says "Could not sign in. Try again." Raw backend detail is never shown.
4. The form no longer has noValidate. DOM-value reads for password-manager autofill remain. Existing redirect tests still submit.
5. Logo and "INVITATION-ONLY BETA" stay visible below lg. The long essay and founder block use hidden lg:block, remain in the DOM, and desktop placement is unchanged. The aside still has an accessible name when the heading is hidden.
6. No edits outside LoginPage.tsx and LoginPage.workspaceRedirect.test.tsx. No loginEvidenceCopy.ts or auth.py changes. No AI wording. One Sign in button remains.

Writer verification: `cd [REDACTED: private project name]/frontend && npx vitest run tests/auth/LoginPage.workspaceRedirect.test.tsx` exited 0. The first attempt failed only because the isolated worktree had no node_modules; the rerun passed. Do not treat that environmental miss as a product defect.

FAIL only for a real miss of the criteria above, a behavior regression, or an accessibility break in the changed lines. Do not request extra features. If PASS, say PASS and list any non-blocking notes separately.

xai / grok-4.7-efficient / xhigh / xhigh effort answer

PASS

The frozen candidate meets all six acceptance criteria. No product defect, behavior regression, or accessibility break in the changed lines.

1. 401 maps to "Invalid email or password. Check both and try again." (`LoginPage.tsx` 30–31). Both inputs set `aria-invalid` and `aria-describedby="login-error"` only when `login.isError` and status is 401 (29, 299–300, 325–326). The alert is that id (338–345). The copy does not say which field failed.
2. 429 maps to "Too many sign-in attempts. Try again later." (32–33). `invalidCredentials` is 401-only, so fields are not marked invalid.
3. 403 with `data.detail === 'Account is disabled'` maps to "This account is disabled. Contact the person who invited you." (34–35). Every other status, a non-exact detail, a missing response, or a network error falls through to "Could not sign in. Try again." (36). Detail is compared, never rendered.
4. `noValidate` is gone (285). DOM reads in `handleSubmit` are unchanged (40–44). Redirect tests still submit via `dispatchEvent`; the new case checks native `requestSubmit` blocking separately.
5. Logo and "INVITATION-ONLY BETA" stay in the unhidden top block (140–168). Essay and founder use `hidden lg:block`, stay in the DOM, and keep the same order (172, 237). Heading id and text are unchanged. The aside uses `aria-label="[REDACTED: private project name] by [REDACTED: private project name]"` and no longer depends on the hidden heading (121).
6. The diff touches only `LoginPage.tsx` and `LoginPage.workspaceRedirect.test.tsx`. No MFA, no AI wording, one submit button.

Writer verification exit 0 is consistent with this code. The earlier missing `node_modules` failure is environmental, not a product miss.

Non-blocking notes:
- `errorMessage` is computed even when `isError` is false; the alert render is still gated on `login.isError`.
- The aside name duplicates the logo `alt`. That is a stable name, not a criteria miss.
- `../api/auth` is outside the packet. Mapping follows the specified axios `response.status` / `data.detail` shape; the client was not changed.
- `hidden lg:block` matches the watermark already in this file. Tailwind computed style is not in the packet; tests correctly assert class names.

Discarded as fails: desktop landmark rename (requested), hidden `h1` below `lg` (required hide, node kept), and `aria-invalid="false"` omission (correct; attribute is absent unless 401).

Missing client and Tailwind config would matter only if the mutation error were wrapped or `lg:block` did not override `hidden`. Neither is shown in the admitted snapshot.

Next action: accept this candidate. No writer revision.

xai / grok-4.7-efficient / medium / medium effort answer

PASS

The frozen candidate meets all six acceptance criteria. The two-file diff maps the specified statuses without leaking raw detail, removes `noValidate` while keeping DOM-value reads, and hides only the essay and founder blocks with `hidden lg:block`.

Non-blocking notes:
- The aside accessible name is now always `aria-label="[REDACTED: private project name] by [REDACTED: private project name]"`, including on desktop. That is the right persistent name; `#login-brand-heading` id and text are unchanged and stay in the DOM.
- Non-401 fields omit `aria-invalid` / `aria-describedby` rather than setting `aria-invalid="false"`. That matches “do not mark the fields invalid.”
- The stated vitest rerun (exit 0, 15 tests) is accepted. The earlier missing `node_modules` failure is environmental, not a product defect.

1. Conclusion: PASS, high confidence. Evidence is in `LoginPage.tsx` lines 28–36, 121, 172, 237, 285, 299–300, 325–326, and 338–346, and in the new cases in `LoginPage.workspaceRedirect.test.tsx`. 401 uses the exact check-both string and points both inputs at `#login-error`. 429, exact disabled 403, other 403/500, and missing response use the specified strings and do not mark fields invalid. Detail is never interpolated. One Sign in button remains. No AI wording and no out-of-scope files.

2. Discarded as non-fails: replacing `aria-labelledby` at all breakpoints; omitting `aria-invalid` instead of `"false"`; `dispatchEvent('submit')` still bypassing native validation so existing redirect tests submit. None of these miss the criteria or break the changed lines.

3. `../api/auth` is outside the packet, so the live mutation error shape was not re-checked. The task required mapping `error.response.status` / `data.detail` and not changing the client. That uncertainty does not change the verdict.

4. Next action: accept this candidate. Do not add MFA, forgot-password, show-password, or further login work.

Primary judge's stated reason

Forced, weak preference for B: its explicit distinction between native-validation checks and preserved programmatic submission makes the PASS rationale slightly easier to verify against the tests. This is not an established material quality difference; an independent review could reasonably reject the preference.

This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.

Battle wave: 3373029e-0d5c-4d07-885d-94f372276ca0. Pair: brp1_0a3dcebd67b518ad47c5cdae5d96e4cf9a4f346ed45994ef256698b13bbe1474. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.