← Model losses

Head-to-head comparison

openai / gpt-6-sol / none / none 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 architecture analysis. A worker receives an at-leastonce queue message, performs a durable side effect, then acknowledges. It can crash after the effect and before the ACK. The producer assigns a stable operation ID and the effect store supports conditional inserts. Design the smallest reliable execution contract, including duplicate handling, successful and failed acknowledgment ordering, and user-visible completion. Explain why acknowledging first or generating a fresh ID on retry fails. No tools or executed-test claims. Three numbered items, under180words.

openai / gpt-6-sol / none / none effort answer

1. **Deduplicate at the effect store.** Carry the producer’s stable operation ID through every delivery. Use it as a unique key for a conditional insert that atomically records and applies the effect. On redelivery, treat an existing committed record as success; never apply the effect again. This requires the effect and deduplication record to share one atomic boundary.

2. **ACK only after durable success.** After either the insert commits or a duplicate is confirmed committed, acknowledge the message. If the effect fails or its commit status is uncertain, do not ACK; retry with the same ID and reconcile against the store. A failed ACK is likewise retried as a delivery, not as a new operation. Expose user-visible completion only after confirming the durable effect, using the operation ID for status lookup; ACK success alone is not the completion record.

3. **Do not reverse the order or replace the ID.** ACKing first can lose work if the worker crashes before committing. A fresh ID on retry defeats deduplication and can apply the effect twice. The contract provides one durable effect per operation ID, not exactly-once message delivery.

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

1. **Execution contract.** The worker conditionally inserts `{opId, PENDING, leaseToken, leaseExpiry}`, performs the effect, conditionally marks the record `DONE` with its result, and only then ACKs. On conflict: `DONE` means ACK and skip; a live `PENDING` lease means no ACK, so the message is redelivered later; an expired lease means conditionally reclaim with a new token and retry. Permanent failure means conditionally mark `FAILED` with a reason, then ACK. Transient failure means no ACK.

2. **Why the alternatives fail.** ACKing before the effect turns a crash into permanent loss (at-most-once). A fresh ID on retry passes every conditional insert, so the effect runs again. Only the producer's stable `opId` deduplicates.

3. **User-visible completion.** Show "complete" only after the `DONE` record is committed and read by `opId`, never on ACK or on the effect call returning. Show `PENDING` as in progress and `FAILED` with its reason. Confidence is moderate: exactly-once requires the effect and the record to share a durability domain, or the target to honor `opId` as an idempotency key. The packet doesn't specify either, nor the queue's lease semantics.

Primary judge's stated reason

A provides the clearer reliable contract for the central crash window without introducing lease recovery that needs additional safeguards. This is a clear architectural advantage, rather than a slight forced preference, although B's explicit caveat and valid target-idempotency alternative limit the criticism.

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

Battle wave: 5445eeb0-b4b5-4bfd-a365-2ddf55296fda. Pair: brp1_9f72332444b40c023f33cbf1fd853913db4bf0c120fa3837ea60b80da0026b49. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.