{
  "capability_id": "physics.fluid.weir",
  "tool_id": "weir-discharge",
  "engine": "weir-discharge",
  "calculation_version": "1.0.0",
  "generated_at": "2026-11-10T05:18:41.920Z",
  "engine_build": "2026-09-18",
  "test_count": 15,
  "passed": 15,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 1,
      "total": 1
    },
    "boundary": {
      "passed": 9,
      "total": 9
    },
    "property": {
      "passed": 5,
      "total": 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/weir-discharge",
  "api": "https://www.calculatorx.com/api/v1/calc/weir-discharge",
  "schema_input": "https://www.calculatorx.com/schemas/physics.fluid.weir.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.fluid.weir.output.json",
  "assumptions": [
    "Thin-plate weir; free nappe",
    "SI g=9.80665 unless given",
    "Rectangular: Q=(2/3) C_d L √(2g) H^{3/2}; not Francis contractions",
    "Triangular: Q=(8/15) C_d √(2g) tan(θ/2) H^{5/2}",
    "Not Manning, not Q=Av, not Darcy, not an orifice"
  ],
  "limitations": [
    "Thin-plate weir; free nappe; SI g=9.80665 unless given",
    "Rectangular: Q=(2/3) C_d L √(2g) H^{3/2}; not Francis contractions",
    "Triangular: Q=(8/15) C_d √(2g) tan(θ/2) H^{5/2}",
    "Not Manning, not Q=Av, not Darcy, not an orifice"
  ],
  "boundary_conditions": [
    "missing H or Q → MISSING_REQUIRED_INPUT",
    "rectangular missing L → MISSING_REQUIRED_INPUT",
    "H, Q, L, Cd, θ, or g ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "H and Q together, or θ_deg and θ_rad, or H2 → MIXED_INPUT_ENCODING",
    "C_d > 1 → VALUE_OUT_OF_RANGE",
    "Francis, Cipolletti, Manning, or orifice as mode → INVALID_MODE"
  ],
  "sources": [
    {
      "title": "ISO 1438 — Hydrometry — Open channel flow measurement using thin-plate weirs",
      "section": "Rectangular and triangular thin-plate weirs",
      "url": "https://www.iso.org/standard/41711.html",
      "supports": "Thin-plate weir discharge from head over a sharp crest",
      "kind": "standard"
    },
    {
      "title": "ISO 80000-4 — Mechanics",
      "section": "Volume flow rate",
      "url": "https://www.iso.org/standard/31895.html",
      "supports": "Q is volume flow; H is a length (head)",
      "kind": "standard"
    },
    {
      "title": "Chow, V.T. Open-Channel Hydraulics",
      "section": "Sharp-crested weirs",
      "supports": "Rectangular (2/3) C_d L √(2g) H^{3/2}; triangular (8/15) C_d √(2g) tan(θ/2) H^{5/2}",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:89f4b29e1866ab5aebf1de5dc2f8ea3977fde29a6c9c321d2824d2b28b459b96",
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 15,
      "total": 15,
      "golden": 1,
      "boundary": 9,
      "property": 5
    },
    "contract_checks": {
      "passed": 5,
      "total": 5
    }
  },
  "evidence_core_generated_at": "2026-09-18T13:11:24.388Z",
  "rendered_at": "2026-11-10T05:18:41.920Z",
  "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": "2a4b8c2260cb328e0b5d7d09678ab65c431ca7e6f44cef407664bfeaad0fc564",
      "output_schema_sha256": "0fb770b1938aaa0ccc3fbc75ffcf04311171ef33a53871b941e2481fa2ac0a86",
      "evidence_sha256": "641be05a9cb20cf2d771a31c66360dc821ef91685ff093ea6a259e952694ced5",
      "evidence_core_sha256": "641be05a9cb20cf2d771a31c66360dc821ef91685ff093ea6a259e952694ced5",
      "capability_sha256": "3a699e27f98cdc3f9e019a3624d760c2e105bf95edea41b54d55b458211116ba",
      "engine_sha256": "c6ebd8436f08b413e1ac6317b2d48550f2e6639a90dff254244e3aa562158b8d",
      "mcp_contract_sha256": "eb3e39ad4a95ed263415b4932f185d5edfe00a2403267b7c5ed5f718d1ff6da3"
    },
    "contract_checks": {
      "total": 5,
      "passed": 5,
      "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": "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"
  }
}
