{
  "capability_id": "physics.fluid.viscosity",
  "tool_id": "viscosity",
  "engine": "viscosity",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:03:43.765Z",
  "engine_build": "2026-09-10",
  "test_count": 3,
  "passed": 3,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 1,
      "passed": 1
    },
    "boundary": {
      "total": 1,
      "passed": 1
    },
    "property": {
      "total": 1,
      "passed": 1
    }
  },
  "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/physics/viscosity",
  "api": "https://www.calculatorx.com/api/v1/calc/viscosity",
  "schema_input": "https://www.calculatorx.com/schemas/physics.fluid.viscosity.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.fluid.viscosity.output.json",
  "assumptions": [],
  "limitations": [
    "Newtonian fluid; constant η"
  ],
  "boundary_conditions": [
    "coded hard errors"
  ],
  "sources": [
    {
      "title": "Intro physics / NIST units",
      "section": "standard relations",
      "supports": "engine formulas",
      "kind": "reference"
    },
    {
      "title": "ISO 80000-4 / fluid mechanics practice",
      "section": "Newtonian viscosity",
      "supports": "η = τ / (du/dy); ν = η/ρ",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:903fa147e6a778b64511025aed94bd51698704ad6fa47b48f0d396b5f1a64f1b",
  "tests": [
    {
      "id": "eta",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "eta",
        "tau_Pa": 2,
        "dudy_1_s": 10
      },
      "expect": {
        "eta_Pa_s": 0.2
      },
      "expectWarning": null,
      "actual": {
        "mode": "eta",
        "eta_Pa_s": 0.2,
        "tau_Pa": 2,
        "dudy_1_s": 10,
        "nu_m2_s": null,
        "rho_kg_m3": null
      },
      "tol": 1e-12
    },
    {
      "id": "bad",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "eta",
        "tau_Pa": 2,
        "dudy_1_s": 0
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "dudy_1_s must be greater than zero"
    },
    {
      "id": "property-visc-nu",
      "ok": true,
      "kind": "property",
      "detail": "1e-6",
      "expect": 0.000001,
      "actual": 0.000001
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 3,
      "total": 3,
      "golden": 1,
      "boundary": 1,
      "property": 1
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-10T22:48:17.762Z",
  "rendered_at": "2026-09-16T22:03:43.765Z",
  "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": "79202ea63b6dabfbdd67e2e128c5c98816661702cec54fb67145f438e886db72",
      "output_schema_sha256": "9eccc53c3b8d098e8e4e147ca7843fa3374dfe1cef71579c035fe09f92a10d92",
      "evidence_sha256": "f5936c594fcbd3e1883f56d37634458f1c218620b577a4f0cae06805637d06bd",
      "evidence_core_sha256": "f5936c594fcbd3e1883f56d37634458f1c218620b577a4f0cae06805637d06bd",
      "capability_sha256": "b7640ac754dc52a1fd89408b7b86305c595ccd3ef848432c228683a3279a0ae8",
      "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"
  }
}
