Guth
NewsDocs
Page actions
View as Markdown ↗
Explore MCP tools ↗

instrument implementation / implementation-contract

Dilution / Cocktail Proof Calculator implementation

A source-bound implementation contract for Dilution / Cocktail Proof Calculator; deployment and executable qualification remain separate.

Status: VERIFIED_CLEANLifecycle: implementation-contract

Binding contract

This record describes what an executable surface must bind and validate. It does not claim that a public calculator, package, or production route is deployed.

Record owner
Guth Instruments
Lifecycle
verified-clean
Evidence ID
t5-137
Effect
Computation or source lookup only

Input and validation requirements

The all-zero-volume input produces an undefined 0 ÷ 0 result and must be rejected. The convention probe also shows that failing to distinguish percentage-point ABV from fractional ABV can produce an invalid 1000% result.

Required corrections

No binding erratum is attached to this unique-name record. Implementers must still preserve the declared units, domain, and failure behavior.

Inspectable interface fixture

The sample below is evidence for interface and validation tests, not a production implementation.

{
  "inputs": {
    "liquids": [
      {
        "volume_ml": 50,
        "abv_percent": 40
      },
      {
        "volume_ml": 25,
        "abv_percent": 20
      }
    ],
    "water_volume_ml": 25
  },
  "expected_outputs": {
    "final_abv_percent": 25,
    "proof_us": 50,
    "total_volume_ml": 100
  },
  "working": "Alcohol volume = (50 × 40/100) + (25 × 20/100) + (25 × 0/100) = 20 + 5 + 0 = 25 mL. Total volume = 50 + 25 + 25 = 100 mL. Final ABV = 25/100 × 100 = 25%. U.S. proof = 2 × 25 = 50."
}

Other records

Sources and evidence

These pointers bind the page to evidence. They do not grant authority or collapse verification into deployment.

  • VERIFIED_LEDGER.json
  • evidence-tranche5/tranche5-results.json