{
  "capability_id": "math.geometry.circle",
  "tool_id": "circle",
  "engine": "circle",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:38:08.875Z",
  "engine_build": "2026-09-16",
  "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/circle",
  "api": "https://www.calculatorx.com/api/v1/calc/circle",
  "schema_input": "https://www.calculatorx.com/schemas/math.geometry.circle.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/math.geometry.circle.output.json",
  "assumptions": [
    "Euclidean plane",
    "Not spherical geometry",
    "Not Pythagorean-only"
  ],
  "limitations": [
    "Not a²+b²=c² — use /calc/math/pythagorean",
    "r ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "Spherical geometry is out of scope"
  ],
  "boundary_conditions": [
    "r ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "unknown mode → INVALID_MODE"
  ],
  "sources": [
    "ISO 80000-2:2019 Quantities and units — Mathematics"
  ],
  "methods": [],
  "fingerprint": "sha256:fb804e3cafe6a556d70771cabc3bc8821b7682e90dab13b739c3f2f905a1b073",
  "tests": [
    {
      "id": "golden-unit-circle",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "from_radius",
        "r": 1
      },
      "expect": {
        "diameter": 2
      },
      "expectWarning": null,
      "actual": {
        "mode": "from_radius",
        "r": 1,
        "diameter": 2,
        "circumference": 6.28318530718,
        "area": 3.14159265359,
        "formula": "C = 2πr,  A = πr²"
      },
      "tol": 1e-12
    },
    {
      "id": "golden-circle-area",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "from_radius",
        "r": 1
      },
      "expect": {
        "area": 3.141592653589793
      },
      "expectWarning": null,
      "actual": {
        "mode": "from_radius",
        "r": 1,
        "diameter": 2,
        "circumference": 6.28318530718,
        "area": 3.14159265359,
        "formula": "C = 2πr,  A = πr²"
      },
      "tol": 1e-9
    },
    {
      "id": "golden-arc-semicircle",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "arc",
        "r": 2,
        "theta_deg": 180
      },
      "expect": {
        "arc_length": 6.283185307179586
      },
      "expectWarning": null,
      "actual": {
        "mode": "arc",
        "r": 2,
        "diameter": 4,
        "circumference": 12.5663706144,
        "area": 12.5663706144,
        "theta_deg": 180,
        "theta_rad": 3.14159265359,
        "arc_length": 6.28318530718,
        "sector_area": 6.28318530718,
        "formula": "s = r θ"
      },
      "tol": 1e-9
    },
    {
      "id": "boundary-circle-zero",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "from_radius",
        "r": 0
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "r must be positive."
    },
    {
      "id": "boundary-circle-pythag",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "pythagorean",
        "r": 1
      },
      "expectError": "INVALID_MODE",
      "code": "INVALID_MODE",
      "error": "mode must be from_radius, from_diameter, from_circumference, from_area, arc, or sector."
    },
    {
      "id": "property-circle-d",
      "ok": true,
      "kind": "property",
      "detail": "d=2r",
      "expect": 2,
      "actual": 2
    },
    {
      "id": "property-circle-c",
      "ok": true,
      "kind": "property",
      "detail": "C=2πr",
      "expect": 6.283185307179586,
      "actual": 6.28318530718
    },
    {
      "id": "property-circle-a",
      "ok": true,
      "kind": "property",
      "detail": "A=πr²",
      "expect": 3.141592653589793,
      "actual": 3.14159265359
    },
    {
      "id": "property-circle-roundtrip",
      "ok": true,
      "kind": "property",
      "detail": "area→r",
      "expect": 1,
      "actual": 1
    },
    {
      "id": "property-circle-arc",
      "ok": true,
      "kind": "property",
      "detail": "semicircle",
      "expect": 6.283185307179586,
      "actual": 6.28318530718
    }
  ],
  "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-16T15:14:48.779Z",
  "rendered_at": "2026-09-16T22:38:08.875Z",
  "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": "9995e7f33c9a37c97d1ee902e646b72df19e0cb77c66356947c16b1bba7132db",
      "output_schema_sha256": "ad9ce23737cb23424ed78ff02f643b264a9066cd42adac9bcf113c56da4d3ec8",
      "evidence_sha256": "c0a4c8782019b9f5d017587f409a67303565a803f5b06b57d4808d589d779638",
      "evidence_core_sha256": "c0a4c8782019b9f5d017587f409a67303565a803f5b06b57d4808d589d779638",
      "capability_sha256": "3f647fc78153e2c19e563215716e84b2ad023be76bf7ef5ca46dba1a0c344054",
      "engine_sha256": "c8d4ccdbfeaf61d7b024d4e1babb0c2ba3b324c1b37bd0cb456a526d8d2b1bd1",
      "mcp_contract_sha256": "863098b311a7b17dc4b229a6302b90b3545b175f716e5d84772c7be8e9716b86"
    },
    "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"
  }
}
