{
  "capability_id": "mechanical.statics.beam_end_moments_deflection",
  "calculation_version": "1.0.0",
  "protocol_version": "1.0.0-proposed",
  "protocol_document_status": "proposed",
  "verification_revision": "2026-09-27.o2-o3",
  "oracle": {
    "class": "O3",
    "library": "mpmath 1.4.1",
    "mpmath_dps": 80,
    "backend": null,
    "rounding": null,
    "generator_id": "beam-end-moments-mpmath-o3",
    "generator_version": "1.0.0",
    "generator_sha256": "ad2a1924dd2b988dc207440fa56c9fe81fd926c11bfb797a799580ef977c733e",
    "table_sha256": "9639a71c443d90a3bd3036a4b93c08de949533e42a5826a70b160bd13b2bd0df",
    "seed": "20260927.beam-end-moments-o3",
    "independent_of_iut": true
  },
  "claim_scope": "O2: delta vs a separate-module identity (≤2 ULP). Not a cantilever, not a concentrated load, and not a station curve. ≤2 ULP vs O3 applies only to the published tabulated beam-end-moments vectors.",
  "commands": {
    "regenerate_table": "python3 generate-beam-end-moments-o3.py",
    "regenerate_table_repo": "python3 scripts/lib/cvp/oracles/generate-beam-end-moments-o3.py",
    "independent_rest": "Compare POST /api/v1/calc/beam-end-moments against /developers/cvp/reproduce/beam-end-moments-o3-tables.json",
    "run_cvp": "npm run cvp:run -- --capability mechanical.statics.beam_end_moments_deflection",
    "rest_example": "POST https://www.calculatorx.com/api/v1/calc/beam-end-moments"
  },
  "public_files": {
    "table": "/developers/cvp/reproduce/beam-end-moments-o3-tables.json",
    "table_url": "https://www.calculatorx.com/developers/cvp/reproduce/beam-end-moments-o3-tables.json",
    "generator": "/developers/cvp/reproduce/generate-beam-end-moments-o3.py",
    "generator_url": "https://www.calculatorx.com/developers/cvp/reproduce/generate-beam-end-moments-o3.py",
    "checker": "/developers/cvp/reproduce/check-math-o3-rest.py",
    "checker_url": "https://www.calculatorx.com/developers/cvp/reproduce/check-math-o3-rest.py",
    "manifest": "/evidence/mechanical.statics.beam_end_moments_deflection/1.0.0.cvp.json",
    "this_file": "/evidence/mechanical.statics.beam_end_moments_deflection/reproduce.json"
  },
  "result_summary": {
    "passed": 8,
    "total": 8,
    "failed": 0,
    "max_error_ulp": 1,
    "threshold_ulp": 2,
    "max_threshold_ulp": 2
  },
  "vectors": [
    {
      "id": "o3-check",
      "kind": "check",
      "inputs": {
        "M": "8",
        "L": "2",
        "E": "1",
        "I": "1"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 4,
        "M": 8,
        "L": 2,
        "E": 1,
        "I": 1
      },
      "actual": {
        "model": "beam_end_moments_deflection",
        "M": 8,
        "L": 2,
        "E": 1,
        "I": 1,
        "delta": 4,
        "solver": "simply supported equal end moments",
        "convention": "Simply supported span with equal end moments that both sag the span. Midspan δ = M L²/(8 E I). Positive M is the positive deflection direction. I is an input. One end moment is its own page. A point load and a uniform load are their own pages."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-SI",
      "kind": "SI",
      "inputs": {
        "M": "1000",
        "L": "2",
        "E": "200e9",
        "I": "1e-5"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.00025,
        "M": 1000,
        "L": 2,
        "E": 200000000000,
        "I": 0.00001
      },
      "actual": {
        "model": "beam_end_moments_deflection",
        "M": 1000,
        "L": 2,
        "E": 200000000000,
        "I": 0.00001,
        "delta": 0.00024999999999999995,
        "solver": "simply supported equal end moments",
        "convention": "Simply supported span with equal end moments that both sag the span. Midspan δ = M L²/(8 E I). Positive M is the positive deflection direction. I is an input. One end moment is its own page. A point load and a uniform load are their own pages."
      },
      "error_ulp": 1,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-alias",
      "kind": "alias",
      "inputs": {
        "moment": "16",
        "span": "2",
        "modulus": "1",
        "Ix": "1"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 8,
        "M": 16,
        "L": 2,
        "E": 1,
        "I": 1
      },
      "actual": {
        "model": "beam_end_moments_deflection",
        "M": 16,
        "L": 2,
        "E": 1,
        "I": 1,
        "delta": 8,
        "solver": "simply supported equal end moments",
        "convention": "Simply supported span with equal end moments that both sag the span. Midspan δ = M L²/(8 E I). Positive M is the positive deflection direction. I is an input. One end moment is its own page. A point load and a uniform load are their own pages."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-awkward",
      "kind": "awkward",
      "inputs": {
        "M": "13.7",
        "L": "3.5",
        "E": "210000",
        "I": "0.83"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.00012035642570281124,
        "M": 13.7,
        "L": 3.5,
        "E": 210000,
        "I": 0.83
      },
      "actual": {
        "model": "beam_end_moments_deflection",
        "M": 13.7,
        "L": 3.5,
        "E": 210000,
        "I": 0.83,
        "delta": 0.00012035642570281124,
        "solver": "simply supported equal end moments",
        "convention": "Simply supported span with equal end moments that both sag the span. Midspan δ = M L²/(8 E I). Positive M is the positive deflection direction. I is an input. One end moment is its own page. A point load and a uniform load are their own pages."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-neg",
      "kind": "signed",
      "inputs": {
        "M": "-8",
        "L": "2",
        "E": "1",
        "I": "1"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": -4,
        "M": -8,
        "L": 2,
        "E": 1,
        "I": 1
      },
      "actual": {
        "model": "beam_end_moments_deflection",
        "M": -8,
        "L": 2,
        "E": 1,
        "I": 1,
        "delta": -4,
        "solver": "simply supported equal end moments",
        "convention": "Simply supported span with equal end moments that both sag the span. Midspan δ = M L²/(8 E I). Positive M is the positive deflection direction. I is an input. One end moment is its own page. A point load and a uniform load are their own pages."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-small",
      "kind": "small",
      "inputs": {
        "M": "10",
        "L": "1",
        "E": "1000",
        "I": "0.01"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.125,
        "M": 10,
        "L": 1,
        "E": 1000,
        "I": 0.01
      },
      "actual": {
        "model": "beam_end_moments_deflection",
        "M": 10,
        "L": 1,
        "E": 1000,
        "I": 0.01,
        "delta": 0.125,
        "solver": "simply supported equal end moments",
        "convention": "Simply supported span with equal end moments that both sag the span. Midspan δ = M L²/(8 E I). Positive M is the positive deflection direction. I is an input. One end moment is its own page. A point load and a uniform load are their own pages."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-stiff",
      "kind": "stiff",
      "inputs": {
        "M": "500",
        "L": "1.5",
        "E": "210e9",
        "I": "2e-4"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.0000033482142857142855,
        "M": 500,
        "L": 1.5,
        "E": 210000000000,
        "I": 0.0002
      },
      "actual": {
        "model": "beam_end_moments_deflection",
        "M": 500,
        "L": 1.5,
        "E": 210000000000,
        "I": 0.0002,
        "delta": 0.0000033482142857142855,
        "solver": "simply supported equal end moments",
        "convention": "Simply supported span with equal end moments that both sag the span. Midspan δ = M L²/(8 E I). Positive M is the positive deflection direction. I is an input. One end moment is its own page. A point load and a uniform load are their own pages."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-long",
      "kind": "long",
      "inputs": {
        "M": "200",
        "L": "4",
        "E": "70e9",
        "I": "5e-5"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.00011428571428571428,
        "M": 200,
        "L": 4,
        "E": 70000000000,
        "I": 0.00005
      },
      "actual": {
        "model": "beam_end_moments_deflection",
        "M": 200,
        "L": 4,
        "E": 70000000000,
        "I": 0.00005,
        "delta": 0.00011428571428571428,
        "solver": "simply supported equal end moments",
        "convention": "Simply supported span with equal end moments that both sag the span. Midspan δ = M L²/(8 E I). Positive M is the positive deflection direction. I is an input. One end moment is its own page. A point load and a uniform load are their own pages."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    }
  ]
}
