{
  "capability_id": "math.geometry.triangle",
  "tool_id": "triangle-solver",
  "engine": "triangle-solver",
  "calculation_version": "1.1.0",
  "generated_at": "2026-10-29T17:04:55.748Z",
  "engine_build": "2026-10-29",
  "test_count": 10,
  "passed": 10,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 3,
      "total": 3
    },
    "boundary": {
      "passed": 2,
      "total": 2
    },
    "property": {
      "passed": 5,
      "total": 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/triangle-solver",
  "api": "https://www.calculatorx.com/api/v1/calc/triangle-solver",
  "schema_input": "https://www.calculatorx.com/schemas/math.geometry.triangle.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/math.geometry.triangle.output.json",
  "assumptions": [
    "Euclidean plane",
    "Not spherical trigonometry",
    "Not Pythagorean-only"
  ],
  "limitations": [
    "One consistent length unit, area in its square; angles in degrees. a/b/c opposite A/B/C. Euclidean only.",
    "Strict decimal inputs normalize to binary64. SSS inequality classification uses exact dyadic predicates; no fixed absolute length epsilon.",
    "SSA no solution -> INVALID_INPUT; one/two solutions retain complete ordered solutions array, acute B before supplementary B. Primary top-level fields mirror solutions[0].",
    "Nonzero inputs and reported positive values must be finite normal binary64; rescale on NUMERIC_RANGE. Degree-to-radian values must also remain normal.",
    "NUMERIC_CONDITION rejects unresolved triangles: for non-exact SSA sine, abs(a^2-h^2)/(a^2+h^2)<=1e-8 with h=b*sin(A); exact degree30/90/150 sine identities bypass that guard.",
    "For derived sides (SAS/ASA/AAS/SSA), each rounded triangle-inequality gap must exceed64*Number.EPSILON times the shortest side. SSS raw-side classification uses exact dyadic inequalities without that guard.",
    "Near flat/SSA tangent cases are sensitive to input rounding. Relative5e-10 arithmetic verification against independent high precision is not an input perturbation or universal geometric accuracy guarantee.",
    "Browser interaction local; shared URLs and REST/MCP send parameters to the server."
  ],
  "boundary_conditions": [
    "triangle inequality fail → INVALID_INPUT",
    "unknown mode (including hl) → INVALID_MODE"
  ],
  "sources": [
    {
      "title": "ISO 80000-2:2019 Quantities and units — Mathematics",
      "url": "https://www.iso.org/standard/64973.html",
      "supports": "Mathematical symbols and notation. This standard is not numerical verification or an endorsement of this implementation.",
      "kind": "standard",
      "publisher": "International Organization for Standardization",
      "reference_scope": "all"
    },
    {
      "title": "Gilbert Strang, Calculus — Chapter 1: Introduction to Calculus (MIT OpenCourseWare)",
      "section": "§1.5 A Review of Trigonometry",
      "url": "https://ocw.mit.edu/courses/res-18-001-calculus-fall-2023/mitres_18_001_f17_ch01.pdf",
      "supports": "Right-triangle definitions of sine, cosine and tangent, the sine/cosine identities, and the law-of-cosines and parallelogram exercises 31–32. Chord length follows by bisecting the radii triangle. Regular-polygon apothems and areas follow by splitting the polygon into equal triangles. The law of sines follows by equating a triangle’s altitude computed from either adjacent side; SSA can give two triangles. These applications are derived from the stated relations. Mathematical reference only; not implementation validation or an endorsement of CalculatorX.",
      "kind": "reference",
      "publisher": "Wellesley-Cambridge Press; hosted by MIT OpenCourseWare"
    },
    {
      "title": "W. Kahan — Miscalculating Area and Angles of a Needle-like Triangle",
      "section": "Area, angle evaluation and ill-conditioned triangle examples",
      "url": "https://people.eecs.berkeley.edu/~wkahan/Triangle.pdf",
      "supports": "Numerical pitfalls of naive area and inverse-trigonometric angle evaluation, including needle triangles and SSA conditioning. Algorithmic reference only; not independent verification or endorsement of CalculatorX.",
      "kind": "reference",
      "publisher": "University of California, Berkeley — author-hosted lecture notes"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:0b3576e210148c8f1f92d41b017b6c8242c6e176afe5be57fcfe3c4d64b312be",
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 10,
      "total": 10,
      "golden": 3,
      "boundary": 2,
      "property": 5
    },
    "contract_checks": {
      "passed": 5,
      "total": 5
    }
  },
  "evidence_core_generated_at": "2026-10-29T08:55:15.563Z",
  "rendered_at": "2026-10-29T17:04:55.748Z",
  "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": "97971021efedaa4afb209527dac6588001297cc275dab4ba4455835f12f88d22",
      "output_schema_sha256": "e5ccf52f5c11af738d12bc43526a84c9ccc03979e7207b6b020f69b02bf9d291",
      "evidence_sha256": "a35d55e0bb3edf37aaccdcd8b628cc15f2f35a29617b10c9f1ca067597d83adb",
      "evidence_core_sha256": "a35d55e0bb3edf37aaccdcd8b628cc15f2f35a29617b10c9f1ca067597d83adb",
      "capability_sha256": "fa5ec4d7004f64929964e06094abcb37cfae27e50cf089a8ba7a93acd6d87b78",
      "engine_sha256": "c6ebd8436f08b413e1ac6317b2d48550f2e6639a90dff254244e3aa562158b8d",
      "mcp_contract_sha256": "1cafec71298a0deb89bd361494db4322a690d14b61e801243407475112bdacbd"
    },
    "contract_checks": {
      "total": 5,
      "passed": 5,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.1.0"
        },
        {
          "id": "schema-output-required-declared",
          "status": "pass"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "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"
  }
}
