← Model losses

Head-to-head comparison

xai / grok-4.7-efficient / high / high 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 / high / high effort answer

The accept cue is a condition verdict the hook cannot support. Replace it with a signal-backed, non-binding review flag, and do not show a positive state when the inputs that could justify it are missing.

## Conclusion

**Misleading cue:** `Accept — pipe is in good condition` (`useDecisionAssist.ts` line 61), shown in green with a check (`#16a34a`, `\u2713`) by `DecisionAssistCard.tsx` lines 16–17.

That string is the default (`useDecisionAssist.ts` lines 23–24) and the fallback whenever nothing downgrades it. The hook never reads defect, structural, or condition fields. Inputs used are only reviewability (`reinspect_recommended`, `reinspect_reason`, `reviewable_pct`, `grade`, `unusable_pct`), water (`high_pct`, `moderate_pct`), review score (`score`, `band`, `tier`), and `autoClearTier`. Those measure visibility and review workflow, not pipe condition.

Reproducible triggers for the unsupported cue:
- All four arguments null/undefined. Reviewability is skipped (`rv?.reinspect_recommended` is falsy; later branches require `rv`). Result is still the green accept label.
- Reviewability present, `reviewable_pct >= 50`, `reinspect_recommended` false, `grade !== 'marginal'`. Every other grade, including unknown values, is ignored (lines 26–38) and still yields “good condition” if water, score, and auto-clear do not downgrade.
- `autoClearTier === 'GREEN'` is not an accept input. Only `RED` is read, and only when `recommend === 'accept'` (lines 55–58). A green auto-clear is not what produces this label.

**Authority problem:** the card’s visual weight is the colored verdict (13px, weight 600). “Decision Assist” is 10px gray (lines 12–17). There is no visible “reviewer decides” line. Limitations render only when non-empty (lines 19–24), so the no-flag path is a bare clearance.

**Explainability gaps on the same path:**
- Review-score and auto-clear RED limitations are pushed only if `recommend === 'accept'` (lines 47–58). If reviewability already set `reinspect` or `accept_limited`, those facts disappear.
- `grade === 'marginal'` with `unusable_pct <= 10` sets `accept_limited` with no reviewability limitation (lines 33–37).
- Thresholds (50% reviewable, 10% unusable, 10% high water, 30% moderate water) are not shown.

`TrustExplanation.tsx` is a second clearance cue, not the primary defect: green check plus “Flywheel/Score Auto-Cleared” (lines 44–47), checkmarks on every `criteria_summary` line (line 67), and “N similar pipes cleared” with no similarity definition (lines 48–53). `trust.explanation` is fetched and never rendered (field at line 12). Whether that card is mounted beside Decision Assist is outside this packet.

**Incremental change:** keep the same card and hook. Stop issuing a disposition or a condition claim.

1. Add `insufficient` when `reviewability` is null/undefined. Do not default to `accept`.
2. Replace the accept label with a condition-neutral line, e.g. `No assist flags on the signals checked`. Use a neutral color and icon, not green check.
3. Reframe the other states as suggestions (`Review with noted limits`, `Reinspection suggested — footage`), not orders.
4. Always append a limitation when a check fires, independent of current `recommend`. If `marginal` does not push a footage line, push the grade itself.
5. Return the consulted values (reviewable %, grade, water high/moderate, score/band/tier, auto-clear tier, or “missing”) and render them in the card on every state.
6. Add a static visible line: `Suggestion only — reviewer decides`.

**Acceptance criteria:**
- AC1: For every input combination, `suggestion.text` does not contain `good condition` or `pipe is in`.
- AC2: `useDecisionAssist(undefined, undefined, undefined, undefined)` is not `accept`, color is not `#16a34a`, icon is not `✓`, and text says signals are missing.
- AC3: No-flags state is reachable only when reviewability is non-null, `reinspect_recommended` is false, `reviewable_pct >= 50`, `grade !== 'marginal'`, water thresholds are not exceeded, review-score tier is not `manual_review`, and `autoClearTier !== 'RED'`. Text must not assert pipe condition.
- AC4: Fixture with `reviewable_pct < 50` (or `reinspect_recommended`), water over threshold, `tier === 'manual_review'`, and `autoClearTier === 'RED'` includes all four limitation strings. Today score and RED are dropped.
- AC5: Fixture with `grade === 'marginal'` and `unusable_pct <= 10` still has a non-empty limitation naming the marginal grade.
- AC6: Every `DecisionAssistCard` render includes the exact visible string `Suggestion only — reviewer decides`, plus the consulted-signal values, including explicit missing markers.

Confidence: high that the condition sentence is unsupported by this hook; high on the null-input and dropped-limitation triggers; medium that a parent might only mount the card after a separate condition check (parent not in packet). That would not make this label safe.

## Alternatives considered

- Treating “Accept” as “accept the inspection media” rather than “pipe is sound” still fails: the words say the pipe is in good condition, and missing data takes that branch.
- Treating `TrustExplanation` social proof (“N similar pipes cleared”) as the main cue is weaker here. The count may be meaningful, but similarity is defined outside this packet. It is a bias risk, not a proven false claim.
- Treating the water line (“some defects may not be visible”) as the false cue overreaches. It is a visibility caveat tied to `high_pct` / `moderate_pct`. The unexplained thresholds are a smaller explainability issue.
- A full scoring redesign was discarded. The smallest fix is copy, default gating, always-on limitations, and a signal strip in the existing card.

## Missing evidence

- `[REDACTED: private project name]/frontend/src/types/reviewData` is outside the packet. Grade and tier enums are unknown. Consequence: a grade other than `'marginal'` might mean “poor” and still hit the accept label; AC3 should lock the fields this hook actually reads, not an assumed enum.
- Parent composition is outside the packet. Consequence: conflict between green auto-clear (`TrustExplanation.tsx` lines 22, 44–47) and a reinspect suggestion is possible but not observed.
- Trust-explanation API semantics for `similar_cleared_count` and `explanation` are outside the packet. Do not treat the similar-count badge as validated support.

## Next useful action

Add hook tests for AC2–AC5 first, then change `useDecisionAssist.ts` labels, default, and limitation guards, then add the authority line and signal strip in `DecisionAssistCard.tsx` and lock AC1 and AC6 with a render test. Leave `TrustExplanation` unchanged until the parent layout and similarity definition are in scope.

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 offers a more dependable incremental specification: condition-neutral output, reproducible missing-evidence handling, and tests for suppressed reasons. The preference rests on substantive consistency and explanation coverage, not presentation length. This is a clear proposal-level advantage, not proof of production impact or implementation success; an independent review could weigh B's confirmation affordance more heavily.

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