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
Evaluate [REDACTED: private project name] decision-assist presentation for a practical way to improve reviewer usefulness while preserving explainability and human authority. Ground the recommendation in the current evidence, identify a specific misleading or under-supported decision cue if present, and provide an incremental product change with measurable acceptance criteria.
cursor / composer-2.5 / Composer 2.5 default / unknown effort answer
## Evidence packet
### 1. Conclusion, recommendation, and confidence
**Conclusion:** Decision Assist is useful as a compact, rule-based nudge (reviewability → water → review score → auto-clear RED), but the primary green label **“Accept — pipe is in good condition”** (`useDecisionAssist.ts` lines 60–64, rendered in `DecisionAssistCard.tsx` lines 16–17) is the main **misleading cue**: it reads as a **structural / condition** verdict while the hook only uses **footage reviewability, water visibility, review-score tier, and auto-clear tier**—no defect grades, ratings, or pipe condition fields in the admitted snapshot.
**Incremental change (smallest actionable):** Reframe copy and hierarchy so disposition ≠ condition, and show **which rules fired** as first-class “reasons,” not only the `limitations` list.
| Current | Proposed |
|--------|----------|
| `accept.text`: “Accept — pipe is in good condition” | e.g. “Accept footage for review” or “No reinspection suggested from footage signals” |
| Limitations only when non-empty | Always show 1–3 **“Based on:”** lines mapping to the branches that ran (reviewable %, water rule, `manual_review`, auto-clear RED) |
Keep human authority explicit in the card: one line such as “Suggestion only — you choose accept, limited accept, or reinspect.”
**Supporting evidence**
- Label mapping: `useDecisionAssist.ts` 60–65; presentation: `DecisionAssistCard.tsx` 12–24.
- Inputs to logic: `useDecisionAssist.ts` 26–58 (`reviewability`, `waterLevel`, `reviewScore`, `autoClearTier` only).
- `TrustExplanation` is a **separate** GREEN flywheel/score panel (`TrustExplanation.tsx` 22–23, 36–73); it does not feed `useDecisionAssist`, so reviewers can see **auto-clear success** and **Decision Assist** side by side without a single integrated narrative.
**Confidence:** **High** on the label–signal mismatch (directly from strings vs hook inputs). **Medium** on severity in production (depends on parent wiring and whether reviewers treat the card as condition truth—outside packet).
---
### 2. Alternatives and discarded hypotheses
- **Discarded:** “Decision Assist is purely decorative.” It materially changes `recommend` across reinspect / accept_limited / accept paths with concrete thresholds (e.g. `reviewable_pct < 50`, `wl.high_pct > 10`, `rs.tier === 'manual_review'`, `autoClearTier === 'RED'`).
- **Alternative:** Merge Trust + Assist into one panel. Valid for explainability, but **larger** than reframing copy + rule trace; Trust is API-gated GREEN only (`TrustExplanation.tsx` 22–23), Assist is always local.
- **Likely false positive:** Calling water messaging “wrong”—the limitation text is cautious (`useDecisionAssist.ts` 43); the issue is **lack of surfaced percentages**, not the warning itself.
**Secondary under-supported cue:** `accept_limited` with `rv.grade === 'marginal'` can occur with **no** unusable-% limitation when `unusable_pct <= 10` (`useDecisionAssist.ts` 33–37), so yellow “Accept with limitations” may appear with **thin** justification unless water/score/RED added limitations.
**Trust explainability gap:** `TrustData` includes `explanation: string` (`TrustExplanation.tsx` 12) but the UI never renders it—only `criteria_summary` and optional similar-pipe count (57–72). That underuses server-side explainability for GREEN pathways.
---
### 3. Missing evidence and consequences
| Dependency | Consequence |
|------------|-------------|
| `../types/reviewData` (`ReviewabilitySummary`, `WaterLevelSummary`) | Cannot verify field semantics (e.g. what `grade === 'marginal'` means operationally). |
| `../../api/client` + trust API payload shape beyond interface | Cannot confirm `explanation` quality or whether `similar_cleared_count` is calibrated. |
| Parent review tab composition | Unknown if Trust + Assist order causes “double green” confusion. |
| Override / final human action UI | Cannot tie assist to measurable override behavior without instrumentation spec. |
---
### 4. Measurable acceptance criteria (for the incremental change)
1. **Comprehension (qualitative or micro-survey):** Among reviewers shown the new copy, **≥80%** agree the green state means “footage/review workflow” rather than “pipe structural condition” (single forced-choice item, n ≥ 20 per cohort).
2. **Misleading-cue proxy:** In moderated sessions or annotated logs, **zero** required instances where reviewers cite Decision Assist green text as the **primary** reason they accepted **without** citing defect/rating evidence (binary rubric per session).
3. **Explainability:** For `accept_limited` and `reinspect`, **100%** of rendered assists include **≥1** “Based on:” line tied to a fired rule (not only generic limitations)—verifiable by unit tests on `useDecisionAssist` return shape (e.g. new `reasons: string[]` parallel to `limitations`).
4. **Authority preservation:** Card shows fixed disclaimer copy; **no** change to who submits the human decision (behavioral: final action still explicit parent control—verify in parent, not in packet).
5. **Trust parity (optional follow-on):** When `trust` loads, render `trust.explanation` below criteria (`TrustExplanation.tsx`); acceptance: **≥90%** of GREEN trust views show non-empty `explanation` when API returns it (analytics on field presence).
---
### 5. Next useful action
Implement in `useDecisionAssist.ts`: rename `accept` label to disposition-safe copy; add `reasons: string[]` populated at each branch that changes `recommend`; render “Based on” + disclaimer in `DecisionAssistCard.tsx`. Add hook unit tests for marginal-without-unusable limitation and RED/manual_review branches. Separately, surface `trust.explanation` in `TrustExplanation.tsx` when non-empty.
**No material evidence conflict** between the three files on logic vs presentation; tension is **product semantics** (condition wording vs available signals), not contradictory code paths.
deepseek / deepseek-flash / none / unknown effort answer
## Conclusion
**Recommendation:** Replace the flattened single-verdict cue in `DecisionAssistCard.tsx` with an explicit, conservatively-derived verdict plus a visible signal trace and an explicit "reviewer confirms" affordance. The specific defect to fix first is that the green "Accept — pipe is in good condition" label is rendered whenever no signal pushes the verdict above `accept`, which can occur with **zero evidence checked** (all inputs null/absent) and is visually indistinguishable from an accept backed by multiple verified signals.
**Specific misleading cue (grounded):**
`useDecisionAssist.ts:19–24, 60–61`. `recommend` is initialized to `'accept'` unconditionally. There is no positive confirmation requirement — only downgrades (`accept` → `accept_limited` → `reinspect`). Consequences at the source:
- All four inputs null/undefined (`reviewability`, `waterLevel`, `reviewScore`, `autoClearTier`) → returns `{ text: 'Accept — pipe is in good condition', color: '#16a34a', icon: '✓', limitations: [] }`. This is the strongest possible affirmative claim produced by the weakest possible evidence.
- In `DecisionAssistCard.tsx:16–17`, that result renders as a green 13px bold "Accept — pipe is in good condition" with **no limitations block** (guarded by `limitations.length > 0`, line 19), so it looks strictly *better* than an accept that had minor caveats.
- Partial coverage is equally misrepresented: if only one weak signal is available (e.g. `rv` null, `wl` null, `rs` null, `autoClearTier === 'GREEN'`), the same unambiguous green verdict appears, because `autoClearTier` is only ever consulted for `'RED'` (line 55). `'GREEN'` and unknown values contribute nothing.
**Secondary under-supported cue:** `useDecisionAssist.ts:41–44` pushes the water-level limitation "Water in invert — some defects may not be visible" when `wl.high_pct > 10 || wl.moderate_pct > 30`, which can conflate mere water presence with defect-occlusion; and `TrustExplanation.tsx:22,36–47` labels any `flywheel`/`score` pathway with tier `GREEN` as "Auto-Cleared"/"Flywheel Auto-Cleared" with a checkmark — an affirmative green signal keyed purely on tier string equality, with no visibility into how tier was computed (dependency outside packet).
**Implications:** The card asserts condition ("pipe is in good condition") rather than recommendation, and its color/icon vocabulary is reused verbatim from the reduced `labels` map, so a reviewer cannot distinguish *evidence-confirmed accept* from *no-opinion default accept*. That is the core explainability/human-authority gap: the UI implies the tool adjudicated condition when it may have abstained.
**Confidence:** High for the initialization path and its zero-signal case (directly readable in the snapshot); medium-high that this is reachable in production — reachability depends on reviewability/waterLevel/reviewScore being nullable upstream, which the signature (`| null | undefined`, lines 12–15) explicitly allows, but actual callers are outside the packet.
## Alternatives / discarded hypotheses
- *Misleading via wrong color semantics generally* — rejected as the headline; the color map is internally consistent. The defect is the **defaulting**, not the palette.
- *The `limitations` block is the primary fix target* — partly true (zero-signal produces no bullets, so absence of caveats reads as evidence), but it is a symptom; the root cause is the unconditional `accept` initialization.
- *Score band/tier string handling is the bug* — plausible but not supported: `rs.tier === 'manual_review'` is an exact-match check and the string domain isn't in the packet (dependency outside: `../types/reviewData`).
## Missing evidence / dependencies (uncertainty)
- `[REDACTED: private project name]/frontend/src/types/reviewData.ts` — nullability and semantics of `reviewable_pct`, `grade`, `tier`, `band`; determines whether the zero-signal path is routinely reachable.
- `[REDACTED: private project name]/frontend/src/api/client.ts` (via `TrustExplanation.tsx`) — whether `trust-explanation` can return `similar_cleared_count` or `criteria_summary` that overstate confidence.
- Callers of `useDecisionAssist` — actual precedence when both `reviewability` and `autoClearTier` disagree.
- Consequence: cannot prove production frequency of the zero-signal accept; confidence in *reachability*, not *incidence*.
## Smallest actionable product change + measurable acceptance criteria
**Change (incremental, one file + one hook):**
1. In `useDecisionAssist.ts`, add an explicit evidence state: `if (!rv && !wl && !rs && (autoClearTier == null))` return a neutral verdict (`text: 'No decision signals available', color: '#6b7280', icon: '–', limitations: ['Reviewer judgment required — no automated signals present']`). Rename the affirmative string to a recommendation, e.g. `'No blocking signals — condition not verified'`, reserving "in good condition" for cases with at least one affirmative signal.
2. Track and return a `signalsChecked: string[]` (or count) for every signal actually evaluated, and render it in `DecisionAssistCard.tsx` (e.g. "Signals checked: reviewability, water level — 2 of 4").
3. Add an explicit `data-testid`-addressable reviewer confirmation control ("Reviewed — accept / override") so the human authority step is a recorded UI action rather than an implicit read.
**Acceptance criteria (measurable):**
- All inputs null/undefined → verdict text is neutral/gray, never `#16a34a`, and `limitations.length >= 1`. (unit test on `useDecisionAssist`.)
- When any downgrade path fires (lines 27–38, 41–44, 48–51, 55–57), verdict text/color for that case is byte-identical to current behavior — regression test preserves existing branches.
- `signalsChecked` equals the exact count of non-null inputs among the four parameters, asserted for the 16 null/non-null combinations.
- Card renders a confirmation affordance for every verdict state, including green; snapshot/DOM test asserts present and keyboard-focusable.
- Two verdicts with identical text must have equal color and equal `signalsChecked`; no two distinct evidence states render byte-identical cards (finite state test).
**Next useful action:** Confirm nullability of the three upstream summaries in `types/reviewData.ts` and whether the zero-signal path is reachable; if reachable, ship change items 1–2 first (smallest, highest value), deferring the confirmation control.Primary judge's stated reason
B receives a slight forced preference because its central rule-trace acceptance criterion is easier to implement consistently with its proposed change. A offers stronger missing-input protection, so this is not an established material quality gap; an independent review could reasonably prioritize that advantage instead.
This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.
Battle wave: 1f8a0aba-9d16-4839-8714-ef37db460c2e. Pair: brp1_8b65beeffcd6b39633bfffc738ee4d7898b9179ca98082846619dd005b2e0c46. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.