{
  "capability_id": "math.geometry.conic",
  "tool_id": "conic-section",
  "engine": "conic-section",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-20T09:07:29.780Z",
  "engine_build": "2026-09-20",
  "test_count": 10,
  "passed": 10,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 3,
      "passed": 3
    },
    "boundary": {
      "total": 2,
      "passed": 2
    },
    "property": {
      "total": 5,
      "passed": 5
    }
  },
  "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/conic-section",
  "api": "https://www.calculatorx.com/api/v1/calc/conic-section",
  "schema_input": "https://www.calculatorx.com/schemas/math.geometry.conic.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/math.geometry.conic.output.json",
  "assumptions": [
    "Euclidean plane",
    "Axis-aligned standard forms",
    "Not rotated (no xy term)",
    "Not translated",
    "Not the circle-only page",
    "Not coordinate geometry",
    "Not CAS"
  ],
  "limitations": [
    "Axis-aligned standard forms only; not rotated (xy term), not translated",
    "Not the circle-only calculator — a=b is a valid ellipse with e=0; /calc/math/circle stays the circle page",
    "Not coordinate geometry (two-point line / intersection / angle)",
    "Ellipse perimeter is Ramanujan I, not a complete elliptic integral",
    "a ≤ 0 or b ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "parabola p = 0 → INVALID_INPUT",
    "unknown mode (including cas, circle, pythagorean) → INVALID_MODE"
  ],
  "boundary_conditions": [
    "a ≤ 0 or b ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "parabola p = 0 → INVALID_INPUT",
    "unknown mode → INVALID_MODE"
  ],
  "sources": [
    "ISO 80000-2:2019 Quantities and units — Mathematics"
  ],
  "methods": [],
  "fingerprint": "sha256:944d7535eb49472a7406da9be5915c4c012fcae9e32dce7cb14fcd3d664abcfb",
  "tests": [
    {
      "id": "golden-ellipse-54",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "ellipse",
        "a": 5,
        "b": 4
      },
      "expect": {
        "c": 3,
        "e": 0.6
      },
      "expectWarning": null,
      "actual": {
        "mode": "ellipse",
        "a": 5,
        "b": 4,
        "c": 3,
        "e": 0.6,
        "area": 62.8318530718,
        "perimeter": 28.3616677843,
        "major": 5,
        "minor": 4,
        "circle": false,
        "equation": "x²/5² + y²/4² = 1",
        "formula": "x²/a² + y²/b² = 1"
      },
      "tol": null
    },
    {
      "id": "golden-parabola-focus",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "parabola",
        "p": 1
      },
      "expect": {
        "focus_x": 0,
        "focus_y": 1
      },
      "expectWarning": null,
      "actual": {
        "mode": "parabola",
        "p": 1,
        "orientation": "vertical",
        "focus_x": 0,
        "focus_y": 1,
        "directrix": "y = -1",
        "equation": "x² = 4y",
        "formula": "x² = 4py"
      },
      "tol": null
    },
    {
      "id": "golden-hyperbola-345",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "hyperbola",
        "a": 3,
        "b": 4
      },
      "expect": {
        "c": 5
      },
      "expectWarning": null,
      "actual": {
        "mode": "hyperbola",
        "a": 3,
        "b": 4,
        "c": 5,
        "e": 1.66666666667,
        "orientation": "horizontal",
        "asymptote_slope": 1.33333333333,
        "equation": "x²/3² − y²/4² = 1",
        "formula": "x²/a² − y²/b² = 1"
      },
      "tol": null
    },
    {
      "id": "boundary-conic-mode",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "cas",
        "a": 5,
        "b": 4
      },
      "expectError": "INVALID_MODE",
      "code": "INVALID_MODE",
      "error": "mode must be ellipse, parabola, or hyperbola. Not a circle-only page, not coordinate geometry, not CAS."
    },
    {
      "id": "boundary-parabola-p0",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "parabola",
        "p": 0
      },
      "expectError": "INVALID_INPUT",
      "code": "INVALID_INPUT",
      "error": "Parabola focal parameter p must be nonzero."
    },
    {
      "id": "property-conic-ellipse-c",
      "ok": true,
      "kind": "property",
      "detail": "5-4 ellipse",
      "expect": 3,
      "actual": 3
    },
    {
      "id": "property-conic-ellipse-area",
      "ok": true,
      "kind": "property",
      "detail": "πab",
      "expect": 62.83185307179586,
      "actual": 62.8318530718
    },
    {
      "id": "property-conic-circle-ellipse",
      "ok": true,
      "kind": "property",
      "detail": "a=b e=0",
      "expect": 0,
      "actual": 0
    },
    {
      "id": "property-conic-parabola",
      "ok": true,
      "kind": "property",
      "detail": "focus (0,1)",
      "expect": 1,
      "actual": 1
    },
    {
      "id": "property-conic-hyperbola",
      "ok": true,
      "kind": "property",
      "detail": "3-4-5 hyperbola",
      "expect": 5,
      "actual": 5
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 10,
      "total": 10,
      "golden": 3,
      "boundary": 2,
      "property": 5
    },
    "contract_checks": {
      "passed": 3,
      "total": 3
    }
  },
  "evidence_core_generated_at": "2026-09-20T02:35:04.118Z",
  "rendered_at": "2026-09-20T09:07:29.780Z",
  "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": "e711457c161d276654cd67d058269a6628e9b42983334a8baf698877dbd0546f",
      "output_schema_sha256": "e09a740c2cbaa5235a989109f284e4c6610ebadb982839aba359bff11b5b80bc",
      "evidence_sha256": "90cadcda716d03a85fbb8e26d1bd3e53a1e6f214ddad32e606ff7d7e7f696461",
      "evidence_core_sha256": "90cadcda716d03a85fbb8e26d1bd3e53a1e6f214ddad32e606ff7d7e7f696461",
      "capability_sha256": "848828a62a5c3c0d6860c2c58ed17af0cdce1e198962ad977f10de44d847c2fb",
      "engine_sha256": "43bbc25ec362b3f78daa612fef9a96df34206649b79e753faa7f17441d59b17a",
      "mcp_contract_sha256": "bf0dcfcfd80680efd201a229fab7f7a80ba9abbff3bea07815672d1d5cb2435a"
    },
    "contract_checks": {
      "total": 3,
      "passed": 3,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.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"
  }
}
