{
  "capability_id": "engineering.measurement.accuracy",
  "tool_id": "accuracy",
  "engine": "accuracy",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:38:08.854Z",
  "engine_build": "2026-09-16",
  "test_count": 9,
  "passed": 9,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 0,
      "passed": 0
    },
    "boundary": {
      "total": 5,
      "passed": 5
    },
    "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:dfbd1cca818a32aaffa19c550285cdcbb3c67f1ad996938e58d5c026f082dafa",
  "tests": [
    {
      "id": "boundary-acc",
      "ok": true,
      "kind": "boundary",
      "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": 0,
      "boundary": 5,
      "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.854Z",
  "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": "1aada2be081699b8a56d82857bc19bffd09559dbcbf8eba81f222516a937049b",
      "output_schema_sha256": "7c6882055647420d2639d9d3a928cfcef8b16a978c2d9e0a9d6ce554875d9748",
      "evidence_sha256": "6c2f0902fe11f42dce5ad4a496fa553da4fbbebd9b731b926861b2c74af94063",
      "evidence_core_sha256": "6c2f0902fe11f42dce5ad4a496fa553da4fbbebd9b731b926861b2c74af94063",
      "capability_sha256": "2b130e4e8b7158196dbbda7727da8b51e681194d16931576e96d428ef32240c5",
      "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"
  }
}
