{
  "capability_id": "engineering.conformity.z_score",
  "tool_id": "z-score",
  "engine": "z-score",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:38:08.853Z",
  "engine_build": "2026-09-16",
  "test_count": 13,
  "passed": 13,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 0,
      "passed": 0
    },
    "boundary": {
      "total": 7,
      "passed": 7
    },
    "property": {
      "total": 6,
      "passed": 6
    }
  },
  "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/proficiency-z-score",
  "api": "https://www.calculatorx.com/api/v1/calc/z-score",
  "schema_input": "https://www.calculatorx.com/schemas/engineering.conformity.z_score.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/engineering.conformity.z_score.output.json",
  "assumptions": [
    "ISO 13528 z-score with scheme SDPA σ_pt",
    "|z| ≤ 2 is pass; 2 < |z| < 3 is warning; |z| ≥ 3 is fail",
    "Not zeta (lab u), not En (expanded U), not TUR, and not an ILAC G8 spec decision"
  ],
  "limitations": [
    "σ_pt is the scheme SDPA — this page does not compute lab u or U = k·u",
    "Not the zeta-score (that uses √(ulab²+uref²))",
    "Not the normalized error En (that uses already-expanded U)",
    "Not TUR and not an ILAC G8 specification decision on y",
    "|z| ≤ 2 is pass; 2 < |z| < 3 is warning; |z| ≥ 3 is fail"
  ],
  "boundary_conditions": [
    "missing ylab, xref, or sigma → MISSING_REQUIRED_INPUT",
    "sigma ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "ulab / Ulab are not aliases for σ_pt"
  ],
  "sources": [
    {
      "title": "ISO 13528 — Statistical methods for use in proficiency testing by interlaboratory comparison",
      "section": "z-score z = (x − X) / σ_pt",
      "supports": "z uses the standard deviation for proficiency assessment, not laboratory u; |z| ≤ 2 / 2–3 / ≥ 3 interpretation",
      "kind": "standard"
    },
    {
      "title": "ISO/IEC 17043 — Conformity assessment — General requirements for the competence of proficiency testing providers",
      "section": "Performance statistics in proficiency testing",
      "supports": "z-score is a PT performance statistic distinct from En and zeta",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:005a98a05f53b8cdb1bff1075587cee01ef5f939a82532b366567b123540b02b",
  "tests": [
    {
      "id": "boundary-z",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "ylab": 2.5,
        "xref": 0,
        "sigma": 5
      },
      "expect": {
        "z": 0.5,
        "abs_z": 0.5,
        "decision": "pass"
      },
      "expectWarning": null,
      "actual": {
        "z": 0.5,
        "abs_z": 0.5,
        "decision": "pass",
        "ylab": 2.5,
        "xref": 0,
        "sigma": 5
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-z-two",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "ylab": 10,
        "xref": 0,
        "sigma": 5
      },
      "expect": {
        "z": 2,
        "decision": "pass"
      },
      "expectWarning": null,
      "actual": {
        "z": 2,
        "abs_z": 2,
        "decision": "pass",
        "ylab": 10,
        "xref": 0,
        "sigma": 5
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-z-warn",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "ylab": 12.5,
        "xref": 0,
        "sigma": 5
      },
      "expect": {
        "z": 2.5,
        "decision": "warning"
      },
      "expectWarning": null,
      "actual": {
        "z": 2.5,
        "abs_z": 2.5,
        "decision": "warning",
        "ylab": 12.5,
        "xref": 0,
        "sigma": 5
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-z-fail",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "ylab": 15,
        "xref": 0,
        "sigma": 5
      },
      "expect": {
        "z": 3,
        "decision": "fail"
      },
      "expectWarning": null,
      "actual": {
        "z": 3,
        "abs_z": 3,
        "decision": "fail",
        "ylab": 15,
        "xref": 0,
        "sigma": 5
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-z-missing",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "xref": 0,
        "sigma": 5
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "ylab is required"
    },
    {
      "id": "boundary-z-sigma",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "ylab": 2.5,
        "xref": 0,
        "sigma": 0
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "sigma must be greater than zero"
    },
    {
      "id": "boundary-z-ulab",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "ylab": 2.5,
        "xref": 0,
        "ulab": 5
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "sigma is required"
    },
    {
      "id": "property-z",
      "ok": true,
      "kind": "property",
      "detail": "0.5",
      "expect": 0.5,
      "actual": 0.5
    },
    {
      "id": "property-z-two",
      "ok": true,
      "kind": "property",
      "detail": "2",
      "expect": 2,
      "actual": 2
    },
    {
      "id": "property-z-warn",
      "ok": true,
      "kind": "property",
      "detail": "warning",
      "expect": "warning",
      "actual": "warning"
    },
    {
      "id": "property-z-fail",
      "ok": true,
      "kind": "property",
      "detail": "fail",
      "expect": "fail",
      "actual": "fail"
    },
    {
      "id": "property-z-alias",
      "ok": true,
      "kind": "property",
      "detail": "0.5",
      "expect": 0.5,
      "actual": 0.5
    },
    {
      "id": "property-z-sdpa",
      "ok": true,
      "kind": "property",
      "detail": "0.5",
      "expect": 0.5,
      "actual": 0.5
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 13,
      "total": 13,
      "golden": 0,
      "boundary": 7,
      "property": 6
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-16T21:07:40.795Z",
  "rendered_at": "2026-09-16T22:38:08.853Z",
  "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": "1ca7ba0fb6016aa4f507ff8568cab586fcea65c280bc706c349ee11c8709573e",
      "output_schema_sha256": "12efc0644dce8415be865db4c2685908258aae5b3a6fb870f64d24b6e8f5a547",
      "evidence_sha256": "0f8de0092d492be57fcea65e9e973702713df51ed5013281802acf654c683a70",
      "evidence_core_sha256": "0f8de0092d492be57fcea65e9e973702713df51ed5013281802acf654c683a70",
      "capability_sha256": "7673b2c57caaacc8b2195a3cdbf2a1869011115a440924ac4b6ff69c376afcdf",
      "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"
  }
}
