← Model losses

Head-to-head comparison

cursor / composer-2.5 / Composer 2.5 default / unknown 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.

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 < 50, marginal/unusable > 10, water high>10 / mod>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.

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 offers slightly cleaner review triage by not presenting optional matrix expansion as a contract finding. This is a forced, weak preference, not an established material quality difference; B's more explicit type-checking caveat is a genuine countervailing benefit, and an independent review could reasonably 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_f0c486801bf80c58750c997111e0c95334c85e90bd603f7012ba995ae41ed079. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.