{
  "protocol": {
    "name": "CVP",
    "version": "1.0.0-proposed"
  },
  "document_status": "proposed",
  "calculator": {
    "id": "fractions",
    "version": "1.0.5",
    "title": "Fractions Calculator",
    "formula_family": "fractions",
    "capability_id": "math.fractions"
  },
  "profile": "core",
  "status": "VERIFIED",
  "runner": {
    "name": "cvp-runner",
    "version": "1.0.0"
  },
  "environment": {
    "runtime": "node",
    "runtime_version": "20.19.2",
    "numeric_model": "IEEE-754 binary64",
    "os": "darwin"
  },
  "suite": {
    "id": "fractions",
    "version": "1.0.5",
    "uri": "https://www.calculatorx.com/evidence/math.fractions/1.0.5.json"
  },
  "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": "OpenStax — Prealgebra 2e",
        "kind": "other",
        "reference": "4.5 Add and Subtract Fractions with Different Denominators",
        "url": "https://openstax.org/books/prealgebra-2e/pages/4-5-add-and-subtract-fractions-with-different-denominators"
      },
      {
        "label": "OpenStax — Prealgebra 2e",
        "kind": "other",
        "reference": "4.2 Multiply and Divide Fractions",
        "url": "https://openstax.org/books/prealgebra-2e/pages/4-2-multiply-and-divide-fractions"
      },
      {
        "label": "OpenStax — Prealgebra 2e",
        "kind": "other",
        "reference": "4.3 Multiply and Divide Mixed Numbers and Complex Fractions",
        "url": "https://openstax.org/books/prealgebra-2e/pages/4-3-multiply-and-divide-mixed-numbers-and-complex-fractions"
      }
    ]
  },
  "reference": {
    "items": [
      {
        "class": "O1",
        "reference_scope": "model",
        "scope": "model",
        "label": "Fraction arithmetic with LCD reduction"
      },
      {
        "class": "O2",
        "reference_scope": "expected_values",
        "scope": "expected_values",
        "label": "Separate-module fractions oracle — independent LCD / product arithmetic",
        "engine": {
          "name": "fractions-reference",
          "precision_bits": 53,
          "independent_of_iut": true
        }
      },
      {
        "class": "O2",
        "reference_scope": "numerical_behavior",
        "scope": "numerical_behavior",
        "label": "Same O2 module backs exact n/d comparison vs IUT",
        "engine": {
          "name": "fractions-reference",
          "precision_bits": 53,
          "independent_of_iut": true
        }
      }
    ],
    "notes": "Golden expected values use a separate O2 module (not IUT transcription). O2 shares Node/V8 binary64 with the IUT unless noted otherwise."
  },
  "controls": {
    "CVP-PROV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Sources present on evidence"
    },
    "CVP-MODEL-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "LCD add/sub; product; reciprocal divide"
    },
    "CVP-SCOPE-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "O2 gold: operate (+/−/×/÷) and simplify"
    },
    "CVP-UNIT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "dimensionless rational"
    },
    "CVP-REF-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "O1 model + O2 expected_values + O2 numerical_behavior"
    },
    "CVP-GOLD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "20/20 legacy golden; 1/1 oracle-backed numeric"
    },
    "CVP-BND-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "8/8 boundary"
    },
    "CVP-INV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "6 invalid-domain cases"
    },
    "CVP-NUM-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "max_error_observed_ulp=0; policy declared a priori"
    },
    "CVP-COV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "2/2 declared partitions (fractions, invalid-domain) · 20 golden / 8 boundary unique cases · 6 Evidence invalid-input (may overlap boundary)"
    },
    "CVP-CONTRACT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "1/1 contract checks"
    },
    "CVP-DEP-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "engine fractions; Node binary64"
    },
    "CVP-ART-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "release_integrity.status=verified · evidence_digest=CVP verification fingerprint v2 (canonical inputs, expected/actual/status, policy, versions; independent of generated_at) · evidence_bundle_sha256=legacy Evidence JSON bytes · production_sha256=bound production attestation report"
    },
    "CVP-PROD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "CURRENT · site report pass · local checks pass · attestation_id=00c818a77ba026c2d6aa3f7402680cd2dac2a40a816209600bc3c3fcd0b8921c · CURRENT · Public schema 1.0.5 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓ · schema_const=1.0.5 · report output-const=pass · evidence-sha256=pass · semantic-contract=pass · capability-html-public-origin-agree=pass · cvp-manifest-public-origin-agree=pass · calculator-html-cvp-projection=pass · evidence-html-cvp-projection=pass · attested_evidence_sha256=9424f31d3ca937ec4a453e41479201945df6495214f0a220ebb742e7fd1c3f20"
    },
    "CVP-DIM-01": {
      "result": "SKIP",
      "applicability": "not_applicable",
      "notes": "Unitless core calculator — no physical dimension algebra"
    },
    "CVP-PROP-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "2/2 property"
    },
    "CVP-META-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "1/1 metamorphic"
    },
    "CVP-ROUND-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "1/1 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."
    },
    "CVP-ORACLE-01": {
      "result": "SKIP",
      "applicability": "higher_assurance",
      "notes": "O2 present; O3 not required this wave"
    },
    "CVP-EXP-01": {
      "result": "SKIP",
      "applicability": "optional",
      "notes": "expert_reviewed=false"
    }
  },
  "tests": {
    "golden": {
      "passed": 1,
      "total": 1,
      "failed": 0,
      "case_ids": [
        "g-add"
      ]
    },
    "boundary": {
      "passed": 8,
      "total": 8,
      "failed": 0,
      "case_ids": [
        "boundary-den-zero-a",
        "boundary-den-zero-b",
        "boundary-div-zero",
        "boundary-missing",
        "boundary-invalid-num",
        "boundary-from-dec-empty",
        "boundary-alias-add",
        "boundary-from-neg-decimal"
      ]
    },
    "invalid": {
      "passed": 6,
      "total": 6,
      "failed": 0,
      "case_ids": [
        "boundary-den-zero-a",
        "boundary-den-zero-b",
        "boundary-div-zero",
        "boundary-missing",
        "boundary-invalid-num",
        "boundary-from-dec-empty"
      ]
    },
    "property": {
      "passed": 2,
      "total": 2,
      "failed": 0,
      "case_ids": [
        "prop-add-zero",
        "prop-mul-one"
      ],
      "definition_ids": [
        "add-zero",
        "mul-one"
      ]
    },
    "round_trip": {
      "passed": 1,
      "total": 1,
      "failed": 0,
      "case_ids": [
        "rt-add-sub"
      ]
    },
    "metamorphic": {
      "passed": 1,
      "total": 1,
      "failed": 0,
      "case_ids": [
        "meta-commute-add"
      ],
      "definition_ids": [
        "commutative-add"
      ]
    },
    "contract": {
      "passed": 1,
      "total": 1,
      "failed": 0
    },
    "cross_interface": {
      "passed": 1,
      "total": 1,
      "failed": 0,
      "case_ids": [
        "iface-add"
      ]
    }
  },
  "coverage": {
    "partitions": [
      {
        "id": "fractions",
        "description": "operate/simplify",
        "exercised": true,
        "case_count": 31
      },
      {
        "id": "invalid-domain",
        "description": "Invalid inputs",
        "exercised": true,
        "case_count": 6
      }
    ]
  },
  "numerical": {
    "representation": "exact integer rational",
    "tolerance": {
      "type": "absolute",
      "value": 0,
      "rationale": "Independent LCD/product fraction ops; exact improper match vs IUT. Declared a priori.",
      "declared_before_evaluation": true
    },
    "max_error_observed": 0,
    "records": [
      {
        "id": "g-add",
        "reference": {
          "mode": "operate",
          "op": "+",
          "n": 11,
          "d": 12,
          "improper": "11/12"
        },
        "actual": {
          "mode": "operate",
          "op": "+",
          "n": 11,
          "d": 12,
          "improper": "11/12",
          "mixed": "11/12",
          "display": "11/12",
          "decimal": "0.916666666667",
          "decimal_display": "0.916666666667",
          "formula": "L = LCM(b, d); a/b + c/d = [a(L/b) + c(L/d)] / L",
          "steps": [
            "3/4 + 1/6",
            "LCD = LCM(4, 6) = 12",
            "3/4 = 9/12",
            "1/6 = 2/12",
            "9/12 + 2/12 = 11/12",
            "GCF(11, 12) = 1",
            "11/12 is already in lowest terms.",
            "Decimal: 11 ÷ 12 ≈ 0.916666666667"
          ],
          "explainer": "3/4 + 1/6 = 11/12 ≈ 0.916666666667.",
          "inputs_label": "3/4 + 1/6",
          "heading": "Result",
          "mode_label": "Operate"
        },
        "error_ulp": 0,
        "threshold_ulp": 0
      }
    ]
  },
  "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."
  },
  "artifacts": {
    "evidence_bundle_sha256": "5378fa553a9cb2ff3b80369cdad42d3d49994d5cabf0a2243430336c3e17a32a",
    "evidence_digest": "b258a9be030c4a38358467f9fc090373d0e2e97fab208e32b3193346a0454117",
    "production_sha256": "9424f31d3ca937ec4a453e41479201945df6495214f0a220ebb742e7fd1c3f20",
    "attested_catalog_sha256": "e03ef81b30568018b171fd1fc4757c2abe9df7220d9ff35bbaf08038d7630cdb",
    "production_checks": [
      {
        "id": "math.fractions:output-const",
        "status": "pass",
        "detail": "output const 1.0.5 vs capability 1.0.5",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T02:52:51.379Z"
      },
      {
        "id": "math.fractions:evidence-sha256",
        "status": "pass",
        "detail": "639ae158bab9",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T02:52:51.379Z"
      },
      {
        "id": "math.fractions:semantic-contract",
        "status": "pass",
        "detail": "32/32",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T02:52:51.379Z"
      },
      {
        "id": "math.fractions:capability-html-public-origin-agree",
        "status": "pass",
        "detail": "public 1.0.5 vs origin 1.0.5",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T02:52:51.379Z"
      },
      {
        "id": "math.fractions:cvp-manifest-public-origin-agree",
        "status": "pass",
        "detail": "math.fractions/1.0.5/-/core/b258a9be030c",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T02:52:51.379Z",
        "projection_compared": false,
        "observed_live_projection_at_attestation": "VERIFIED"
      },
      {
        "id": "math.fractions:calculator-html-cvp-projection",
        "status": "pass",
        "detail": "matches Manifest",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T02:52:51.379Z"
      },
      {
        "id": "math.fractions:evidence-html-cvp-projection",
        "status": "pass",
        "detail": "matches Manifest",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T02:52:51.379Z"
      }
    ]
  },
  "dependencies": [
    {
      "name": "fractions-engine",
      "version": "1.0.5"
    },
    {
      "name": "fractions-reference-oracle",
      "version": "1.0.0"
    },
    {
      "name": "node",
      "version": "20.19.2"
    }
  ],
  "attestation": {
    "status": "CURRENT",
    "href": "/.well-known/calculatorx-production-attestation.json",
    "id": "00c818a77ba026c2d6aa3f7402680cd2dac2a40a816209600bc3c3fcd0b8921c",
    "attested_at": "2026-09-10T02:52:51.379Z"
  },
  "domain_review": {
    "status": "ABSENT",
    "spec_version": "1.0.5"
  },
  "timestamps": {
    "verified_at": "2026-09-10T03:41:46.903Z",
    "generated_at": "2026-09-10T03:41:46.903Z"
  },
  "links": {
    "legacy_evidence": "https://www.calculatorx.com/evidence/math.fractions/1.0.5.json",
    "evidence_page": "https://www.calculatorx.com/evidence/math.fractions/1.0.5",
    "calculator": "https://www.calculatorx.com/calc/math/fractions",
    "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.fractions/1.0.5.cvp.json"
  }
}
