openai / gpt-6-sol / low / low effort preferred over claude-code-cli / claude-opus-5-5 / medium / medium 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.
openai / gpt-6-sol / low / low effort answer
1. **Difference:** Exact subtotal is 3 × $0.335 = $1.005; adding 10% tax gives $1.1055, which rounds half-up to **111 cents**. Rounding each line first gives 34 + 34 + 34 = 102 cents; adding 10% gives 112.2 cents, which rounds to **112 cents**—a one-cent overcharge.
2. **Minimal numeric contract:** Represent prices and tax rates as exact decimals or rational numbers. Sum unrounded line amounts, apply tax once to that subtotal, then round the final amount half-up to integer cents. Define how refunds reverse the original charged amount, including any allocated tax, rather than independently rounding negative lines.
3. **Independent verification:** Check this invoice against 111 cents; test a single $0.335 line and a zero-tax invoice to isolate rounding stages. Check full and partial refunds against the original charge and tax allocation. Import the same invoice twice and verify the ledger posts it only once. The packet gives no actual refund-allocation or import-identity rule, so those must be specified before their expected cents can be asserted.
claude-code-cli / claude-opus-5-5 / medium / medium effort answer
1. **The difference.** The spec computes 3 × 0.335 = 1.005 exactly. Tax is 0.1005, so the total is 1.1055. Rounding half-up once gives **111¢**. The implementation rounds each line from 0.335 to 34¢ and sums to 102¢. Tax is then 10.2¢, so the total is 112¢ whether tax is rounded separately or with the total. Rounding before summing turns three half-cent ties into an extra cent: **+1¢ error**.
2. **Minimal contract.** Parse inputs as exact decimals from strings, never floats. Keep subtotal and tax at full precision. Round once, with half-away-from-zero (so refunds mirror sales), to integer cents at the total. Store only that integer. Use the invoice ID as the import idempotency key.
3. **Verification cases (proposed, not run):**
- The example gives 111, not 112.
- A single 0.335 line gives 0.3685, which rounds to 37.
- A full refund of the example gives −111, and the net ledger is 0.
- A one-line refund gives −37.
- Importing the same invoice twice leaves one 111 entry.
- Exact tie: 0.05 at 10% tax gives 0.055, which rounds to 6¢; its refund gives −6¢.
- Input "0.335" parsed from a float gives the same result as the exact decimal.
Uncertainty: no source code was supplied, so I can't confirm whether the implementation rounds tax separately.
Primary judge's stated reason
The forced, slight preference is A: anchoring refunds to original charges better guards against reconciliation drift when extending the contract to partial refunds. B's more concrete verification cases could reasonably justify the opposite preference in an independent review. No material quality gap is established.
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_a34c0f2c2e5412385fd08645f089659b62c47076bae06e0347ebcc0f23e6871f. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.