← Model losses

Head-to-head comparison

openai / gpt-6-luna / xhigh / xhigh 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-luna / xhigh / xhigh effort answer

**Finding — loading a saved dashboard silently replaces the current work.** In `DashboardBuilderPage.tsx`, clicking a saved-dashboard card calls `loadSavedConfig` directly (line 327). That function replaces `widgets` and the dashboard metadata (lines 122–136), with no dirty-state check or confirmation in the supplied page. If the user has unsaved edits, selecting a card discards them.

**Minimal correction:** Before switching dashboards, prompt when the current dashboard has unsaved changes; cancel should leave the editor unchanged.

**Focused regression check:** Make an unsaved widget edit, open **My Dashboards**, click another dashboard, and verify that cancel preserves the edited layout and dashboard selection.

**Alternatives / uncertainty:** The **New** button also clears the widget layout without a guard (lines 138–146, 251–267), but switching to a saved dashboard is the more ambiguous potential discard. The packet does not establish whether another component provides a dirty-state guard.

**Next useful action:** Add a dirty-state guard around saved-dashboard selection and test both cancel and confirm paths.

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

A gives a developer a more unambiguous minimal intervention and cancellation check without conflating local layout discard with saved-record deletion. This is a forced, weak preference, not an established material quality gap; an independent review could reasonably favor B's deeper recovery-state 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_bd517060bb9c97f0b6b4b02f2605f1b0ad546fddf34b3cdd46dc95932e8215c8. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.