← Model losses

Head-to-head comparison

xai / grok-4.7-efficient / low / low 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

Independently review the exact immutable native writer candidate at reviewTargetRef writer-review-target:36003cef-5667-4441-b364-823a8dcce97f:1:83de7c6e1ff4032d. Evaluate whether all missing inputs and partial non-concern inputs produce neutral unavailable/incomplete guidance; complete inputs with no flagged condition produce “No review limitations flagged” and never infer pipe condition or acceptance; known reinspection retains highest priority and existing thresholds are preserved; water, manual-review score, and RED auto-clear reasons all accumulate without downgrading reinspection; the card persistently says “Guidance only. You make the review decision.”; the pure helper and up to three focused tests meaningfully cover the requested behavior. Check API compatibility, regression risks, whether tests and build receipts support the change, and any gaps. Confirm no server writes, acceptance, tier/scoring, TrustExplanation, or unrelated changes. Report only source-proven defects or explicitly no findings; distinguish verified facts from uncertainty.

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

No findings. The frozen candidate meets the guidance contract in the three authorized files; receipts support it, and no source-proven defect is visible.

**Verified**
- All-nullish stays on the no-flag path and renders gray `Decision guidance unavailable` plus `Missing signals: reviewability, water level, review score, auto-clear tier` (`useDecisionAssist.ts` 59–72). Partial non-concern input uses `Decision guidance incomplete` and `#6b7280`, never green Accept. All four present and unflagged yields exactly `No review limitations flagged` with an empty limitations list. The old “pipe is in good condition” / green accept copy is gone.
- `reinspect_recommended` and `reviewable_pct < 50` still set `reinspect` and are never overwritten. Water (`high_pct > 10` or `moderate_pct > 30`), `manual_review`, and `RED` only move `accept` to `accept_limited` and always append their reasons, including after reinspection (`useDecisionAssist.ts` 26–57). Marginal grade and `unusable_pct > 10` are unchanged.
- `DecisionAssistCard.tsx` 19–21 always shows `Guidance only. You make the review decision.`
- `computeDecisionAssist` is a pure export; `useDecisionAssist` keeps the same signature and `useMemo` wrapper. `DecisionAssistResult` is still `text` / `color` / `icon` / `limitations`.
- The new test file has exactly three Vitest cases, no testing-library: 16 presence masks for both `null` and `undefined`, reinspection with missing signals and the `< 50` boundary, and combined water / manual-score / RED reasons with `>` thresholds. The diff touches only those three paths.

**Uncertainty (not findings)**
- `reviewData` types are outside the packet. Field use is consistent with the tests, and the recorded Vite build exited 0, but those types were not inspected here.
- Vitest and Vite receipts are exit 0 with unchanged worktree digests; stdout was not in the packet. Other callers of the old accept strings are outside the packet; the string change is required, not an accidental break.

**Discarded**
- Empty limitation bullets for marginal grade with `unusable_pct <= 10` match the preserved grade rule.
- Keeping an internal `accept` label is not user-visible and does not assert acceptance.

No code change is indicated from this packet. Independent acceptance can proceed on this frozen candidate.

deepseek / deepseek-flash / none / unknown effort answer

# Independent Review: `writer-review-target:36003cef-5667-4441-b364-823a8dcce97f:1:83de7c6e1ff4032d`

## 1. Conclusion

The frozen candidate is **source-consistent and satisfies the stated behavioral contract**, with one confirmed low-severity test-coverage gap and one build-validity uncertainty that the frozen packet cannot resolve. No correctness defect, no out-of-scope change, and no regression to prior thresholds was found in the frozen sources. Confidence: **high** for correctness/scope; **medium** for test-suite rigour (see Finding A).

## 2. Requirement-by-requirement check (all against cited locations)

