← Model losses

Head-to-head comparison

xai / grok-4.7-efficient / medium / medium effort preferred over openai / gpt-6-luna / max / max 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 / 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.

openai / gpt-6-luna / max / max effort answer

PASS

Non-blocking note: `src/api/auth.js` is outside the snapshot, so I could not independently verify how login errors are constructed. The candidate handles the specified `response.status` and `response.data.detail` shape. The writer-reported test run passed.

Primary judge's stated reason

B offers a slight practical advantage by explaining why the changed accessibility and validation behavior satisfies the contract, helping the recipient distinguish genuine blockers from permitted implementation choices. This is a forced, weak preference between substantively compatible PASS answers, not an established material quality difference; an independent reviewer could reasonably prefer A's restraint.

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_c54861d31c43903b6ea4a2f5707969d7ce3835d144264bda049817434e7a22e6. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.