← Model losses

Head-to-head comparison

openai / gpt-6-astra / xhigh / xhigh effort preferred over cursor / grok-4.7 / Grok 4.7 High / high 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-astra / xhigh / xhigh effort answer

1. **Stale-write mechanism:** Independent static review of the supplied line 1: A passes the local expiry check under generation 7, pauses, then resumes after B acquires generation 8. Neither write validates authority, so A can overwrite results and mark completion. Computing before committing creates a time-of-check/time-of-use race; another non-atomic check after computation still races.

2. **Minimal protection:** At the storage commit’s atomic linearization point, require the submitted generation and owner to match the authoritative current lease, and require that lease to remain unexpired using authoritative time. Serialize this validation with lease acquisition; atomically publish the result, mark completion, and record the operation ID. Checking only the highest generation previously seen by the result store is insufficient: B may not have written yet. Fencing rejects obsolete authority; stable-operation-ID deduplication prevents repeated effects. Neither substitutes for the other.

3. **Proposed verification; not executed:**  
   - Pause A, grant B generation 8, resume A before B writes: reject both A mutations; permit B’s commit.  
   - Inject failure between result/completion writes, then retry with the same operation ID under valid authority: observe no partial publication and exactly one committed effect.

cursor / grok-4.7 / Grok 4.7 High / high effort answer

1. Stale write: `commit` checks `Date.now()<lease.expiresAt` once, then awaits `compute` before `storeResult` and `markDone`. A can pass at generation 7, pause past expiry, and write after B holds generation 8. The code never compares a stored generation. Minimal check: one transaction that updates the result and done mark only if the stored generation equals the caller token, so a greater stored generation rejects the write.

2. Fencing rejects a superseded holder even when the payload differs. Dedup of a stable operation id only collapses retries; it does not prove current ownership, and insert-once can keep generation 7 while dropping 8. The race is check-then-await: the lease can expire during `compute`, so the pre-await clock check does not cover the commit.

3. Case 1: B commits generation 8, then A resumes; a generation=7 conditional write must fail and B's result must remain. Case 2: A lands generation 7 first under the shared operation id; dedup alone drops B, but a fenced commit must accept 8 and refuse 7. These are specified checks, not executed runs.

Primary judge's stated reason

B provides a more complete storage-side remedy for the current-holder-only contract, including the expired-but-not-yet-replaced interval. Its proposed cases additionally cover stale rejection before a successor publishes and atomic retry behavior. This supports a clear preference on substantive assurance, rather than a formatting preference or a claim that execution proved a material implementation gap.

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