{
  "capability_id": "math.geometry.solid",
  "tool_id": "solid-geometry",
  "engine": "solid-geometry",
  "calculation_version": "1.1.0",
  "generated_at": "2026-09-20T09:07:29.781Z",
  "engine_build": "2026-09-20",
  "test_count": 16,
  "passed": 16,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 5,
      "passed": 5
    },
    "boundary": {
      "total": 3,
      "passed": 3
    },
    "property": {
      "total": 8,
      "passed": 8
    }
  },
  "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/math/solid-geometry",
  "api": "https://www.calculatorx.com/api/v1/calc/solid-geometry",
  "schema_input": "https://www.calculatorx.com/schemas/math.geometry.solid.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/math.geometry.solid.output.json",
  "assumptions": [
    "Euclidean 3-space",
    "Right circular solids",
    "Ring torus R > r",
    "Not the circle-only page",
    "Not a vector",
    "Not ISO 5167-5",
    "Not prism / pyramid",
    "Not CAS"
  ],
  "limitations": [
    "Right circular solids only; not oblique",
    "Not the circle-only page — 2-D circle stays on math.geometry.circle",
    "Not a vector — math.vector is R²/R³ algebra",
    "Not ISO 5167-5 cone meter (physics.fluid.iso_cone)",
    "Torus is a ring torus: major R > tube r; horn/spindle out of scope",
    "Right circular frustum needs R,r,h>0; r=R recovers a cylinder; not a cone page",
    "Prism / pyramid / regular solids later on this engine",
    "unknown mode (including cas, vector, iso-cone) → INVALID_MODE"
  ],
  "boundary_conditions": [
    "r ≤ 0 or h ≤ 0 or R ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "torus R ≤ r → INVALID_INPUT",
    "frustum R ≤ 0 or r ≤ 0 or h ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "unknown mode → INVALID_MODE"
  ],
  "sources": [
    "ISO 80000-2:2019 Quantities and units — Mathematics"
  ],
  "methods": [],
  "fingerprint": "sha256:36f90431305d9ba308e2db0667766b67622df49a6d97ff623e729bdace267639",
  "tests": [
    {
      "id": "golden-unit-sphere",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "sphere",
        "r": 1
      },
      "expect": {
        "volume": 4.18879020479,
        "surface": 12.5663706144
      },
      "expectWarning": null,
      "actual": {
        "mode": "sphere",
        "r": 1,
        "volume": 4.18879020479,
        "surface": 12.5663706144,
        "formula": "V = (4/3)πr³,  A = 4πr²"
      },
      "tol": null
    },
    {
      "id": "golden-cone-345",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "cone",
        "r": 3,
        "h": 4
      },
      "expect": {
        "slant": 5,
        "volume": 37.6991118431
      },
      "expectWarning": null,
      "actual": {
        "mode": "cone",
        "r": 3,
        "h": 4,
        "slant": 5,
        "volume": 37.6991118431,
        "lateral": 47.1238898038,
        "surface": 75.3982236862,
        "formula": "V = (1/3)πr²h,  l = √(r²+h²)"
      },
      "tol": null
    },
    {
      "id": "golden-unit-cylinder",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "cylinder",
        "r": 1,
        "h": 1
      },
      "expect": {
        "volume": 3.14159265359
      },
      "expectWarning": null,
      "actual": {
        "mode": "cylinder",
        "r": 1,
        "h": 1,
        "volume": 3.14159265359,
        "lateral": 6.28318530718,
        "surface": 12.5663706144,
        "formula": "V = πr²h,  A = 2πr(r+h)"
      },
      "tol": null
    },
    {
      "id": "boundary-solid-mode",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "cas",
        "r": 1
      },
      "expectError": "INVALID_MODE",
      "code": "INVALID_MODE",
      "error": "mode must be sphere, cylinder, cone, torus, or frustum. Not the circle-only page, not a vector, not ISO 5167-5, not CAS."
    },
    {
      "id": "boundary-torus-horn",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "torus",
        "R": 1,
        "r": 1
      },
      "expectError": "INVALID_INPUT",
      "code": "INVALID_INPUT",
      "error": "Ring torus needs major radius R greater than tube radius r."
    },
    {
      "id": "golden-frustum-213",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "frustum",
        "R": 2,
        "r": 1,
        "h": 3
      },
      "expect": {
        "volume": 21.9911485751
      },
      "expectWarning": null,
      "actual": {
        "mode": "frustum",
        "R": 2,
        "r": 1,
        "h": 3,
        "slant": 3.16227766017,
        "volume": 21.9911485751,
        "lateral": 29.8037647974,
        "surface": 45.5117280653,
        "cylinder": false,
        "formula": "V = (1/3)πh(R²+Rr+r²),  l = √(h²+(R−r)²)"
      },
      "tol": null
    },
    {
      "id": "golden-frustum-cyl",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "frustum",
        "R": 1,
        "r": 1,
        "h": 1
      },
      "expect": {
        "volume": 3.14159265359,
        "cylinder": true
      },
      "expectWarning": null,
      "actual": {
        "mode": "frustum",
        "R": 1,
        "r": 1,
        "h": 1,
        "slant": 1,
        "volume": 3.14159265359,
        "lateral": 6.28318530718,
        "surface": 12.5663706144,
        "cylinder": true,
        "formula": "V = (1/3)πh(R²+Rr+r²),  l = √(h²+(R−r)²)"
      },
      "tol": null
    },
    {
      "id": "boundary-frustum-h",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "frustum",
        "R": 2,
        "r": 1,
        "h": 0
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "h must be positive."
    },
    {
      "id": "property-solid-sphere-v",
      "ok": true,
      "kind": "property",
      "detail": "unit sphere V",
      "expect": 4.1887902047863905,
      "actual": 4.18879020479
    },
    {
      "id": "property-solid-sphere-a",
      "ok": true,
      "kind": "property",
      "detail": "unit sphere A",
      "expect": 12.566370614359172,
      "actual": 12.5663706144
    },
    {
      "id": "property-solid-cyl",
      "ok": true,
      "kind": "property",
      "detail": "unit cylinder V",
      "expect": 3.141592653589793,
      "actual": 3.14159265359
    },
    {
      "id": "property-solid-cone-l",
      "ok": true,
      "kind": "property",
      "detail": "3-4-5 slant",
      "expect": 5,
      "actual": 5
    },
    {
      "id": "property-solid-cone-v",
      "ok": true,
      "kind": "property",
      "detail": "3-4 cone V",
      "expect": 37.69911184307752,
      "actual": 37.6991118431
    },
    {
      "id": "property-solid-torus",
      "ok": true,
      "kind": "property",
      "detail": "3-1 torus V",
      "expect": 59.21762640653615,
      "actual": 59.2176264065
    },
    {
      "id": "property-solid-frustum-213",
      "ok": true,
      "kind": "property",
      "detail": "frustum 2-1-3",
      "expect": 21.991148575128552,
      "actual": 21.9911485751
    },
    {
      "id": "property-solid-frustum-cyl",
      "ok": true,
      "kind": "property",
      "detail": "r=R frustum is cylinder",
      "expect": 3.141592653589793,
      "actual": 3.14159265359
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 16,
      "total": 16,
      "golden": 5,
      "boundary": 3,
      "property": 8
    },
    "contract_checks": {
      "passed": 3,
      "total": 3
    }
  },
  "evidence_core_generated_at": "2026-09-20T08:39:07.322Z",
  "rendered_at": "2026-09-20T09:07:29.781Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.1.0",
    "artifacts": {
      "engine": "1.1.0",
      "page": "1.1.0",
      "capability": "1.1.0",
      "evidence": "1.1.0",
      "input_schema": "1.1.0",
      "output_schema": "1.1.0",
      "mcp_contract": "1.1.0"
    },
    "digests": {
      "input_schema_sha256": "d3ddf0ee8d39bd2639af36025637891620c043612cda4d4a9bc054d53958afa4",
      "output_schema_sha256": "5783dd2ee0ddde30b9000d08b07e9c7206d76b4cc5180599c193136223c711c6",
      "evidence_sha256": "98378fe1bea775c05394bb1a3cdcf45607abdefe769bdad7fb3d5f29faee4ea2",
      "evidence_core_sha256": "98378fe1bea775c05394bb1a3cdcf45607abdefe769bdad7fb3d5f29faee4ea2",
      "capability_sha256": "62066d93211fc1e7e4af021f188f8c5fcc15ca252fc6c28ba6f2e9bf94d0a672",
      "engine_sha256": "43bbc25ec362b3f78daa612fef9a96df34206649b79e753faa7f17441d59b17a",
      "mcp_contract_sha256": "bf0dcfcfd80680efd201a229fab7f7a80ba9abbff3bea07815672d1d5cb2435a"
    },
    "contract_checks": {
      "total": 3,
      "passed": 3,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.1.0"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
