← Model losses

Head-to-head comparison

cursor / composer-2.5 / Composer 2.5 default / unknown effort preferred over deepseek / deepseek-flash / none / 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

Read-only independent UI review. Do not edit, commit, deploy, score or publish. Review current scoped changes in src/combined-approved-presentation.js, src/combined-battle-search.js, src/combined-configuration-page.js, public/assets/battleranks/css/combined-approved.css, public/assets/battleranks/js/selected-directory.js. User asks whether battle panels should use different colors based on winning model so winner is easier to glance at, while removing cardhexagons. Evaluate subtle header top-border or faint background accent versus plain current winner text, preserving trophy+name as primary and never coloralone. Avoid garish fullcardfills, preserve dark/lightcontrast. Existing contestantTheme uses stable canonical modelID, actual core Sol/Luna distinct; ties should remain neutral. Recommend one justified small change if helpful. Also flag P1/P2 functional or accessibility issue in new same-contestant effort/date search and selectiontoolbar, at most5 actionable findings. User prefers native Luna reviewer; this is a coding UI consult, no production battle. Focus bounded source review, no broad transcripts/settings/credentials. Return PASS or findings and precise design recommendation. Root handles browserpixels.

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

## Conclusion

**Not PASS** — no blocking P1 in the admitted snapshot; **one justified visual change** and **four P2** items (battle search UX/a11y, selection toolbar).

### Design: winner color on battle panels (no hexagons)

**Current state (packet):** Battle recap cards use `selected-winner-card` with a **neutral** winner block: surface gradient, gold trophy label, winner name in `var(--text)` — **no** `contestantTheme` / `--accent` on battle cards (unlike directory `system-card` at presentation L26). Hexagons/emblems are **not** in the winner header (inline trophy SVG only) — aligned with “remove card hexagons” for this list pattern.

**Recommendation (one small change):** For **exactly one eligible winner**, set winner theme on the header only, reusing the same canonical model → theme pipeline as podium/directory:

- **JS** (`combinedGraphicalBattles`, ~L20): when `winners.length === 1`, add to `.battle-card-winner` e.g. `style="--winner-accent:${themeAccent(contestantTheme(winners[0].model))}"` (import already has `contestantTheme`, `themeAccent` from `site-view.js` L5).
- **CSS** (~L53): extend `.selected-winner-card .battle-card-winner` with  
  `border-top: 3px solid var(--winner-accent, var(--line));`  
  and optional faint wash:  
  `background: linear-gradient(180deg, color-mix(in srgb, var(--winner-accent, transparent) 10%, var(--surface)), var(--surface));`  
  (fallback when `--winner-accent` unset).

**Rules preserved:** Trophy + “Winner” + name + score stay primary (**never color alone**). **`winners.length > 1` or no winner:** omit `--winner-accent` → neutral top border / existing gradient only. Avoid full-card fills; accent is **header band only** — works in dark/light if accents are the same tokens already used on `--accent` cards.

**Confidence:** High for approach; medium on exact `color-mix` % until pixel check in both themes.

---

## Findings (max 5, actionable)

| Sev | Area | Evidence | Action |
|-----|------|----------|--------|
| **P2** | Battle card interaction / a11y | `combinedGraphicalBattles` L20: full-card `.battle-hit` link plus inner `.battle-winner-name` / field links | Ensure overlay does not trap focus or block inner links (`pointer-events`, z-index, or drop overlay in favor of explicit “View all results”) |
| **P2** | Battle filters — “Active” hint | `renderBattleFilters` L30: `<details open>` when `configuration` set, but summary “· Active” only if `category\|effort\|from\|to` | Include `f.configuration` in summary active text so hidden configuration filter is visible |
| **P2** | Same-contestant filters — discoverability | `matchesBattle` L22–23: model + effort + configuration are **AND** on one roster row (correct); `configuration` only via hidden input + note | Expose configuration in “More filters” or breadcrumb when deep-linked; document that model+effort must match one contestant |
| **P2** | Selection toolbar — error feedback | `selected-directory.js` L124–125, L138: errors reuse `[data-directory-count]` with `aria-live="polite"` | Use a dedicated `role="alert"` or restore count after timeout so “Maximum of 10…” / “Choose at least 2…” is announced and not sticky |
| **P2** | Battles page structure | `combined-configuration-page.js` L31–34: result list, then `role="status"` count, then pagination | Move count (+ optional page status) **above** the list so SR users hear scope before traversing cards |

