{
  "capability_id": "engineering.measurement.error",
  "tool_id": "measurement-error",
  "engine": "measurement-error",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:03:43.738Z",
  "engine_build": "2026-09-15",
  "test_count": 6,
  "passed": 6,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 0,
      "passed": 0
    },
    "boundary": {
      "total": 3,
      "passed": 3
    },
    "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/measurement-error",
  "api": "https://www.calculatorx.com/api/v1/calc/measurement-error",
  "schema_input": "https://www.calculatorx.com/schemas/engineering.measurement.error.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/engineering.measurement.error.output.json",
  "assumptions": [
    "VIM measurement error ε = ylab − xref (signed). Relative error is ε/xref when xref ≠ 0.",
    "Not percent error (×100), not En, not zeta, not z-score, and not an ILAC G8 spec decision."
  ],
  "limitations": [
    "Signed error — this page does not multiply by 100 (that is percent error)",
    "Not En, zeta, or z-score (those divide by U, u, or σ_pt)",
    "Not an ILAC G8 specification decision",
    "Relative error is undefined when xref = 0"
  ],
  "boundary_conditions": [
    "missing ylab or xref → MISSING_REQUIRED_INPUT",
    "relative op with xref = 0 → INVALID_INPUT"
  ],
  "sources": [
    {
      "title": "JCGM 200:2012 — International vocabulary of metrology (VIM)",
      "section": "2.16 measurement error; 2.17 relative measurement error",
      "url": "https://www.bipm.org/en/publications/guides/vim.html",
      "supports": "ε = measured quantity value minus a reference quantity value; relative error = ε / reference",
      "kind": "standard"
    },
    {
      "title": "ISO 13528 — Statistical methods for use in proficiency testing by interlaboratory comparison",
      "section": "z, zeta, and En are different contracts",
      "supports": "This page does not compute a PT score; it reports the raw signed error",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:057b1acfa986f0213d576cf63b66e8b9129be9b4ac717e2983db545641ef7d2e",
  "tests": [
    {
      "id": "boundary-err",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "ylab": 2.5,
        "xref": 2
      },
      "expect": {
        "error": 0.5,
        "abs_error": 0.5,
        "relative": 0.25
      },
      "expectWarning": null,
      "actual": {
        "ylab": 2.5,
        "xref": 2,
        "error": 0.5,
        "abs_error": 0.5,
        "relative": 0.25
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-err-zero",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "ylab": 2.5,
        "xref": 0
      },
      "expect": {
        "error": 2.5,
        "relative": null
      },
      "expectWarning": null,
      "actual": {
        "ylab": 2.5,
        "xref": 0,
        "error": 2.5,
        "abs_error": 2.5,
        "relative": null
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-err-missing",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "xref": 2
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "ylab is required"
    },
    {
      "id": "property-err",
      "ok": true,
      "kind": "property",
      "detail": "0.5",
      "expect": 0.5,
      "actual": 0.5
    },
    {
      "id": "property-err-alias",
      "ok": true,
      "kind": "property",
      "detail": "2",
      "expect": 2,
      "actual": 2
    },
    {
      "id": "property-err-zero",
      "ok": true,
      "kind": "property",
      "detail": "null",
      "expect": null,
      "actual": null
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 6,
      "total": 6,
      "golden": 0,
      "boundary": 3,
      "property": 3
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-15T11:09:48.251Z",
  "rendered_at": "2026-09-16T22:03:43.738Z",
  "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": "3a5a70db41b37dbb0d94880432d51c4c4b34acd8d055a046a523ec35edd8d11c",
      "output_schema_sha256": "a672d995cb1c232851f9262ced9a47d6550ff9fde97e2bb435ac35ab286f47ce",
      "evidence_sha256": "15607d1bdb2a820fcbfc430f3d3539f1a0ea47c6d31d4749bce930085371e979",
      "evidence_core_sha256": "15607d1bdb2a820fcbfc430f3d3539f1a0ea47c6d31d4749bce930085371e979",
      "capability_sha256": "f3a0089a6016fd6bf0098d41b5ffce352b91fe18b9e6388864067e1b5e025f48",
      "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"
  }
}
