{
  "capability_id": "engineering.uncertainty.tur",
  "tool_id": "tur",
  "engine": "tur",
  "calculation_version": "1.0.1",
  "generated_at": "2026-10-07T13:43:02.406Z",
  "engine_build": "2026-09-23",
  "test_count": 12,
  "passed": 12,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 1,
      "passed": 1
    },
    "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:546c96c54eb3378e9ef730e98755253eb41c3dc240c02fce801c2e993c0164cb",
  "tests": [
    {
      "id": "golden-tur",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "U": 1,
        "lsl": 0,
        "usl": 5
      },
      "expect": {
        "TUR": 2.5,
        "T": 5,
        "U": 1,
        "lsl": 0,
        "usl": 5
      },
      "expectWarning": null,
      "actual": {
        "TUR": 2.5,
        "T": 5,
        "U": 1,
        "lsl": 0,
        "usl": 5
      },
      "tol": 1e-12
    },
    {
      "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": 12,
      "total": 12,
      "golden": 1,
      "boundary": 7,
      "property": 4
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-09-23T10:39:08.821Z",
  "rendered_at": "2026-10-07T13:43:02.406Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.0.1",
    "artifacts": {
      "engine": "1.0.1",
      "page": "1.0.1",
      "capability": "1.0.1",
      "evidence": "1.0.1",
      "input_schema": "1.0.1",
      "output_schema": "1.0.1",
      "mcp_contract": "1.0.1"
    },
    "digests": {
      "input_schema_sha256": "374568c238feb49ca1bddd71820deea630ae505652d019cb90f19d0ea5460d41",
      "output_schema_sha256": "a800db86156365a097a111ab1f505e06b58af2796d9068548e169ec13b9ce29b",
      "evidence_sha256": "e45340eae239534fd2fc5fa1a19ab98c1947e7298019b14dc83ddf0f78d09f96",
      "evidence_core_sha256": "e45340eae239534fd2fc5fa1a19ab98c1947e7298019b14dc83ddf0f78d09f96",
      "capability_sha256": "148b1a60fea4dd323925a7ef69fc715467477cb04936fa6bc087f17445295c18",
      "engine_sha256": "de164a39feabc37997e09354949becc3182b03a314edbb82d01fddc018716fc0",
      "mcp_contract_sha256": "7987213b9383736f31f098a25ea78dc606566c327c74c5d735dcf5e0a6c1b0e9"
    },
    "contract_checks": {
      "total": 6,
      "passed": 6,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.1"
        },
        {
          "id": "schema-output-required-declared",
          "status": "pass"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "status": "pass"
        },
        {
          "id": "rest-success-payload-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
