opencode
Building
wrong-total
match · seed 7 · opencode● in play
buildbaselinechaoscatchhealverifydeploy
buildbaselinechaoscatchhealverifydeploy
Hidden from builder
The planted bug: Wrong total. Shipping is charged once per cart line instead of once per order, inflating the total.
lib/pricing.ts@@ -52,7 +52,7 @@const coupon = lookupCoupon(wanted);const couponError = wanted && !coupon ? `Coupon ${wanted} is not valid` : null;const discountCents = discountFor(coupon, subtotalCents);- const shippingCents = lines.length > 0 ? SHIPPING_CENTS : 0;+ const shippingCents = lines.length * SHIPPING_CENTS;const totalCents = subtotalCents - discountCents + shippingCents;return {
What the builder got

✕ step 17 · assert: the page says the coupon SAVE10 was applied, the Discount row shows "-$6.00", Sh
The checkout pricing display is calculating or using the wrong shipping amount after the coupon is applied. The 10% discount appears, but the shipping charge remains $8.00, so the final total is too high. Review the shipping calculation used after a coupon is applied. For this cart, preserve the $6.00 discount but charge $4.00 shipping so the displayed total is $58.00. evidence: objective_contradiction: Checkpoint assertion failed: "the page says the coupon SAVE10 was applied, the Discount row shows "-$6.00", Shipping …
- 2 fresh main passes
- holdout passed
- specs intact
- source unchanged since verify
Ground truth · oracle
| check | baseline | chaos | final |
|---|---|---|---|
| main | pass | fail | pass |
| holdout | pass | fail | pass |
| invalid-email | pass | pass | pass |
| double-click | pass | pass | pass |