{
  "protocol": {
    "name": "CVP",
    "version": "1.0.0-proposed",
    "revision": "2026-09-13",
    "spec_sha256": "f62725968356c92930531cd6085db76e216da06e95be53d636b0d2cf3218b148",
    "spec": "https://www.calculatorx.com/developers/cvp/spec/1.0"
  },
  "document_status": "proposed",
  "calculator": {
    "id": "ogee-spillway",
    "version": "1.0.0",
    "title": "Ogee Spillway Calculator",
    "formula_family": "ogee_spillway",
    "capability_id": "physics.fluid.ogee_spillway",
    "verification_revision": "2026-09-26.o2-o3"
  },
  "profile": "engineering",
  "verified_scope": "USBR high-overflow ogee Q_cfs=C L_ft H_ft^{3/2} with C=3.98 (H/Hd)^{0.12}, + O3 mpmath tabulated Q.",
  "deferred_scope": "Not thin-plate (2/3)Cd, not broad-crested, not sluice, not Manning, not submerged, not Q=Av.",
  "status": "VERIFIED",
  "verification_status": "VERIFIED",
  "production_freshness": "CURRENT",
  "overall_trust": "VERIFIED",
  "runner": {
    "name": "cvp-runner",
    "version": "1.0.0"
  },
  "environment": {
    "runtime": "node",
    "runtime_version": "22.20.0",
    "numeric_model": "IEEE-754 binary64",
    "os": "darwin"
  },
  "suite": {
    "id": "ogee-spillway",
    "version": "1.0.0",
    "uri": "https://www.calculatorx.com/evidence/physics.fluid.ogee_spillway/1.0.0.json",
    "verification_revision": "2026-09-26.o2-o3"
  },
  "obligation_set": [
    "CVP-PROV-01",
    "CVP-MODEL-01",
    "CVP-SCOPE-01",
    "CVP-UNIT-01",
    "CVP-REF-01",
    "CVP-GOLD-01",
    "CVP-BND-01",
    "CVP-INV-01",
    "CVP-NUM-01",
    "CVP-COV-01",
    "CVP-CONTRACT-01",
    "CVP-DEP-01",
    "CVP-ART-01",
    "CVP-PROD-01",
    "CVP-DIM-01",
    "CVP-PROP-01",
    "CVP-META-01",
    "CVP-IFACE-01"
  ],
  "provenance": {
    "mode": "direct",
    "sources": [
      {
        "label": "USBR — Design of Small Dams",
        "kind": "other",
        "reference": "High overflow ogee, vertical upstream face"
      },
      {
        "label": "ISO 80000-4 — Mechanics",
        "kind": "standard",
        "reference": "Volume flow rate",
        "url": "https://www.iso.org/standard/31895.html"
      }
    ]
  },
  "controls": {
    "CVP-PROV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Sources present on evidence"
    },
    "CVP-MODEL-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "USBR high-overflow ogee; O3 tabulated"
    },
    "CVP-SCOPE-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Not thin-plate/broad/sluice. O3 tabulated vectors only."
    },
    "CVP-UNIT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "L, H, Hd, and optional P are m. Q is m³/s. Reported C is dimensionless in cfs units before SI conversion."
    },
    "CVP-REF-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "O1 + O2 + O3"
    },
    "CVP-GOLD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "1/1 legacy golden; 4/4 oracle-backed numeric"
    },
    "CVP-BND-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "0/0 numeric-edge Evidence + 1/1 near-singularity numeric; illegal enum/system is Invalid only"
    },
    "CVP-INV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "0 Evidence illegal-input + 3/3 oracle-backed error-code (exact_error_match, not ULP)"
    },
    "CVP-NUM-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "max_error_observed_ulp=0; policy declared a priori"
    },
    "CVP-COV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "5/5 partitions"
    },
    "CVP-CONTRACT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "6/6 CVP contract · release-artifacts-aligned=PASS · schema-output-required-declared=PASS · schema-valid-input-executes=PASS · engine-success-output-validates-schema=PASS · schema-rejects-incomplete-input=PASS · rest-success-payload-validates-schema=PASS"
    },
    "CVP-DEP-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "engine ogee-spillway; Node binary64"
    },
    "CVP-ART-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "release_integrity.status=verified · digests: artifact_evidence_sha256=Evidence core (Trust freshness) · cvp_evidence_digest=artifacts.evidence_digest (fingerprint v2) · evidence_bundle_sha256=legacy Evidence JSON bytes · evidence_catalog_digest=attested_catalog_sha256 · production_sha256=bound production report · see artifacts.digest_registry"
    },
    "CVP-PROD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "this calculator CURRENT · bound snapshot pass @ 2026-09-29T02:57:46.783Z · live site-wide report stale @ 2026-09-29T02:58:19.986Z (8 other capabilities) · local checks pass · attestation_id=32b8c8fc001c8156e721d1985f9285c24b4eb39419f1b706b7f4999d46ee806a · This calculator CURRENT · This calculator is not affected · Bound attestation PASS @ 2026-09-29T02:57:46.783Z · Live production status STALE (8 capabilities; 367 remain CURRENT) @ 2026-09-29T02:58:19.986Z · Public schema 1.0.0 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓ · schema_const=1.0.0 · report output-const=pass · evidence-sha256=pass · semantic-contract=pass · capability-html-public-origin-agree=pass · cvp-manifest-public-origin-agree=pass · cvp-latest-alias-agrees=pass · cvp-immutable-manifest-fetch=pass · cvp-immutable-manifest-sha256=pass · cvp-latest-alias-matches-immutable=pass · cvp-reproduce-manifest-agree=pass · calculator-html-cvp-projection=pass · evidence-html-cvp-projection=pass · attested_evidence_sha256=1d85769a84c3c2dae1be22be2327b7597b376eab7bd4215d31b26b062abb3454 · verified_at=2026-09-26T08:02:30.263Z · evidence_attested_at=2026-09-26T08:02:30.263Z · last_confirmed_current_at=2026-09-29T02:57:46.783Z · rendered_at=2026-09-29T02:58:20.196Z · binds=cvp_core_sha256",
      "check_result": "PASS",
      "production_state": "CURRENT",
      "binding_current": true
    },
    "CVP-DIM-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "Discharge"
    },
    "CVP-PROP-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "1/1 property · enumerated fixed assertions (not generated; no seed)"
    },
    "CVP-META-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "1/1 metamorphic"
    },
    "CVP-ROUND-01": {
      "result": "SKIP",
      "applicability": "not_applicable",
      "notes": "No inverse / round-trip vectors in pack — control not in obligation set"
    },
    "CVP-XCAL-01": {
      "result": "SKIP",
      "applicability": "not_applicable",
      "notes": "No related calculator in the same formula family / no related-identity peers declared — control not in obligation set"
    },
    "CVP-IFACE-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "UI (SSR) · REST · MCP equivalent (MCP uses calc API handler). ui-ssr is query-result HTML, not a live browser session. Error-path engine·REST·MCP 1/1 (status, code, calculation_version). SSR compared on URL-canonical requested calculations; empty query is idle (not an error) and JSON-typed object/array inputs are REST/MCP-only."
    },
    "CVP-ORACLE-01": {
      "result": "PASS",
      "applicability": "higher_assurance",
      "notes": "O3 8/8 tabulated vectors vs IUT · O2: USBR high-overflow ogee vs a separate-module identity (≤2 ULP). Not thin-plate, not broad-crested, not sluice, not Manning, and not Q=Av. ≤2 ULP vs O3 applies only to the published tabulated ogee vectors. Not thin-plate, not broad-crested, not sluice, not Manning, and not Q=Av."
    },
    "CVP-EXP-01": {
      "result": "SKIP",
      "applicability": "optional",
      "notes": "named expert review not performed"
    }
  },
  "interfaces": {
    "compared": [
      "ui-ssr",
      "rest",
      "mcp"
    ],
    "result": "PASS",
    "notes": "UI (SSR) · REST · MCP equivalent (MCP uses calc API handler). ui-ssr is query-result HTML, not a live browser session. Error-path engine·REST·MCP 1/1 (status, code, calculation_version). SSR compared on URL-canonical requested calculations; empty query is idle (not an error) and JSON-typed object/array inputs are REST/MCP-only."
  },
  "artifacts": {
    "evidence_bundle_sha256": "befefeef13fd610f24faa101d4ce40b2de2457e338b90ce5aa71b085172f9924",
    "evidence_digest": "c52bed6856988cbedce760683842ff397cb7efa517144ae755ce1da0eacb1a63",
    "production_sha256": "1d85769a84c3c2dae1be22be2327b7597b376eab7bd4215d31b26b062abb3454",
    "attested_catalog_sha256": "9821b7afa172f562d1bf6535638d38ab8e6044ea84139444872d6c19047d1d21",
    "production_checks": [
      {
        "id": "physics.fluid.ogee_spillway:output-const",
        "status": "pass",
        "detail": "output const 1.0.0 vs capability 1.0.0",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-26T08:02:30.263Z"
      },
      {
        "id": "physics.fluid.ogee_spillway:evidence-sha256",
        "status": "pass",
        "detail": "5940f6aabf12",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-26T08:02:30.263Z"
      },
      {
        "id": "physics.fluid.ogee_spillway:semantic-contract",
        "status": "pass",
        "detail": "6/6",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-26T08:02:30.263Z"
      },
      {
        "id": "physics.fluid.ogee_spillway:capability-html-public-origin-agree",
        "status": "pass",
        "detail": "public 1.0.0 vs origin 1.0.0",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-26T08:02:30.263Z"
      },
      {
        "id": "physics.fluid.ogee_spillway:cvp-manifest-public-origin-agree",
        "status": "pass",
        "detail": "physics.fluid.ogee_spillway/1.0.0/2026-09-26.o2-o3/engineering/c52bed685698",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-26T08:02:30.263Z",
        "projection_compared": false
      },
      {
        "id": "physics.fluid.ogee_spillway:cvp-latest-alias-agrees",
        "status": "pass",
        "detail": "physics.fluid.ogee_spillway/1.0.0/2026-09-26.o2-o3/engineering/c52bed685698",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-26T08:02:30.263Z",
        "projection_compared": false
      },
      {
        "id": "physics.fluid.ogee_spillway:cvp-immutable-manifest-fetch",
        "status": "pass",
        "detail": "public=200 origin=200",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-26T08:02:30.263Z"
      },
      {
        "id": "physics.fluid.ogee_spillway:cvp-immutable-manifest-sha256",
        "status": "pass",
        "detail": "c52bed685698",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-26T08:02:30.263Z"
      },
      {
        "id": "physics.fluid.ogee_spillway:cvp-latest-alias-matches-immutable",
        "status": "pass",
        "detail": "physics.fluid.ogee_spillway/1.0.0/2026-09-26.o2-o3/engineering/c52bed685698",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-26T08:02:30.263Z",
        "projection_compared": false
      },
      {
        "id": "physics.fluid.ogee_spillway:cvp-reproduce-manifest-agree",
        "status": "pass",
        "detail": "2026-09-26.o2-o3 · d932b4a60d5f",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-26T08:02:30.263Z"
      },
      {
        "id": "physics.fluid.ogee_spillway:calculator-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-26T08:02:30.263Z"
      },
      {
        "id": "physics.fluid.ogee_spillway:evidence-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-26T08:02:30.263Z"
      }
    ],
    "digest_registry": {
      "digest_algorithm": "sha256",
      "canonicalization": "json-sorted-keys-utf8",
      "entries": [
        {
          "name": "cvp_core_sha256",
          "field": "artifacts.cvp_core_sha256",
          "digest_scope": "cvp_verification_fingerprint_v2",
          "value": "c52bed6856988cbedce760683842ff397cb7efa517144ae755ce1da0eacb1a63",
          "note": "Immutable verification core; excludes attestation/live-status and Evidence contract counts"
        },
        {
          "name": "cvp_evidence_digest",
          "field": "artifacts.evidence_digest",
          "digest_scope": "cvp_verification_fingerprint_v2",
          "value": "c52bed6856988cbedce760683842ff397cb7efa517144ae755ce1da0eacb1a63",
          "note": "Alias of cvp_core_sha256 (historical field name)"
        },
        {
          "name": "artifact_evidence_sha256",
          "field": "release_integrity.digests.evidence_core_sha256",
          "digest_scope": "evidence_artifact_core",
          "value": "5940f6aabf126cb3c04967a7731e5d77a60aa3f6de32b660d14d87ae9ca7ebda",
          "note": "Published Evidence JSON core — Trust freshness / production bind subject"
        },
        {
          "name": "evidence_catalog_digest",
          "field": "artifacts.attested_catalog_sha256",
          "digest_scope": "capability_catalog",
          "value": "9821b7afa172f562d1bf6535638d38ab8e6044ea84139444872d6c19047d1d21",
          "note": "Capability catalog integrity; site-wide, not per-suite fingerprint"
        }
      ]
    },
    "cvp_core_sha256": "c52bed6856988cbedce760683842ff397cb7efa517144ae755ce1da0eacb1a63"
  },
  "dependencies": [
    {
      "name": "ogee-spillway-engine",
      "version": "1.0.0"
    },
    {
      "name": "ogee-spillway-reference-oracle",
      "version": "1.0.0"
    },
    {
      "name": "ogee-spillway-mpmath-o3-table",
      "version": "ogee-spillway-mpmath-o3"
    },
    {
      "name": "node",
      "version": "22.20.0"
    }
  ],
  "attestation": {
    "status": "CURRENT",
    "href": "/.well-known/calculatorx-production-attestation.json",
    "id": "32b8c8fc001c8156e721d1985f9285c24b4eb39419f1b706b7f4999d46ee806a",
    "attested_at": "2026-09-26T08:02:30.263Z",
    "last_confirmed_current_at": "2026-09-29T02:57:46.783Z",
    "site_attestation_current": false,
    "capability_attestation_current": true,
    "bound_snapshot_status": "pass",
    "live_report_status": "stale",
    "bound_attested_at": "2026-09-29T02:57:46.783Z",
    "live_updated_at": "2026-09-29T02:58:19.986Z",
    "bound_snapshot": {
      "status": "pass",
      "attested_at": "2026-09-29T02:57:46.783Z",
      "site_stale_count": 8
    },
    "live_site_status": {
      "href": "/.well-known/calculatorx-production-attestation.json"
    },
    "bound_snapshot_site_stale_count": 8,
    "site_stale_capability_count": 8,
    "evidence_attested_at": "2026-09-26T08:02:30.263Z"
  },
  "domain_review": {
    "status": "ABSENT",
    "spec_version": "1.0.0",
    "external_third_party": false,
    "note": "Named expert review not performed"
  },
  "timestamps": {
    "verified_at": "2026-09-26T08:02:30.263Z",
    "generated_at": "2026-09-26T08:02:30.263Z",
    "rendered_at": "2026-09-29T02:58:20.196Z",
    "notes": "verified_at/generated_at mark the first publication of this cvp_core_sha256 (artifacts.evidence_digest alias) for suite verification. evidence_attested_at/attested_at is the first production bind of that core digest. last_confirmed_current_at is the latest site-wide report that still confirms CURRENT. rendered_at is this JSON serialization and is not part of cvp_core_sha256 / evidence_digest. Production attestation binds cvp_core_sha256 (binds evidence_digest). Causal order: verified_at ≤ evidence_attested_at ≤ last_confirmed_current_at. attestation.bound_snapshot.site_stale_count is the site-wide stale capability count at Manifest bind time — not a live value. Fetch attestation.live_site_status.href for the current site report."
  },
  "tests": {
    "golden": {
      "passed": 4,
      "total": 4,
      "failed": 0
    },
    "boundary": {
      "passed": 1,
      "total": 1,
      "failed": 0
    },
    "invalid": {
      "passed": 3,
      "total": 3,
      "failed": 0,
      "comparison": "exact_error_match"
    },
    "property": {
      "passed": 1,
      "total": 1,
      "failed": 0,
      "kind": "fixed",
      "claim_scope": "Enumerated identity: L = 1, H = 1, Hd = 1 gives the check Q."
    },
    "round_trip": {
      "passed": 0,
      "total": 0,
      "failed": 0
    },
    "metamorphic": {
      "passed": 1,
      "total": 1,
      "failed": 0
    },
    "contract": {
      "passed": 6,
      "total": 6,
      "failed": 0
    },
    "cross_interface": {
      "passed": 2,
      "total": 2,
      "failed": 0
    },
    "o3": {
      "passed": 8,
      "total": 8,
      "failed": 0,
      "claim_scope": "O2: USBR high-overflow ogee vs a separate-module identity (≤2 ULP). Not thin-plate, not broad-crested, not sluice, not Manning, and not Q=Av. ≤2 ULP vs O3 applies only to the published tabulated ogee vectors. Not thin-plate, not broad-crested, not sluice, not Manning, and not Q=Av.",
      "max_error_ulp": 0,
      "table_sha256": "d932b4a60d5f27aea97d1af40f541d1f2c13997db6896ed539b65f566f880fb1"
    }
  },
  "numerical": {
    "representation": "IEEE-754 binary64",
    "tolerance": {
      "type": "ulp",
      "value": 2,
      "rationale": "Independent ogee identity vs IUT. ≤2 ULP declared a priori.",
      "declared_before_evaluation": true
    },
    "max_error_observed": 0,
    "claim_scope": "O2: USBR high-overflow ogee vs a separate-module identity (≤2 ULP). Not thin-plate, not broad-crested, not sluice, not Manning, and not Q=Av. ≤2 ULP vs O3 applies only to the published tabulated ogee vectors. Not thin-plate, not broad-crested, not sluice, not Manning, and not Q=Av."
  },
  "coverage": {
    "partitions": [
      {
        "id": "flow",
        "description": "flow mode",
        "exercised": true,
        "case_count": 21
      },
      {
        "id": "alias",
        "description": "unit alias",
        "exercised": true,
        "case_count": 1
      },
      {
        "id": "awkward",
        "description": "non-round crest",
        "exercised": true,
        "case_count": 1
      },
      {
        "id": "tall",
        "description": "taller head",
        "exercised": true,
        "case_count": 2
      },
      {
        "id": "invalid-domain",
        "description": "Cd, Manning n, or flume W",
        "exercised": true,
        "case_count": 3
      }
    ]
  },
  "reference": {
    "items": [
      {
        "class": "O1",
        "reference_scope": "model",
        "scope": "model",
        "label": "Ogee spillway"
      },
      {
        "class": "O3",
        "reference_scope": "expected_values",
        "scope": "expected_values",
        "label": "Precomputed mpmath ogee spillway (80 dps)",
        "engine": {
          "name": "ogee-spillway-mpmath-o3",
          "library": "mpmath 1.4.1",
          "mpmath_dps": 80,
          "precision_bits": 265,
          "independent_of_iut": true,
          "same_runtime_as_iut": false,
          "generator_version": "1.0.0",
          "generator_sha256": "1bc46a57fd4a73529e96d13ac1e59ff72ef6e41d43699b579cefab90a860ebf9",
          "table_sha256": "d932b4a60d5f27aea97d1af40f541d1f2c13997db6896ed539b65f566f880fb1"
        }
      },
      {
        "class": "O3",
        "reference_scope": "numerical_behavior",
        "scope": "numerical_behavior",
        "label": "Same O3 table vs IUT flow; ≤2 ULP on tabulated vectors only",
        "engine": {
          "name": "ogee-spillway-mpmath-o3",
          "library": "mpmath 1.4.1",
          "mpmath_dps": 80,
          "precision_bits": 265,
          "independent_of_iut": true,
          "same_runtime_as_iut": false,
          "generator_version": "1.0.0",
          "generator_sha256": "1bc46a57fd4a73529e96d13ac1e59ff72ef6e41d43699b579cefab90a860ebf9",
          "table_sha256": "d932b4a60d5f27aea97d1af40f541d1f2c13997db6896ed539b65f566f880fb1"
        }
      },
      {
        "class": "O2",
        "reference_scope": "expected_values",
        "scope": "expected_values",
        "label": "Separate-module ogee-spillway oracle",
        "engine": {
          "name": "ogee-spillway-reference",
          "precision_bits": 53,
          "independent_of_iut": true
        }
      },
      {
        "class": "O2",
        "reference_scope": "numerical_behavior",
        "scope": "numerical_behavior",
        "label": "Same O2 module backs ≤2 ULP ogee comparison",
        "engine": {
          "name": "ogee-spillway-reference",
          "precision_bits": 53,
          "independent_of_iut": true
        }
      }
    ]
  },
  "links": {
    "legacy_evidence": "https://www.calculatorx.com/evidence/physics.fluid.ogee_spillway/1.0.0.json",
    "evidence_page": "https://www.calculatorx.com/evidence/physics.fluid.ogee_spillway/1.0.0",
    "calculator": "https://www.calculatorx.com/calc/physics/ogee-spillway",
    "schema": "https://www.calculatorx.com/developers/cvp/schema/cvp-evidence-1.0.json",
    "protocol": "https://www.calculatorx.com/developers/cvp/spec/1.0",
    "manifest": "https://www.calculatorx.com/evidence/physics.fluid.ogee_spillway/1.0.0.cvp.json",
    "manifest_immutable": "https://www.calculatorx.com/evidence/physics.fluid.ogee_spillway/1.0.0/2026-09-26.o2-o3.cvp.json",
    "reproduce": "https://www.calculatorx.com/evidence/physics.fluid.ogee_spillway/reproduce",
    "manifest_core": "https://www.calculatorx.com/evidence/physics.fluid.ogee_spillway/1.0.0/2026-09-26.o2-o3.c52bed685698.cvp.json"
  },
  "disclosure": {
    "policy": "calculatorx-public-evidence-v1",
    "full_validation": "private",
    "representation": "summary"
  }
}
