{
  "capability_id": "engineering.process.performance",
  "tool_id": "process-performance",
  "engine": "process-performance",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:03:43.733Z",
  "engine_build": "2026-09-15",
  "test_count": 7,
  "passed": 7,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 0,
      "passed": 0
    },
    "boundary": {
      "total": 5,
      "passed": 5
    },
    "property": {
      "total": 2,
      "passed": 2
    }
  },
  "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/engineering/process-performance",
  "api": "https://www.calculatorx.com/api/v1/calc/process-performance",
  "schema_input": "https://www.calculatorx.com/schemas/engineering.process.performance.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/engineering.process.performance.output.json",
  "assumptions": [
    "Overall sample s via summarizeSample (ddof=1 default) — not a stated design σ",
    "Not design-stage Cp/Cpk and not Type A u_A",
    "Not within-subgroup SPC and not Monte Carlo simulated indices",
    "Two-sided limits; USL > LSL"
  ],
  "limitations": [
    "Overall sample s — not a stated design σ and not within-subgroup SPC",
    "Not design-stage Cp/Cpk and not Type A u_A = s/√n",
    "Not Monte Carlo simulated indices",
    "Two-sided LSL/USL required; USL must be greater than LSL"
  ],
  "boundary_conditions": [
    "missing values, lsl, or usl → MISSING_REQUIRED_INPUT",
    "n < 2 when ddof=1 → VALUE_OUT_OF_RANGE",
    "s = 0 → VALUE_MUST_BE_POSITIVE",
    "USL ≤ LSL → INVALID_INPUT"
  ],
  "sources": [
    {
      "title": "NIST Engineering Statistics Handbook — Process Capability",
      "section": "6.1.6 What is Process Capability?",
      "url": "https://www.itl.nist.gov/div898/handbook/pmc/section1/pmc16.htm",
      "supports": "Pp/Ppk use overall (long-term) variation; Cp/Cpk use a stated or within σ",
      "kind": "reference"
    },
    {
      "title": "AIAG SPC — Statistical Process Control",
      "section": "Process performance indices Pp, Ppk",
      "supports": "Pp and Ppk use overall sample standard deviation",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:22614c70235c4c07084ec6e4fd856b0513c7f1ae3ce5d785208c8240010db3e2",
  "tests": [
    {
      "id": "boundary-ppk",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "values": [
          4,
          6,
          8
        ],
        "lsl": 0,
        "usl": 12
      },
      "expect": {
        "Pp": 1,
        "Ppk": 1,
        "mu": 6,
        "sigma": 2
      },
      "expectWarning": null,
      "actual": {
        "Pp": 1,
        "Ppk": 1,
        "Ppu": 1,
        "Ppl": 1,
        "mu": 6,
        "sigma": 2,
        "n": 3,
        "ddof": 1,
        "lsl": 0,
        "usl": 12,
        "values": [
          4,
          6,
          8
        ]
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-ppk-shift",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "values": [
          7,
          8,
          9
        ],
        "lsl": 0,
        "usl": 12
      },
      "expect": {
        "Pp": 2,
        "Ppk": 1.3333333333333333
      },
      "expectWarning": null,
      "actual": {
        "Pp": 2,
        "Ppk": 1.3333333333333333,
        "Ppu": 1.3333333333333333,
        "Ppl": 2.6666666666666665,
        "mu": 8,
        "sigma": 1,
        "n": 3,
        "ddof": 1,
        "lsl": 0,
        "usl": 12,
        "values": [
          7,
          8,
          9
        ]
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-ppk-n1",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "values": [
          1
        ],
        "lsl": 0,
        "usl": 12
      },
      "expectError": "VALUE_OUT_OF_RANGE",
      "code": "VALUE_OUT_OF_RANGE",
      "error": "sample variance needs at least two values"
    },
    {
      "id": "boundary-ppk-flat",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "values": [
          6,
          6,
          6
        ],
        "lsl": 0,
        "usl": 12
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "sigma must be greater than zero"
    },
    {
      "id": "boundary-ppk-missing",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "lsl": 0,
        "usl": 12
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "values is required"
    },
    {
      "id": "property-ppk",
      "ok": true,
      "kind": "property",
      "detail": "1",
      "expect": 1,
      "actual": 1
    },
    {
      "id": "property-ppk-shift",
      "ok": true,
      "kind": "property",
      "detail": "4/3",
      "expect": 1.3333333333333333,
      "actual": 1.3333333333333333
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 7,
      "total": 7,
      "golden": 0,
      "boundary": 5,
      "property": 2
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-15T09:55:28.150Z",
  "rendered_at": "2026-09-16T22:03:43.733Z",
  "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": "1421bcba6a171b6f174fcf29bda8269bf7a7c30b69374b6b3e861374f21d2e72",
      "output_schema_sha256": "4424425260b9fa1a3e5340e56eba207edcf7eadc5a26a53fba28fa685481bd02",
      "evidence_sha256": "98a0bbd6076b32900de0e99828fde75f351bea6f4df9974525a3b3759ab7aed2",
      "evidence_core_sha256": "98a0bbd6076b32900de0e99828fde75f351bea6f4df9974525a3b3759ab7aed2",
      "capability_sha256": "f367651f91b2330285793ac9835cf5fd41cbac83edf030b97ca89f406fd60c80",
      "engine_sha256": "c8d4ccdbfeaf61d7b024d4e1babb0c2ba3b324c1b37bd0cb456a526d8d2b1bd1",
      "mcp_contract_sha256": "863098b311a7b17dc4b229a6302b90b3545b175f716e5d84772c7be8e9716b86"
    },
    "contract_checks": {
      "total": 4,
      "passed": 4,
      "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"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
