{
  "scope": "Executed synthetic calculation example — local computation.",
  "contract": {
    "contractId": "orisdale-finance-variance-demo",
    "version": "1.0.0"
  },
  "results": [
    {
      "departmentId": "EX-FIELD-OPS",
      "departmentLabel": "Example Department — Field Operations",
      "period": "2026-09",
      "currency": "USD",
      "approvedBudget": "100000.00",
      "actualExpense": "115000.00",
      "varianceAmount": "15000.00",
      "variancePercent": "15.0000",
      "direction": "over budget",
      "category": "Material",
      "reviewRequired": false,
      "reviewReason": null,
      "contractVersion": "1.0.0"
    },
    {
      "departmentId": "EX-CORP-GA",
      "departmentLabel": "Example Department — Corporate G&A",
      "period": "2026-09",
      "currency": "USD",
      "approvedBudget": "60000.00",
      "actualExpense": "62000.00",
      "varianceAmount": "2000.00",
      "variancePercent": "3.3333",
      "direction": "over budget",
      "category": "Management attention",
      "reviewRequired": false,
      "reviewReason": null,
      "contractVersion": "1.0.0"
    },
    {
      "departmentId": "EX-MARKETING",
      "departmentLabel": "Example Department — Marketing",
      "period": "2026-09",
      "currency": "USD",
      "approvedBudget": "40000.00",
      "actualExpense": "40500.00",
      "varianceAmount": "500.00",
      "variancePercent": "1.2500",
      "direction": "over budget",
      "category": "Within tolerance",
      "reviewRequired": false,
      "reviewReason": null,
      "contractVersion": "1.0.0"
    }
  ],
  "rejections": [],
  "narratives": [
    {
      "departmentId": "EX-FIELD-OPS",
      "label": "Deterministic template text. Not a model response. Names no cause.",
      "text": "Example Department — Field Operations, 2026-09: actual expense was USD 115,000.00 against an approved budget of USD 100,000.00. The variance is +USD 15,000.00 (over budget), or +15.0000%. Category under contract version 1.0.0: Material."
    },
    {
      "departmentId": "EX-CORP-GA",
      "label": "Deterministic template text. Not a model response. Names no cause.",
      "text": "Example Department — Corporate G&A, 2026-09: actual expense was USD 62,000.00 against an approved budget of USD 60,000.00. The variance is +USD 2,000.00 (over budget), or +3.3333%. Category under contract version 1.0.0: Management attention."
    },
    {
      "departmentId": "EX-MARKETING",
      "label": "Deterministic template text. Not a model response. Names no cause.",
      "text": "Example Department — Marketing, 2026-09: actual expense was USD 40,500.00 against an approved budget of USD 40,000.00. The variance is +USD 500.00 (over budget), or +1.2500%. Category under contract version 1.0.0: Within tolerance."
    }
  ],
  "claimAssessments": [
    {
      "claimId": "C1",
      "departmentId": "EX-FIELD-OPS",
      "text": "Field Operations is USD 15,000.00 over budget.",
      "kind": "numeric",
      "linkedEvidence": [],
      "humanConfirmation": "not applicable",
      "status": "supported by computed field",
      "basis": "Computed varianceCents is 1500000."
    },
    {
      "claimId": "C2",
      "departmentId": "EX-FIELD-OPS",
      "text": "Field Operations is categorized Material.",
      "kind": "numeric",
      "linkedEvidence": [],
      "humanConfirmation": "not applicable",
      "status": "supported by computed field",
      "basis": "Computed category is Material."
    },
    {
      "claimId": "C3",
      "departmentId": "EX-FIELD-OPS",
      "text": "The Field Operations overage was caused by unplanned equipment rental.",
      "kind": "causal",
      "humanConfirmation": "not recorded",
      "status": "evidence linked — human verification required",
      "linkedEvidence": [
        {
          "evidenceId": "E1",
          "departmentId": "EX-FIELD-OPS",
          "period": "2026-09",
          "description": "Synthetic example record: an equipment-rental line item is listed in the Field Operations expense detail for 2026-09."
        }
      ],
      "basis": "Evidence E1 is linked to this claim for the same department and period. The checker did not read it for meaning. A person must decide whether it shows the stated cause, and no confirmation is recorded."
    },
    {
      "claimId": "C4",
      "departmentId": "EX-MARKETING",
      "text": "Marketing is within tolerance.",
      "kind": "numeric",
      "linkedEvidence": [],
      "humanConfirmation": "not applicable",
      "status": "supported by computed field",
      "basis": "Computed category is Within tolerance."
    },
    {
      "claimId": "C5",
      "departmentId": "EX-CORP-GA",
      "text": "The Corporate G&A overage was caused by consulting fees.",
      "kind": "causal",
      "humanConfirmation": "not recorded",
      "status": "unsupported: no claim-linked evidence",
      "linkedEvidence": [],
      "basis": "The claim names no evidence record. Records that share its department and period are not linked to it. The computed variance amount does not establish a cause."
    }
  ],
  "reviewChecklist": [
    "Period and grain: the results cover one example department, one period (2026-09), and one currency (USD).",
    "Inputs: the budget and actual files match the published hashes and contain no rejected rows.",
    "Rule version: the contract version on every result is 1.0.0 and is the version under review.",
    "Arithmetic: variance and percentage reproduce by hand from the two inputs for each department.",
    "Supporting narrative: each sentence cites only computed fields.",
    "Causal claims: a cause with no named evidence record is marked unsupported and is not repeated as fact. A cause with linked evidence still needs a person to decide whether the evidence shows it. This calculation never confirms a cause."
  ],
  "limits": [
    "Synthetic inputs. Not customer data and not a measured result.",
    "Demonstration rules. Not a customer-approved policy.",
    "Computed locally with TypeScript on Node. Not executed in Alteryx or BigQuery.",
    "The narrative is deterministic template text. No Gemini or other model produced it."
  ]
}
