{
  "capability_id": "math.pythagorean",
  "tool_id": "pythagorean",
  "engine": "pythagorean",
  "calculation_version": "1.1.2",
  "generated_at": "2026-10-26T03:03:23.913Z",
  "engine_build": "2026-10-14",
  "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": [
    "Sides must be positive → SIDE_NOT_POSITIVE",
    "Need two of a,b,c (or verify with three) → MISSING_REQUIRED_INPUT"
  ],
  "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:a40496b0892cba4f91d0d18120c44036050d53fa19d0629815fa70749cda2bc1",
  "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-14T02:50:33.742Z",
  "rendered_at": "2026-10-26T03:03:23.913Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.1.2",
    "artifacts": {
      "engine": "1.1.2",
      "page": "1.1.2",
      "capability": "1.1.2",
      "evidence": "1.1.2",
      "input_schema": "1.1.2",
      "output_schema": "1.1.2",
      "mcp_contract": "1.1.2"
    },
    "digests": {
      "input_schema_sha256": "649f1060999b4745d0b5561292750c09cfe7706499d5aac9a640b1ddd3f27fb5",
      "output_schema_sha256": "8090cd31f6b9ccef124db3d56324b2dc84c07f739dc923e4c9aa2049ced56b94",
      "evidence_sha256": "5d3355e66c1ad8d2b1d7f6a6f2ba87f39d8f59b66f53736e475057831b1c354d",
      "evidence_core_sha256": "5d3355e66c1ad8d2b1d7f6a6f2ba87f39d8f59b66f53736e475057831b1c354d",
      "capability_sha256": "43831e8ef7b6c39e9bb1052528229e4e90b1e6c51ae1be3e0e42987a1869b537",
      "engine_sha256": "a664ae25cd2134de7de43a99352933043215473589aec38c9416508150cb1008",
      "mcp_contract_sha256": "3379f0895875f5da1b1a2f3ddb936cf6f582a3ca005a95cbcf69afd9cdabddd7"
    },
    "contract_checks": {
      "total": 6,
      "passed": 6,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.1.2"
        },
        {
          "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"
  }
}
