{
  "capability_id": "mechanical.statics.bending_stress",
  "tool_id": "bending-stress",
  "engine": "bending-stress",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-23T21:48:01.334Z",
  "engine_build": "2026-09-23",
  "test_count": 6,
  "passed": 6,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 3,
      "passed": 3
    },
    "boundary": {
      "total": 3,
      "passed": 3
    },
    "property": {
      "total": 0,
      "passed": 0
    }
  },
  "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/bending-stress",
  "api": "https://www.calculatorx.com/api/v1/calc/bending-stress",
  "schema_input": "https://www.calculatorx.com/schemas/mechanical.statics.bending_stress.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/mechanical.statics.bending_stress.output.json",
  "assumptions": [],
  "limitations": [
    "One centroidal axis",
    "σ = M/S",
    "S = Ix/c when S is omitted",
    "Not a rectangle built from b and h",
    "Not transverse shear, deflection, or a plastic modulus"
  ],
  "boundary_conditions": [
    "missing M → MISSING_REQUIRED_INPUT",
    "missing S and missing Ix → MISSING_REQUIRED_INPUT",
    "S ≤ 0 or c ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "Ix < 0 → INVALID_INPUT"
  ],
  "sources": [
    {
      "title": "Hibbeler, Mechanics of Materials",
      "section": "Bending — flexure formula",
      "supports": "The elastic bending stress at a fiber is the moment divided by the elastic section modulus at that fiber.",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:291713ddc89c6c7e4540c5dc87110f09eb98615ed09f6e1faa213efe80e4eb08",
  "tests": [
    {
      "id": "golden-direct",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "M": 12,
        "S": 4
      },
      "expect": {
        "sigma": 3,
        "M": 12,
        "S": 4,
        "model": "bending_stress"
      },
      "expectWarning": null,
      "actual": {
        "model": "bending_stress",
        "M": 12,
        "S": 4,
        "sigma": 3,
        "solver": "elastic flexure",
        "convention": "σ = M/S on one centroidal axis. Positive M gives the stress sign at the fiber used to form S. S may be entered, or formed as Ix/c by the section-modulus engine. A rectangle built from b and h is the rectangular-section page. The plastic modulus of a rectangle is its own page."
      },
      "tol": 1e-12
    },
    {
      "id": "golden-ix",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "M": 24,
        "Ix": 36,
        "c": 3
      },
      "expect": {
        "sigma": 2,
        "S": 12,
        "Ix": 36,
        "c": 3
      },
      "expectWarning": null,
      "actual": {
        "model": "bending_stress",
        "M": 24,
        "S": 12,
        "Ix": 36,
        "c": 3,
        "sigma": 2,
        "solver": "section modulus",
        "convention": "σ = M/S on one centroidal axis. Positive M gives the stress sign at the fiber used to form S. S may be entered, or formed as Ix/c by the section-modulus engine. A rectangle built from b and h is the rectangular-section page. The plastic modulus of a rectangle is its own page."
      },
      "tol": 1e-12
    },
    {
      "id": "golden-sign",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "M": -12,
        "S": 4
      },
      "expect": {
        "sigma": -3,
        "S": 4
      },
      "expectWarning": null,
      "actual": {
        "model": "bending_stress",
        "M": -12,
        "S": 4,
        "sigma": -3,
        "solver": "elastic flexure",
        "convention": "σ = M/S on one centroidal axis. Positive M gives the stress sign at the fiber used to form S. S may be entered, or formed as Ix/c by the section-modulus engine. A rectangle built from b and h is the rectangular-section page. The plastic modulus of a rectangle is its own page."
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-modulus",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "M": 12,
        "S": 0
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "Section modulus S must be positive."
    },
    {
      "id": "boundary-moment",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "M": -1,
        "Ix": 36,
        "c": 0
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "cy must be positive."
    },
    {
      "id": "boundary-missing",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "S": 4
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "M is required."
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 6,
      "total": 6,
      "golden": 3,
      "boundary": 3,
      "property": 0
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-09-23T14:32:49.903Z",
  "rendered_at": "2026-09-23T21:48:01.334Z",
  "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": "a9646269e346733a5a8bba184308a67f76135bdcae9bacf0e293bfe0757da00f",
      "output_schema_sha256": "63e782554c686f896cea624f8f251f12f5d68f8495a8c44ad2cd25e55a4dcd75",
      "evidence_sha256": "4e3272f170094f607aabc891a80ddeef29fe71ff1c3548a530d49ed2b11fa8a7",
      "evidence_core_sha256": "4e3272f170094f607aabc891a80ddeef29fe71ff1c3548a530d49ed2b11fa8a7",
      "capability_sha256": "756ada673e113c6f184ff2bf809e620a42653e42c19dabbd617aac8ddd28b97f",
      "engine_sha256": "9c01357c59289b486db75219c319b48412c2e4bcd3a700b0d2dd8145ce528650",
      "mcp_contract_sha256": "70bebadd7ed143df4a08cee8eb28a96620802497fda67dd843f4f57c33fd45d3"
    },
    "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"
  }
}
