← Model losses

Head-to-head comparison

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

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.

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

**Finding — users can silently lose in-progress widget edits by switching dashboards.** While `WidgetConfigEditor` is open, selecting a saved dashboard calls `loadSavedConfig` and replaces `widgets` without checking `editingWidgetId` or prompting about unsaved edits (`DashboardBuilderPage.tsx:122–136`, with the saved-dashboard click at `327`). The editor then receives no matching widget, so it is unmounted by the conditional at `465`; its unsaved changes are discarded.

**Minimal correction:** Before switching configurations, detect an open or dirty editor and ask whether to discard changes; alternatively, preserve the editor draft and apply it only on Save.

**Focused regression check:** Open a widget editor, change a field without saving, then select a different saved dashboard. Verify the user is prompted and can cancel without losing either the draft or current dashboard; confirming should switch dashboards and discard the draft.

**Uncertainty:** The editor’s draft/close behavior is outside this snapshot, so whether closing itself prompts is unknown. The page’s conditional unmount and dashboard replacement are established here.

Primary judge's stated reason

Prefer B weakly because its main trigger can be traced entirely within the supplied page: load an invalid layout, add a widget, and remain unable to save it. This makes the central finding easier to validate without assumptions about an external modal. This is a slight forced preference, not an established material quality difference; B's overstated deletion interpretation and less focused recovery proposal substantially counterbalance that advantage. 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: c50cc6a9-2031-4391-a213-ab4daedec0f2. Pair: brp1_cdf13e87f7945005cdd6f85fc7a61735fd44c4d0f668e13b6b8df7a7c6b6d03c. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.