Home Developers Evidence math.ratio

Public evidence

math.ratio

Machine-checked verification for calculation version 1.0.3 · tier engine_tested

CVP status

CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published modes

Declared CVP coverage is all six published modes (simplify, proportion, scale, split, compare, convert), including A:B:C where those modes support it. Integer, terminating-decimal, and simple a/b terms.

Declared partition coverage
PASS · 8/8 declared partitions (simplify, proportion, scale, split, compare, convert, three-term, invalid-domain)
Versions
Calculation 1.0.3 · CVP protocol 1.0.0-proposed · Evidence 2026-10-21.ratio-complete-contract-v3
Verification revision
2026-10-21.ratio-complete-contract-v3 · 7/7 property · digest 980fb61ebf20

Verification

Legacy regression suite: 26/26 calculation tests · Production surface contract 10/10

Three distinct suites: educational examples on the calculator page, this legacy regression count (26/26 golden + boundary), and the CVP verification suite below. They are not the same number. Property, metamorphic, round-trip, O3, and interface statuses/checks are recorded in the CVP Manifest . SKIP (0/0) means that suite has no published vectors.

    This calculator CURRENT · Public schema 1.0.3 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓

CVP verification suite

Protocol checks from the Evidence Manifest. Distinct from the legacy regression suite above. Verification revision 2026-10-21.ratio-complete-contract-v3. Calculation version 1.0.3. CVP 1.0.0-proposed. 19/19 golden · 7/7 CVP boundary · 7/7 invalid · 7/7 property · 2/2 metamorphic · 2/2 round-trip · 3/3 cross-interface · 10/10 CVP contract. digest 980fb61ebf20. All six published Ratio modes (simplify, proportion, scale, split, compare, convert), including A:B:C where those modes support it. Independent O2 expected values; exact rational BigInt; Node is runtime host only.

  • Golden (oracle-backed) 19 / 19
  • CVP boundary 7 / 7
  • Invalid input 7 / 7
  • Property 7 / 7
  • Metamorphic 2 / 2
  • Round-trip 2 / 2
  • Cross-interface 3 / 3
  • CVP contract 10 / 10
  • Interfaces PASS · UI (SSR) / REST / MCP
  • Interface claim ui-ssr is query-result HTML, not a live browser session.
  • Verified scope all published modes
  • Assurance Core
  • release artifacts aligned PASS
  • schema output required declared PASS
  • schema valid input executes PASS
  • engine success output validates schema PASS
  • explanation formula n term PASS
  • explanation steps match result PASS
  • explanation inputs summary PASS
  • explanation calculation version PASS
  • explanation arity PASS
  • rest success payload validates schema PASS

Fingerprint sha256:b5c8199f4079f3b276a5da86a61b6f2a2339f5bd95d8868bb0627a885ea69bf2

Input schema sha256:0560f35cdf32bb784bf21fadc9c84c7f47dcdd2ea831eeaacf60a55e90210d44 · Output schema sha256:fd4566914572b7c5cd66567757cd4cd599ac0b8652f79ecdaba4de553d8ff975 · Build-time SHA-256 digests prove published artifacts agree with each other (release_integrity.scope=workspace). Production attestation GETs canonical URLs twice (public/cached view and origin), including Capability HTML, via npm run attest:production --write (published at /.well-known/calculatorx-production-attestation.json) and fails if the public Capability page advertises a different calculation_version. This is artifact consistency, not an independent immutable release log.

Build & scope

Engine identity and declared limitations.

Tool
ratio
Engine
ratio
Engine build
2026-10-21
Evidence core
2026-10-21T04:48:56.569Z
Rendered
2026-10-28T03:01:57.865Z
Last reviewed
—

Assumptions

  • Finite rationals: integers, terminating decimals, or simple fractions a/b.
  • Proportion denominators in A/B or C/D must be nonzero when used.
  • Simplify / proportion / compare allow negative terms. Split does not.

Limitations

  • Integers, terminating decimals, and simple a/b fractions only (no mixed numbers or scientific notation)
  • Simplify / proportion / compare allow negative terms
  • All-zero simplify → ALL_ZERO
  • Proportion needs exactly one blank among A,B,C,D → PROPORTION_ONE_BLANK
  • Expert review pending — L1 engine-tested / source-checked
  • Each token≤128 characters;48 digits per integer/decimal or fraction component. Binary64 JSON numbers may already round; unsafe integer numbers rejected; exact strings recommended.
  • Aliases must agree; unknown and nonempty inactive fields rejected.
  • Proportion requires a unique solution and nonzero B,D including solved denominators.
  • Split terms and total must be nonnegative, sum of terms positive.
  • Bars approximate; tiny percentages may be invisible, exact text retained.

Sources

Standards and references supporting this tool specification. Methods are listed separately — they are algorithms, not bibliographic sources.

Verification disclosure

Aggregate outcomes, scope and artifact commitments are public. Complete test inputs, expected values, execution records and oracle infrastructure are retained privately. This summary does not independently reproduce the full verification run.