Comparisons / p8-43-invoice-tolerance-5pct · 67d1f2a5a5e6 → p8-44-invoice-quantity-changed · 894b38a232b0 / Text diff

Text diff · read_invoice

first difference: read_invoice — output text changed; settings unchanged; input invoice changed

Shown only for outputs whose bytes match their receipts in both runs. The diff never changes a verdict.

Changed, from the first difference on

Inputs that changed

input invoice (externally-sourced) changed: 08c2ed453001 -> d18a612009b4; text kept

input invoice.json (operator-authored) changed: b3faf9601bdd -> 3840d84e286e; content not stored

input match.json (operator-authored) changed: e61819271007 -> 4ee97c400dce; content not stored

read_invoice

invoice kept input text Baseline: verified Candidate: verified

1 line removed · 1 added

11  # invented example data for this demo
22  # invoice INV-1001, against purchase order PO-501
33  item,quantity,unit_price
4- steel bracket, 40 mm,40,12.80
4+ steel bracket, 40 mm,400,12.80

read_invoice

invoice.json application/json Baseline: verified Candidate: verified

1 line removed · 1 added

11  {
22    "item": "steel bracket, 40 mm",
33    "order": "PO-501",
4-   "quantity": "40",
4+   "quantity": "400",
55    "unit_price": "12.80"
66  }

By member, as JSON

Numbers are compared as written, so 1.0 and 1.00 differ.

0 added · 0 removed · 1 changed

  • /quantity changed: "40" → "400"

match

match.json application/json Baseline: verified Candidate: verified

3 lines removed · 5 added

11  {
2-   "amount": "512.00",
2+   "amount": "5120.00",
3-   "matched": true,
3+   "matched": false,
44    "order": "PO-501",
5-   "problems": []
5+   "problems": [
6+     "quantity invoiced 400, quantity received 40"
7+   ]
68  }

By member, as JSON

Numbers are compared as written, so 1.0 and 1.00 differ.

1 added · 0 removed · 2 changed

  • /amount changed: "512.00" → "5120.00"
  • /matched changed: true → false
  • /problems/0 added: "quantity invoiced 400, quantity received 40"

approve_payment

payment.json application/json Baseline: verified Candidate: verified

3 lines removed · 5 added

11  {
2-   "amount": "512.00",
3-   "decision": "pay",
4-   "problems": []
2+   "amount": "5120.00",
3+   "decision": "hold",
4+   "problems": [
5+     "quantity invoiced 400, quantity received 40"
6+   ]
57  }

By member, as JSON

Numbers are compared as written, so 1.0 and 1.00 differ.

1 added · 0 removed · 2 changed

  • /amount changed: "512.00" → "5120.00"
  • /decision changed: "pay" → "hold"
  • /problems/0 added: "quantity invoiced 400, quantity received 40"

Line numbers, positions and counts come from the SDK's text-diff document, unchanged.

A text diff shows what changed between two verified outputs. It doesn't say which answer is right.

This record shows what was verified and evaluated at the time — not what was ultimately true.