{
  "name": "DN Outcome Receipt Fixture Results",
  "version": "0.1",
  "executedAt": "2026-11-02T14:16:11.750Z",
  "evidenceType": "local-synthetic-record-consistency-tests",
  "caseCount": 24,
  "expectationsMatched": 24,
  "internallyConsistent": 5,
  "withIssues": 19,
  "modelCalls": 0,
  "paidRequests": 0,
  "signatureChecks": 0,
  "blockchainRequests": 0,
  "checkerSourceSha256": "2889d72b7ed0b23c77e703ccf12ced0a429f13e2a576bacaa9deb415a0dc865c",
  "results": [
    {
      "id": "accepted-after-retry",
      "expectedInternallyConsistent": true,
      "actualInternallyConsistent": true,
      "issues": [],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "attempt-priced",
      "expectedInternallyConsistent": true,
      "actualInternallyConsistent": true,
      "issues": [],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 2,
        "buyerBillableCount": 2,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "pending-is-not-zero-cost",
      "expectedInternallyConsistent": true,
      "actualInternallyConsistent": true,
      "issues": [],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 0,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 0
      }
    },
    {
      "id": "rejected-zero-buyer-invoice",
      "expectedInternallyConsistent": true,
      "actualInternallyConsistent": true,
      "issues": [],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 0,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 0
      }
    },
    {
      "id": "fabricated-but-balanced",
      "expectedInternallyConsistent": true,
      "actualInternallyConsistent": true,
      "issues": [],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "duplicate-attempt",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "Duplicate attempt identifier.",
        "Accepted outcome does not identify exactly one accepted attempt."
      ],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "authority-mismatch",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "Attempt authority references differ from the task record."
      ],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "policy-mismatch",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "Attempt authority references differ from the task record."
      ],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "criterion-switch",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "Acceptance criterion differs from the task criterion."
      ],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "missing-acceptance-evidence",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "Accepted work needs an evidence reference; its truth still requires external verification."
      ],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "wrong-accepted-attempt",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "Accepted outcome does not identify exactly one accepted attempt."
      ],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "two-accepted-attempts",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "This draft supports one accepted outcome per task.",
        "Accepted outcome does not identify exactly one accepted attempt."
      ],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "unresolved-retry-cost",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "Retry-cost allocation is unresolved."
      ],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "invoice-mismatch",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "Settled amount differs from the invoice total.",
        "Invoice total differs from the declared billing rule."
      ],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "settlement-mismatch",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "Settled amount differs from the invoice total."
      ],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "no-settlement-reference",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "Settled payment needs a reference; the checker does not look it up."
      ],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "fractional-cent",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "Upstream attempt costs must be bounded nonnegative integer cents."
      ],
      "totals": null
    },
    {
      "id": "negative-cost",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "Upstream attempt costs must be bounded nonnegative integer cents."
      ],
      "totals": null
    },
    {
      "id": "mixed-currency",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "This draft supports USD minor units only; do not mix currencies or token decimals."
      ],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "string-boolean",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "buyerBillable must be a boolean, not a string or number."
      ],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "disputed-settlement",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "Payment is disputed; reconcile outside this draft before closing the record."
      ],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "unknown-field",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "Receipt has missing or unsupported fields."
      ],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "accepted-with-pending",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "Resolve pending attempts before marking this task accepted in this draft."
      ],
      "totals": {
        "upstreamMinor": 2,
        "expectedInvoiceMinor": 5,
        "buyerBillableCount": 1,
        "acceptedOutcomes": 1
      }
    },
    {
      "id": "empty-attempts",
      "expectedInternallyConsistent": false,
      "actualInternallyConsistent": false,
      "issues": [
        "Provide between 1 and 100 attempts.",
        "Accepted outcome does not identify exactly one accepted attempt."
      ],
      "totals": null
    }
  ]
}
