← Model losses

Head-to-head comparison

xai / grok-4.7-efficient / high / high effort preferred over cursor / composer-2.5 / Composer 2.5 default / 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.

cursor / composer-2.5 / Composer 2.5 default / unknown effort answer

## Evidence packet

### 1. Conclusion

**No source-proven defects** against the stated contract in the frozen snapshot (`writer-review/source/…` + `diff.patch`). The implementation matches the acceptance criteria on the evidence provided. **Confidence: high** for logic/copy/tests in the three source files; **medium** for build/test receipts (manifest only, not re-run here).

| Requirement | Verdict | Source |
|-------------|---------|--------|
| All-nullish → neutral unavailable + missing-signal line | Met | `useDecisionAssist.ts` L59–65, L68; test L15–24 (`mask === 0`) |
| Partial, no flags → neutral incomplete; never green “Accept” / good pipe | Met | L68 (`Decision guidance incomplete`, `#6b7280`); green accept copy removed (diff L115–116 → L122–123) |
| All four present, no flags → `No review limitations flagged` | Met | L68; test L19 (`mask === 15`), L32, L42 |
| Reinspection highest priority with missing inputs | Met | L26–31 before water/score/RED; test L27–32 |
| Water / manual_review / RED reasons accumulate; reinspection not downgraded | Met | L40–42, L47–49, L54–56 only downgrade when `recommend === 'accept'`; limitations always pushed for manual (L47–49) and RED (L54–56); test L35–41 |
| Thresholds preserved (reviewable &lt; 50, marginal/unusable &gt; 10, water high&gt;10 / mod&gt;30) | Met | L29–36, L40, L42–44; test L31–32, L42–44 |
| Persistent card copy | Met | `DecisionAssistCard.tsx` L19–20 (exact string) |
| Pure `computeDecisionAssist` + hook wrapper | Met | `useDecisionAssist.ts` L11–74, L76–85 |
| Exactly three focused Vitest tests, no testing-library | Met | `useDecisionAssist.test.ts` L1–3, three `it()` blocks |
| Scope: three paths only; no server/acceptance/tier/scoring/TrustExplanation in packet | Met | `manifest.json` `declaredPaths` / `changedFiles`; diff limited to card + hook |

**API / regression (verified from packet):** `useDecisionAssist` signature and `DecisionAssistResult` unchanged; `computeDecisionAssist` is additive. **Behavior change** is intentional: headline text/color for the former “accept” path are neutral gray (L68), not a breaking type/API change. **Uncertainty:** callers outside the packet that match on old strings (e.g. `Accept — pipe is in good condition`) are not visible here.

**Build receipts:** `manifest.json` L72–94 reports Vitest (3 passed) and `vite build` exit 0. Treated as **declared, not independently verified** in this lane.

### 2. Alternatives / discarded hypotheses

- **16-combo test over-asserts color (`#6b7280`) for every mask:** With the fixed fixtures (`rv` good/90%, dry `wl`, `auto_clear` score, `GREEN` tier), every combination keeps `recommend === 'accept'`, so gray is consistent. A different fixture could yield yellow/red while the test would fail—that would be a test/fixture issue, not observed failure in this candidate.
- **Marginal grade with `unusable_pct <= 10` → yellow “Review limitations flagged” and empty `limitations`:** Shown in test L43–44; follows existing marginal → `accept_limited` branch (L32–33), not introduced as a new threshold bug in this diff.

### 3. Missing evidence / uncertainty

- **`../types/reviewData`:** Not in packet (noted in “Missing direct dependencies”). Field shapes are assumed from test fixtures and hook usage; not proven against type definitions here.
- **`diff.patch`:** Does not include a hunk for the new test file; full test content is in FILE 4 and manifest hashes—**no conflict** with scope.
- **Downstream imports** of old user-facing strings or colors: unknown outside packet.

### 4. Next useful action

If this candidate is promoted beyond the frozen review, a quick UI pass with (a) all inputs loading, (b) partial nulls with good `reviewability`, (c) reinspect + RED + manual score together would confirm presentation only; **not required** to accept the packet logic as written.

---

**Assignment / target (from manifest):** `assignmentId` `36003cef-5667-4441-b364-823a8dcce97f`; `reviewTargetRef` `writer-review-target:36003cef-5667-4441-b364-823a8dcce97f:1:83de7c6e1ff4032d`; `baseSha` / `currentHead` `ee04066ca51914d685ed65ad73374b8b75f28f54`. Writer-claimed model `openai/gpt-6.1-sol` (manifest L155)—**not verified** in this lane.

Primary judge's stated reason

Forced, weak preference for A: its explicit verification caveat slightly reduces the risk of interpreting successful Vite/Vitest commands as type-safety assurance. The answers are near-equivalent; no material quality gap is established, and an independent review could reasonably prefer B's source traceability.

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