{
  "capability_id": "physics.fluid.ogee_spillway",
  "tool_id": "ogee-spillway",
  "engine": "ogee-spillway",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-18T03:31:40.489Z",
  "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/ogee-spillway",
  "api": "https://www.calculatorx.com/api/v1/calc/ogee-spillway",
  "schema_input": "https://www.calculatorx.com/schemas/physics.fluid.ogee_spillway.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.fluid.ogee_spillway.output.json",
  "assumptions": [
    "USBR high-overflow ogee: Q_cfs = C L_ft H_ft^{3/2}; C = 3.98 (H/Hd)^{0.12}; SI L, H, Hd, Q; C is reported, not an input",
    "H/Hd∈[0.2, 1.33]; optional P with P/Hd≥1.7; vertical upstream face; free overflow",
    "Not thin-plate (2/3) C_d L √(2g) H^{3/2}, not broad-crested (2/3)^{3/2} b √g H^{3/2}, not sluice, not Manning n, not Q=Av, not Francis 3.33"
  ],
  "limitations": [
    "USBR high-overflow ogee: Q_cfs = C L_ft H_ft^{3/2}; C = 3.98 (H/Hd)^{0.12}; SI L, H, Hd, Q; C is reported, not an input",
    "H/Hd∈[0.2, 1.33]; optional P with P/Hd≥1.7; vertical upstream face; free overflow",
    "Not thin-plate (2/3) C_d L √(2g) H^{3/2}, not broad-crested (2/3)^{3/2} b √g H^{3/2}, not sluice, not Manning n, not Q=Av, not Francis 3.33"
  ],
  "boundary_conditions": [
    "missing L, Hd, H, or Q when required → MISSING_REQUIRED_INPUT",
    "Cd, broad-crested b, sluice a/y1, Manning n/R/S, Q=Av v, g, orifice A/d → MIXED_INPUT_ENCODING",
    "H/Hd outside [0.2, 1.33] or P/Hd < 1.7 → VALUE_OUT_OF_RANGE",
    "mode=rectangular|thin-plate|broad-crested|sluice or unknown mode → MIXED_INPUT_ENCODING or INVALID_MODE"
  ],
  "sources": [
    {
      "title": "USBR — Design of Small Dams",
      "section": "High overflow ogee, vertical upstream face",
      "supports": "C≈3.98 at design head; compact fit C=3.98 (H/Hd)^{0.12} on the high-overflow chart; P/Hd≥1.7",
      "kind": "reference"
    },
    {
      "title": "ISO 80000-4 — Mechanics",
      "section": "Volume flow rate",
      "url": "https://www.iso.org/standard/31895.html",
      "supports": "Q is volume flow; L, H, and Hd are lengths",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:475cc905a7ffe80f57d1d95f8431bb5ce1d6f311bd31284683a8dc8fe5914c2b",
  "tests": [
    {
      "id": "property-ogs-q",
      "ok": true,
      "kind": "property",
      "detail": "L=1 H=1 Hd=1 USBR Q",
      "expect": 2.1973060597012877,
      "actual": 2.1973060597012877
    },
    {
      "id": "property-ogs-c",
      "ok": true,
      "kind": "property",
      "detail": "C=3.98 at H=Hd",
      "expect": 3.98,
      "actual": 3.98
    },
    {
      "id": "property-ogs-not-weir",
      "ok": true,
      "kind": "property",
      "detail": "Q≠thin-plate C_d=0.62",
      "expect": 1.830525427909217,
      "actual": 2.1973060597012877
    },
    {
      "id": "property-ogs-roundtrip-H",
      "ok": true,
      "kind": "property",
      "detail": "H invert",
      "expect": 1,
      "actual": 1
    },
    {
      "id": "property-ogs-model",
      "ok": true,
      "kind": "property",
      "detail": "ogee_usbr_high",
      "expect": true,
      "actual": "ogee_usbr_high"
    }
  ],
  "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-18T03:14:47.153Z",
  "rendered_at": "2026-09-18T03:31:40.489Z",
  "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": "93ca9477199e884579612f4a91cd5f5f8e4289bd096d7e0eddd14b2596b73e99",
      "output_schema_sha256": "182a3781c40e9a4dd7821c30d292ec76b4fc7e8190759b7ad9c1f379338525cf",
      "evidence_sha256": "82454c17ef4f7ee086523edaccc9f7788c03e0b2b0658cfc642f0e058f4ce02b",
      "evidence_core_sha256": "82454c17ef4f7ee086523edaccc9f7788c03e0b2b0658cfc642f0e058f4ce02b",
      "capability_sha256": "653c5239f040d2a2c10e08cecd247e12e82f4e0c4b67559d3585779a9e8a4eef",
      "engine_sha256": "508f56605e377c007570b9a5409949c9a9bcfe63675202647cfa02343c5ab8fa",
      "mcp_contract_sha256": "0a8134e5ddebb7539b7325e6f2585459d045c25de5501ee99502a98417a10b18"
    },
    "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"
  }
}
