test_basic_cart (test_checkout.CheckoutTests.test_basic_cart) ... FAIL
test_discount_before_tax (test_checkout.CheckoutTests.test_discount_before_tax) ... FAIL
test_discount_changes_shipping_threshold (test_checkout.CheckoutTests.test_discount_changes_shipping_threshold) ... FAIL
test_empty_cart (test_checkout.CheckoutTests.test_empty_cart) ... ok
test_whole_cart_half_up_discount (test_checkout.CheckoutTests.test_whole_cart_half_up_discount) ... FAIL

======================================================================
FAIL: test_basic_cart (test_checkout.CheckoutTests.test_basic_cart)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/curtispyke/Documents/ChatGPT/kingy Wiki/articles/2026-09-27-ai-comparisons/public-evidence/checkout/before/test_checkout.py", line 8, in test_basic_cart
    self.assertEqual(quote([{"unit_cents": 2000, "quantity": 1}]), {
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        "subtotal_cents": 2000, "discount_cents": 0,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        "shipping_cents": 700, "tax_cents": 216, "total_cents": 2916,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    })
    ^^
AssertionError: {'sub[39 chars], 'shipping_cents': 700, 'tax_cents': 160, 'total_cents': 2860} != {'sub[39 chars], 'shipping_cents': 700, 'tax_cents': 216, 'total_cents': 2916}
  {'discount_cents': 0,
   'shipping_cents': 700,
   'subtotal_cents': 2000,
-  'tax_cents': 160,
?                 -

+  'tax_cents': 216,
?               +

-  'total_cents': 2860}
?                  ^ -

+  'total_cents': 2916}
?                  ^^


======================================================================
FAIL: test_discount_before_tax (test_checkout.CheckoutTests.test_discount_before_tax)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/curtispyke/Documents/ChatGPT/kingy Wiki/articles/2026-09-27-ai-comparisons/public-evidence/checkout/before/test_checkout.py", line 14, in test_discount_before_tax
    self.assertEqual(quote([{"unit_cents": 2000, "quantity": 1}], 10), {
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        "subtotal_cents": 2000, "discount_cents": 200,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        "shipping_cents": 700, "tax_cents": 200, "total_cents": 2700,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    })
    ^^
AssertionError: {'sub[41 chars], 'shipping_cents': 700, 'tax_cents': 160, 'total_cents': 2660} != {'sub[41 chars], 'shipping_cents': 700, 'tax_cents': 200, 'total_cents': 2700}
  {'discount_cents': 200,
   'shipping_cents': 700,
   'subtotal_cents': 2000,
-  'tax_cents': 160,
?               ^^

+  'tax_cents': 200,
?               ^^

-  'total_cents': 2660}
?                  ^^

+  'total_cents': 2700}
?                  ^^


======================================================================
FAIL: test_discount_changes_shipping_threshold (test_checkout.CheckoutTests.test_discount_changes_shipping_threshold)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/curtispyke/Documents/ChatGPT/kingy Wiki/articles/2026-09-27-ai-comparisons/public-evidence/checkout/before/test_checkout.py", line 20, in test_discount_changes_shipping_threshold
    self.assertEqual(quote([{"unit_cents": 5500, "quantity": 1}], 10), {
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        "subtotal_cents": 5500, "discount_cents": 550,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        "shipping_cents": 700, "tax_cents": 452, "total_cents": 6102,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    })
    ^^
AssertionError: {'sub[41 chars], 'shipping_cents': 0, 'tax_cents': 440, 'total_cents': 5390} != {'sub[41 chars], 'shipping_cents': 700, 'tax_cents': 452, 'total_cents': 6102}
  {'discount_cents': 550,
-  'shipping_cents': 0,
+  'shipping_cents': 700,
?                    ++

   'subtotal_cents': 5500,
-  'tax_cents': 440,
?                ^^

+  'tax_cents': 452,
?                ^^

-  'total_cents': 5390}
?                 ^^^

+  'total_cents': 6102}
?                 ^^ +


======================================================================
FAIL: test_whole_cart_half_up_discount (test_checkout.CheckoutTests.test_whole_cart_half_up_discount)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/curtispyke/Documents/ChatGPT/kingy Wiki/articles/2026-09-27-ai-comparisons/public-evidence/checkout/before/test_checkout.py", line 27, in test_whole_cart_half_up_discount
    self.assertEqual(quote(cart, 10), {
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
        "subtotal_cents": 10, "discount_cents": 1,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        "shipping_cents": 700, "tax_cents": 57, "total_cents": 766,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    })
    ^^
AssertionError: {'sub[31 chars]ts': 0, 'shipping_cents': 700, 'tax_cents': 0,[15 chars] 710} != {'sub[31 chars]ts': 1, 'shipping_cents': 700, 'tax_cents': 57[16 chars] 766}
- {'discount_cents': 0,
?                    ^

+ {'discount_cents': 1,
?                    ^

   'shipping_cents': 700,
   'subtotal_cents': 10,
-  'tax_cents': 0,
?               ^

+  'tax_cents': 57,
?               ^^

-  'total_cents': 710}
?                  ^^

+  'total_cents': 766}
?                  ^^


----------------------------------------------------------------------
Ran 5 tests in 0.001s

FAILED (failures=4)
