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

instrument implementation / implementation-contract

Protein Requirement Estimator implementation

A source-bound implementation contract for Protein Requirement Estimator; 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-107
Effect
Computation or source lookup only

Input and validation requirements

The extreme-weight test produces Infinity in plain JavaScript arithmetic, and the zero-weight boundary can produce an invalid but numerically accepted 0 g/day unless validation rejects it. An unspecified weight unit can also change the result from 338.8 to approximately 153.677093 g/day.

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": {
    "weight_kg": 70,
    "goal_category": "sedentary/general adult",
    "factor_g_per_kg": 0.8
  },
  "expected_outputs": {
    "protein_g_per_day": 56
  },
  "working": "1. Start with weight = 70 kg and factor = 0.8 g/kg/day.\n2. protein_g_per_day = 70 × 0.8.\n3. 70 × 0.8 = 56.\n4. Expected output = 56 g/day."
}

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