← Model losses

Head-to-head comparison

openai / gpt-6.1-sol / high / high 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 / 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.

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

A is preferred because its diagnosis, minimal correction, and regression check all target the same directly evidenced builder interaction, reducing uncertainty about where to implement and verify the fix. The preference is weak rather than a proven material quality gap: B's valid secondary editing finding and explicit uncertainty substantially narrow the advantage, and an independent review could favor its 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_3bd603c603c50e4f324c719135c1e534ca0bc41cb275702b38d239529e9d001a. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.