**P1:** None provable in packet. **Uncertainty:** whether `readBattleFilters().invalidFilters` (L12) forces the L14 battles error path depends on `combined-configuration-view` / route wiring **outside** packet — if invalid dates still return 200 with empty rows, that would be P1; not confirmed here.

---

## Alternatives considered

- **Plain text only (status quo):** Safe, weakest glanceability; packet already readable via trophy + name.
- **Full card `--accent` border:** Rejected — too loud, tie/multi-winner noise.
- **Emblem/hexagon in winner row:** Rejected per request; trophy + name is enough if header accent is subtle.

---

## Missing evidence

- `site-view.js`: `contestantTheme` / `themeAccent` contrast for Sol vs Luna in light theme.
- Global `.battle-hit` CSS: stacking vs inner links.
- Server path for `invalidFilters` and `readCombinedCompare('compare=')`.

---

## Next action

Implement **single-winner header `--winner-accent` + 3px top border** (no tie tint); fix **P2 “Active” summary** for `configuration`; verify **battle-hit vs nested links** in browser (root owns pixels).

**Overall:** Conditional **PASS** on color strategy with the one header-accent change; **do not ship** without addressing overlay-link P2 if reproduction confirms blocked inner links.

deepseek / deepseek-flash / none / unknown effort answer

## Verdict: PASS with one small recommended change (no P1; two P2 findings)

Scope reviewed: the five named files only. Dependencies `combined-battle-comparison.js`, `combined-configuration-view.js`, `history-view.js`, `present.js`, `site-view.js` are outside the packet; claims about `contestantTheme`, `themeAccent`, `emblem`, and `orderedCombinedModels` internals are treated as declared-contract assumptions, so tie/theme stability is assessed from usage rather than implementation.

## 1. Color-accent recommendation (no garish fills)

**Conclusion — recommend the faint background accent, not the top border. Confidence: medium-high.**

Recommended concrete change: add winner theming inside `combinedGraphicalBattles` (`src/combined-approved-presentation.js:20`), where each battle `<li>` currently renders `class="battle-card selected-winner-card"` and the winner block `.battle-card-winner`. Set the stable model-scoped custom property on that `<li>` from the same value already used by the directory cards (line 26), i.e. `style="--accent:${themeAccent(contestantTheme(winners[0].model))}"` and apply it in CSS to `.battle-card-winner` at line 53 of the CSS:

```
.selected-winner-card .battle-card-winner{background:linear-gradient(120deg,color-mix(in srgb,var(--accent) 12%,transparent),transparent 65%)}
```

Why this and not the top border:
- Line 53 already uses a near-identical gradient on `.battle-card-winner` (`linear-gradient(120deg,var(--surface),transparent)`), so the change is a one-property modification with no layout shift, no new DOM, and no visual-system novelty.
- A tinted 1px top border on a rounded card is easily lost or reads as a divider/crop artifact; the existing CSS has no other top-accent border idiom on `.battle-card`, so it would be an orphan pattern.
- Guard rails are satisfied: `color-mix` at ~12% over `var(--surface)` yields a faint wash (not a full-card fill), the model **name + trophy** stay the primary cue (`battle-winner-label` at line 53, winner name at line 53), and color is never the sole carrier because the text label, trophy icon, and score column are unchanged.

Required conditions for this to be correct (not verifiable in-packet):
- Apply accent only when `winners.length === 1`. When `winners.length !== 1` (joint winners / no eligible winner, line 20), leave the default surface gradient — this preserves your "ties remain neutral" requirement without depending on unknown theme code.
- Use `contestantTheme(winners[0].model)` (canonical modelID), matching line 26's identity source; do **not** key on `r.id`/configuration.
- If `color-mix` support is a concern for the target browsers, `color-mix` is widely supported, but a `rgba()` variable already exposed by `themeAccent` would avoid the fallback question entirely — verify against `site-view.js` (outside packet).

**Contrast:** at 12% tint the text stays `var(--text)` on essentially `var(--surface)`, so dark/light both keep existing contrast; keep the tint threshold low (≤15%) to avoid re-opening contrast on light theme, where a saturated accent could push the winner name below 4.5:1.

## 2. Findings on same-contestant effort/date search and selection toolbar

