← Model losses

Head-to-head comparison

openai / gpt-6.1-sol / low / low effort preferred over cursor / composer-2.5 / Composer 2.5 default / unknown 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 / low / low effort answer

### Finding: “New” silently discards unsaved edits
**Confidence: high; assessed independently from the supplied snapshot.**

- **Exact condition:** A user changes the dashboard name, widgets, or layout without saving, then clicks **New**. In `[REDACTED: private project name]/frontend/src/pages/DashboardBuilderPage.tsx:251–266`, the button directly calls `startNew`; lines **138–146** immediately clear widgets, reset the name and configuration ID, and provide no confirmation or recovery.
- **User impact:** Unsaved dashboard work disappears immediately. This is distinct from the corrupt-layout **Start fresh** action, which explicitly asks for confirmation at lines **399–404**.
- **Minimal correction:** Track whether the draft differs from its loaded/saved baseline. When dirty, ask “Discard unsaved changes?” before executing `startNew`; Cancel must preserve the draft.
- **Focused regression check:** Load a dashboard, change its name and add a widget, click **New**, and cancel. Assert that name, widgets, and configuration ID remain unchanged. Confirming should reset them; a clean draft should reset without prompting.

**Scope/uncertainty:** External component implementations are not supplied, but this direct button-to-state-reset path establishes the loss without relying on them. A query-refetch overwrite is another possible concern at lines **50–67**, but its trigger depends on the external dashboard hook, so it is not needed for this finding.

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

cursor / composer-2.5 / Composer 2.5 default / unknown effort answer

## Evidence packet

### 1. Conclusion (filtering — silent mismatch)

**Finding:** A numeric column header filter can stay visible in the grid while the server runs an **unfiltered** (wider) query — the user believes they narrowed the dataset; results and counts reflect no such filter.

**Exact condition:** In `tabulatorFiltersToGridFilters`, when `numericFields.has(f.field)` is true, the value is non-empty (`f.value` is not null/''), and `parseNumericExpression(strVal)` returns `null` (value does not match `NUMERIC_RE`, e.g. plain text `"active"`, malformed `">8x"`, or a lone operator `">"`). The loop `continue`s without adding a `GridFilterItem` and without any user-facing notice (only a dev `console.warn` exists for `type === 'function'`, not for failed numeric parse).

```316:321:[REDACTED: private project name]/frontend/src/hooks/useServerGrid.ts
    if (numericFields.has(f.field)) {
      const numeric = parseNumericExpression(strVal)
      if (numeric) {
        result.push({ field: f.field, op: numeric.op, value: numeric.value })
      }
      continue
    }
```

The hook’s own `GridTransportRequest.rawHeaderFilterCount` comment describes the same class of failure: Tabulator can report filters that never reach `body.nl_filter_group` after translation.

**Minimal UX correction:** When a header filter cell is non-empty but translation produces no server condition for that field, show a compact inline warning on the column (or toolbar): e.g. “Filter not applied — use expressions like `>8` or `<=100`.” Optionally block treating the grid as “filtered” until valid or cleared. Mirror the numeric-parse rules in the message.

**Focused regression check:** Unit test `tabulatorFiltersToGridFilters([{ field: 'score', type: 'function', value: 'not-a-number' }], new Set(['score']))` → `[]`; integration/E2E: type invalid text into a numeric header filter, assert row set/count match unfiltered baseline **and** (after fix) assert visible “not applied” state. Cross-check export: `getExportBody()` should not claim a numeric constraint that was dropped.

**Confidence:** High for the silent-drop behavior in the supplied snapshot; medium that this path is exercised from dashboard-builder exploration UI (no `useServerGrid` import in `DashboardBuilderPage.tsx` in this packet).

---

### 2. Alternatives / discarded hypotheses

| Hypothesis | Verdict |
|------------|--------|
| **Dashboard builder — load another saved dashboard** (`loadSavedConfig` on card click, ~327): replaces `widgets` with no dirty-state prompt; can discard in-progress layout/edits. Strong for **editing**, not filtering. | Valid secondary finding; not chosen as primary because question emphasizes filtering/loading/editing and numeric filter is a clearer silent server mismatch. |
| **`reload()` clears `totalCount` to `null`** (~726): can briefly mislead “no rows” / empty totals while loading. | Transient UI flicker, not durable discard of user input. |
| **`setSearchText` 300ms debounce** (~824–829): rapid navigation might reload without final keystrokes. | Race/edge; less reproducible than numeric drop. |
| **Aborted requests return never-settling promise** (~628–629): Tabulator drops request; user may see stale rows until next success. | Loading confusion; harder to pin to one user action in packet alone. |

---

### 3. Missing evidence / consequence

- **`DashboardBuilderPage.tsx` does not reference `useServerGrid` or a data grid** in this snapshot — cannot prove explorer widgets in the builder wire numeric `numericFilterFields` without `WidgetConfigEditor`, `WidgetRenderer`, or explorer pages (listed as outside packet).
- **`headerFilters.js` / `compileFilterToServer.js`**: date/custom filter behavior not verified here.
- **Consequence:** Primary finding is grounded in `useServerGrid.ts`; product-level “dashboard-builder exploration” linkage is inferred from scope JSON, not demonstrated in-file.

---

### 4. Next useful action

Add a user-visible “filter not applied” path for numeric (and optionally `rawHeaderFilterCount` vs translated filter count mismatch in custom `transport`), plus the unit test above; separately, if builder UX is in scope, add dirty-state guard before `loadSavedConfig` / `applyTemplate` / `startNew`.

Primary judge's stated reason

Prefer A because its proposed regression can directly protect the identified builder draft from accidental reset without first resolving external UI wiring. This is a weak comparative preference, not an established material quality gap: both answers offer supported defects and useful corrections, and an independent review could reasonably favor B's filtering 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_0df7b1876ecc19dc678435dd4316cd44cda02fea6a4ecaaffad3e2f9ce422b38. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.