{
  "capability_id": "engineering.measurement.accuracy",
  "tool_id": "accuracy",
  "engine": "accuracy",
  "calculation_version": "1.0.1",
  "generated_at": "2026-09-30T13:48:16.163Z",
  "engine_build": "2026-09-24",
  "test_count": 9,
  "passed": 9,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 1,
      "passed": 1
    },
    "boundary": {
      "total": 4,
      "passed": 4
    },
    "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/measurement-bias",
  "api": "https://www.calculatorx.com/api/v1/calc/accuracy",
  "schema_input": "https://www.calculatorx.com/schemas/engineering.measurement.accuracy.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/engineering.measurement.accuracy.output.json",
  "assumptions": [
    "VIM trueness: signed bias = x̄ − xm from repeats on a master. s may be zero.",
    "Not a single-shot measurement error, not Type A u_A = s/√n, and not Type-1 Cg (no T)."
  ],
  "limitations": [
    "Signed bias from a sample mean — not a single-shot measurement error ε",
    "Does not report Type A u_A = s/√n",
    "Does not need a tolerance T (that is Type-1 Cg/Cgk)",
    "s = 0 is valid; n = 1 with ddof = 1 is VALUE_OUT_OF_RANGE"
  ],
  "boundary_conditions": [
    "missing values or xm → MISSING_REQUIRED_INPUT",
    "n=1 with ddof=1 → VALUE_OUT_OF_RANGE",
    "s=0 is valid"
  ],
  "sources": [
    {
      "title": "JCGM 200:2012 — International vocabulary of metrology (VIM)",
      "section": "2.13 measurement accuracy; 2.14 measurement trueness; 2.18 measurement bias",
      "url": "https://www.bipm.org/en/publications/guides/vim.html",
      "supports": "Accuracy is qualitative; trueness is closeness of the mean to a reference; bias is the estimate of a systematic measurement error",
      "kind": "standard"
    },
    {
      "title": "ISO 5725-1 — Accuracy (trueness and precision) of measurement methods and results",
      "section": "Trueness as bias of the mean versus a reference",
      "supports": "This page reports signed bias of the sample mean; it does not report a precision index as the product",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:08a13dedfe6cb9ac87a4bef40979d0a3e1e7a388a685982912e53a3c5cd50531",
  "tests": [
    {
      "id": "golden-acc",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "values": [
          6,
          7,
          8
        ],
        "xm": 8
      },
      "expect": {
        "bias": -1,
        "abs_bias": 1,
        "xbar": 7,
        "s": 1
      },
      "expectWarning": null,
      "actual": {
        "bias": -1,
        "abs_bias": 1,
        "xbar": 7,
        "s": 1,
        "xm": 8,
        "n": 3,
        "ddof": 1,
        "values": [
          6,
          7,
          8
        ]
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-acc-zero",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "values": [
          7,
          8,
          9
        ],
        "xm": 8
      },
      "expect": {
        "bias": 0,
        "s": 1
      },
      "expectWarning": null,
      "actual": {
        "bias": 0,
        "abs_bias": 0,
        "xbar": 8,
        "s": 1,
        "xm": 8,
        "n": 3,
        "ddof": 1,
        "values": [
          7,
          8,
          9
        ]
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-acc-flat",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "values": [
          8,
          8,
          8
        ],
        "xm": 8
      },
      "expect": {
        "bias": 0,
        "s": 0
      },
      "expectWarning": null,
      "actual": {
        "bias": 0,
        "abs_bias": 0,
        "xbar": 8,
        "s": 0,
        "xm": 8,
        "n": 3,
        "ddof": 1,
        "values": [
          8,
          8,
          8
        ]
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-acc-n1",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "values": [
          1
        ],
        "xm": 8
      },
      "expectError": "VALUE_OUT_OF_RANGE",
      "code": "VALUE_OUT_OF_RANGE",
      "error": "sample variance needs at least two values"
    },
    {
      "id": "boundary-acc-missing",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "values": [
          6,
          7,
          8
        ]
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "xm is required"
    },
    {
      "id": "property-acc",
      "ok": true,
      "kind": "property",
      "detail": "-1",
      "expect": -1,
      "actual": -1
    },
    {
      "id": "property-acc-zero",
      "ok": true,
      "kind": "property",
      "detail": "0",
      "expect": 0,
      "actual": 0
    },
    {
      "id": "property-acc-flat",
      "ok": true,
      "kind": "property",
      "detail": "0",
      "expect": 0,
      "actual": 0
    },
    {
      "id": "property-acc-alias",
      "ok": true,
      "kind": "property",
      "detail": "-1",
      "expect": -1,
      "actual": -1
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 9,
      "total": 9,
      "golden": 1,
      "boundary": 4,
      "property": 4
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-09-24T22:06:06.994Z",
  "rendered_at": "2026-09-30T13:48:16.163Z",
  "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": "dd207a5a0ffc822fb75b18576a250ff74d79e654909808201ac7633f084372d0",
      "output_schema_sha256": "e4b7a26f0681937e954120961cc1088c43205bcf402a55178378e7e9a113b5a8",
      "evidence_sha256": "960940774318cee4c3c2dfc8d95fcbc8650791edb25fb0fc500a613ba9a922b7",
      "evidence_core_sha256": "960940774318cee4c3c2dfc8d95fcbc8650791edb25fb0fc500a613ba9a922b7",
      "capability_sha256": "98d1757ca9c26eefbe23caaec7d8b35b11d0c5259269ac4e27bd6d652b920499",
      "engine_sha256": "de164a39feabc37997e09354949becc3182b03a314edbb82d01fddc018716fc0",
      "mcp_contract_sha256": "9297d0c4444f89d213920c7cc6487ab4c7bbbd93041ae3196b1bfd1dd12aa18c"
    },
    "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"
  }
}
