{
  "capability_id": "physics.fluid.trapezoid_normal_depth",
  "tool_id": "trapezoidal-normal-depth",
  "engine": "trapezoidal-normal-depth",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-18T23:14:09.774Z",
  "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/trapezoidal-normal-depth",
  "api": "https://www.calculatorx.com/api/v1/calc/trapezoidal-normal-depth",
  "schema_input": "https://www.calculatorx.com/schemas/physics.fluid.trapezoid_normal_depth.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.fluid.trapezoid_normal_depth.output.json",
  "assumptions": [
    "Trapezoid uniform flow: Q=(1/n) A R^{2/3} S^{1/2}; A=(b+z yn) yn; P=b+2 yn √(1+z²); SI k=1; z>0 is run/rise; yn is unknown in depth mode",
    "yn/b∈[0.01, 10]; n∈[0.008, 0.15]; S∈[1e-6, 0.1]; z∈(0, 10]; geometry is b and z, not A and R",
    "Not rectangular yn; not trapezoid yc; not Manning Q with given A,R; not Chezy C; not Q=Av"
  ],
  "limitations": [
    "Trapezoid uniform-flow normal depth: invert SI Manning Q=(1/n) A R^{2/3} S^{1/2} with A=(b+z yn) yn, P=b+2 yn √(1+z²), R=A/P; yn is unknown; n, S, b, z given",
    "yn/b∈[0.01, 10]; n∈[0.008, 0.15]; S∈[1e-6, 0.1]; z∈(0, 10]; SI k=1; geometry is b and z, not A and R",
    "Not rectangular yn; not trapezoid yc; not Manning Q with given A,R; not Chezy C; not Q=Av"
  ],
  "boundary_conditions": [
    "missing b, z, n, S, Q, or yn when required → MISSING_REQUIRED_INPUT",
    "yn/b, n, S, or z outside envelope → VALUE_OUT_OF_RANGE",
    "z=0, A/R, yc/q, E, Chezy C, v, B, theta, g/Fr → MIXED_INPUT_ENCODING",
    "unknown mode → INVALID_MODE"
  ],
  "sources": [
    {
      "title": "ISO 80000-4 — Mechanics",
      "section": "Volume flow rate and hydraulic radius",
      "url": "https://www.iso.org/standard/31895.html",
      "supports": "Q is volume flow; hydraulic radius R = A/P",
      "kind": "standard"
    },
    {
      "title": "Chow, V.T. Open-Channel Hydraulics",
      "section": "Normal depth in a trapezoidal section",
      "supports": "Uniform-flow yn from SI Manning with trapezoid A=(b+z y)y and P=b+2 y √(1+z²). Rectangular A=b yn is a different page. Not Manning with given A,R as a product page, not yc, not Chezy C",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:9dcb01e7b4dbe752b6cfd38de34635b2630bb27853972329a6534f4a2c3bfc6f",
  "tests": [
    {
      "id": "property-tyn-yn",
      "ok": true,
      "kind": "property",
      "detail": "yn from Q,n,S,b,z",
      "expect": 1,
      "actual": 0.9999999999999991
    },
    {
      "id": "property-tyn-Q",
      "ok": true,
      "kind": "property",
      "detail": "Q=(1/n)A R^{2/3} S^{1/2}",
      "expect": 2.302556960123252,
      "actual": 2.302556960123252
    },
    {
      "id": "property-tyn-not-rect",
      "ok": true,
      "kind": "property",
      "detail": "yn≠rectangular yn",
      "expect": 1.52785364826078,
      "actual": 0.9999999999999991
    },
    {
      "id": "property-tyn-roundtrip-Q",
      "ok": true,
      "kind": "property",
      "detail": "Q roundtrip",
      "expect": 2.302556960123252,
      "actual": 2.302556960123248
    },
    {
      "id": "property-tyn-model",
      "ok": true,
      "kind": "property",
      "detail": "manning_normal_trapezoid",
      "expect": true,
      "actual": "manning_normal_trapezoid"
    }
  ],
  "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-18T22:21:59.480Z",
  "rendered_at": "2026-09-18T23:14:09.774Z",
  "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": "99bc5f169155fd75e454fcf0eb51aae8e7e17029ed7274f6e42833481d765706",
      "output_schema_sha256": "2fb50ad9d6f5a25c544c5ea4cf64b2a8c1d2bca4462927751dc728a6400e3c99",
      "evidence_sha256": "014fb46495056a4dd9235204bc146f9bf585115a9a0d81beb090664c130148fc",
      "evidence_core_sha256": "014fb46495056a4dd9235204bc146f9bf585115a9a0d81beb090664c130148fc",
      "capability_sha256": "053e763bf59aed18013191c2c5a1af0d55130d95b6bc66eff2aa5ee1119c3cbb",
      "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"
  }
}