| Contract requirement | Verdict | Evidence |
|---|---|---|
| All-nullish → neutral unavailable + explicit missing-signal explanation | Pass | `useDecisionAssist.ts` L59–65 builds `missing`; L68 chooses `'Decision guidance unavailable'` when `missing.length === 4`. Explanation appends `Missing signals: …` (L65). |
| Partial non-concern → neutral/incomplete, never green Accept | Pass | L68 `'Decision guidance incomplete'`; the old green `#16a34a`/`\u2713` "good condition" label is gone (diff L115–122). All `accept` outcomes now use gray `#6b7280`/`\u2139`. |
| All-present, no flag → `No review limitations flagged`, never pipe-condition/acceptance claim | Pass | L68 final branch; no "good condition"/"accept" wording remains. |
| Known reinspection retains highest priority | Pass | L26–28 sets `recommend='reinspect'` unconditionally when `rv.reinspect_recommended`; water/score/RED only downgrade `accept→accept_limited` (L41,48,55), never touch `reinspect`. |
| Water / manual-score / RED reasons accumulate without downgrading reinspection | Pass | Each condition pushes independently (L40–57); the `recommend === 'accept'` guard now only gates the tier change, not the push (compare diff L90–99). `reinspect` short-circuits the `=== 'accept'` test, so reasons still append. |
| Existing thresholds/grades preserved | Pass | `reviewable_pct < 50`, `unusable_pct > 10`, `high_pct > 10`, `moderate_pct > 30`, `tier === 'manual_review'`, `autoClearTier === 'RED'` all unchanged (diff L49–105). |
| Persistent exact card copy | Pass | `DecisionAssistCard.tsx` L19–21 renders `Guidance only. You make the review decision.` unconditionally, outside the `limitations.length > 0` block. |
| Pure helper export | Pass | `computeDecisionAssist` exported (L11), no hooks/React in it; `useDecisionAssist` remains as a thin `useMemo` wrapper (L76–86) preserving the prior hook API. |
| No testing-library dependency | Pass | Test imports only `vitest` (L1) and types. |
| No server writes / acceptance / tiers / scoring / TrustExplanation / unrelated files | Pass | Diff touches only the 3 declared paths; all edits are label/logic/copy; no import of server or scoring modules added. |

## 3. Findings

### Finding A — Test coverage gap (low severity, source-proven)
The first test's 16-combination loop (test L15–25) asserts only `text`, `color`, and `limitations`. Because the fixture `rv`/`wl`/`score` are all non-concern (`grade:'good'`, `high_pct:0`, `tier:'auto_clear'`), it never exercises `accept_limited` vs `reinspect` in the presence matrix. Concretely, a regression where a present-but-flagged input failed to downgrade would not be caught by test 1. Test 3 (L35–45) partially compensates for the `accept_limited`/reason-accumulation path, and tests 2–3 cover `reinspect`. Net: the requested behavior *is* meaningfully covered, but the "all 16 presence combinations" test verifies only the neutral-text axis, not the tier axis. This is a gap against the strictest reading of acceptance criterion 5, not a behavioral defect.

### Finding B — Build/test validity is asserted, not independently verifiable (uncertainty, not a defect)
The manifest records both commands `exit 0` (manifest L74–94), with identical before/after working-tree digests (`cffba5ef…`), and the writer claims "exactly 3 tests passed" and a 9.25s build. The frozen packet contains no raw stdout/stderr, so I cannot independently confirm test *count* or that the build compiled these specific files rather than early-exiting on an unrelated error. This is a packet-completeness limit, not evidence of failure.

### Finding C — Missing direct dependency (uncertainty)
`../types/reviewData` is listed as outside the packet (missing-dependencies JSON). Type compatibility of the fixtures (`ReviewabilitySummary`, `WaterLevelSummary` shapes) and the runtime `vite build` type-stripping behavior therefore rest on the manifest's `exit 0` receipts. Type *checking* is not performed by Vite build by default, so the shape fidelity is only weakly evidenced.

### Discarded hypothesis / likely false positive
The `recommend` guard appearing attached only to `if (recommend === 'accept')` on L41/48/55 might read as "reason suppressed when not accept." It is not: the push is on the following line and executes unconditionally; only the recommendation upgrade is guarded. Confirmed by test 3's expectation that reinspection coexists with all three reasons (test L39–41).

## 4. Missing evidence / consequences
- No raw command output → test count and build success taken on manifest authority (consequences bounded: logic is verifiable by reading, so behavior is confirmable independent of receipts).
- `../types/reviewData` absent → type-shape fidelity unverified; low impact for pure-JS logic.
- No repository context for callers → cannot confirm no *other* file references the removed green "good condition" string; within the frozen scope, no such reference exists.

## 5. Next useful action
If a stricter bar is wanted, add one fixture to test 1 that is present-but-flagged (e.g. `tier:'manual_review'`) and assert `text === 'Review limitations flagged'` for that mask, closing Finding A. Otherwise the candidate is reviewable as-is; Findings B–C require reproducing the two commands in the original checkout if independent receipt verification is mandated.

No out-of-scope, server-write, acceptance, tier, scoring, or TrustExplanation change appears in the frozen diff.

Primary judge's stated reason

A provides slightly more actionable review disposition without elevating optional test expansion into a confirmed finding. This is a forced, weak preference, not an established material quality difference; an independent reviewer could reasonably favor B's more explicit type-checking caveat.

This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.

Battle wave: 221982a0-ba4c-42ce-af82-dcc022c74737. Pair: brp1_add9125522b3c2632c7d5e2629cc0ff13e12109eded4aebda8709e97e08ac32e. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.