{
  "capability_id": "physics.fluid.critical_slope",
  "tool_id": "critical-slope",
  "engine": "critical-slope",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-18T23:14:09.773Z",
  "engine_build": "2026-09-18",
  "test_count": 6,
  "passed": 6,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 0,
      "passed": 0
    },
    "boundary": {
      "total": 0,
      "passed": 0
    },
    "property": {
      "total": 6,
      "passed": 6
    }
  },
  "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/critical-slope",
  "api": "https://www.calculatorx.com/api/v1/calc/critical-slope",
  "schema_input": "https://www.calculatorx.com/schemas/physics.fluid.critical_slope.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.fluid.critical_slope.output.json",
  "assumptions": [
    "Rectangular yn=yc: Sc=[n Q/(A R^{2/3})]^2 at yc=(q²/g)^{1/3}; A=b yc; R=b yc/(b+2 yc); SI k=1; Sc is unknown in slope mode",
    "yc/b∈[0.2, 10]; n∈[0.008, 0.15]; Sc∈[1e-6, 0.1]; geometry is b, not A and R; default g=9.80665",
    "Not Manning Q with given A,R,S; not normal-depth yn invert; not critical-depth yc as the product; not Chezy C; not Q=Av; not trapezoid z"
  ],
  "limitations": [
    "Rectangular critical slope: Sc such that yn=yc; SI Manning at y=yc; yc=(q²/g)^{1/3}; Sc=[n Q/(A R^{2/3})]^2 with A=b yc, R=b yc/(b+2 yc)",
    "yc/b∈[0.2, 10] so Sc(yc) is one-to-one; n∈[0.008, 0.15]; Sc∈[1e-6, 0.1]; SI k=1; default g=9.80665",
    "Not Manning Q from A,R,S; not normal-depth yn invert; not critical-depth yc as the product; not Chezy C; not Q=Av; not US k=1.486; not trapezoid z"
  ],
  "boundary_conditions": [
    "missing b, n, Q, or Sc when required → MISSING_REQUIRED_INPUT",
    "yc/b, n, or Sc outside envelope → VALUE_OUT_OF_RANGE",
    "A/R, yn, yc/q, S, E, Chezy C, v, B, z, y1, H, 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": "Critical slope and critical depth",
      "supports": "Sc is the bed slope at which uniform yn equals critical yc. Not Manning with given A,R as a product page, not yc as the unknown, not Chezy C",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:c2f5651836299ba7386e67b77bddff3ca21c5413c57d7aa3e07c26466e2be2e4",
  "tests": [
    {
      "id": "property-csl-Sc",
      "ok": true,
      "kind": "property",
      "detail": "Sc=0.02 at Q",
      "expect": 0.02,
      "actual": 0.02
    },
    {
      "id": "property-csl-Fr",
      "ok": true,
      "kind": "property",
      "detail": "Fr=1",
      "expect": 1,
      "actual": 1
    },
    {
      "id": "property-csl-yc",
      "ok": true,
      "kind": "property",
      "detail": "yc matches critical-depth",
      "expect": 0.6725718131668101,
      "actual": 0.6725718131668101
    },
    {
      "id": "property-csl-yn",
      "ok": true,
      "kind": "property",
      "detail": "yn(Sc)=yc",
      "expect": 0.6725718131668101,
      "actual": 0.6725718131668124
    },
    {
      "id": "property-csl-roundtrip-Q",
      "ok": true,
      "kind": "property",
      "detail": "Q roundtrip",
      "expect": 3.4546044427186113,
      "actual": 3.4546044427277556
    },
    {
      "id": "property-csl-model",
      "ok": true,
      "kind": "property",
      "detail": "manning_critical_slope_rectangular",
      "expect": true,
      "actual": "manning_critical_slope_rectangular"
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 6,
      "total": 6,
      "golden": 0,
      "boundary": 0,
      "property": 6
    },
    "contract_checks": {
      "passed": 1,
      "total": 1
    }
  },
  "evidence_core_generated_at": "2026-09-18T15:07:24.231Z",
  "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": "bee92c1340983c10f27f9c26074189b5114bd975d4239a68133acbf4cd8a6e54",
      "output_schema_sha256": "36cce11023a310bc4ca0d3e3bba85cad8e58b9e240728139dd5d9e60000b873a",
      "evidence_sha256": "d1f08194fb3fed2ab62e5e97a6715524795c1cc10c98aad81f4771c15728e4e7",
      "evidence_core_sha256": "d1f08194fb3fed2ab62e5e97a6715524795c1cc10c98aad81f4771c15728e4e7",
      "capability_sha256": "3f5575c15ae1fa0c4f8e425c4463df4d709c0125b8fd1729d2a25cb79273125b",
      "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"
  }
}
