Source: https://guthlabs.ai/docs/instruments/alcohol-unit-standard-drink-counter/implementation/

instrument implementation / implementation-contract

# Alcohol Unit / Standard Drink Counter implementation

A source-bound implementation contract for Alcohol Unit / Standard Drink Counter; deployment and executable qualification remain separate.

Status: **VERIFIED_CLEAN**Lifecycle: **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-057

**Effect**: Computation or source lookup only

## Input and validation requirements

The extreme-magnitude vector produces Infinity through JavaScript floating-point overflow, and the US branch is not uniquely computable from the supplied formula without an ethanol-density assumption. ABV notation also permits a factor-100 convention error unless the input representation is explicit.

## 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": {
    "volume_ml": 500,
    "abv_percent": 5,
    "unit_system": "UK and US"
  },
  "expected_outputs": {
    "uk_units": 2.5,
    "us_standard_drinks": 1.4089285714,
    "pure_alcohol_ml": 25,
    "pure_alcohol_g": 19.725
  },
  "working": "Pure alcohol = 500 × 5 ÷ 100 = 25 mL. UK units = 25 ÷ 1000 = 2.5. Pure alcohol mass = 25 × 0.789 = 19.725 g. US standard drinks = 19.725 ÷ 14 = 1.4089285714."
}
````

## Other records

[01**Overview**](<https://guthlabs.ai/docs/instruments/alcohol-unit-standard-drink-counter/>)[02**Mechanism**](<https://guthlabs.ai/docs/instruments/alcohol-unit-standard-drink-counter/mechanism/>)[04**Qualification**](<https://guthlabs.ai/docs/instruments/alcohol-unit-standard-drink-counter/qualification/>)

## 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`
