{
  "capability_id": "engineering.uncertainty.tur",
  "tool_id": "tur",
  "engine": "tur",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:38:08.852Z",
  "engine_build": "2026-09-16",
  "test_count": 11,
  "passed": 11,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 0,
      "passed": 0
    },
    "boundary": {
      "total": 7,
      "passed": 7
    },
    "property": {
      "total": 4,
      "passed": 4
    }
  },
  "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/test-uncertainty-ratio",
  "api": "https://www.calculatorx.com/api/v1/calc/tur",
  "schema_input": "https://www.calculatorx.com/schemas/engineering.uncertainty.tur.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/engineering.uncertainty.tur.output.json",
  "assumptions": [
    "ANSI/NCSL Z540.3 two-sided TUR = (USL−LSL)/(2U)",
    "U is already expanded; this page does not compute U = k·u_c",
    "tol is a half-width (span = 2·tol)",
    "Not a pass/fail, not a guard band, and not combined RSS"
  ],
  "limitations": [
    "U is already expanded — this page does not compute U = k·u_c",
    "Does not combine a measurement model or RSS of u_i",
    "Does not issue a TUR≥4 pass/fail or an ILAC G8 decision",
    "Not a guard band and not Cp/Cpk"
  ],
  "boundary_conditions": [
    "missing U or missing spec → MISSING_REQUIRED_INPUT",
    "U ≤ 0 or T ≤ 0 or tol ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "usl ≤ lsl or more than one spec form → INVALID_INPUT"
  ],
  "sources": [
    {
      "title": "ANSI/NCSL Z540.3 — Requirements for the Calibration of Measuring and Test Equipment",
      "section": "Test uncertainty ratio (two-sided TUR = specification span / 2U)",
      "supports": "TUR = (USL−LSL)/(2U) for a two-sided specification and an already-expanded U",
      "kind": "standard"
    },
    {
      "title": "ILAC G8:09/2019 — Guidelines on Decision Rules and Statements of Conformity",
      "section": "Decision rules are a different contract from TUR",
      "url": "https://ilac.org/publications-and-resources/ilac-guidance-series/",
      "supports": "This page does not implement ILAC G8 guarded acceptance or a pass/fail",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:6670bb6fd6b5ff58d7e5723e9cd8311d2a35867456513cabc96b2bc485a5a630",
  "tests": [
    {
      "id": "boundary-tur",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "U": 0.5,
        "lsl": 0,
        "usl": 4
      },
      "expect": {
        "TUR": 4,
        "T": 4,
        "U": 0.5
      },
      "expectWarning": null,
      "actual": {
        "TUR": 4,
        "T": 4,
        "U": 0.5,
        "lsl": 0,
        "usl": 4
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-tur-T",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "U": 0.5,
        "T": 4
      },
      "expect": {
        "TUR": 4,
        "T": 4
      },
      "expectWarning": null,
      "actual": {
        "TUR": 4,
        "T": 4,
        "U": 0.5
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-tur-tol",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "U": 0.5,
        "tol": 2
      },
      "expect": {
        "TUR": 4,
        "T": 4
      },
      "expectWarning": null,
      "actual": {
        "TUR": 4,
        "T": 4,
        "U": 0.5,
        "tol": 2
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-tur-missing-U",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "lsl": 0,
        "usl": 4
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "U is required"
    },
    {
      "id": "boundary-tur-missing-spec",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "U": 0.5
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "T, tol, or lsl and usl is required"
    },
    {
      "id": "boundary-tur-U",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "U": 0,
        "lsl": 0,
        "usl": 4
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "U must be greater than zero"
    },
    {
      "id": "boundary-tur-both",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "U": 0.5,
        "T": 4,
        "lsl": 0,
        "usl": 4
      },
      "expectError": "INVALID_INPUT",
      "code": "INVALID_INPUT",
      "error": "provide lsl+usl, T, or tol — not more than one"
    },
    {
      "id": "property-tur",
      "ok": true,
      "kind": "property",
      "detail": "4",
      "expect": 4,
      "actual": 4
    },
    {
      "id": "property-tur-T",
      "ok": true,
      "kind": "property",
      "detail": "4",
      "expect": 4,
      "actual": 4
    },
    {
      "id": "property-tur-span",
      "ok": true,
      "kind": "property",
      "detail": "4",
      "expect": 4,
      "actual": 4
    },
    {
      "id": "property-tur-tol",
      "ok": true,
      "kind": "property",
      "detail": "4",
      "expect": 4,
      "actual": 4
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 11,
      "total": 11,
      "golden": 0,
      "boundary": 7,
      "property": 4
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-16T21:07:40.795Z",
  "rendered_at": "2026-09-16T22:38:08.852Z",
  "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": "5e0960bf982d1ca2ce4ea81ca745780566f63eb54e3fd1e3ea4cad5d064f612b",
      "output_schema_sha256": "027acffc35b147221bccb965c946bcbefecd6d6a0d9481b122a028458a13a3a0",
      "evidence_sha256": "b7e20e0c18e6c9ce9476998483a334b00e62407078072135d2f779d25fec01cf",
      "evidence_core_sha256": "b7e20e0c18e6c9ce9476998483a334b00e62407078072135d2f779d25fec01cf",
      "capability_sha256": "7475d324575a010c4a126954a1944ecd59c6be5b8c57605832e7ba3b22a4d229",
      "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"
  }
}
