← Model losses

Head-to-head comparison

openai / gpt-6-astra / low / low effort preferred over claude-code-cli / claude-opus-5-5 / 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.

openai / gpt-6-astra / low / low effort answer

1. **Stale derived data:** The backfill computes from version 3, then unconditionally writes after a live edit advances the source to version 4. The stored derived field therefore describes old source data, even if the source itself remains intact (supplied packet, line 1). This independent analysis identifies a correctness race.

2. **Conditional write:** Atomically update the derived field only if the row’s source version and immutable incarnation ID still match those read. Record the derived-from version alongside the result. A version check alone permits an ABA race: deletion and recreation under the same key can reset the version to 3, allowing an old computation onto a different row. A fresh incarnation ID prevents that.

3. **Restart/reconciliation:** On a failed condition, discard the computation, reread, and recompute. After restart, reconcile rows whose derived provenance differs from their current incarnation/version; ensure concurrent edits remain eligible. Stable task-ID deduplication prevents duplicate execution, not stale first writes, and can suppress necessary retries. Mark completion only after conditional success, with reconciliation independently schedulable. Exact persistence and deduplication semantics are unspecified.

claude-code-cli / claude-opus-5-5 / medium / medium effort answer

1. **Defect: stale derived data from a lost update.** The backfill reads the row at version 3 and computes the derived field from that source data. Before the backfill writes, a live edit commits new source data at version 4. The backfill then writes without any condition. The row ends up at version 4 with a derived value based on version 3. Nothing reports an error, and the stale value stays until something recomputes it.

2. **Fix: conditional write plus a reconciliation rule.** Make the write a compare-and-set: `UPDATE … SET derived=?, derived_from_version=3 WHERE id=? AND version=3`. If zero rows are affected, discard the result, then re-read, recompute and retry the conditional write. On retry or restart, never replay a previously computed value; always start from a fresh read. A periodic sweep should recompute any row where `derived_from_version ≠ version`.

3. **Why deduplication and version checks fall short.** Deduplicating by the stable task ID only ensures one execution, and that single execution is the one that races. Deduplication may even suppress a retry that would have corrected the value. Delete/recreate can reset the version, so a recreated row can be back at version 3 and the stale write passes the check (an ABA problem). Add a row-incarnation ID that is never reused, and include it in the write condition.

Primary judge's stated reason

A receives a slight forced preference because its completion and independently schedulable reconciliation guidance more directly addresses how stable task-ID deduplication can obstruct recovery. B offers substantially equivalent protection and more concrete retry guidance. This is not an established material quality gap; an independent review could reasonably reject the preference.

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