openai / gpt-6-sol / high / high effort preferred over claude-code-cli / claude-haiku-5-5 / low / low 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-sol / high / high effort answer
1. **Defect:** The backfill computes the derived field from version 3, then overwrites the row after a live edit has changed its source data to version 4. The derived field is now stale.
2. **Write condition:** Atomically write the derived field only if the row still has the source version **and row incarnation** observed during computation. If the condition fails, reread the current row and recompute. After a restart, reconcile rows whose derived field is missing or does not correspond to their current source version; do not treat a previously attempted task as proof the row is current.
3. **Why the guards matter:** A stable task ID can prevent duplicate execution, but it cannot make a stale computation fresh—and may suppress the needed retry. A delete followed by a recreate can reuse the same row key and version, defeating a version-only check; a generation or incarnation token distinguishes the new row.
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.
Primary judge's stated reason
B's explicit inclusion of missing derived fields makes restart reconciliation slightly more directly usable. This is a forced, weak preference between near-equivalent answers, not an established material quality gap; A's concrete provenance guidance is substantial counterevidence, and 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_2d95eb45c7e6a71a3c1bc7fa56de909c8cfb1a3dbd0eb8cc2ca7d9a41ace1d53. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.