{
  "capability_id": "engineering.measurement.cochran",
  "tool_id": "cochran",
  "engine": "cochran",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T03:19:09.590Z",
  "engine_build": "2026-09-16",
  "test_count": 9,
  "passed": 9,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 0,
      "passed": 0
    },
    "boundary": {
      "total": 6,
      "passed": 6
    },
    "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/cochran",
  "api": "https://www.calculatorx.com/api/v1/calc/cochran",
  "schema_input": "https://www.calculatorx.com/schemas/engineering.measurement.cochran.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/engineering.measurement.cochran.output.json",
  "assumptions": [
    "ISO 5725-2 Cochran C = s_max² / Σ s_i² from k≥2 stated laboratory sample standard deviations. k=1 is rejected.",
    "s_i ≥ 0. All-zero s is rejected (Σ s² must be > 0).",
    "Not pooled s_p, not Hartley's F_max, and not a tabulated Ccrit pass/fail."
  ],
  "limitations": [
    "Takes stated laboratory s_i — not a sample of observations",
    "k=1 is rejected so this cannot wrap identity C=1",
    "All-zero s is rejected (Σ s² must be > 0)",
    "Does not compare C to a tabulated Ccrit(p, n, α)",
    "Not pooled s_p and not Hartley's F_max"
  ],
  "boundary_conditions": [
    "missing s → MISSING_REQUIRED_INPUT",
    "k = 1 → VALUE_OUT_OF_RANGE",
    "s = [0,0] → VALUE_MUST_BE_POSITIVE",
    "negative s_i → VALUE_OUT_OF_RANGE"
  ],
  "sources": [
    {
      "title": "ISO 5725-2 — Repeatability and reproducibility of standard measurement methods",
      "section": "Cochran's C test",
      "supports": "C = s_max² / Σ s_i² is the test statistic for an unusually large laboratory repeatability variance. Critical values depend on p, n, and α and are not applied here.",
      "kind": "standard"
    },
    {
      "title": "ISO 5725-1 — Accuracy (trueness and precision) of measurement methods and results",
      "section": "Repeatability standard deviation s_r",
      "supports": "This page takes already-stated laboratory s_i. It does not estimate s_r from a collaborative-study table.",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:a2f052d317354a8445116f83db295918471d140482da7c1858d596fae86f0577",
  "tests": [
    {
      "id": "boundary-coch",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "s": [
          3,
          4,
          5
        ]
      },
      "expect": {
        "C": 0.5,
        "s_max": 5,
        "k": 3
      },
      "expectWarning": null,
      "actual": {
        "C": 0.5,
        "s_max": 5,
        "k": 3,
        "s": [
          3,
          4,
          5
        ]
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-coch-equal",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "s": [
          5,
          5
        ]
      },
      "expect": {
        "C": 0.5
      },
      "expectWarning": null,
      "actual": {
        "C": 0.5,
        "s_max": 5,
        "k": 2,
        "s": [
          5,
          5
        ]
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-coch-zero-one",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "s": [
          0,
          5
        ]
      },
      "expect": {
        "C": 1
      },
      "expectWarning": null,
      "actual": {
        "C": 1,
        "s_max": 5,
        "k": 2,
        "s": [
          0,
          5
        ]
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-coch-one",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "s": [
          3
        ]
      },
      "expectError": "VALUE_OUT_OF_RANGE",
      "code": "VALUE_OUT_OF_RANGE",
      "error": "need at least two laboratories"
    },
    {
      "id": "boundary-coch-allzero",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "s": [
          0,
          0
        ]
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "sum of squares must be greater than zero"
    },
    {
      "id": "boundary-coch-missing",
      "ok": true,
      "kind": "boundary",
      "inputs": {},
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "s is required"
    },
    {
      "id": "property-coch",
      "ok": true,
      "kind": "property",
      "detail": "0.5",
      "expect": 0.5,
      "actual": 0.5
    },
    {
      "id": "property-coch-equal",
      "ok": true,
      "kind": "property",
      "detail": "0.5",
      "expect": 0.5,
      "actual": 0.5
    },
    {
      "id": "property-coch-alias",
      "ok": true,
      "kind": "property",
      "detail": "0.5",
      "expect": 0.5,
      "actual": 0.5
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 9,
      "total": 9,
      "golden": 0,
      "boundary": 6,
      "property": 3
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-16T01:30:16.780Z",
  "rendered_at": "2026-09-16T03:19:09.590Z",
  "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": "5002f38c117712a48a9de76599e4d9890cf3171eb7c59b0438ce12b96d629b39",
      "output_schema_sha256": "a457b8d5978d22bd3d5cc7a1fed8e64b731c7598b691339218cd768c1cea6fff",
      "evidence_sha256": "394aca704c63138068a5cd553f5433d7a83204eac664384d88899000473b7b80",
      "evidence_core_sha256": "394aca704c63138068a5cd553f5433d7a83204eac664384d88899000473b7b80",
      "capability_sha256": "7a4fc7305f9c8a7bd6abd705596e9dc7c0daf573a84fed52ca012912d8dc50f2",
      "engine_sha256": "ea9bae9a12cb180eccca2dd42c0e71bab90cea9c281681a59399f440e098cbe3",
      "mcp_contract_sha256": "d82f6c8fae5d72f2f39afde75cbfe10e3136f1ac48b2db522c333cd81151ad4f"
    },
    "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"
  }
}
