{
  "capability_id": "mechanical.statics.incline_horizontal",
  "tool_id": "incline-horizontal",
  "engine": "incline-horizontal",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-23T14:21:08.539Z",
  "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/incline-horizontal",
  "api": "https://www.calculatorx.com/api/v1/calc/incline-horizontal",
  "schema_input": "https://www.calculatorx.com/schemas/mechanical.statics.incline_horizontal.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/mechanical.statics.incline_horizontal.output.json",
  "assumptions": [],
  "limitations": [
    "P is horizontal and positive toward the uphill side",
    "Impending slip, with friction opposing the stated direction",
    "The normal is W cosθ + P sinθ",
    "Not a force parallel to the plane, tipping, a wedge, a screw, or a belt"
  ],
  "boundary_conditions": [
    "missing W, θ, μ, or direction → MISSING_REQUIRED_INPUT",
    "W ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "θ outside [0, 90) or μ < 0 → VALUE_OUT_OF_RANGE",
    "direction other than up or down → INVALID_INPUT"
  ],
  "sources": [
    {
      "title": "Hibbeler, Engineering Mechanics: Statics",
      "section": "Dry friction — a horizontal force on an inclined block",
      "supports": "A horizontal force resolves into P cosθ along the plane and P sinθ into the surface. Impending slip sets the friction magnitude to μN.",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:cac70b0cee6b7cc8e940feffecedde673069ed5d50cd1a1c4fab1f800496ff65",
  "tests": [
    {
      "id": "golden-level",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "W": 100,
        "theta_deg": 0,
        "mu": 0.25,
        "direction": "up"
      },
      "expect": {
        "P": 25,
        "N": 100,
        "F": -25,
        "direction": "up",
        "model": "incline_horizontal"
      },
      "expectWarning": null,
      "actual": {
        "model": "incline_horizontal",
        "W": 100,
        "theta_deg": 0,
        "mu": 0.25,
        "direction": "up",
        "P": 25,
        "N": 100,
        "F": -25,
        "solver": "friction + math.linear_algebra solve order 2",
        "convention": "P is horizontal and positive toward the uphill side. F is positive up the plane. direction=up is impending motion up the plane, so friction acts down. The normal is W cosθ + P sinθ. This is not a force parallel to the plane."
      },
      "tol": 1e-12
    },
    {
      "id": "golden-down",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "W": 100,
        "theta_deg": 0,
        "mu": 0.25,
        "direction": "down"
      },
      "expect": {
        "P": -25,
        "N": 100,
        "F": 25,
        "direction": "down"
      },
      "expectWarning": null,
      "actual": {
        "model": "incline_horizontal",
        "W": 100,
        "theta_deg": 0,
        "mu": 0.25,
        "direction": "down",
        "P": -25,
        "N": 100,
        "F": 25,
        "solver": "friction + math.linear_algebra solve order 2",
        "convention": "P is horizontal and positive toward the uphill side. F is positive up the plane. direction=up is impending motion up the plane, so friction acts down. The normal is W cosθ + P sinθ. This is not a force parallel to the plane."
      },
      "tol": 1e-12
    },
    {
      "id": "golden-angle",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "W": 100,
        "theta_deg": 45,
        "mu": 0,
        "direction": "up"
      },
      "expect": {
        "P": 100,
        "N": 141.4213562373095,
        "F": 0
      },
      "expectWarning": null,
      "actual": {
        "model": "incline_horizontal",
        "W": 100,
        "theta_deg": 45,
        "mu": 0,
        "direction": "up",
        "P": 100,
        "N": 141.421356237,
        "F": 0,
        "solver": "friction + math.linear_algebra solve order 2",
        "convention": "P is horizontal and positive toward the uphill side. F is positive up the plane. direction=up is impending motion up the plane, so friction acts down. The normal is W cosθ + P sinθ. This is not a force parallel to the plane."
      },
      "tol": 1e-9
    },
    {
      "id": "boundary-weight",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "W": 0,
        "theta_deg": 0,
        "mu": 0.25,
        "direction": "up"
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "Weight W must be positive."
    },
    {
      "id": "boundary-angle",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "W": 100,
        "theta_deg": 90,
        "mu": 0.25,
        "direction": "up"
      },
      "expectError": "VALUE_OUT_OF_RANGE",
      "code": "VALUE_OUT_OF_RANGE",
      "error": "theta_deg must lie in [0, 90)."
    },
    {
      "id": "boundary-mu",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "W": 100,
        "theta_deg": 0,
        "mu": -0.1,
        "direction": "up"
      },
      "expectError": "VALUE_OUT_OF_RANGE",
      "code": "VALUE_OUT_OF_RANGE",
      "error": "mu must be non-negative."
    },
    {
      "id": "boundary-missing",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "W": 100,
        "theta_deg": 0,
        "mu": 0.25
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "direction 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:58:27.893Z",
  "rendered_at": "2026-09-23T14:21:08.539Z",
  "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": "01093b4048c24c94c5431590c45f3378747b89d9ea8db710e8f242563542e654",
      "output_schema_sha256": "9af856454c720736f03db70393a509877653212320ef543e7adc08269ef30647",
      "evidence_sha256": "572ae75038f3a162bafc17e732618d252c4367a10744cb46966e83a17de0b2b9",
      "evidence_core_sha256": "572ae75038f3a162bafc17e732618d252c4367a10744cb46966e83a17de0b2b9",
      "capability_sha256": "ea4826ea49d4238ba09c579171b62f1933735a72f13f3c767a92980b40303b58",
      "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"
  }
}
