← Model losses

Head-to-head comparison

claude-code-cli / claude-opus-5-5 / medium / medium effort preferred over openai / gpt-6-sol / 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 debugging analysis of a media-list API. Rows sort ascending by (createdAt,id). A page holds one row. The continuation query uses createdAt > cursor.createdAt and ignores id. Rows A(10), B(10), C(11) exist; page1 returns A and sets cursor10. Rows may be inserted/deleted between pages. Identify exactly which existing row is lost, explain the boundary defect, and propose a minimal cursor/query contract that preserves ties. Distinguish stable tie ordering from snapshot consistency under concurrent changes. Give two verification cases and one assumption you cannot prove. No tools or executed-test claims. Answer in three numbered items, under180words.

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

1. **Lost row: B.** Page 1 returns A and sets the cursor to `createdAt=10`. The next query uses `createdAt > 10`, so it skips every row that ties at 10 and comes after A. B (10) is never returned, and page 2 returns C. The defect is that the cursor drops the `id` tiebreaker even though the sort uses it.

2. **Minimal contract:** Make the cursor `(createdAt, id)` from the last returned row. Use `WHERE (createdAt, id) > (:c, :id) ORDER BY createdAt, id LIMIT 1`, or the expanded form `createdAt > :c OR (createdAt = :c AND id > :id)`. This makes tie ordering stable: no gaps or duplicates among rows that persist. It does not give snapshot consistency. A row inserted behind the cursor is skipped, and a deleted row just disappears. A true snapshot needs an as-of read or a snapshot token.

3. **Verification:** First, A, B, C should paginate as A, B, C, with each row appearing exactly once. Second, delete A after page 1; page 2 should still return B, because the cursor uses values and does not need A to exist. **Unprovable assumption:** `id` is unique, immutable, and compares the same way in the database and the application (same type and collation).

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

1. **B(10) is lost.** After page 1 returns A(10), the query `createdAt > 10` excludes B because it shares A’s timestamp. C(11) remains eligible. The boundary compares only part of the `(createdAt,id)` sort key.

2. **Use a composite cursor** containing the last returned `(createdAt,id)`. Continue with `createdAt > cursor.createdAt OR (createdAt = cursor.createdAt AND id > cursor.id)`, using the same ascending order. This preserves ties but does not guarantee a snapshot: inserts or deletes between requests can still change which rows appear.

3. **Verify** that A(10) is followed by B(10), then C(11); and that deleting B between pages does not cause a claim that B was returned. **Unproven assumption:** `id` provides a unique, consistently ordered tie-breaker.

Primary judge's stated reason

A's cursor-row deletion case gives a developer a more concrete check of value-based continuation. That supports only a slight forced preference, not an established material quality difference; B's more cautious concurrency explanation offsets part of the advantage. An independent review could reasonably reject this preference.

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

Battle wave: 2c66e956-0e43-4c1c-842c-720034acd978. Pair: brp1_5c4b63c3ecfd867cdbaa06fca7f71222d1c9221208e0f1c4fa005957cae8226e. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.