{
  "capability_id": "math.transform.z",
  "tool_id": "z-transform",
  "engine": "z-transform",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-20T09:07:29.783Z",
  "engine_build": "2026-09-20",
  "test_count": 10,
  "passed": 10,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 3,
      "passed": 3
    },
    "boundary": {
      "total": 2,
      "passed": 2
    },
    "property": {
      "total": 5,
      "passed": 5
    }
  },
  "engine_tested": true,
  "expert_reviewed": false,
  "internally_reviewed": false,
  "review_kind": null,
  "source_checked": true,
  "reviewed_by": null,
  "reviewer_role": null,
  "last_reviewed": null,
  "expert_review": {
    "status": "optional_not_performed",
    "reviewer": null,
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "note": "Domain expert review is optional under CVP (CVP-EXP-01). Absence does not block CVP Verified. See Review policy for supplemental domain assurance."
  },
  "internal_review": {
    "status": "not_applicable",
    "reviewer": null
  },
  "page": "https://www.calculatorx.com/calc/math/z-transform",
  "api": "https://www.calculatorx.com/api/v1/calc/z-transform",
  "schema_input": "https://www.calculatorx.com/schemas/math.transform.z.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/math.transform.z.output.json",
  "assumptions": [
    "Unilateral, causal n≥0",
    "Real z in the ROC",
    "Table of named pairs, not a CAS",
    "Not DFT / FFT",
    "Not Laplace",
    "Not residue / two-sided"
  ],
  "limitations": [
    "Unilateral causal table only",
    "Real z in the ROC; integer n ≥ 0",
    "Not DFT / FFT",
    "Not Laplace — separate canonical",
    "Not residue / two-sided / CAS",
    "unknown mode (including dft, laplace, cas) → INVALID_MODE"
  ],
  "boundary_conditions": [
    "z not in ROC → INVALID_INPUT",
    "n not an integer 0–64 → INVALID_INPUT",
    "unknown mode (including dft, laplace, cas) → INVALID_MODE"
  ],
  "sources": [
    "ISO 80000-2:2019 Quantities and units — Mathematics"
  ],
  "methods": [],
  "fingerprint": "sha256:40c2ec119d496c769d43a0f04082c03f0274cd9e243e03a9741da61c706fa932",
  "tests": [
    {
      "id": "golden-z-geom",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "z",
        "f": "geom",
        "a": 0.5,
        "z": 1
      },
      "expect": {
        "value": 2,
        "algorithm": "table"
      },
      "expectWarning": null,
      "actual": {
        "mode": "z",
        "f": "geom",
        "a": 0.5,
        "omega": 1,
        "algorithm": "table",
        "roc": "|z|>0.5",
        "formula": "z/(z−a)",
        "value": 2,
        "z": 1
      },
      "tol": null
    },
    {
      "id": "golden-z-step",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "z",
        "f": "step",
        "z": 2
      },
      "expect": {
        "value": 2
      },
      "expectWarning": null,
      "actual": {
        "mode": "z",
        "f": "step",
        "a": 0.5,
        "omega": 1,
        "algorithm": "table",
        "roc": "|z|>1",
        "formula": "z/(z−1)",
        "value": 2,
        "z": 2
      },
      "tol": null
    },
    {
      "id": "golden-iz-geom",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "inverse",
        "f": "geom",
        "a": 0.5,
        "n": 0
      },
      "expect": {
        "value": 1
      },
      "expectWarning": null,
      "actual": {
        "mode": "inverse",
        "f": "geom",
        "a": 0.5,
        "omega": 1,
        "algorithm": "table",
        "roc": "|z|>0.5",
        "formula": "a^n",
        "value": 1,
        "n": 0
      },
      "tol": null
    },
    {
      "id": "boundary-z-mode",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "cas",
        "f": "geom",
        "z": 1
      },
      "expectError": "INVALID_MODE",
      "code": "INVALID_MODE",
      "error": "mode must be z or inverse. Not DFT, not FFT, not Laplace, not CAS."
    },
    {
      "id": "boundary-z-roc",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "z",
        "f": "geom",
        "a": 1,
        "z": 1
      },
      "expectError": "INVALID_INPUT",
      "code": "INVALID_INPUT",
      "error": "z must be in the ROC (|z|>1)."
    },
    {
      "id": "property-z-geom",
      "ok": true,
      "kind": "property",
      "detail": "Z{(1/2)^n}(1)=2",
      "expect": 2,
      "actual": 2
    },
    {
      "id": "property-z-step",
      "ok": true,
      "kind": "property",
      "detail": "Z{1}(2)=2",
      "expect": 2,
      "actual": 2
    },
    {
      "id": "property-z-sin",
      "ok": true,
      "kind": "property",
      "detail": "Z{sin(πn/2)}(2)=2/5",
      "expect": 0.4,
      "actual": 0.4
    },
    {
      "id": "property-iz-geom0",
      "ok": true,
      "kind": "property",
      "detail": "(1/2)^n at 0",
      "expect": 1,
      "actual": 1
    },
    {
      "id": "property-iz-ramp",
      "ok": true,
      "kind": "property",
      "detail": "ramp n=3",
      "expect": 3,
      "actual": 3
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 10,
      "total": 10,
      "golden": 3,
      "boundary": 2,
      "property": 5
    },
    "contract_checks": {
      "passed": 3,
      "total": 3
    }
  },
  "evidence_core_generated_at": "2026-09-20T04:27:10.707Z",
  "rendered_at": "2026-09-20T09:07:29.783Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.0.0",
    "artifacts": {
      "engine": "1.0.0",
      "page": "1.0.0",
      "capability": "1.0.0",
      "evidence": "1.0.0",
      "input_schema": "1.0.0",
      "output_schema": "1.0.0",
      "mcp_contract": "1.0.0"
    },
    "digests": {
      "input_schema_sha256": "c82b1a7d78bf5d37443f1f7a10933efc674429835a4a4a83eb89bfbbd9cf0686",
      "output_schema_sha256": "0dd237c25777fe9149d1c56a446ab6fdefe878474b3b7ab8da4b6f6bbb302a8b",
      "evidence_sha256": "dd5a0c02f8319fa5636034e510b646d4d66b827ab60d78bc23d54ce820210dca",
      "evidence_core_sha256": "dd5a0c02f8319fa5636034e510b646d4d66b827ab60d78bc23d54ce820210dca",
      "capability_sha256": "39b32719ba71f9e3dc07c7c446ff5b4fdf2eb8b1346a2ff41d20d71785a9c781",
      "engine_sha256": "43bbc25ec362b3f78daa612fef9a96df34206649b79e753faa7f17441d59b17a",
      "mcp_contract_sha256": "bf0dcfcfd80680efd201a229fab7f7a80ba9abbff3bea07815672d1d5cb2435a"
    },
    "contract_checks": {
      "total": 3,
      "passed": 3,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.0"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
