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

instrument implementation / implementation-contract

Humidity Ratio Calculator implementation

A source-bound implementation contract for Humidity Ratio 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
t4-060
Effect
Computation or source lookup only

Input and validation requirements

The specification permits an undefined division when pv equals barometric pressure, and it is vulnerable to a percent-versus-fraction RH convention error. The saturation-pressure branch is also underspecified because no correlation or ice/liquid branch rule is given.

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": {
    "T_C": 20,
    "RH": 0.5,
    "P_kPa": 101.325
  },
  "expected_outputs": {
    "W_kg_per_kg_dry_air": 0.00725985
  },
  "working": "psat=2.338 kPa. pv=RH·psat=0.50·2.338=1.169 kPa. P−pv=101.325−1.169=100.156 kPa. 0.622·pv=0.622·1.169=0.727118. W=0.727118/100.156=0.00725985 kg/kg dry air."
}

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