{
  "capability_id": "physics.fluid.alternate_depth",
  "tool_id": "alternate-depth",
  "engine": "alternate-depth",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-18T23:14:09.773Z",
  "engine_build": "2026-09-18",
  "test_count": 5,
  "passed": 5,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 0,
      "passed": 0
    },
    "boundary": {
      "total": 0,
      "passed": 0
    },
    "property": {
      "total": 5,
      "passed": 5
    }
  },
  "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/alternate-depth",
  "api": "https://www.calculatorx.com/api/v1/calc/alternate-depth",
  "schema_input": "https://www.calculatorx.com/schemas/physics.fluid.alternate_depth.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.fluid.alternate_depth.output.json",
  "assumptions": [
    "Rectangular alternate depths: E = y + Q²/(2g A²) with A=b y; both y_sub>yc and y_super<yc at the same E, Q, b; SI; default g=9.80665",
    "Unknown is the pair (depths mode) or E (energy invert from one y); E>Ec=1.5 yc; Fr is reported not an input",
    "Not specific energy E from y+v; not specific force M; not hydraulic jump y2 from Fr₁>1; not critical-depth yc as the product; not Manning n; not Q=Av"
  ],
  "limitations": [
    "Rectangular alternate depths: E = y + Q²/(2g A²) with A=b y; both y_sub>yc and y_super<yc at the same E, Q, b; SI; default g=9.80665",
    "Unknown is the pair (depths mode) or E (energy invert from one y); E>Ec=1.5 yc; Fr is reported not an input",
    "Not specific energy E from y+v; not specific force M; not hydraulic jump y2 from Fr₁>1; not critical-depth yc as the product; not Manning n; not Q=Av"
  ],
  "boundary_conditions": [
    "missing b, Q, E, or y when required → MISSING_REQUIRED_INPUT",
    "E ≤ Ec or y/b outside [0.01, 10] → VALUE_OUT_OF_RANGE",
    "A/v, y1/y2, M, Fr/L, n/C/S/R/Sc, yn/yc/q, z, H/Cd → MIXED_INPUT_ENCODING",
    "unknown mode → INVALID_MODE"
  ],
  "sources": [
    {
      "title": "ISO 80000-4 — Mechanics",
      "section": "Energy and volume flow",
      "url": "https://www.iso.org/standard/31895.html",
      "supports": "E and y are lengths; Q is volume flow",
      "kind": "standard"
    },
    {
      "title": "Chow, V.T. Open-Channel Hydraulics",
      "section": "Specific energy and alternate depths",
      "supports": "The same E gives two depths when E>Ec. E from y and v is a different product. yc from q is a different product.",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:beddff820a76f12f72f1628ea53870ee40ec6fdc11c09bc78efbf6e8c97bef4c",
  "tests": [
    {
      "id": "property-alt-ysub",
      "ok": true,
      "kind": "property",
      "detail": "y_sub from E,Q,b",
      "expect": 1,
      "actual": 1.0000046650505459
    },
    {
      "id": "property-alt-ysuper",
      "ok": true,
      "kind": "property",
      "detail": "y_super<yc<y_sub",
      "expect": 0.46718953723930495,
      "actual": 0.25272701543647547
    },
    {
      "id": "property-alt-not-yc",
      "ok": true,
      "kind": "property",
      "detail": "not yc as the product",
      "expect": 0.46718953723930495,
      "actual": 1.0000046650505459
    },
    {
      "id": "property-alt-roundtrip-E",
      "ok": true,
      "kind": "property",
      "detail": "E roundtrip",
      "expect": 1.0509858106488965,
      "actual": 1.0509858106488965
    },
    {
      "id": "property-alt-model",
      "ok": true,
      "kind": "property",
      "detail": "alternate_depth_rectangular",
      "expect": true,
      "actual": "alternate_depth_rectangular"
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 5,
      "total": 5,
      "golden": 0,
      "boundary": 0,
      "property": 5
    },
    "contract_checks": {
      "passed": 1,
      "total": 1
    }
  },
  "evidence_core_generated_at": "2026-09-18T21:01:04.213Z",
  "rendered_at": "2026-09-18T23:14:09.773Z",
  "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": "42668cff10d75e5d23233b6827a5e87cd93995ea4db8a8f09300ca9a94693e6c",
      "output_schema_sha256": "e5934774cd1d8163766103be55e0225fadf909b986b32f3d232014c162f48412",
      "evidence_sha256": "d8cd0cb9e8e7410d8a482c0a036662557b73c717f23f0055e6cdd9da7c22536a",
      "evidence_core_sha256": "d8cd0cb9e8e7410d8a482c0a036662557b73c717f23f0055e6cdd9da7c22536a",
      "capability_sha256": "c63f97cdbf5e6b9680fd64a7c16a30e3f274bc522533e646afbd8e731cdc39ed",
      "engine_sha256": "ec5f90dd051e61e84416b6eff7f761d72ed59985452a88ec6879efdbe4060d42",
      "mcp_contract_sha256": "342ea877fa003c6c958ee3fafb7b71055adb29a20af849e5b2978f768e87b93e"
    },
    "contract_checks": {
      "total": 1,
      "passed": 1,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.0"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
