← Model losses

Head-to-head comparison

xai / grok-4.7-efficient / low / low effort preferred over deepseek / deepseek-flash / none / unknown effort · clear 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.

xai / grok-4.7-efficient / low / low effort answer

The accept headline overclaims pipe condition from missing or non-condition signals, and later flags are dropped once the recommendation is no longer `accept`.

## Conclusion
The misleading cue is the default accept verdict in `useDecisionAssist.ts`. `recommend` starts as `'accept'` (line 24) and the card renders `Accept — pipe is in good condition` with a green check (lines 61 and 16–17 of `DecisionAssistCard.tsx`) even when `reviewability`, `waterLevel`, `reviewScore`, and `autoClearTier` are all null. Those inputs only cover footage reviewability, water occlusion, a review-score tier, and auto-clear tier. None of them establishes structural condition. Absence of a blocking flag is presented as a positive condition judgment, with no “reviewer decides” line.

A second under-support bug compounds this. `manual_review` score text and `Auto-clear criteria not met` are added only when `recommend === 'accept'` (lines 48 and 55). If reviewability already set `accept_limited` or `reinspect`, those reasons never appear. A `marginal` grade with `unusable_pct <= 10` and no other hits yields `Accept with limitations` and an empty limitations list (lines 33–37, 19–25).

**Incremental change:** keep this card non-actionable (no accept control). Replace the silent default with a neutral insufficient-evidence state when no positive signal set is present. Rename any accept copy so it names checked review flags, not pipe condition. Always append score and auto-clear reasons regardless of current recommendation. Show a fixed line: suggestion only; the reviewer decides. Do not use a green check unless every required signal was present and non-blocking.

**Acceptance criteria:**
- All-null inputs must not render “Accept”, “good condition”, or a green check.
- `manual_review` and `autoClearTier === 'RED'` must appear in limitations even when reviewability already downgraded the recommendation.
- `marginal` with no other limitation must still state why the suggestion is limited.
- The card must not gain a control that records an accept.

Confidence: high on the label and gating bugs; medium that product intent was “inspection accept” rather than condition — the rendered string still says pipe condition.

## Alternatives discarded
TrustExplanation’s green “Auto-Cleared” title and “N similar pipes cleared” (`TrustExplanation.tsx` lines 44–53) can look like a completed decision, and `explanation` (line 12) is never shown. That is a separate social-proof cue, not the decision-assist default. Escalating high water to reinspect would change policy, not just presentation; the code only downgrades `accept` to `accept_limited` (lines 41–43). Swallowing later flags is real, but secondary to the unsupported accept headline.

## Missing evidence
`../types/reviewData` and `../../api/client` are outside this packet. Exact meanings of `reinspect_recommended`, `grade`, score `tier`/`band`, and the trust-explanation payload are uncertain beyond how these files use them. Whether another screen already records the human decision is unknown; this card itself has no action control.

## Next action
Add hook tests for all-null, marginal-without-unusable, and RED or `manual_review` combined with an existing downgrade, then change only the label, default, and limitation gating described above.

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

A is preferred because its bounded changes and reproducible criteria more reliably guide an incremental fix while retaining reviewer authority. B offers useful evidence-coverage visibility, but its contradictory acceptance invariant would need correction before adoption. This is a supported practical gap in the proposed acceptance contract, not proof of deployed behavior or measured reviewer benefit.

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_af20ba0f5b1b54e7e3f028710a4654265a898bd2e085ad6d2821906802451e31. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.