{
  "protocol": {
    "name": "CVP",
    "version": "1.0.0-proposed",
    "revision": "2026-09-13",
    "spec_sha256": "f62725968356c92930531cd6085db76e216da06e95be53d636b0d2cf3218b148",
    "spec": "https://www.calculatorx.com/developers/cvp/spec/1.0"
  },
  "document_status": "proposed",
  "calculator": {
    "id": "division",
    "version": "1.0.7",
    "title": "Division Calculator",
    "formula_family": "division",
    "capability_id": "math.divide",
    "verification_revision": "2026-10-28.meta-metrics-v2"
  },
  "profile": "core",
  "status": "STALE",
  "verification_status": "VERIFIED",
  "production_freshness": "STALE",
  "overall_trust": "VERIFIED_STALE",
  "runner": {
    "name": "cvp-runner",
    "version": "1.0.0"
  },
  "environment": {
    "runtime": "node",
    "runtime_version": "22.20.0",
    "numeric_model": "exact_integer",
    "os": "darwin"
  },
  "suite": {
    "id": "division",
    "version": "1.0.7",
    "uri": "https://www.calculatorx.com/evidence/math.divide/1.0.7.json",
    "verification_revision": "2026-10-28.meta-metrics-v2"
  },
  "obligation_set": [
    "CVP-PROV-01",
    "CVP-MODEL-01",
    "CVP-SCOPE-01",
    "CVP-UNIT-01",
    "CVP-REF-01",
    "CVP-GOLD-01",
    "CVP-BND-01",
    "CVP-INV-01",
    "CVP-NUM-01",
    "CVP-COV-01",
    "CVP-CONTRACT-01",
    "CVP-DEP-01",
    "CVP-ART-01",
    "CVP-PROD-01",
    "CVP-PROP-01",
    "CVP-META-01",
    "CVP-ROUND-01",
    "CVP-IFACE-01"
  ],
  "provenance": {
    "mode": "direct",
    "sources": [
      {
        "label": "ECMAScript Language Specification",
        "kind": "standard",
        "reference": "Number.prototype.toFixed ( fractionDigits )",
        "url": "https://tc39.es/ecma262/#sec-number.prototype.tofixed"
      },
      {
        "label": "ECMAScript Language Specification",
        "kind": "standard",
        "reference": "Number type (IEEE-754 binary64)",
        "url": "https://tc39.es/ecma262/#sec-ecmascript-language-types-number-type"
      },
      {
        "label": "IEEE Std 754-2019",
        "kind": "standard",
        "reference": "IEEE Standard for Floating-Point Arithmetic",
        "url": "https://standards.ieee.org/ieee/754/6210/"
      },
      {
        "label": "MIT Mathematics for Computer Science — Chapter 8: Number Theory",
        "kind": "other",
        "reference": "Chapter 8, including sections 8.2–8.9 and problem 8.24",
        "url": "https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-spring-2015/mit6_042js15_textbook.pdf"
      },
      {
        "label": "Margaret Stevens — The Maths Workbook (University of Oxford)",
        "kind": "other",
        "reference": "Chapter 1, §1: Algebraic Expressions and Fractions; §3: Equations",
        "url": "https://www.some.ox.ac.uk/wp-content/uploads/2024/08/Maths-Workbook.pdf"
      }
    ]
  },
  "controls": {
    "CVP-PROV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Sources present on evidence"
    },
    "CVP-MODEL-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "a ÷ b quotient; long mode Euclidean q,r with a = bq + r, 0 ≤ r < b"
    },
    "CVP-SCOPE-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "quotient or long integer division"
    },
    "CVP-UNIT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "dimensionless"
    },
    "CVP-REF-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "O1 model + O3 mpmath a/b and Python int divmod + O2 live identities (O2 shares V8 binary64 with the IUT)"
    },
    "CVP-GOLD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "25/25 legacy golden; 212/212 oracle-backed numeric"
    },
    "CVP-BND-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "9/9 CVP boundary · 9/9 legacy Evidence boundary"
    },
    "CVP-INV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "9 invalid-domain cases"
    },
    "CVP-NUM-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Complete output identity vs212 independently generated CPython Fraction/Decimal/int vectors, including rounding, signed truncation, normalized-operand exactness, subnormals,48-digit work and every output field; no whole-domain guarantee. Legacy Evidence `tol` is not this policy."
    },
    "CVP-COV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Declared partitions: quotient-normal, quotient-rounding, quotient-boundary, long-normal, long-large-integer, long-boundary, invalid-domain. Counts alone are not the claim."
    },
    "CVP-CONTRACT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "5/5 CVP contract · release-artifacts-aligned=PASS · schema-output-required-declared=PASS · schema-valid-input-executes=PASS · engine-success-output-validates-schema=PASS · rest-success-payload-validates-schema=PASS"
    },
    "CVP-DEP-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "engine divide; Node binary64"
    },
    "CVP-ART-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "release_integrity.status=verified · digests: artifact_evidence_sha256=Evidence core (Trust freshness) · cvp_evidence_digest=artifacts.evidence_digest (fingerprint v2) · evidence_bundle_sha256=legacy Evidence JSON bytes · evidence_catalog_digest=attested_catalog_sha256 · production_sha256=bound production report · see artifacts.digest_registry"
    },
    "CVP-PROD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Capability production binding: STALE · Site report: stale · STALE (freshness / digest drift after last PASS snapshot) · site report stale · local checks pass · local production checks PASS; capability production binding is not CURRENT — final status must stay STALE, not VERIFIED · attestation_id=f3abb5d04ebc51171f259234b69628b210f1534445c968974f68a48041bc5e07 · previous live site report said CURRENT · This calculator is not affected · Bound attestation PASS @ 2026-10-28T05:32:35.458Z · Live production status STALE (210 capabilities; 166 remain CURRENT) @ 2026-10-28T10:42:46.114Z · Public schema 1.0.7 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓ · schema_const=1.0.7 · report output-const=pass · evidence-sha256=pass · semantic-contract=pass · capability-html-public-origin-agree=pass · cvp-manifest-public-origin-agree=pass · cvp-latest-alias-agrees=pass · cvp-immutable-manifest-fetch=pass · cvp-immutable-manifest-sha256=pass · cvp-latest-alias-matches-immutable=pass · calculator-html-cvp-projection=pass · evidence-html-cvp-projection=pass · attested_evidence_sha256=0904162d9842ae579e660eb678ec02f2ca6e852dd03b716905c0a6501acd7dae · verified_at=2026-10-28T09:09:17.252Z · evidence_attested_at=2026-10-28T09:09:17.252Z · last_confirmed_current_at=2026-10-28T09:09:17.252Z · rendered_at=2026-10-28T10:42:46.367Z · binds=cvp_core_sha256 · attestation snapshot core f170808d420a ≠ live cvp_core_sha256 e8465f3c7103 (2026-10-28.meta-metrics-v2)",
      "check_result": "PASS",
      "production_state": "STALE",
      "binding_current": false
    },
    "CVP-DIM-01": {
      "result": "SKIP",
      "applicability": "not_applicable",
      "notes": "Unitless core calculator — no physical dimension algebra"
    },
    "CVP-PROP-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "8/8 property"
    },
    "CVP-META-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "2/2 metamorphic"
    },
    "CVP-ROUND-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "2/2 round-trips"
    },
    "CVP-XCAL-01": {
      "result": "SKIP",
      "applicability": "not_applicable",
      "notes": "No related calculator in the same formula family / no related-identity peers declared — control not in obligation set"
    },
    "CVP-IFACE-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "UI (SSR) · REST · MCP equivalent (MCP uses calc API handler). ui-ssr is query-result HTML, not a live browser session. Error-path engine·REST·MCP 12/12 (status, code, calculation_version). SSR compared on URL-canonical requested calculations; empty query is idle (not an error) and JSON-typed object/array inputs are REST/MCP-only."
    },
    "CVP-ORACLE-01": {
      "result": "SKIP",
      "applicability": "higher_assurance",
      "notes": "O2 present; O3 not required this wave"
    },
    "CVP-EXP-01": {
      "result": "SKIP",
      "applicability": "optional",
      "notes": "named expert review not performed"
    }
  },
  "interfaces": {
    "compared": [
      "ui-ssr",
      "rest",
      "mcp"
    ],
    "result": "PASS",
    "notes": "UI (SSR) · REST · MCP equivalent (MCP uses calc API handler). ui-ssr is query-result HTML, not a live browser session. Error-path engine·REST·MCP 12/12 (status, code, calculation_version). SSR compared on URL-canonical requested calculations; empty query is idle (not an error) and JSON-typed object/array inputs are REST/MCP-only."
  },
  "artifacts": {
    "evidence_bundle_sha256": "9d0e1e03c7838013a439dc49069f0cbd53a5a3f56bf245d438ef3a15378e3996",
    "evidence_digest": "e8465f3c710313c8916410623980d103927ef3e68dcba61158ea697e05e9cf8d",
    "production_sha256": "0904162d9842ae579e660eb678ec02f2ca6e852dd03b716905c0a6501acd7dae",
    "attested_catalog_sha256": "163b0d7072a58bed20a0320572211167e1629730bef43c185b5f545ceac7744c",
    "production_checks": [
      {
        "id": "math.divide:output-const",
        "status": "pass",
        "detail": "output const 1.0.7 vs capability 1.0.7",
        "scope": "last_attestation_snapshot",
        "current": false,
        "attestation_binding_current": false,
        "attested_at": "2026-10-28T09:09:17.252Z",
        "attestation_revision": "core"
      },
      {
        "id": "math.divide:evidence-sha256",
        "status": "pass",
        "detail": "b6e6a5ddc51c",
        "scope": "last_attestation_snapshot",
        "current": false,
        "attestation_binding_current": false,
        "attested_at": "2026-10-28T09:09:17.252Z",
        "attestation_revision": "core"
      },
      {
        "id": "math.divide:semantic-contract",
        "status": "pass",
        "detail": "34/34",
        "scope": "last_attestation_snapshot",
        "current": false,
        "attestation_binding_current": false,
        "attested_at": "2026-10-28T09:09:17.252Z",
        "attestation_revision": "core"
      },
      {
        "id": "math.divide:capability-html-public-origin-agree",
        "status": "pass",
        "detail": "public 1.0.7 vs origin 1.0.7",
        "scope": "last_attestation_snapshot",
        "current": false,
        "attestation_binding_current": false,
        "attested_at": "2026-10-28T09:09:17.252Z",
        "attestation_revision": "core"
      },
      {
        "id": "math.divide:cvp-manifest-public-origin-agree",
        "status": "pass",
        "detail": "math.divide/1.0.7/2026-10-28.meta-metrics-v2/core/e8465f3c7103",
        "scope": "last_attestation_snapshot",
        "current": false,
        "attestation_binding_current": false,
        "attested_at": "2026-10-28T09:09:17.252Z",
        "attestation_revision": "core",
        "projection_compared": false
      },
      {
        "id": "math.divide:cvp-latest-alias-agrees",
        "status": "pass",
        "detail": "math.divide/1.0.7/2026-10-28.meta-metrics-v2/core/e8465f3c7103",
        "scope": "last_attestation_snapshot",
        "current": false,
        "attestation_binding_current": false,
        "attested_at": "2026-10-28T09:09:17.252Z",
        "attestation_revision": "core",
        "projection_compared": false
      },
      {
        "id": "math.divide:cvp-immutable-manifest-fetch",
        "status": "pass",
        "detail": "public=200 origin=200",
        "scope": "last_attestation_snapshot",
        "current": false,
        "attestation_binding_current": false,
        "attested_at": "2026-10-28T09:09:17.252Z",
        "attestation_revision": "core"
      },
      {
        "id": "math.divide:cvp-immutable-manifest-sha256",
        "status": "pass",
        "detail": "f170808d420a",
        "scope": "last_attestation_snapshot",
        "current": false,
        "attestation_binding_current": false,
        "attested_at": "2026-10-28T09:09:17.252Z",
        "attestation_revision": "core"
      },
      {
        "id": "math.divide:cvp-latest-alias-matches-immutable",
        "status": "pass",
        "detail": "math.divide/1.0.7/2026-10-28.meta-metrics-v2/core/e8465f3c7103",
        "scope": "last_attestation_snapshot",
        "current": false,
        "attestation_binding_current": false,
        "attested_at": "2026-10-28T09:09:17.252Z",
        "attestation_revision": "core",
        "projection_compared": false
      },
      {
        "id": "math.divide:calculator-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": false,
        "attestation_binding_current": false,
        "attested_at": "2026-10-28T09:09:17.252Z",
        "attestation_revision": "core"
      },
      {
        "id": "math.divide:evidence-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": false,
        "attestation_binding_current": false,
        "attested_at": "2026-10-28T09:09:17.252Z",
        "attestation_revision": "core"
      }
    ],
    "digest_registry": {
      "digest_algorithm": "sha256",
      "canonicalization": "json-sorted-keys-utf8",
      "entries": [
        {
          "name": "cvp_core_sha256",
          "field": "artifacts.cvp_core_sha256",
          "digest_scope": "cvp_verification_fingerprint_v2",
          "value": "e8465f3c710313c8916410623980d103927ef3e68dcba61158ea697e05e9cf8d",
          "note": "Immutable verification core; excludes attestation/live-status and Evidence contract counts"
        },
        {
          "name": "cvp_evidence_digest",
          "field": "artifacts.evidence_digest",
          "digest_scope": "cvp_verification_fingerprint_v2",
          "value": "e8465f3c710313c8916410623980d103927ef3e68dcba61158ea697e05e9cf8d",
          "note": "Alias of cvp_core_sha256 (historical field name)"
        },
        {
          "name": "artifact_evidence_sha256",
          "field": "release_integrity.digests.evidence_core_sha256",
          "digest_scope": "evidence_artifact_core",
          "value": "b6e6a5ddc51cac99b4c4018d9bc331c5621a27d90c526d1d34baf72601ccc5cb",
          "note": "Published Evidence JSON core — Trust freshness / production bind subject"
        },
        {
          "name": "evidence_catalog_digest",
          "field": "artifacts.attested_catalog_sha256",
          "digest_scope": "capability_catalog",
          "value": "163b0d7072a58bed20a0320572211167e1629730bef43c185b5f545ceac7744c",
          "note": "Capability catalog integrity; site-wide, not per-suite fingerprint"
        }
      ]
    },
    "cvp_core_sha256": "e8465f3c710313c8916410623980d103927ef3e68dcba61158ea697e05e9cf8d"
  },
  "dependencies": [
    {
      "name": "divide-engine",
      "version": "1.0.7"
    },
    {
      "name": "divide-reference-oracle",
      "version": "1.0.0"
    },
    {
      "name": "node",
      "version": "22.20.0"
    }
  ],
  "attestation": {
    "status": "STALE",
    "href": "/.well-known/calculatorx-production-attestation.json",
    "id": "f3abb5d04ebc51171f259234b69628b210f1534445c968974f68a48041bc5e07",
    "attested_at": "2026-10-28T09:09:17.252Z",
    "last_confirmed_current_at": "2026-10-28T09:09:17.252Z",
    "site_attestation_current": false,
    "capability_attestation_current": false,
    "bound_snapshot_status": "pass",
    "live_report_status": "stale",
    "bound_attested_at": "2026-10-28T05:32:35.458Z",
    "live_updated_at": "2026-10-28T10:42:46.114Z",
    "bound_snapshot": {
      "status": "pass",
      "attested_at": "2026-10-28T05:32:35.458Z",
      "site_stale_count": 210
    },
    "live_site_status": {
      "href": "/.well-known/calculatorx-production-attestation.json"
    },
    "bound_snapshot_site_stale_count": 210,
    "site_stale_capability_count": 210,
    "evidence_attested_at": "2026-10-28T09:09:17.252Z",
    "stale_reason": "attestation snapshot core f170808d420a ≠ live cvp_core_sha256 e8465f3c7103 (2026-10-28.meta-metrics-v2)"
  },
  "domain_review": {
    "status": "ABSENT",
    "spec_version": "1.0.7",
    "external_third_party": false,
    "note": "Named expert review not performed"
  },
  "timestamps": {
    "verified_at": "2026-10-28T09:09:17.252Z",
    "generated_at": "2026-10-28T09:09:17.252Z",
    "rendered_at": "2026-10-28T10:42:46.367Z",
    "notes": "verified_at/generated_at mark the first publication of this cvp_core_sha256 (artifacts.evidence_digest alias) for suite verification. evidence_attested_at/attested_at is the first production bind of that core digest. last_confirmed_current_at is the latest site-wide report that still confirms CURRENT. rendered_at is this JSON serialization and is not part of cvp_core_sha256 / evidence_digest. Production attestation binds cvp_core_sha256 (binds evidence_digest). Causal order: verified_at ≤ evidence_attested_at ≤ last_confirmed_current_at. attestation.bound_snapshot.site_stale_count is the site-wide stale capability count at Manifest bind time — not a live value. Fetch attestation.live_site_status.href for the current site report."
  },
  "tests": {
    "golden": {
      "passed": 212,
      "total": 212,
      "failed": 0
    },
    "boundary": {
      "passed": 9,
      "total": 9,
      "failed": 0
    },
    "invalid": {
      "passed": 9,
      "total": 9,
      "failed": 0
    },
    "property": {
      "passed": 8,
      "total": 8,
      "failed": 0
    },
    "round_trip": {
      "passed": 2,
      "total": 2,
      "failed": 0
    },
    "metamorphic": {
      "passed": 2,
      "total": 2,
      "failed": 0
    },
    "contract": {
      "passed": 5,
      "total": 5,
      "failed": 0
    },
    "cross_interface": {
      "passed": 14,
      "total": 14,
      "failed": 0
    }
  },
  "numerical": {
    "representation": "binary64 quotient of normalized operands; exact integer long division",
    "tolerance": {
      "type": "exact",
      "value": 0,
      "rationale": "Full output identity vs212 independent CPython Fraction/Decimal/int vectors; binary64 result is correctly rounded rational division. Not a whole-domain guarantee.",
      "declared_before_evaluation": true
    },
    "claim_scope": "Complete output identity vs212 independently generated CPython Fraction/Decimal/int vectors, including rounding, signed truncation, normalized-operand exactness, subnormals,48-digit work and every output field; no whole-domain guarantee.",
    "ulp_applicable": false,
    "exact_mismatches": 0
  },
  "coverage": {
    "partitions": [
      {
        "id": "quotient-normal",
        "description": "Quotient mode, ordinary finite values",
        "exercised": true,
        "case_count": 48
      },
      {
        "id": "quotient-rounding",
        "description": "Quotient display rounding / repeating binary64",
        "exercised": true,
        "case_count": 126
      },
      {
        "id": "quotient-boundary",
        "description": "Quotient range edges: zero dividend, max safe integer, tiny divisor, unsafe integer tokens",
        "exercised": true,
        "case_count": 4
      },
      {
        "id": "long-normal",
        "description": "Long division ordinary integers, zero and non-zero remainder",
        "exercised": true,
        "case_count": 30
      },
      {
        "id": "long-large-integer",
        "description": "Long division integers larger than 2^53−1",
        "exercised": true,
        "case_count": 34
      },
      {
        "id": "long-boundary",
        "description": "Long division 48-digit product bound and INTEGER_TOO_LONG",
        "exercised": true,
        "case_count": 10
      },
      {
        "id": "invalid-domain",
        "description": "Invalid inputs (division by zero, domain, range)",
        "exercised": true,
        "case_count": 9
      }
    ]
  },
  "reference": {
    "items": [
      {
        "class": "O1",
        "reference_scope": "model",
        "scope": "model",
        "label": "Division a÷b and Euclidean long division"
      },
      {
        "class": "O2",
        "reference_scope": "expected_values",
        "scope": "expected_values",
        "label": "Independent CPython Fraction, Decimal and integer divmod",
        "engine": {
          "name": "CPython",
          "precision_bits": 53,
          "independent_of_iut": true,
          "same_runtime_as_iut": false,
          "generator_sha256": "46970a86bf99366c3be481e404a66136c677bc99ea856ded324cee279e37994e"
        }
      },
      {
        "class": "O2",
        "reference_scope": "numerical_behavior",
        "scope": "numerical_behavior",
        "label": "Independent CPython Fraction, Decimal and integer divmod",
        "engine": {
          "name": "CPython",
          "precision_bits": 53,
          "independent_of_iut": true,
          "same_runtime_as_iut": false,
          "generator_sha256": "46970a86bf99366c3be481e404a66136c677bc99ea856ded324cee279e37994e"
        }
      }
    ]
  },
  "links": {
    "legacy_evidence": "https://www.calculatorx.com/evidence/math.divide/1.0.7.json",
    "evidence_page": "https://www.calculatorx.com/evidence/math.divide/1.0.7",
    "calculator": "https://www.calculatorx.com/calc/math/division",
    "schema": "https://www.calculatorx.com/developers/cvp/schema/cvp-evidence-1.0.json",
    "protocol": "https://www.calculatorx.com/developers/cvp/spec/1.0",
    "manifest": "https://www.calculatorx.com/evidence/math.divide/1.0.7.cvp.json",
    "manifest_immutable": "https://www.calculatorx.com/evidence/math.divide/1.0.7/2026-10-28.meta-metrics-v2.cvp.json",
    "manifest_core": "https://www.calculatorx.com/evidence/math.divide/1.0.7/2026-10-28.meta-metrics-v2.e8465f3c7103.cvp.json"
  },
  "disclosure": {
    "policy": "calculatorx-public-evidence-v1",
    "full_validation": "private",
    "representation": "summary"
  }
}