**P2 — `model` filter also matches canonical model, so effort/config disambiguation can silently widen or mismatch (`src/combined-battle-search.js:23`).** The roster predicate is `(!f.model||m.id===f.model||m.model===f.model) && (!f.configuration||m.id===f.configuration) && (!f.effort||row&&recordedEffort(row)===f.effort)`. If a user selects a Model (`f.model` = canonical model) and an Effort, any contestant of that model with that effort matches — intended. But if the model select carries a configuration-scoped value while `f.model` is the canonical model, `m.model===f.model` broadens beyond the exact configuration; correctness depends entirely on what `battleFilterOptions.models[].value` contains (line 17 sets it to `row.model` — canonical). Since line 17 is canonical, this is currently consistent; the risk is that `f.configuration` and `f.model` are combined without asserting they describe the same contestant, and the inline comment at line 22 asserts that invariant. Low user-visible impact now, but latent: if a future option source emits `r.id`, the model filter would match every effort of that model while the UI implies an exact configuration. Flag as P2 latent, recommend asserting `f.model` matches `row.model` for the same `row` chosen by `f.configuration`.

**P2 — max-10 selection and count status can desync in `selected-directory.js` (`public/assets/battleranks/js/selected-directory.js:122-125`).** When the 11th checkbox is checked, the handler unchecks the box and writes `'Maximum of 10 configurations selected'` into the `role="status"` live region (countNode), then returns **without** calling `render()`. The live region is now stale relative to the actual count (e.g. shows the error while "10 selected" is no longer visible), and because `render()` is not called, no correction occurs until the next change. Recommend setting the message and re-rendering on the next tick, or appending the error while preserving the count (e.g. separate error node). Accessibility impact: screen-reader/visual users can see a message that contradicts the checkbox state. Severity P2.

**P2 — toolbar action/status semantics (`src/combined-approved-presentation.js:36` + `selected-directory.js:97-102`).** `compareButton.disabled = selected.size < 2` (line 100) is good, but the `<noscript>` fallback button at line 36 submits with no client-side guard; server must reject `<2` compares. Also `clearButton` starts `hidden` and toggles via `hidden` (line 102); CSS line 52 re-asserts `[hidden]{display:none!important}`, which is consistent — no bug, just noting the fallback path is unguarded in markup. Treat as P2 only if `/compare` does not already validate the count (outside packet).

**Not found / discarded:**
- No color-alone failure in current code: winner is always named text + trophy icon (lines 20–21), so adding a faint accent does not introduce a color-only channel.
- Ties: line 20 explicitly branches `winners.length>1` to "Joint winners" and the recommended accent is suppressed there, so neutrality holds.
- No P1 functional regression found in date filtering: `validDate` (line 11) is strict ISO round-trip and `from>to` is rejected (line 12); `matchesBattle` compares lexicographic ISO dates (line 20), consistent. `battle-results-count` uses `role="status"` (line 33) — adequate.
- Toolbar `aria-label` update (line 99) correctly reflects count; no duplicate-ID risk seen within the packet.

## 3. Missing evidence / consequence

- `site-view.js` (outside packet): actual values/types of `contestantTheme`, `themeAccent`, `emblem`, and whether `--accent` is defined for the `.battle-card` context vs only `.system-card`. If `--accent` is not inherited/defined on the battle card subtree, the recommended gradient resolves to transparent and the change becomes a no-op. **Verify before implementing**; alternatively set the accent directly on `.battle-card-winner`.
- `combined-battle-comparison.js` / `combined-configuration-view.js`: `orderedCombinedModels`, `readCombinedCompare`, `configurationIdentity`. Tie ranking ("actual core Sol/Luna distinct") depends on `orderedCombinedModels` ranking semantics; assumed stable.
- Server-side `/compare` validation is not in packet, affecting the P2 noscript finding.

## 4. Next useful action

Root (browser pixels): implement the single faint-gradient accent on `.battle-card-winner` gated to `winners.length===1`, verify `--accent` resolves in the battle-card subtree against `site-view.js`, and visually confirm light-theme contrast with the tint ≤15%. Separately, fix the `selected-directory.js` max-10 status desync (line 122-125) by re-rendering or splitting count vs error messaging.

Primary judge's stated reason

A receives a weak, forced preference because its accurate reading of the central same-contestant predicate avoids B's misleading recommendation to repair an invariant already enforced. This is not an established material quality gap: both deliver usable design guidance but include questionable functional findings, and 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: d9130353-cea0-4e2e-ab62-6fe97f3a0628. Pair: brp1_5121166187ed8c58044f2a4a7aee1cd7685a001fb7cfde6d249fa9bda5cc0cf6. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.