← Model losses

Head-to-head comparison

openai / gpt-6-luna / high / high effort preferred over claude-code-cli / claude-haiku-5-5 / medium / medium effort · clear 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. Contract: only current lease holder may commit; lease generations increase monotonically; a worker may pause past expiry; retries keep stable operation IDs. Code: async function commit(job,lease){if(Date.now()<lease.expiresAt){await compute(job);await storeResult(job.id,job.result);await markDone(job.id);}}. WorkerA checks generation7, pauses; lease expires and B obtains generation8; A resumes. Identify the stale-write mechanism and minimal storage/transaction checks. Distinguish fencing from deduplication and explain the compute-to-commit race. Give two meaningful verification cases; do not claim execution. No tools. Answer in three numbered items, under180words.

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

1. **Stale-write mechanism:** A’s expiry check happens before `await compute(job)`. While A is paused, its lease expires and B receives generation 8; A then resumes and writes without checking that generation 7 is still current. The check-to-write gap is a time-of-check/time-of-use race.

2. **Minimal storage checks:** At commit, atomically verify the stored lease owner and generation still match A and that the lease is unexpired using storage-authoritative time; only then store the result and mark the job done. Make generation updates monotonic. Use stable operation IDs with a unique deduplication record to prevent retries from applying the same operation twice. Deduplication does **not** fence a stale worker; generation validation does.

3. **Verification cases (not executed):** (a) Pause A on generation 7, let B acquire generation 8 and commit, then resume A; A’s commit must be rejected without overwriting the result or marking done. (b) Retry the same operation ID and verify its effect is applied at most once; separately, let a lease expire during compute and verify commit is rejected even if no replacement worker has committed.

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

1. **Stale-write mechanism:** The expiry check runs once, before `compute`. A passes at generation 7, pauses, and B takes generation 8. On resume, `storeResult` and `markDone` carry no generation, so storage accepts A's stale write. The compute-to-commit gap is the problem: validity is checked at check time, not commit time. Minimal fix: write the result and done state in one transaction that succeeds only if the caller's generation is at least the stored highest generation for that job.

2. **Fencing vs. deduplication:** Fencing rejects writes from superseded generations. Deduplication, using stable operation IDs (e.g., `INSERT ... ON CONFLICT DO NOTHING`), only makes identical retries idempotent. It does not stop A's stale result from being stored first under the job ID. You need both.

3. **Verification cases:** (a) A holds generation 7 and pauses; B commits at generation 8; A resumes. Expect A's write to be rejected, with B's result and done state unchanged. (b) After generation 8 commits, A retries with the same operation ID. Expect a rejection or no-op, with no overwrite of the stored result.

Primary judge's stated reason

B provides a materially better-supported minimal commit guard and verification coverage. The preference is clear rather than a slight forced preference: A's stated sufficient condition leaves an expired highest-generation worker eligible to commit, contrary to the contract. This is a review-recommendation gap, not evidence of an executed implementation failure.

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

Battle wave: b628f53b-a3e5-4f4d-85d3-7e1cd2c26f1f. Pair: brp1_54f7a82a0b331f430afd8ef27896bc896bb4c0225d3f993d97bc86f316ef9ed9. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.