← Model losses

Head-to-head comparison

claude-code-cli / claude-haiku-5-5 / low / low effort preferred over openai / gpt-6-luna / medium / medium 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

Read-only code-review analysis. A backfill reads a row at version3, computes a derived field, and unconditionally writes it. A live edit changes source data and version to4 before the backfill write. Retries reuse the same stable task ID. Identify the stale derived-data defect; propose conditional writes and a restart/reconciliation rule. Explain why deduplication alone does not fix it and how delete/recreate can defeat a version check. No tools or implementation/test claims. Three numbered items, under180words.

claude-code-cli / claude-haiku-5-5 / low / low effort answer

1. **Stale derived-data defect:** The backfill reads source at version 3 and computes the derived field from it. A live edit then moves the row to version 4. The backfill's unconditional write still stores the version-3 result, overwriting the correct value. Fix with a compare-and-set write, such as `UPDATE ... SET derived=? WHERE id=? AND source_version=3`, and store the source version the derived value came from. On zero rows updated, re-read, recompute, and retry.

2. **Restart and reconciliation rule:** Never reuse a computed value from a prior attempt. Retries should re-read the row and recompute before writing. Run a reconciliation sweep that finds rows where `derived.source_version != source.version` and recomputes them. Deduplication alone fails because it keeps the same task ID from executing twice. It does not make a stale computation fresh, and it can suppress the recompute the live edit should trigger.

3. **Delete and recreate:** A per-row version counter can restart after a delete and reinsert. A new row at version 3 would then pass a stale check (the ABA problem). Guard with a monotonic global version, a unique row incarnation or generation ID in the condition, or a tombstone that prevents version reuse.

openai / gpt-6-luna / medium / medium effort answer

1. The backfill can overwrite data derived from version 4 with a value computed from version 3, leaving the derived field stale. Write conditionally only if the row still matches the version and identity read; otherwise discard the result and restart or enqueue reconciliation from the current row.
2. Deduplication by stable task ID prevents duplicate processing only if its semantics guarantee that; it does not make the write conditional or prevent a delayed stale write from winning.
3. A version check alone can fail after delete/recreate if the new row reuses the old version. Include a non-reused generation/identity in the condition, or otherwise ensure versions cannot repeat across recreation. The packet gives no storage or retry semantics, so these recommendations are conditional on the system’s write and task behavior.

Primary judge's stated reason

A's explicit provenance-based reconciliation rule offers a slight practical advantage for finding stale derived values after retries. This is a forced, weak preference, not an established material quality difference; B's more cautious treatment of unspecified semantics is substantial counterevidence, and an independent review could reasonably prefer it.

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

Battle wave: 69cce17f-0aea-42e4-beb4-5eb5cbc942b7. Pair: brp1_145ac4cc5835859d653671777c2efefe1e4b04dd2d10f7c5ee25ffc978c5e759. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.