← Model losses

Head-to-head comparison

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

No findings. The frozen candidate meets the advisory-guidance contract; the three authorized files do not show a source-proven defect.

The pure helper in `useDecisionAssist.ts` keeps the prior thresholds (`reviewable_pct < 50`, `grade === 'marginal'`, `unusable_pct > 10`, `high_pct > 10 || moderate_pct > 30`, `tier === 'manual_review'`, `autoClearTier === 'RED'`) and only lowers `recommend` from `'accept'` to `'accept_limited'`. Reinspection set earlier is never overwritten. Water, manual-review, and RED limitation strings are pushed independently of that guard, then missing signals are appended. User-facing `'accept'` copy is remapped: all-nullish (`missing.length === 4`) to neutral `Decision guidance unavailable`, partial non-concern to `Decision guidance incomplete` plus `Missing signals: …`, and all-present with no flags to `No review limitations flagged`. None of those strings assert acceptance or pipe condition. `DecisionAssistCard.tsx` always renders `Guidance only. You make the review decision.` outside the limitations conditional. `useDecisionAssist` keeps the same signature and delegates to exported `computeDecisionAssist`. The diff touches only the three declared paths.

The new test file has exactly three Vitest cases, no testing-library import, and covers all 16 presence masks for both `null` and `undefined`, reinspection while other inputs are nullish, and combined water / manual-score / RED reasons with the existing boundaries. Packet receipts show that test command and `npx vite build` both exited 0 without changing the tree digest.

Discarded as non-defects: internal `recommend: 'accept'` does not leak into UI text; renaming `Accept with limitations` is required so guidance is not an acceptance; partial flagged inputs correctly keep the flag headline while still listing missing signals; mixed null/undefined is equivalent under `== null`; the card string is source-visible and was intentionally not rendered in the three prescribed hook tests.

Uncertainty: `reviewData` is outside the packet, so fixture completeness against that interface was not re-checked here. Vite/Vitest success does not prove a separate typecheck. Callers or tests outside the packet that assert the old green Accept copy were not visible; that breakage would be the intended behavior change, not an in-scope source defect. File hashes were not recomputed in this lane.

No writer revision is indicated from this packet. Optional later work is an out-of-scope caller scan for the old Accept strings, not a candidate fix.

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

B gives a slightly more actionable review disposition by avoiding an unnecessary candidate-test revision while retaining evidence limits. This is a weak forced preference, not an established material quality difference; A's detailed evidence and qualified recommendation make the answers close, and an independent review could reject this preference.

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