← Model losses

Head-to-head comparison

claude-code-cli / claude-sonnet-5-5 / medium / medium effort preferred over openai / gpt-6-luna / 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 implementation analysis. A ledger stores integer cents. An invoice has three lineitems priced0.335dollars each and applies10percent tax. The specification sums exact decimal line amounts, adds tax once, then rounds halfup to cents. The implementation rounds each line first, sums cents and applies tax to that roundedsubtotal. Explain the difference using this example, propose a minimal numeric contract and independent verification cases including refunds and repeated import. No tools, edits or executed-test claims. Three numbered items, under180words.

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

1. **Difference:** The spec computes 3 × 0.335 = 1.005, tax 0.1005, total 1.1055, which rounds half-up to **111¢**. The implementation rounds each line to 0.34, so the subtotal is 1.02. Tax is 0.102 and the total is 1.122, which rounds to **112¢**. Early rounding adds 0.015 of subtotal, and the tax then compounds it, leaving a 1¢ overcharge.

2. **Minimal contract:** Keep unrounded decimal or scaled-integer amounts (for example, 1e-6 dollars) through line sums and tax. Round once, half-up, at the invoice total to integer cents. Define the rule for negative values, such as half away from zero, so refunds mirror charges. Per-line cents, if displayed, are allocated so they sum exactly to the total. Refunds are computed against the original exact values, and cumulative refunds cannot exceed the total.

3. **Independent cases:**
   - Expected total is 111¢ (not 112¢).
   - A single 0.335 line with tax gives 0.3685, so 37¢.
   - A full refund nets to 0¢.
   - Partial refunds, one line then two, sum to exactly 111¢.
   - A refund of -1.1055 rounds symmetrically to -111¢.
   - Importing the same invoice ID twice creates one ledger entry.
   - A re-import with changed data posts only the delta.

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

1. Exact: \(3×\$0.335=\$1.005\); 10% tax is \$0.1005, so the total is \$1.1055, which rounds half-up to **\$1.11**. Rounding each line first gives \$0.34×3=\$1.02; tax of \$0.102 rounds to \$0.10, for **\$1.12**. The methods differ by one cent.

2. Minimal contract: retain exact decimal amounts through subtotal and tax calculation; define the tax basis and rate precision; round once, half-up, to integer cents at the specified finalization point. Specify refund rounding and whether refunds reverse the original rounded transaction.

3. Verify independently: this invoice yields \$1.11; test half-cent boundaries and varied line counts; confirm a refund follows the stated reversal rule; import the same invoice repeatedly and confirm no duplicate posting or cent drift. The packet gives no implementation details to verify those behaviors.

Primary judge's stated reason

A receives a slight forced preference because its concrete refund expectations provide more directly usable verification targets, alongside an explicit duplicate-invoice expectation. B offers a sound, more restrained alternative with useful boundary coverage. This is not an established material quality difference; an independent review could reasonably prefer B's precision and restraint.

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

Battle wave: 07852c6b-e0e9-4b5b-b044-d6e6cd67e82c. Pair: brp1_4b56246c30b4381e9ce517d8f03d347f68567d84a66dca55abf6fa2b8cec62d5. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.