{
  "capability_id": "mechanical.statics.beam_end_moments_at_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-at-mpmath-o3",
    "generator_version": "1.0.0",
    "generator_sha256": "d9c6325516311af66864a774d695561ad4bbfdb298771f5e002686b44e17c269",
    "table_sha256": "619283974eacfad98e805ed625a98445e7df08092f31408ff0369a1975047fc3",
    "seed": "20260927.beam-end-moments-at-o3",
    "independent_of_iut": true
  },
  "claim_scope": "O2: delta vs a separate-module identity (≤2 ULP). Not midspan under the same equal end moments, and not a single end moment. ≤2 ULP vs O3 applies only to the published tabulated beam-end-moments-at vectors.",
  "commands": {
    "regenerate_table": "python3 generate-beam-end-moments-at-o3.py",
    "regenerate_table_repo": "python3 scripts/lib/cvp/oracles/generate-beam-end-moments-at-o3.py",
    "independent_rest": "Compare POST /api/v1/calc/beam-end-moments-at against /developers/cvp/reproduce/beam-end-moments-at-o3-tables.json",
    "run_cvp": "npm run cvp:run -- --capability mechanical.statics.beam_end_moments_at_deflection",
    "rest_example": "POST https://www.calculatorx.com/api/v1/calc/beam-end-moments-at"
  },
  "public_files": {
    "table": "/developers/cvp/reproduce/beam-end-moments-at-o3-tables.json",
    "table_url": "https://www.calculatorx.com/developers/cvp/reproduce/beam-end-moments-at-o3-tables.json",
    "generator": "/developers/cvp/reproduce/generate-beam-end-moments-at-o3.py",
    "generator_url": "https://www.calculatorx.com/developers/cvp/reproduce/generate-beam-end-moments-at-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_at_deflection/1.0.0.cvp.json",
    "this_file": "/evidence/mechanical.statics.beam_end_moments_at_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": "16",
        "x": "1",
        "L": "2",
        "E": "1",
        "I": "1"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 8,
        "M": 16,
        "x": 1,
        "L": 2,
        "E": 1,
        "I": 1
      },
      "actual": {
        "model": "beam_end_moments_at_deflection",
        "M": 16,
        "x": 1,
        "L": 2,
        "E": 1,
        "I": 1,
        "delta": 8,
        "solver": "equal end moments at a station",
        "convention": "Equal sagging end moments. δ = M x (L − x)/(2 E I). x = L/2 is the midspan page δ = M L²/(8 E I)."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-SI",
      "kind": "SI",
      "inputs": {
        "M": "1000",
        "x": "1",
        "L": "2",
        "E": "200000000000",
        "I": "0.00001"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.00025,
        "M": 1000,
        "x": 1,
        "L": 2,
        "E": 200000000000,
        "I": 0.00001
      },
      "actual": {
        "model": "beam_end_moments_at_deflection",
        "M": 1000,
        "x": 1,
        "L": 2,
        "E": 200000000000,
        "I": 0.00001,
        "delta": 0.00024999999999999995,
        "solver": "equal end moments at a station",
        "convention": "Equal sagging end moments. δ = M x (L − x)/(2 E I). x = L/2 is the midspan page δ = M L²/(8 E I)."
      },
      "error_ulp": 1,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-alias",
      "kind": "alias",
      "inputs": {
        "moment": "32",
        "span": "2",
        "modulus": "1",
        "Ix": "1",
        "x": "1"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 16,
        "M": 32,
        "x": 1,
        "L": 2,
        "E": 1,
        "I": 1
      },
      "actual": {
        "model": "beam_end_moments_at_deflection",
        "M": 32,
        "x": 1,
        "L": 2,
        "E": 1,
        "I": 1,
        "delta": 16,
        "solver": "equal end moments at a station",
        "convention": "Equal sagging end moments. δ = M x (L − x)/(2 E I). x = L/2 is the midspan page δ = M L²/(8 E I)."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-awkward",
      "kind": "awkward",
      "inputs": {
        "M": "13.7",
        "x": "0.8",
        "L": "2",
        "E": "210000",
        "I": "0.83"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.000037728055077452665,
        "M": 13.7,
        "x": 0.8,
        "L": 2,
        "E": 210000,
        "I": 0.83
      },
      "actual": {
        "model": "beam_end_moments_at_deflection",
        "M": 13.7,
        "x": 0.8,
        "L": 2,
        "E": 210000,
        "I": 0.83,
        "delta": 0.00003772805507745267,
        "solver": "equal end moments at a station",
        "convention": "Equal sagging end moments. δ = M x (L − x)/(2 E I). x = L/2 is the midspan page δ = M L²/(8 E I)."
      },
      "error_ulp": 1,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-neg",
      "kind": "signed",
      "inputs": {
        "M": "-16",
        "x": "1",
        "L": "2",
        "E": "1",
        "I": "1"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": -8,
        "M": -16,
        "x": 1,
        "L": 2,
        "E": 1,
        "I": 1
      },
      "actual": {
        "model": "beam_end_moments_at_deflection",
        "M": -16,
        "x": 1,
        "L": 2,
        "E": 1,
        "I": 1,
        "delta": -8,
        "solver": "equal end moments at a station",
        "convention": "Equal sagging end moments. δ = M x (L − x)/(2 E I). x = L/2 is the midspan page δ = M L²/(8 E I)."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-small",
      "kind": "small",
      "inputs": {
        "M": "10",
        "x": "0.5",
        "L": "2",
        "E": "1000",
        "I": "0.01"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.375,
        "M": 10,
        "x": 0.5,
        "L": 2,
        "E": 1000,
        "I": 0.01
      },
      "actual": {
        "model": "beam_end_moments_at_deflection",
        "M": 10,
        "x": 0.5,
        "L": 2,
        "E": 1000,
        "I": 0.01,
        "delta": 0.375,
        "solver": "equal end moments at a station",
        "convention": "Equal sagging end moments. δ = M x (L − x)/(2 E I). x = L/2 is the midspan page δ = M L²/(8 E I)."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-stiff",
      "kind": "stiff",
      "inputs": {
        "M": "500",
        "x": "1",
        "L": "2",
        "E": "210e9",
        "I": "2e-4"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.0000059523809523809525,
        "M": 500,
        "x": 1,
        "L": 2,
        "E": 210000000000,
        "I": 0.0002
      },
      "actual": {
        "model": "beam_end_moments_at_deflection",
        "M": 500,
        "x": 1,
        "L": 2,
        "E": 210000000000,
        "I": 0.0002,
        "delta": 0.0000059523809523809525,
        "solver": "equal end moments at a station",
        "convention": "Equal sagging end moments. δ = M x (L − x)/(2 E I). x = L/2 is the midspan page δ = M L²/(8 E I)."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    },
    {
      "id": "o3-long",
      "kind": "long",
      "inputs": {
        "M": "200",
        "x": "1",
        "L": "4",
        "E": "70e9",
        "I": "5e-5"
      },
      "expected_f64": {
        "oracle_layer": "analytic",
        "delta": 0.00008571428571428571,
        "M": 200,
        "x": 1,
        "L": 4,
        "E": 70000000000,
        "I": 0.00005
      },
      "actual": {
        "model": "beam_end_moments_at_deflection",
        "M": 200,
        "x": 1,
        "L": 4,
        "E": 70000000000,
        "I": 0.00005,
        "delta": 0.00008571428571428571,
        "solver": "equal end moments at a station",
        "convention": "Equal sagging end moments. δ = M x (L − x)/(2 E I). x = L/2 is the midspan page δ = M L²/(8 E I)."
      },
      "error_ulp": 0,
      "threshold_ulp": 2,
      "ok": true
    }
  ]
}
