{
  "capability_id": "mechanical.statics.ladder_friction",
  "tool_id": "ladder-friction",
  "engine": "ladder-friction",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-23T14:21:08.537Z",
  "engine_build": "2026-09-23",
  "test_count": 7,
  "passed": 7,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 3,
      "passed": 3
    },
    "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/ladder-friction",
  "api": "https://www.calculatorx.com/api/v1/calc/ladder-friction",
  "schema_input": "https://www.calculatorx.com/schemas/mechanical.statics.ladder_friction.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/mechanical.statics.ladder_friction.output.json",
  "assumptions": [],
  "limitations": [
    "The ladder is uniform and the weight acts at mid-length",
    "The wall is smooth and the floor is rough",
    "θ is the angle with the floor",
    "Not a person on the ladder, a rough wall, a wedge, a screw, or a belt"
  ],
  "boundary_conditions": [
    "missing W or θ → MISSING_REQUIRED_INPUT",
    "W ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "θ ≤ 0 or θ ≥ 90 → VALUE_OUT_OF_RANGE"
  ],
  "sources": [
    {
      "title": "Hibbeler, Engineering Mechanics: Statics",
      "section": "Dry friction — ladder against a smooth wall",
      "supports": "For a uniform ladder the floor normal equals the weight, and the minimum floor coefficient is 1/(2 tanθ) when the wall is smooth",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:104540251e29801fbd044fc76d345a2874113b5a642653e0c6d9d688f9be245d",
  "tests": [
    {
      "id": "golden-45",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "W": 100,
        "theta_deg": 45
      },
      "expect": {
        "mu_min": 0.5,
        "N": 100,
        "F": 50,
        "B": 50,
        "model": "ladder_friction"
      },
      "expectWarning": null,
      "actual": {
        "model": "ladder_friction",
        "W": 100,
        "theta_deg": 45,
        "N": 100,
        "F": 50,
        "B": 50,
        "mu_min": 0.5,
        "solver": "friction + math.linear_algebra solve order 3",
        "convention": "Uniform ladder, weight at mid-length. θ is the angle with the floor. The wall is smooth. F is the floor friction toward the wall, N is the floor normal, and B is the wall reaction. μ_min = F/N."
      },
      "tol": 1e-12
    },
    {
      "id": "golden-60",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "W": 100,
        "theta_deg": 60
      },
      "expect": {
        "mu_min": 0.2886751345948129,
        "N": 100,
        "F": 28.86751345948129,
        "B": 28.86751345948129
      },
      "expectWarning": null,
      "actual": {
        "model": "ladder_friction",
        "W": 100,
        "theta_deg": 60,
        "N": 100,
        "F": 28.8675134595,
        "B": 28.8675134595,
        "mu_min": 0.288675134595,
        "solver": "friction + math.linear_algebra solve order 3",
        "convention": "Uniform ladder, weight at mid-length. θ is the angle with the floor. The wall is smooth. F is the floor friction toward the wall, N is the floor normal, and B is the wall reaction. μ_min = F/N."
      },
      "tol": 1e-9
    },
    {
      "id": "golden-30",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "W": 200,
        "theta_deg": 30
      },
      "expect": {
        "mu_min": 0.8660254037844386,
        "N": 200,
        "F": 173.20508075688772,
        "B": 173.20508075688772
      },
      "expectWarning": null,
      "actual": {
        "model": "ladder_friction",
        "W": 200,
        "theta_deg": 30,
        "N": 200,
        "F": 173.205080757,
        "B": 173.205080757,
        "mu_min": 0.8660254037849999,
        "solver": "friction + math.linear_algebra solve order 3",
        "convention": "Uniform ladder, weight at mid-length. θ is the angle with the floor. The wall is smooth. F is the floor friction toward the wall, N is the floor normal, and B is the wall reaction. μ_min = F/N."
      },
      "tol": 1e-9
    },
    {
      "id": "boundary-weight",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "W": 0,
        "theta_deg": 45
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "Weight W must be positive."
    },
    {
      "id": "boundary-flat",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "W": 100,
        "theta_deg": 0
      },
      "expectError": "VALUE_OUT_OF_RANGE",
      "code": "VALUE_OUT_OF_RANGE",
      "error": "theta_deg must lie in (0, 90)."
    },
    {
      "id": "boundary-vertical",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "W": 100,
        "theta_deg": 90
      },
      "expectError": "VALUE_OUT_OF_RANGE",
      "code": "VALUE_OUT_OF_RANGE",
      "error": "theta_deg must lie in (0, 90)."
    },
    {
      "id": "boundary-angle",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "W": 100
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "theta_deg is required."
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 7,
      "total": 7,
      "golden": 3,
      "boundary": 4,
      "property": 0
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-09-23T12:19:51.658Z",
  "rendered_at": "2026-09-23T14:21:08.537Z",
  "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": "89e03cf0828de9f11e3e3793e412da96d6e951ce8b2bf466c874f7d756fda22f",
      "output_schema_sha256": "bad7c25025c3d3a25ae61660a48e24c5609e7a1c3ec034ea24a7ffd0eb3bcde5",
      "evidence_sha256": "f66d285f6e0a332ac23cceffa88779830dd969e49839510fc1ef82020ffae263",
      "evidence_core_sha256": "f66d285f6e0a332ac23cceffa88779830dd969e49839510fc1ef82020ffae263",
      "capability_sha256": "0631e2ebe86e43265d91044ecdfe1aca14f6628df8d74db2154fcb05e1181a6f",
      "engine_sha256": "208304ca4712067561139ce40e8e989b08ad769a073c83f960c49734a91d8b98",
      "mcp_contract_sha256": "c07b6ccec97dcc960230a1aa48fcea3aad2d3b93ce113ae07c095579f88cbc3b"
    },
    "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"
  }
}
