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

instrument implementation / implementation-contract

Unit & Dimensional Analysis Converter implementation

A source-bound implementation contract for Unit & Dimensional Analysis 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
t6-142
Effect
Computation or source lookup only

Input and validation requirements

An extreme but syntactically valid finite input, 1e308 m, converts to 1e311 mm and overflows JavaScript Number arithmetic to Infinity. The converter should reject or clearly flag the non-finite output. The pound test also exposes a convention-dependent result if lb is not disambiguated.

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": {
    "value": 12,
    "source_unit": "in",
    "target_unit": "m"
  },
  "expected_outputs": {
    "converted_value": 0.3048,
    "dimension_breakdown": {
      "L": 1,
      "M": 0,
      "T": 0,
      "Theta": 0
    }
  },
  "working": "1. Use the exact factor: 1 in = 0.0254 m.\n2. Convert: 12 in × 0.0254 m/in = 0.3048 m.\n3. The inch and metre are both length units, so the dimension exponents are L^1 M^0 T^0 Θ^0."
}

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