Investigate · p8-43-invoice-tolerance-5pct → p8-44-invoice-quantity-changed

Comparing p8-43-invoice-tolerance-5pct · 67d1f2a5a5e6 against p8-44-invoice-quantity-changed · 894b38a232b0

Both records verify same configuration · 1.0.0

Both runs' records agree. Every check behind this is on Proof

Compare another pair

First difference step 1 of 3 · checked from the records

The runs first part at read_invoice

At read_invoice the step's own inputs already differ. Every step after it differs. The settings recorded at this step are identical.

See the text diff Open run A at this step Open run B at this step

Step by step one verdict per step, against run A

  1. read_invoice First differenceoutput differs · settings identical
  2. match Downstreamdiffers, after the first difference
  3. approve_payment Downstreamdiffers, after the first difference

Text diff

Output of read_invoice, kept by both runs · 1 field differs

invoice.json

A

{  "item": "steel bracket, 40 mm",  "order": "PO-501",  "quantity": "40",  "unit_price": "12.80"}

B

{  "item": "steel bracket, 40 mm",  "order": "PO-501",  "quantity": "400",  "unit_price": "12.80"}

The text diff

Shown with at most 200 lines per output (the SDK's default).

Open the text diff on its own page

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

read_invoice · First difference

settings: none changed

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

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

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 · Changed after it

settings: none changed

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

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 · Changed after it

settings: none changed

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

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"

Command: onetrace diff runs/p8-43-invoice-tolerance-5pct runs/p8-44-invoice-quantity-changed --text

Checks on this pair

  • onetrace diff runs/p8-43-invoice-tolerance-5pct runs/p8-44-invoice-quantity-changed --text --stage read_invoice
  • onetrace localize runs/p8-43-invoice-tolerance-5pct runs/p8-44-invoice-quantity-changed --for read_invoice
  • onetrace reproduce runs/p8-43-invoice-tolerance-5pct --substitute read_invoice --from runs/p8-44-invoice-quantity-changed To copy: re-running a pipeline needs its own code and environment, which this console does not hold.

Kind of change

The first difference is upstream: this step's inputs already differed.

The short answer

The runs first differ at read_invoice, where input invoice changed.

No stage comes before it. Both stages after it differ. The decision at approve_payment also differs.

  1. read_invoiceFirst difference
  2. matchChanged after it
  3. approve_paymentChanged after it

Checked from the records. The same answer every time.

First difference: stage 1 · read_invoice.

No stage comes before it.

input invoice changed: 08c2ed453001 -> d18a612009b4 · the changed lines

Both runs' records agree. No recorded setting of read_invoice differs. Its output differs, and all 2 stages after it changed too.

onetrace diff runs/p8-43-invoice-tolerance-5pct runs/p8-44-invoice-quantity-changed --text

Settings that changed

No recorded setting differs between the two runs.

Against the reference

Run A against its pipeline's reference run

Configuration against the reference

Runs are compared within their pipeline, as this console groups them by their declared stages.

This run's configuration, step by step, against the pipeline's reference run, p8-42-invoice-tolerance-2pct · c0eeaf2cdfae: the run the reference
sha256:5146f3cdb66e…sha256:5146f3cdb66e490dafec87b36e19f0a1532db9d0ae780c06f0b9f31a2e6cf60f
was made from.

Inputs and outputs are not compared here.

  • read_invoice: configuration same
    • configuration fingerprint: same
    • declared setting data: same
    • code fingerprint: same
  • match: configuration differs: configuration fingerprint, declared setting price_tolerance
    • configuration fingerprint differs: reference run
      sha256:3e1015e3c7ba…sha256:3e1015e3c7bae9e3fb83fd2c50b8bea9bea38f7103e5ac22e0a3e8b502b6586b
      , this run
      sha256:824a2366fff3…sha256:824a2366fff3ce418a48864bb0501ff02b8396b0cfede1f37935ae87b389a060
    • declared setting order_quantity: same
    • declared setting order_unit_price: same
    • declared setting price_tolerance differs: reference run 2.00%, this run 5.00%
    • declared setting received_quantity: same
    • code fingerprint: same
  • approve_payment: configuration same
    • configuration fingerprint: same
    • code fingerprint: same
    • policy version behind decision 1: not recorded in neither run (read only where both runs' decision rows are held in decision exports this console reads)
  • A configuration difference is a fact about the records, not a reason for any output.
  • Equal configuration does not mean an equal environment: data sources and external services are not covered.

Run B against its pipeline's reference run

Configuration against the reference

Runs are compared within their pipeline, as this console groups them by their declared stages.

This run's configuration, step by step, against the pipeline's reference run, p8-42-invoice-tolerance-2pct · c0eeaf2cdfae: the run the reference
sha256:5146f3cdb66e…sha256:5146f3cdb66e490dafec87b36e19f0a1532db9d0ae780c06f0b9f31a2e6cf60f
was made from.

Inputs and outputs are not compared here.

  • read_invoice: configuration same
    • configuration fingerprint: same
    • declared setting data: same
    • code fingerprint: same
  • match: configuration differs: configuration fingerprint, declared setting price_tolerance
    • configuration fingerprint differs: reference run
      sha256:3e1015e3c7ba…sha256:3e1015e3c7bae9e3fb83fd2c50b8bea9bea38f7103e5ac22e0a3e8b502b6586b
      , this run
      sha256:824a2366fff3…sha256:824a2366fff3ce418a48864bb0501ff02b8396b0cfede1f37935ae87b389a060
    • declared setting order_quantity: same
    • declared setting order_unit_price: same
    • declared setting price_tolerance differs: reference run 2.00%, this run 5.00%
    • declared setting received_quantity: same
    • code fingerprint: same
  • approve_payment: configuration same
    • configuration fingerprint: same
    • code fingerprint: same
    • policy version behind decision 1: not recorded in neither run (read only where both runs' decision rows are held in decision exports this console reads)
  • A configuration difference is a fact about the records, not a reason for any output.
  • Equal configuration does not mean an equal environment: data sources and external services are not covered.

Spans

At step read_invoice: spans from your app's traces (the files under traces/)

From the app's own traces, as reported. Not checked by onetrace.

onetrace.stage read_invoice

attributebaselinecandidateWhether it differs
onetrace.inputs.digests["sha256:08c2ed453001…"]
Each fingerprint in fullsha256:08c2ed453001ff8c762bcf40a0945b40059ae34ae533ef20ef40fcf2092355b6
["sha256:d18a612009b4…"]
Each fingerprint in fullsha256:d18a612009b4ca9718de43df4fc7b0f3d06a976f327a906d8376df6c45bc1766
differs
onetrace.outputs.bytes8586differs
onetrace.outputs.digests["sha256:b3faf9601bdd…"]
Each fingerprint in fullsha256:b3faf9601bddaf713bd8d19292e518e397f6b5d8e1a27db29f355ef4003dae24
["sha256:3840d84e286e…"]
Each fingerprint in fullsha256:3840d84e286edc03ecad09f7508a5105cd93be602f1810eb920dd119b8831262
differs
onetrace.receipt.digest
sha256:332f2edc3124…sha256:332f2edc3124047a25715daa25b19150a6671b5243a5632800a823df1025069a
sha256:1db7b776ddf1…sha256:1db7b776ddf1ae0142af85dcaa96889739f1b46b849a6154a74e858f0414caab
differs
12 attributes the same
attributebaselinecandidateWhether it differs
duration1.0 ms1.0 ms
start, from the run's first span0.0 ms0.0 ms
onetrace.inputs.count11
onetrace.instrument.digest
sha256:b80d11206e53…sha256:b80d11206e532440dec5331fb86ffeedb8018955a09fbc9c08915706689e6863
sha256:b80d11206e53…sha256:b80d11206e532440dec5331fb86ffeedb8018955a09fbc9c08915706689e6863
onetrace.instrument.nameinvoice-readerinvoice-reader
onetrace.instrument.version1.0.01.0.0
onetrace.noderead_invoiceread_invoice
onetrace.outcomeokok
onetrace.outputs.count11
onetrace.stageread_invoiceread_invoice
onetrace.trust.externally-sourced.count11
onetrace.trust.operator-authored.count11

baseline: matches the receipt

candidate: matches the receipt

What changed between the two runs

The two runs differ.

recorded as a straight line (no graph recorded)

A link shows which recorded output a stage read. It does not by itself prove that one stage caused the next.

The first difference is at stage 1 · read_invoice. No smaller set was reported.

Repeat this yourself:

onetrace diff runs/p8-43-invoice-tolerance-5pct runs/p8-44-invoice-quantity-changed

Other runs that recorded the same value

Matching rule: the same input invoice digest at stage 1 · read_invoice, by exact equality:
sha256:d18a612009b4….sha256:d18a612009b4ca9718de43df4fc7b0f3d06a976f327a906d8376df6c45bc1766

1 of 6 stored runs in P8 recorded the same input invoice digest at stage 1 · read_invoice, the candidate among them.

Nothing here says what the change did in those runs.

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