← Model losses

Head-to-head comparison

openai / gpt-6.1-sol / high / high effort preferred over xai / grok-4.7-efficient / high / high 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

Inspect the dashboard-builder data exploration interaction in the supplied implementation. Find one user-visible interaction that can mislead, trap, or silently discard a user’s work during filtering, loading, or editing; cite the exact condition, describe a minimal UX correction, and suggest a focused regression check.

openai / gpt-6.1-sol / high / high effort answer

**Finding: “New” silently discards unsaved dashboard edits.** High confidence; assessed independently from the supplied snapshot.

- **Exact trigger:** Add a widget or rename the dashboard without saving, then click **New**. In `[REDACTED: private project name]/frontend/src/pages/DashboardBuilderPage.tsx:251–266`, the button calls `startNew` directly. That handler clears widgets, resets the name, and drops the dashboard ID (`138–146`), without checking for unsaved changes or requesting confirmation. No recovery mechanism is present in this page.
- **Minimal UX correction:** Track whether the draft differs from its loaded/saved baseline. When dirty, require confirmation before `startNew`: “Discard unsaved changes?” Cancel must preserve the draft.
- **Focused regression check:** Add a widget and change the dashboard name, then click New. Assert confirmation appears; cancel preserves both changes and the current dashboard ID. Confirming discard resets the draft. A clean dashboard should start anew without prompting.
- **Uncertainty / discarded alternatives:** The grid also drops invalid numeric filters (`useServerGrid.ts:312–321`), but the supplied files do not establish which dashboard controls expose those filters. The New-button finding needs no external dependency assumptions.

**Next useful action:** Add the dirty-state guard and the cancellation regression test.

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

The corrupt-layout recovery path traps edits and then discards them, while telling the user the saved dashboard was removed.

**Exact condition.** A load with `parseLayout` not ok (`urlConfig` effect at lines 57–59, or `loadSavedConfig` at lines 127–129) sets `layoutError`, clears `widgets`, and keeps `configId` on that saved dashboard. `saveBlocked` (lines 47–48, 276–279) disables Save. The empty state still says to add a widget (lines 431–435), and `addWidget` (lines 86–102) appends widgets without clearing `layoutError`, so the new draft cannot be saved. “Start fresh” (lines 399–403) confirms “This will discard your saved layout” and calls `startNew` (lines 138–146), which drops those widgets and does not call `deleteDashboard` or `updateDashboard`. “New” (line 252) calls the same reset with no confirm.

**Minimal UX correction.** While `layoutError` is set, do not invite a draft that cannot be saved: hide that empty-state CTA and disable Add Widget until the user picks a recovery. Make the two outcomes explicit: “Reset editor” (local only; confirm if `widgets.length > 0` that those unsaved widgets will be lost; do not say the saved dashboard was deleted) and “Replace saved layout” (clear `layoutError`, then Save overwrites `layout_json`). Smallest un-trap: `setLayoutError(null)` on local draft mutation so Save can overwrite the corrupt layout, and fix the confirm copy unless a delete or overwrite actually runs.

**Regression check.** Open a saved dashboard whose `layout_json` is invalid JSON. Confirm the alert and disabled Save. Add a widget. Assert either Save is enabled and persists that widget onto the same `configId`, or Add Widget is disabled and the empty-state CTA is absent. Accept “Start fresh” and assert the new widget is not removed without a confirm that names unsaved widgets, and that My Dashboards still lists the saved record unless the confirm promised a real delete.

Confidence: high. This is entirely in `DashboardBuilderPage.tsx`.

**Alternatives considered.** In `useServerGrid.ts`, a numeric header filter that fails `NUMERIC_RE` is dropped with no user-facing warning (lines 316–321); `type === "function"` only `console.warn`s (lines 327–335). `filterMode: 'remote'` (line 703) does not apply it locally, and lines 67–76 already say the header can still show a filter the body does not send. That misleads during filtering, but it does not discard an edit, and a custom `transport` is given `rawHeaderFilterCount` as a mitigation the default POST path never surfaces. Unsaved-changes loss on template apply (lines 114–120) and saved-dashboard delete with no confirm (lines 169–178, 349–365) are real, but they are separate actions, not the load/edit trap above. Hitting `page > maxPage` (lines 480–481) ends progressive load with an empty page and no cap message; whether a consumer shows `totalCount` is outside this packet.

**Missing evidence.** `parseLayout`, `useDashboardConfig`, `WidgetCatalog`, and `BuilderCanvas` are outside the packet. Not needed for this bug: Add Widget alone is enough to build an unsavable draft. Consequence: a late `urlConfig` refetch could also clobber a dirty draft (effect deps are `[urlConfig]`, lines 51–67, with no dirty guard), but that depends on the hook’s referential stability, which this packet does not show. `dateFilterValueToGridRange` is also outside the packet, so a silent date-filter drop is only possible, not shown.

**Next action.** Change the invalid-layout recovery so a post-error draft is either not editable or is savable, and make the confirm match the server effect; add the regression above.

Primary judge's stated reason

B is slightly easier to act on without first resolving recovery-policy alternatives or interpreting an overstated deletion claim. This is a forced, weak preference, not an established material quality gap: A's central trap remains supported and useful, and an independent review could reasonably prefer its deeper recovery analysis.

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

Battle wave: c50cc6a9-2031-4391-a213-ab4daedec0f2. Pair: brp1_771224ceeb713a9dab8a04824461952c682a3cf4849d0a5da9bfe199863bf1f4. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.