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

instrument implementation / implementation-contract

Baker's Percentage Converter implementation

A source-bound implementation contract for Baker's Percentage Converter; 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
t2-019
Effect
Computation or source lookup only

Input and validation requirements

The advertised total-dough-weight input mode is not fully defined by the supplied formulas: it requires an additional inversion to recover flour weight, and different declared basis modes give substantially different outputs. Zero flour also requires explicit rejection because percentage conversion is undefined.

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": {
    "mode": "percentages_to_weights",
    "flour_weight_g": 500,
    "ingredients": [
      {
        "name": "flour",
        "percentage": 100
      },
      {
        "name": "water",
        "percentage": 70
      },
      {
        "name": "salt",
        "percentage": 2
      },
      {
        "name": "yeast",
        "percentage": 1.4
      }
    ]
  },
  "expected_outputs": {
    "ingredients_g": {
      "flour": 500,
      "water": 350,
      "salt": 10,
      "yeast": 7
    },
    "ingredients_oz": {
      "flour": 17.64,
      "water": 12.35,
      "salt": 0.35,
      "yeast": 0.25
    },
    "total_dough_g": 867,
    "total_dough_oz": 30.58,
    "hydration_percent": 70,
    "salt_percent": 2
  },
  "working": "Flour = 500 g. Water = 70 × 500 / 100 = 350 g. Salt = 2 × 500 / 100 = 10 g. Yeast = 1.4 × 500 / 100 = 7 g. Total = 500 + 350 + 10 + 7 = 867 g. Hydration = 350 / 500 × 100 = 70%. Salt% = 10 / 500 × 100 = 2%. Ounces: 500 / 28.3495 = 17.64 oz; 350 / 28.3495 = 12.35 oz; 10 / 28.3495 = 0.35 oz; 7 / 28.3495 = 0.25 oz; 867 / 28.3495 = 30.58 oz."
}

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-tranche2/tranche2-results.json