{
  "capability_id": "engineering.conformity.mpe",
  "tool_id": "mpe",
  "engine": "mpe",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-15T23:38:12.905Z",
  "engine_build": "2026-09-15",
  "test_count": 9,
  "passed": 9,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 0,
      "passed": 0
    },
    "boundary": {
      "total": 6,
      "passed": 6
    },
    "property": {
      "total": 3,
      "passed": 3
    }
  },
  "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/mpe",
  "api": "https://www.calculatorx.com/api/v1/calc/mpe",
  "schema_input": "https://www.calculatorx.com/schemas/engineering.conformity.mpe.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/engineering.conformity.mpe.output.json",
  "assumptions": [
    "VIM maximum permissible measurement error: pass iff |ylab−xref| ≤ MPE",
    "Equality is pass. ratio = |ε|/MPE",
    "Not an ILAC G8 spec decision on y, not En, and not ε without a limit",
    "U, Ulab, and T are not aliases for MPE"
  ],
  "limitations": [
    "Binary |ε| ≤ MPE — equality is pass",
    "Does not compare y to LSL/USL (use the decision-rule page)",
    "Does not divide by U (that is En) and does not report ε without a limit",
    "U, Ulab, and T are not aliases for MPE"
  ],
  "boundary_conditions": [
    "missing ylab, xref, or MPE → MISSING_REQUIRED_INPUT",
    "MPE ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "Ulab or T without MPE → MISSING_REQUIRED_INPUT"
  ],
  "sources": [
    {
      "title": "JCGM 200:2012 — International vocabulary of metrology (VIM)",
      "section": "4.26 maximum permissible measurement error (maximum permissible error, limit of error)",
      "url": "https://www.bipm.org/en/publications/guides/vim.html",
      "supports": "MPE is the extreme value of measurement error permitted by specifications or regulations. Pass iff |ε| ≤ MPE.",
      "kind": "standard"
    },
    {
      "title": "ISO 14253-1 — Geometrical product specifications (GPS) — Inspection by measurement of workpieces and measuring equipment",
      "section": "Decision rules vs MPE of a measuring equipment",
      "supports": "MPE is a stated error limit of the measuring equipment, not an ILAC G8 specification decision on the workpiece characteristic y",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:d60b3b1bd432f1a66b970ff8c8228776b5c4b8577d7123e310ed7845312b5867",
  "tests": [
    {
      "id": "boundary-mpe",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "ylab": 2.5,
        "xref": 2,
        "MPE": 1
      },
      "expect": {
        "ratio": 0.5,
        "error": 0.5,
        "decision": "pass"
      },
      "expectWarning": null,
      "actual": {
        "MPE": 1,
        "error": 0.5,
        "abs_error": 0.5,
        "ratio": 0.5,
        "decision": "pass",
        "ylab": 2.5,
        "xref": 2
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-mpe-eq",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "ylab": 2.5,
        "xref": 2,
        "MPE": 0.5
      },
      "expect": {
        "ratio": 1,
        "decision": "pass"
      },
      "expectWarning": null,
      "actual": {
        "MPE": 0.5,
        "error": 0.5,
        "abs_error": 0.5,
        "ratio": 1,
        "decision": "pass",
        "ylab": 2.5,
        "xref": 2
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-mpe-fail",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "ylab": 4,
        "xref": 2,
        "mpe": 1
      },
      "expect": {
        "ratio": 2,
        "decision": "fail"
      },
      "expectWarning": null,
      "actual": {
        "MPE": 1,
        "error": 2,
        "abs_error": 2,
        "ratio": 2,
        "decision": "fail",
        "ylab": 4,
        "xref": 2
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-mpe-missing",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "ylab": 2.5,
        "xref": 2
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "MPE is required"
    },
    {
      "id": "boundary-mpe-ulab",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "ylab": 2.5,
        "xref": 2,
        "Ulab": 1
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "MPE is required"
    },
    {
      "id": "boundary-mpe-zero",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "ylab": 2.5,
        "xref": 2,
        "MPE": 0
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "MPE must be greater than zero"
    },
    {
      "id": "property-mpe",
      "ok": true,
      "kind": "property",
      "detail": "0.5",
      "expect": 0.5,
      "actual": 0.5
    },
    {
      "id": "property-mpe-eq",
      "ok": true,
      "kind": "property",
      "detail": "1",
      "expect": 1,
      "actual": 1
    },
    {
      "id": "property-mpe-fail",
      "ok": true,
      "kind": "property",
      "detail": "fail",
      "expect": "fail",
      "actual": "fail"
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 9,
      "total": 9,
      "golden": 0,
      "boundary": 6,
      "property": 3
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-15T14:57:22.092Z",
  "rendered_at": "2026-09-15T23:38:12.905Z",
  "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": "f46350d3c456a33849b47261fe8c5b53ebd11c23bca09c60760a4c853dd7ecb1",
      "output_schema_sha256": "a16fcd486b3e1003d9faa33ff7e7516fb01aab2163e189a1429cfea82344d197",
      "evidence_sha256": "f8a7ee242657981ae6ac99fab02e7bcd06473342b46f21193602875a93f7678a",
      "evidence_core_sha256": "f8a7ee242657981ae6ac99fab02e7bcd06473342b46f21193602875a93f7678a",
      "capability_sha256": "fce067410865aab8da1751c9539a6e9c54b0775ad9c09c892431bfc74ce04f4a",
      "engine_sha256": "9265836b6b06f498f3f985320eab21319806f5471a924aead2cf954a9b6ffd8f",
      "mcp_contract_sha256": "ef59a935293be4e8212bcd43a3fc15993093aab9a9136fa56d3a8d267774178c"
    },
    "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"
  }
}
