{
  "capability_id": "math.pythagorean",
  "tool_id": "pythagorean",
  "engine": "pythagorean",
  "calculation_version": "1.1.6",
  "generated_at": "2026-10-28T03:01:57.871Z",
  "engine_build": "2026-10-26",
  "test_count": 16,
  "passed": 16,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 6,
      "total": 6
    },
    "boundary": {
      "passed": 10,
      "total": 10
    },
    "property": {
      "passed": 0,
      "total": 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/math/pythagorean",
  "api": "https://www.calculatorx.com/api/v1/calc/pythagorean",
  "schema_input": "https://www.calculatorx.com/schemas/math.pythagorean.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/math.pythagorean.output.json",
  "assumptions": [
    "Right triangle; positive side lengths.",
    "c > a and c > b when solving for a leg.",
    "Exactly two fields are inputs when solving. Explicit solve_for selects the output. If all three are supplied without solve_for, they are verified rather than overwritten.",
    "Interactive evaluation, shared URLs, and REST use the same engine, solve_for contract, and error codes.",
    "Share URL is canonical: solve_for=a|b|c forces solve even if a leftover third side is present; mode=verify is required to stay in Verify after a tab change."
  ],
  "limitations": [
    "Positive finite binary64 side lengths in consistent units. Decimal text at most512characters,strict types and matching aliases. Nonzero-to-zero conversion rejects.",
    "Four operations:c,a,b,verify. solve_for selects the output;all supplied side tokens still validate. All three without solve_for verify;mode=verify conflicts with solve_for.",
    "Verification checks nondegenerate geometry and squared relative residual |a²+b²-c²|/c²<=1e-6 with scaled squares. Approximate binary64 diagnostics may differ by2e-15 near the threshold; no exact-equality proof.",
    "Solved sides must fit positive finite binary64. Unrepresentable positive area/perimeter are null with explicit range status;invalid verify has no right-angle area. Values display12significant digits. Exact radical only for exactly representable safe-integer radicands.",
    "Diagram is schematic,not to scale;no right-angle diagram for failed verification. Browser calculations run locally;shared URLs and REST/MCP transmit inputs and may enter logs."
  ],
  "boundary_conditions": [
    "Need exactly two known sides to solve the third, or all three to verify",
    "Invalid solve_for → INVALID_SOLVE_FOR",
    "Fewer than two inputs → MISSING_REQUIRED_INPUT",
    "Non-positive side → SIDE_NOT_POSITIVE",
    "c ≤ a or c ≤ b when solving a leg → HYPOTENUSE_TOO_SHORT",
    "All three without solve_for that do not satisfy Pythagoras → status invalid (not overwritten)"
  ],
  "sources": [
    {
      "title": "Euclid, Elements, Book I, Proposition 47",
      "section": "In right-angled triangles the square on the side subtending the right angle is equal to the squares on the sides containing the right angle",
      "url": "https://mathcs.clarku.edu/~djoyce/elements/bookI/propI47.html",
      "supports": "Classical statement of the Pythagorean theorem used as the geometric identity a² + b² = c².",
      "kind": "reference",
      "accessed": "2026-08-28",
      "publisher": "Clark University"
    },
    {
      "title": "Right-triangle area",
      "section": "A = ab/2",
      "supports": "Area of a right triangle is half the product of the legs that form the right angle. Perimeter is the sum of the three sides.",
      "kind": "definition"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:ebc6b64dfeb7389ca51eef536e76905f275a46b7b8894f1b6e90fccd64ea2c63",
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 16,
      "total": 16,
      "golden": 6,
      "boundary": 10,
      "property": 0
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-10-26T04:58:17.015Z",
  "rendered_at": "2026-10-28T03:01:57.871Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.1.6",
    "artifacts": {
      "engine": "1.1.6",
      "page": "1.1.6",
      "capability": "1.1.6",
      "evidence": "1.1.6",
      "input_schema": "1.1.6",
      "output_schema": "1.1.6",
      "mcp_contract": "1.1.6"
    },
    "digests": {
      "input_schema_sha256": "7cd74f1a22f5cd13ec9daa7c016ce506d8ecf41b0eecb2aca71974a67f92df77",
      "output_schema_sha256": "bd9cbc7a0e80c9c2e4de2d19211a3686597a4e6d83a082faac7ad654eefe3c93",
      "evidence_sha256": "b480debe41210b4f321a40eb6c8f21cc67433d8ad5760b2c50f5e60a33e4fde0",
      "evidence_core_sha256": "b480debe41210b4f321a40eb6c8f21cc67433d8ad5760b2c50f5e60a33e4fde0",
      "capability_sha256": "3cfdac7c9b28722300d5a81a24b5aa135d7128934a33950db298fc529f64da2e",
      "engine_sha256": "c6ebd8436f08b413e1ac6317b2d48550f2e6639a90dff254244e3aa562158b8d",
      "mcp_contract_sha256": "5898d9426fe62990b5c5eed0b7ac18076acb83b29b083b5b4dd52f28efe79ae5"
    },
    "contract_checks": {
      "total": 6,
      "passed": 6,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.1.6"
        },
        {
          "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"
  },
  "tests": [],
  "disclosure": {
    "policy": "calculatorx-public-evidence-v1",
    "full_validation": "private",
    "representation": "summary"
  }
}
