{
  "capability_id": "math.percentage",
  "tool_id": "percentage",
  "engine": "percentage",
  "calculation_version": "1.1.2",
  "generated_at": "2026-10-22T04:36:23.795Z",
  "engine_build": "2026-10-21",
  "test_count": 19,
  "passed": 19,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 12,
      "total": 12
    },
    "boundary": {
      "passed": 7,
      "total": 7
    },
    "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/percentage",
  "api": "https://www.calculatorx.com/api/v1/calc/percentage",
  "schema_input": "https://www.calculatorx.com/schemas/math.percentage.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/math.percentage.output.json",
  "assumptions": [
    "Interactive evaluation runs locally in the browser. Shared URLs and REST evaluate the same versioned engine (query SSR).",
    "Denominators (whole, old, average of A and B, P) must be nonzero where required.",
    "Percent change uses |old| in the denominator (signed increase/decrease). Typically used with a nonzero baseline; old = 0 is undefined.",
    "Percentage difference is defined for A ≥ 0, B ≥ 0, and A+B ≠ 0."
  ],
  "limitations": [
    "Exact formulas of normalized binary64 inputs, output rounded once ties-to-even. Decimal inputs are rounded binary64, not exact decimal arithmetic.",
    "Reject nonzero values that round to zero and overflow (including published delta/average); rescale on NUMERIC_RANGE.",
    "Change uses |old|; difference needs nonnegative a,b and nonzero sum. Near zero baseline is ill-conditioned; shortest round-trip display is not significant-figure tracking.",
    "At most512 characters per scalar; active fields only and aliases must agree."
  ],
  "boundary_conditions": [
    "Division by zero → DIVISION_BY_ZERO",
    "Percentage difference with A < 0 or B < 0 → VALUE_MUST_BE_NON_NEGATIVE",
    "Unknown mode → INVALID_MODE",
    "Nonzero input/output rounding to zero or overflow (including delta/average) → NUMERIC_RANGE; rescale",
    "Matching active aliases only; decimal tokens at most512 characters; explicit zero canonicalizes to +0"
  ],
  "sources": [
    {
      "title": "BIPM — The International System of Units (SI), 9th edition",
      "section": "Units accepted for use with the SI — percent (symbol %), 1% = 0.01",
      "url": "https://www.bipm.org/en/publications/si-brochure",
      "supports": "Defines percent as the number 0.01 (one part in one hundred). The core relation P% of X = X × P/100 follows from that definition.",
      "kind": "reference",
      "accessed": "2026-08-28"
    },
    {
      "title": "NIST Special Publication 811 — Guide for the Use of the International System of Units (SI)",
      "section": "Writing values of quantities — the percent",
      "url": "https://www.nist.gov/pml/special-publication-811",
      "supports": "NIST usage of percent as 0.01 with the SI. Does not prescribe percent-change vs percent-difference conventions.",
      "kind": "reference",
      "accessed": "2026-08-28"
    },
    {
      "title": "CalculatorX percentage conventions",
      "section": "Six phrase modes, |old| percent change, non-negative percentage difference",
      "supports": "Percent change Δ% = 100×(new−old)/|old| (undefined at old = 0). Percentage difference Δ% = 100×|A−B|/((A+B)/2) on A ≥ 0, B ≥ 0, A+B ≠ 0. Increase/decrease is X×(1±P/100).",
      "kind": "definition"
    },
    {
      "title": "NIST — SI Unit Rules and Style Conventions",
      "section": "Percent and fractions",
      "url": "https://physics.nist.gov/cuu/Units/checklist.html",
      "supports": "The symbol % represents the number 0.01. Thus p% = p/100 and a part of p% of base b equals b×p/100; inverse percentage equations are algebraic rearrangements. CalculatorX’s negative-baseline signed-change convention is separately specified, not attributed to NIST. Mathematical reference only; not implementation validation or an endorsement of CalculatorX.",
      "kind": "reference",
      "publisher": "National Institute of Standards and Technology"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:accc82aa83125aba50801a7e42b167e787b4d92eec083499f069575015858029",
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 19,
      "total": 19,
      "golden": 12,
      "boundary": 7,
      "property": 0
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-10-21T10:39:28.506Z",
  "rendered_at": "2026-10-22T04:36:23.795Z",
  "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": "1c4027a3599acb763985ac7ecfd8ed4e411f0b0905aaff49598666c96c82f871",
      "output_schema_sha256": "62eabb18f2d5ccc6a7b0b8b561429cd32642cd156ab07623b3ecf2dea3f50b64",
      "evidence_sha256": "e479df2a911dca38072803af60aec01ab083259b5f2098ac2491c810f4a888c4",
      "evidence_core_sha256": "e479df2a911dca38072803af60aec01ab083259b5f2098ac2491c810f4a888c4",
      "capability_sha256": "7568ab3891b7ac6ce064f97c676200fc24dc1b796acbd8a91d5f2c0b15cc5f62",
      "engine_sha256": "1101629fa55e190fd2608f73d326f5b9fb99d61db4b7f27d41aeb7f6a61f6721",
      "mcp_contract_sha256": "8d71b07c5852eacafce0f6b76de6e212b840c29d5b1c589d5c3197cf70d18a0a"
    },
    "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"
  }
}
