{
  "capability_id": "mechanical.statics.section_modulus",
  "tool_id": "section-modulus",
  "engine": "section-modulus",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-23T10:57:00.182Z",
  "engine_build": "2026-09-23",
  "test_count": 6,
  "passed": 6,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 2,
      "passed": 2
    },
    "boundary": {
      "total": 4,
      "passed": 4
    },
    "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/section-modulus",
  "api": "https://www.calculatorx.com/api/v1/calc/section-modulus",
  "schema_input": "https://www.calculatorx.com/schemas/mechanical.statics.section_modulus.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/mechanical.statics.section_modulus.output.json",
  "assumptions": [],
  "limitations": [
    "Sx = Ix/cy and Sy = Iy/cx about axes parallel to x and y",
    "cx and cy are distances from the composite centroid to the extreme fiber",
    "A blank distance omits that modulus",
    "Negative area is a hole",
    "Not bending stress, plastic modulus, principal-axis modulus, or beam deflection"
  ],
  "boundary_conditions": [
    "no parts → MISSING_REQUIRED_INPUT",
    "neither cx nor cy → MISSING_REQUIRED_INPUT",
    "cx or cy ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "Ix < 0 when cy is set, or Iy < 0 when cx is set → INVALID_INPUT"
  ],
  "sources": [
    {
      "title": "Hibbeler, Engineering Mechanics: Statics",
      "section": "Moments of inertia",
      "supports": "Elastic section modulus S = I/c, with c the distance from the centroid to the extreme fiber",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:117e15ea5bb8b757f63e45efbdbdd1a80ef773d9e0745233eed1025076b817b2",
  "tests": [
    {
      "id": "golden-both",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "parts": "16,4,4,0,0",
        "cx": 1,
        "cy": 2
      },
      "expect": {
        "Ix": 16,
        "Iy": 4,
        "Sx": 8,
        "Sy": 4,
        "area": 4,
        "x_bar": 0,
        "y_bar": 0,
        "model": "section_modulus"
      },
      "expectWarning": null,
      "actual": {
        "model": "section_modulus",
        "area": 4,
        "x_bar": 0,
        "y_bar": 0,
        "Ix": 16,
        "Iy": 4,
        "Sx": 8,
        "Sy": 4,
        "cx": 1,
        "cy": 2,
        "n": 1,
        "solver": "area moment",
        "convention": "Sx = Ix/cy and Sy = Iy/cx about the composite centroid. cx and cy are distances to the extreme fiber."
      },
      "tol": 1e-12
    },
    {
      "id": "golden-sx",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "parts": "1,0,1,0,0; 1,0,1,0,2",
        "cy": 1
      },
      "expect": {
        "Ix": 4,
        "Sx": 4,
        "Sy": null,
        "y_bar": 1
      },
      "expectWarning": null,
      "actual": {
        "model": "section_modulus",
        "area": 2,
        "x_bar": 0,
        "y_bar": 1,
        "Ix": 4,
        "Iy": 0,
        "Sx": 4,
        "Sy": null,
        "cx": null,
        "cy": 1,
        "n": 2,
        "solver": "area moment",
        "convention": "Sx = Ix/cy and Sy = Iy/cx about the composite centroid. cx and cy are distances to the extreme fiber."
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-hole",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "parts": "8,8,4,0,0; -2,-2,-1,0,0",
        "cx": 1,
        "cy": 1
      },
      "expect": {
        "area": 3,
        "Ix": 6,
        "Iy": 6,
        "Sx": 6,
        "Sy": 6
      },
      "expectWarning": null,
      "actual": {
        "model": "section_modulus",
        "area": 3,
        "x_bar": 0,
        "y_bar": 0,
        "Ix": 6,
        "Iy": 6,
        "Sx": 6,
        "Sy": 6,
        "cx": 1,
        "cy": 1,
        "n": 2,
        "solver": "area moment",
        "convention": "Sx = Ix/cy and Sy = Iy/cx about the composite centroid. cx and cy are distances to the extreme fiber."
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-empty",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "parts": "16,4,4,0,0"
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "Enter cx, cy, or both."
    },
    {
      "id": "boundary-fiber",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "parts": "16,4,4,0,0",
        "cy": 0
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "cy must be positive."
    },
    {
      "id": "boundary-negative",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "parts": "-4,4,4,0,0",
        "cy": 2
      },
      "expectError": "INVALID_INPUT",
      "code": "INVALID_INPUT",
      "error": "Ix must be non-negative to form Sx."
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 6,
      "total": 6,
      "golden": 2,
      "boundary": 4,
      "property": 0
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-09-23T09:48:44.481Z",
  "rendered_at": "2026-09-23T10:57:00.182Z",
  "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": "ed2807627c577687faf96f87490498e214c45a3c31ca37389075874331a69f67",
      "output_schema_sha256": "14438c93c6ef06a3f75af933311ee734598a7240873f86d85f461cd2154fa652",
      "evidence_sha256": "21b2ed57e0bdd66bae32e7cd3a1a87df551215fd8b3fba89620ae697f8a6e5d5",
      "evidence_core_sha256": "21b2ed57e0bdd66bae32e7cd3a1a87df551215fd8b3fba89620ae697f8a6e5d5",
      "capability_sha256": "2994af4f56199f527adc65546e8e8f873a358a436209bdd4058fab2a64d7b537",
      "engine_sha256": "2834c6bc0e697b4d1e17766004f95cbfb57722d30aac4f3245109e79ef19ffae",
      "mcp_contract_sha256": "7015b0a59a475803dcfdfe80a660fa9d4d216cc36bd496d9466d1918d64ff186"
    },
    "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"
  }
}
