{
  "title": "SAMPLE — Invoice Handoff Acceptance Kit for n8n",
  "scope": "Four selected cases from an actual synthetic calibration. Limited excerpt, not a full test report or the paid kit.",
  "kit_version": "0.1.0",
  "tested_environment": "Self-hosted n8n 2.46.7, command-line import and execution in an isolated container",
  "generated_at": "2026-11-10T07:09:51.880Z",
  "mode": "calibration",
  "run_label": "Synthetic calibration - no extractor or client workflow ran",
  "full_calibration_outcome": "calibration_passed",
  "full_calibration_expected_outcomes_observed": 15,
  "full_calibration_case_count": 15,
  "excerpt_case_count": 4,
  "customer_acceptance": "not_recorded",
  "interpretation": "Deliberate differences are successful calibration controls. Field counts are diagnostics, not an accuracy percentage; every finding matters. The match case uses copied reference answers, not an extractor result.",
  "limitations": [
    "No model, extractor, client workflow or real invoice was tested.",
    "Editor UI import/paste, n8n Cloud and versions other than 2.46.7 are untested.",
    "Comparisons use a fixed contract and supplied references. Reference truth and arithmetic require separate checking.",
    "Only duplicate JSON members still present in supplied raw text can be detected.",
    "No accounting, tax, production or general invoice-accuracy certification; no client acceptance is recorded."
  ],
  "cases": [
    {
      "case_id": "identical_references",
      "status": "match",
      "expected_invoices": 3,
      "actual_invoices": 3,
      "expected_fields": 99,
      "matched_fields": 99,
      "findings": [],
      "expected_status": "match",
      "calibration_pass": true
    },
    {
      "case_id": "lost_leading_zero",
      "status": "differences",
      "expected_invoices": 3,
      "actual_invoices": 3,
      "expected_fields": 99,
      "matched_fields": 98,
      "findings": [
        {
          "code": "value_mismatch",
          "path": "$[invoice_id=\"000147\"].line_items[line_id=\"01\"].item_id",
          "expected": "\"0008\"",
          "actual": "\"8\""
        }
      ],
      "expected_status": "differences",
      "calibration_pass": true
    },
    {
      "case_id": "swapped_rows_same_total",
      "status": "differences",
      "expected_invoices": 3,
      "actual_invoices": 3,
      "expected_fields": 99,
      "matched_fields": 95,
      "findings": [
        {
          "code": "value_mismatch",
          "path": "$[invoice_id=\"000147\"].line_items[line_id=\"01\"].quantity",
          "expected": "\"2\"",
          "actual": "\"3\""
        },
        {
          "code": "value_mismatch",
          "path": "$[invoice_id=\"000147\"].line_items[line_id=\"01\"].line_total",
          "expected": "\"37.50\"",
          "actual": "\"56.25\""
        },
        {
          "code": "value_mismatch",
          "path": "$[invoice_id=\"000147\"].line_items[line_id=\"02\"].quantity",
          "expected": "\"3\"",
          "actual": "\"2\""
        },
        {
          "code": "value_mismatch",
          "path": "$[invoice_id=\"000147\"].line_items[line_id=\"02\"].line_total",
          "expected": "\"56.25\"",
          "actual": "\"37.50\""
        }
      ],
      "expected_status": "differences",
      "calibration_pass": true
    },
    {
      "case_id": "unexpected_invoice",
      "status": "differences",
      "expected_invoices": 3,
      "actual_invoices": 4,
      "expected_fields": 99,
      "matched_fields": 99,
      "findings": [
        {
          "code": "extra_invoice",
          "path": "$",
          "expected": "(missing)",
          "actual": "\"EXTRA-1\""
        }
      ],
      "expected_status": "differences",
      "calibration_pass": true
    }
  ]
}
