{
  "capability_id": "physics.fluid.sluice_gate",
  "tool_id": "sluice-gate",
  "engine": "sluice-gate",
  "calculation_version": "1.0.0",
  "generated_at": "2026-11-10T05:18:41.977Z",
  "engine_build": "2026-09-24",
  "test_count": 7,
  "passed": 7,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 1,
      "total": 1
    },
    "boundary": {
      "passed": 0,
      "total": 0
    },
    "property": {
      "passed": 6,
      "total": 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/sluice-gate",
  "api": "https://www.calculatorx.com/api/v1/calc/sluice-gate",
  "schema_input": "https://www.calculatorx.com/schemas/physics.fluid.sluice_gate.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.fluid.sluice_gate.output.json",
  "assumptions": [
    "Swamee 1992 free-flow undershot sluice: Q = C_d a b √(2g y1); C_d = 0.611 [(y1−a)/y1]^{0.072}; SI a, b, y1, Q; C_d is reported, not an input",
    "Gate opening a is not orifice area A; y1 is upstream depth, not weir H; a/y1∈[0.05, 0.65]; y1 > a; free flow only",
    "Not thin-plate weir, not tank orifice C_d A √(2gH), not a flume, not Manning n, not Q=Av, not submerged y2"
  ],
  "limitations": [
    "Swamee 1992 free-flow undershot sluice: Q = C_d a b √(2g y1); C_d = 0.611 [(y1−a)/y1]^{0.072}; SI a, b, y1, Q; C_d is reported, not an input",
    "Gate opening a is not orifice area A; y1 is upstream depth, not weir H; a/y1∈[0.05, 0.65]; y1 > a; free flow only",
    "Not thin-plate weir, not tank orifice C_d A √(2gH), not a flume, not Manning n, not Q=Av, not submerged y2"
  ],
  "boundary_conditions": [
    "missing a, b, y1, or Q when required → MISSING_REQUIRED_INPUT",
    "Cd, orifice A/d/D/H, weir L, flume W/Ha/L_f, Manning n/R/S, Q=Av v, y2 → MIXED_INPUT_ENCODING",
    "a ≥ y1 or a/y1 outside [0.05, 0.65] → VALUE_OUT_OF_RANGE",
    "mode=orifice|weir|parshall|cutthroat or unknown mode → MIXED_INPUT_ENCODING or INVALID_MODE"
  ],
  "sources": [
    {
      "title": "Swamee, P.K. — Sluice-Gate Discharge Equations",
      "section": "Free-flow undershot C_d",
      "supports": "C_d = 0.611 [(y1−a)/y1]^{0.072}; Q = C_d a b √(2g y1); not a given orifice C_d=0.61",
      "kind": "reference"
    },
    {
      "title": "ISO 80000-4 — Mechanics",
      "section": "Volume flow rate",
      "url": "https://www.iso.org/standard/31895.html",
      "supports": "Q is volume flow; a, b, and y1 are lengths",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:0d00c4513fbf4ac79d87cc25551e9628988fbd0d87046e721ae65c8f2e280544",
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 7,
      "total": 7,
      "golden": 1,
      "boundary": 0,
      "property": 6
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-09-24T02:12:38.088Z",
  "rendered_at": "2026-11-10T05:18:41.977Z",
  "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": "d993969a4b3acc364286d780d544a7db26b4b305e6798a650b191be83ab5e457",
      "output_schema_sha256": "1909de81f8f197e73e2d1c6744a28fb0f9ac23b9faec82ccebd6a0cf168ccb40",
      "evidence_sha256": "108ea5d270e082dc8084d7658c801f5f8c64a38201f29f1163ea99ee25051534",
      "evidence_core_sha256": "108ea5d270e082dc8084d7658c801f5f8c64a38201f29f1163ea99ee25051534",
      "capability_sha256": "85b578893889d0028df216870ed5318d4b43ba90af80218a980ff664bad43e64",
      "engine_sha256": "c6ebd8436f08b413e1ac6317b2d48550f2e6639a90dff254244e3aa562158b8d",
      "mcp_contract_sha256": "eb3e39ad4a95ed263415b4932f185d5edfe00a2403267b7c5ed5f718d1ff6da3"
    },
    "contract_checks": {
      "total": 6,
      "passed": 6,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.0"
        },
        {
          "id": "schema-output-required-declared",
          "status": "pass"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "status": "pass"
        },
        {
          "id": "rest-success-payload-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  },
  "tests": [],
  "disclosure": {
    "policy": "calculatorx-public-evidence-v1",
    "full_validation": "private",
    "representation": "summary"
  }
}
