{
  "capability_id": "math.combinatorics",
  "tool_id": "combinatorics",
  "engine": "combinatorics",
  "calculation_version": "1.0.3",
  "generated_at": "2026-10-29T17:04:55.730Z",
  "engine_build": "2026-10-26",
  "test_count": 11,
  "passed": 11,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 2,
      "total": 2
    },
    "boundary": {
      "passed": 3,
      "total": 3
    },
    "property": {
      "passed": 6,
      "total": 6
    }
  },
  "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/permutation-combination",
  "api": "https://www.calculatorx.com/api/v1/calc/combinatorics",
  "schema_input": "https://www.calculatorx.com/schemas/math.combinatorics.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/math.combinatorics.output.json",
  "assumptions": [
    "Integers 0 ≤ k ≤ n ≤ 1000; distinct items, without replacement",
    "4 digits and 512 characters per integer string; matching n/nInput and k/kInput aliases",
    "Safe JSON integer numbers; counts exact relative to accepted normalized integers",
    "Counts above 18 digits have an explicitly approximate 8-significant-digit preview; full exact counts remain in working and CSV/JSON",
    "Not factorial n!",
    "Not multinomial and not with-replacement"
  ],
  "limitations": [
    "Distinct items without replacement;0<=k<=n<=1000. k>n is rejected, even though some mathematical libraries extend C(n,k)=0 beyond this product domain.",
    "Safe JSON integers or integer strings with at most4digits/512characters; aliases must agree; strict types and unknown keys.",
    "Exact count uses BigInt. Counts above18digits have explicitly approximate8-significant-digit previews; full exact counts, formula and working are exported.",
    "Not multinomials, with-replacement counts or a standalone factorial tool. JSON numeric literals obey IEEE-754 transport before safe-integer validation; raw nonzero-to-zero underflow is rejected."
  ],
  "boundary_conditions": [
    "missing n or k → MISSING_REQUIRED_INPUT",
    "k > n → INVALID_INPUT",
    "n > 1000 → VALUE_ABOVE_MAX",
    "unknown mode → INVALID_MODE"
  ],
  "sources": [
    {
      "title": "ISO 80000-2:2019 Quantities and units — Mathematics (combinatorial numbers)",
      "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"
    },
    {
      "title": "NIST DLMF — 26.3 Lattice Paths: Binomial Coefficients",
      "url": "https://dlmf.nist.gov/26.3",
      "supports": "Binomial coefficients, their factorial representation and recurrence relations. Mathematical reference only; not validation or endorsement of this implementation.",
      "kind": "reference",
      "publisher": "National Institute of Standards and Technology"
    },
    {
      "title": "MIT Mathematics for Computer Science — Counting",
      "section": "Chapter 14, especially §§14.3 and 14.5",
      "url": "https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-spring-2015/mit6_042js15_textbook.pdf",
      "supports": "The product rule for choices, n! permutations, and ordered k-selections n!/(n−k)!. Their finite counting domain requires integers 0 ≤ k ≤ n. Mathematical reference only; not implementation validation or an endorsement of CalculatorX.",
      "kind": "reference",
      "publisher": "Massachusetts Institute of Technology"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:3ba5b22960d7d31ce907f35451b494143227b1cf9d0ec23b5079e09e0cdef1c4",
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 11,
      "total": 11,
      "golden": 2,
      "boundary": 3,
      "property": 6
    },
    "contract_checks": {
      "passed": 5,
      "total": 5
    }
  },
  "evidence_core_generated_at": "2026-10-26T03:02:48.148Z",
  "rendered_at": "2026-10-29T17:04:55.730Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.0.3",
    "artifacts": {
      "engine": "1.0.3",
      "page": "1.0.3",
      "capability": "1.0.3",
      "evidence": "1.0.3",
      "input_schema": "1.0.3",
      "output_schema": "1.0.3",
      "mcp_contract": "1.0.3"
    },
    "digests": {
      "input_schema_sha256": "c15f960dd5a1b6c848e78850bf04d8ccaa6e90e8c230bf8efbbb28ecea9c5d68",
      "output_schema_sha256": "5d7bcaf6b9b2cb052afa182260de02dad620a0cca00d7e55edea48d9ab6e4904",
      "evidence_sha256": "72cc68ca8e5827b53af0cea1bc96dc7b2c1e9d9244dafcb45ad6b5fa28f342b2",
      "evidence_core_sha256": "72cc68ca8e5827b53af0cea1bc96dc7b2c1e9d9244dafcb45ad6b5fa28f342b2",
      "capability_sha256": "b1c042608fef81b9d00bc7faa233a9b200101e32f27530b53fdf71766488d568",
      "engine_sha256": "c6ebd8436f08b413e1ac6317b2d48550f2e6639a90dff254244e3aa562158b8d",
      "mcp_contract_sha256": "1cafec71298a0deb89bd361494db4322a690d14b61e801243407475112bdacbd"
    },
    "contract_checks": {
      "total": 5,
      "passed": 5,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.3"
        },
        {
          "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"
  }
}
