{
  "capability_id": "engineering.uncertainty.type_b",
  "tool_id": "type-b",
  "engine": "type-b",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:38:08.851Z",
  "engine_build": "2026-09-16",
  "test_count": 8,
  "passed": 8,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 1,
      "passed": 1
    },
    "boundary": {
      "total": 4,
      "passed": 4
    },
    "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/type-b-uncertainty",
  "api": "https://www.calculatorx.com/api/v1/calc/type-b",
  "schema_input": "https://www.calculatorx.com/schemas/engineering.uncertainty.type_b.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/engineering.uncertainty.type_b.output.json",
  "assumptions": [
    "Type B: a is the half-width of the assumed distribution",
    "Rectangular (default, including uniform alias) u_B = a/√3; triangular u_B = a/√6",
    "Not GUM combination of several uᵢ",
    "Not Monte Carlo"
  ],
  "limitations": [
    "One Type B component from a half-width — not GUM RSS of several uᵢ",
    "Not Monte Carlo",
    "Seeded distributions: rectangular and triangular only"
  ],
  "boundary_conditions": [
    "missing a → MISSING_REQUIRED_INPUT",
    "a ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "distribution not rectangular or triangular → INVALID_INPUT"
  ],
  "sources": [
    {
      "title": "JCGM 100:2008 (GUM) — Evaluation of measurement data",
      "section": "4.3.7 Rectangular distribution",
      "url": "https://www.bipm.org/en/committees/jc/jcgm/publications",
      "supports": "If the quantity is modeled as rectangular with half-width a, u = a/√3",
      "kind": "standard"
    },
    {
      "title": "JCGM 100:2008 (GUM) — Evaluation of measurement data",
      "section": "4.3.9 Triangular distribution",
      "url": "https://www.bipm.org/utils/common/pdf/jcgm/JCGM_100_2008_E.pdf",
      "supports": "If the quantity is modeled as triangular with half-width a, u = a/√6",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:51e560ba9b2d81d08ccdabec16a4e1a0a63dc4cf2b71f8a03645f95831e11266",
  "tests": [
    {
      "id": "golden-type-b",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 3,
        "distribution": "rectangular"
      },
      "expect": {
        "u_B": 1.7320508075688774
      },
      "expectWarning": null,
      "actual": {
        "u_B": 1.7320508075688774,
        "a": 3,
        "distribution": "rectangular"
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-type-b-tri",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "a": 3,
        "distribution": "triangular"
      },
      "expect": {
        "u_B": 1.2247448713915892
      },
      "expectWarning": null,
      "actual": {
        "u_B": 1.2247448713915892,
        "a": 3,
        "distribution": "triangular"
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-type-b-missing",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "distribution": "rectangular"
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "a is required"
    },
    {
      "id": "boundary-type-b-a",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "a": 0
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "a must be greater than zero"
    },
    {
      "id": "boundary-type-b-dist",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "a": 3,
        "distribution": "trapezoidal"
      },
      "expectError": "INVALID_INPUT",
      "code": "INVALID_INPUT",
      "error": "distribution must be rectangular or triangular"
    },
    {
      "id": "property-rect",
      "ok": true,
      "kind": "property",
      "detail": "a/√3",
      "expect": 1.7320508075688774,
      "actual": 1.7320508075688774
    },
    {
      "id": "property-uniform",
      "ok": true,
      "kind": "property",
      "detail": "uniform=rectangular",
      "expect": 1.7320508075688774,
      "actual": 1.7320508075688774
    },
    {
      "id": "property-tri",
      "ok": true,
      "kind": "property",
      "detail": "a/√6",
      "expect": 1.2247448713915892,
      "actual": 1.2247448713915892
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 8,
      "total": 8,
      "golden": 1,
      "boundary": 4,
      "property": 3
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-16T21:07:40.795Z",
  "rendered_at": "2026-09-16T22:38:08.851Z",
  "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": "6080180add3b3e3f6ea07297c66079905ded37d2111f71e63280aff62259290d",
      "output_schema_sha256": "4173e7a353bcc72cd370af3b7dc7958835fd6bb511d24a743296041b2cc1a277",
      "evidence_sha256": "6ea1dbc0081897dd247e8615c15b69eeb5d66536311863e9d041b5debcbffa47",
      "evidence_core_sha256": "6ea1dbc0081897dd247e8615c15b69eeb5d66536311863e9d041b5debcbffa47",
      "capability_sha256": "f973273217bc4a2a51cc57f78b9331d5ef3ca92352ce1bcd2760524249ecca02",
      "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"
  }
}
