{
  "capability_id": "physics.fluid.side_weir",
  "tool_id": "side-weir",
  "engine": "side-weir",
  "calculation_version": "1.0.0",
  "generated_at": "2026-11-10T05:18:41.979Z",
  "engine_build": "2026-09-24",
  "test_count": 6,
  "passed": 6,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 1,
      "total": 1
    },
    "boundary": {
      "passed": 0,
      "total": 0
    },
    "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/side-weir",
  "api": "https://www.calculatorx.com/api/v1/calc/side-weir",
  "schema_input": "https://www.calculatorx.com/schemas/physics.fluid.side_weir.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.fluid.side_weir.output.json",
  "assumptions": [
    "Borghei 1999 sharp-crested side weir: Q=(2/3) C_d L √(2g) (y1−p)^{3/2}; C_d=0.71−0.41 Fr₁−0.22(p/y1); SI B, L, y1, p, Q1, Q; C_d is reported",
    "Rectangular channel; subcritical Fr₁∈[0.1, 0.9]; p/y1∈[0.1, 0.9]; y1>p; free lateral overflow; De Marchi-type C_d, not a given frontal C_d",
    "Not thin-plate frontal weir, not ogee Hd, not sluice a b √(2g y1), not Manning n, not Q=Av, not submerged y2"
  ],
  "limitations": [
    "Borghei 1999 sharp-crested side weir: Q=(2/3) C_d L √(2g) (y1−p)^{3/2}; C_d=0.71−0.41 Fr₁−0.22(p/y1); SI B, L, y1, p, Q1, Q; C_d is reported",
    "Rectangular channel; subcritical Fr₁∈[0.1, 0.9]; p/y1∈[0.1, 0.9]; y1>p; free lateral overflow; De Marchi-type C_d, not a given frontal C_d",
    "Not thin-plate frontal weir, not ogee Hd, not sluice a b √(2g y1), not Manning n, not Q=Av, not submerged y2"
  ],
  "boundary_conditions": [
    "missing B, y1, p, Q1, L, or Q when required → MISSING_REQUIRED_INPUT",
    "Cd, weir H, ogee P/Hd, sluice a/b, Manning n/R/S, Q=Av v, orifice A/d, flume Ha/L_f → MIXED_INPUT_ENCODING",
    "Fr₁ outside [0.1, 0.9], p/y1 outside [0.1, 0.9], or y1≤p → VALUE_OUT_OF_RANGE",
    "mode=rectangular|ogee|sluice or unknown mode → MIXED_INPUT_ENCODING or INVALID_MODE"
  ],
  "sources": [
    {
      "title": "Borghei, Jalili & Ghodsian — Discharge Coefficient for Sharp-Crested Side Weir in Subcritical Flow",
      "section": "Journal of Hydraulic Engineering, 1999",
      "supports": "C_d = 0.71 − 0.41 Fr₁ − 0.22 (p/y1) for rectangular sharp-crested side weirs in subcritical flow",
      "kind": "reference"
    },
    {
      "title": "ISO 80000-4 — Mechanics",
      "section": "Volume flow rate",
      "url": "https://www.iso.org/standard/31895.html",
      "supports": "Q is volume flow; B, L, y1, and p are lengths",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:ac4201768c6839ddd256cfe0fd33a639fb3acf8b69a5d6379003b5a5fee21804",
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 6,
      "total": 6,
      "golden": 1,
      "boundary": 0,
      "property": 5
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-09-24T02:12:38.088Z",
  "rendered_at": "2026-11-10T05:18:41.979Z",
  "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": "029d0480ebbc750a983b5fc05500bfadb6e4148f3688b42f8e01a7114fdffeb5",
      "output_schema_sha256": "51594d0e6c8fa928d2a11ecf5efa96036a11d18ce05ffdfdf1e9fd58af76e7e5",
      "evidence_sha256": "a7c728e822958cc977847ecce7ef7f409652e57a4aa528bb2eb358306f587c8d",
      "evidence_core_sha256": "a7c728e822958cc977847ecce7ef7f409652e57a4aa528bb2eb358306f587c8d",
      "capability_sha256": "a220e7a577c8563b63c2f18dd3056f7c421c644914949c0d04a653d1128f1455",
      "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"
  }
}
