{
  "capability_id": "physics.fluid.bernoulli",
  "tool_id": "bernoulli",
  "engine": "bernoulli",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:03:43.756Z",
  "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": true,
  "internally_reviewed": false,
  "review_kind": "expert",
  "source_checked": true,
  "reviewed_by": "CalculatorX physics review",
  "reviewer_role": null,
  "last_reviewed": "2026-08-09",
  "expert_review": {
    "status": "approved",
    "reviewer": {
      "name": "CalculatorX physics review",
      "role": null
    },
    "reviewed_at": "2026-08-09",
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "kind": "expert"
  },
  "internal_review": {
    "status": "not_applicable",
    "reviewer": null
  },
  "page": "https://www.calculatorx.com/calc/physics/bernoulli",
  "api": "https://www.calculatorx.com/api/v1/calc/bernoulli",
  "schema_input": "https://www.calculatorx.com/schemas/physics.fluid.bernoulli.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.fluid.bernoulli.output.json",
  "assumptions": [],
  "limitations": [
    "Incompressible; inviscid; steady streamline; no losses"
  ],
  "boundary_conditions": [
    "v2 radicand < 0 → VALUE_OUT_OF_RANGE"
  ],
  "sources": [
    {
      "title": "Fluid mechanics textbooks",
      "section": "Bernoulli equation",
      "supports": "P/ρ+v²/2+gh",
      "kind": "reference"
    },
    {
      "title": "ISO 80000-4 / fluid mechanics practice",
      "section": "Bernoulli equation",
      "supports": "P/ρ + v²/2 + g h = const",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:0ce13d6a27262c78aae6670d513b8eb9835f45c5350fbf0a8e1250951d413144",
  "tests": [
    {
      "id": "p2",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "P2",
        "rho_kg_m3": 1000,
        "P1_Pa": 101325,
        "v1_m_s": 0,
        "h1_m": 10,
        "v2_m_s": 0,
        "h2_m": 0
      },
      "expect": {
        "P2_Pa": 199391.5
      },
      "expectWarning": null,
      "actual": {
        "mode": "P2",
        "rho_kg_m3": 1000,
        "g_m_s2": 9.80665,
        "P1_Pa": 101325,
        "v1_m_s": 0,
        "h1_m": 10,
        "P2_Pa": 199391.5,
        "v2_m_s": 0,
        "h2_m": 0
      },
      "tol": 1e-9
    },
    {
      "id": "bad",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "v2",
        "rho_kg_m3": 1000,
        "P1_Pa": 0,
        "v1_m_s": 0,
        "h1_m": 0,
        "P2_Pa": 1000000000,
        "h2_m": 0
      },
      "expectError": "VALUE_OUT_OF_RANGE",
      "code": "VALUE_OUT_OF_RANGE",
      "error": "Bernoulli radicand < 0 — check pressures/heights"
    },
    {
      "id": "property-hydrostatic",
      "ok": true,
      "kind": "property",
      "detail": "ρgh",
      "expect": 199391.5,
      "actual": 199391.5
    }
  ],
  "tier": "expert_verified",
  "verification": {
    "tests": {
      "passed": 3,
      "total": 3,
      "golden": 1,
      "boundary": 1,
      "property": 1
    },
    "contract_checks": {
      "passed": 3,
      "total": 3
    }
  },
  "evidence_core_generated_at": "2026-09-06T13:16:40.891Z",
  "rendered_at": "2026-09-16T22:03:43.756Z",
  "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": "a17ab4e4c43f0ef0cfeb763eda46e64694cfc98387101b78aaf0b865181c791b",
      "output_schema_sha256": "8855b6a07670b11de8bab6f011be2c989f0b3e5dfbd02e3bd29ded3a7326feb0",
      "evidence_sha256": "f871a3e0db3665f3171997f70d14afe023260b4f08f4bf824d5fb8f843a8aa33",
      "evidence_core_sha256": "f871a3e0db3665f3171997f70d14afe023260b4f08f4bf824d5fb8f843a8aa33",
      "capability_sha256": "5da7442baa4c9045043467c00c346c12448db363edac47af5d03506a982741da",
      "engine_sha256": "c8d4ccdbfeaf61d7b024d4e1babb0c2ba3b324c1b37bd0cb456a526d8d2b1bd1",
      "mcp_contract_sha256": "863098b311a7b17dc4b229a6302b90b3545b175f716e5d84772c7be8e9716b86"
    },
    "contract_checks": {
      "total": 3,
      "passed": 3,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.0"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
