{
  "capability_id": "engineering.uncertainty.precision_mean",
  "tool_id": "precision-uncertainty",
  "engine": "precision-uncertainty",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-15T23:38:12.910Z",
  "engine_build": "2026-09-15",
  "test_count": 8,
  "passed": 8,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 0,
      "passed": 0
    },
    "boundary": {
      "total": 5,
      "passed": 5
    },
    "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/precision-uncertainty",
  "api": "https://www.calculatorx.com/api/v1/calc/precision-uncertainty",
  "schema_input": "https://www.calculatorx.com/schemas/engineering.uncertainty.precision_mean.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/engineering.uncertainty.precision_mean.output.json",
  "assumptions": [
    "ISO 21748: u = √(s_L² + s_r²/n) of a mean of n replicates from stated precision components. n≥2.",
    "s_r and s_L are ≥ 0. Both zero is valid (u = 0).",
    "Not R = 2.8·s_R, not Type A from a sample, and not U = k·u."
  ],
  "limitations": [
    "Takes stated s_r, s_L, and n≥2 — not a sample of observations",
    "n=1 is rejected so this cannot wrap s_R",
    "Not ISO 5725 R = 2.8·s_R and not Type A u_A = s/√n from values",
    "Does not compute expanded U = k·u"
  ],
  "boundary_conditions": [
    "missing s_r, s_L, or n → MISSING_REQUIRED_INPUT",
    "n = 1 → VALUE_OUT_OF_RANGE",
    "n = 0 → VALUE_MUST_BE_POSITIVE",
    "negative s_r or s_L → VALUE_OUT_OF_RANGE",
    "s_L = 0 is valid"
  ],
  "sources": [
    {
      "title": "ISO 21748 — Guidance for the use of repeatability, reproducibility and trueness estimates in measurement uncertainty evaluation",
      "section": "Uncertainty of a mean from precision components",
      "supports": "u = √(s_L² + s_r²/n) is the standard uncertainty of a mean of n replicates when s_r and s_L are already stated.",
      "kind": "standard"
    },
    {
      "title": "ISO 5725-1 — Accuracy (trueness and precision) of measurement methods and results",
      "section": "Repeatability s_r and reproducibility s_R",
      "supports": "s_r and s_L are the same precision components used for R = 2.8·s_R. This page reports u of a mean, not R.",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:8d243ca0f5a4bf0c739a025de5a11affab29de7f59d268d598be726eee27e6b1",
  "tests": [
    {
      "id": "boundary-pu",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "s_r": 8,
        "s_L": 3,
        "n": 4
      },
      "expect": {
        "u": 5,
        "n": 4
      },
      "expectWarning": null,
      "actual": {
        "u": 5,
        "s_r": 8,
        "s_L": 3,
        "n": 4
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-pu-zero-l",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "s_r": 8,
        "s_L": 0,
        "n": 4
      },
      "expect": {
        "u": 4
      },
      "expectWarning": null,
      "actual": {
        "u": 4,
        "s_r": 8,
        "s_L": 0,
        "n": 4
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-pu-zero",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "s_r": 0,
        "s_L": 0,
        "n": 4
      },
      "expect": {
        "u": 0
      },
      "expectWarning": null,
      "actual": {
        "u": 0,
        "s_r": 0,
        "s_L": 0,
        "n": 4
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-pu-n1",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "s_r": 8,
        "s_L": 3,
        "n": 1
      },
      "expectError": "VALUE_OUT_OF_RANGE",
      "code": "VALUE_OUT_OF_RANGE",
      "error": "n must be at least 2"
    },
    {
      "id": "boundary-pu-missing",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "s_r": 8,
        "s_L": 3
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "n is required"
    },
    {
      "id": "property-pu",
      "ok": true,
      "kind": "property",
      "detail": "5",
      "expect": 5,
      "actual": 5
    },
    {
      "id": "property-pu-zero-l",
      "ok": true,
      "kind": "property",
      "detail": "4",
      "expect": 4,
      "actual": 4
    },
    {
      "id": "property-pu-alias",
      "ok": true,
      "kind": "property",
      "detail": "5",
      "expect": 5,
      "actual": 5
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 8,
      "total": 8,
      "golden": 0,
      "boundary": 5,
      "property": 3
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-15T23:14:39.081Z",
  "rendered_at": "2026-09-15T23:38:12.910Z",
  "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": "b74f8e2c292e62d54897cacc1e631a0438de139567fa28f0fb73547c7486a02d",
      "output_schema_sha256": "06e1c702a162f03549bb81425703a25b0533e655639ef73fbbecca08960e583c",
      "evidence_sha256": "9fb31038999523c459f149303e2af85625c26e4e2ad8d089120768bcb0ce86a8",
      "evidence_core_sha256": "9fb31038999523c459f149303e2af85625c26e4e2ad8d089120768bcb0ce86a8",
      "capability_sha256": "cd2ecaaba2e9745006359ac5242d6e83376cc062d88e6ec33c3ae3dae6bd52c8",
      "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"
  }
}
