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

instrument implementation / implementation-contract

Loading & Maintenance Dose Calculator implementation

A source-bound implementation contract for Loading & Maintenance Dose 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-062
Effect
Computation or source lookup only

Input and validation requirements

The extreme-magnitude vector produces Infinity for both outputs under plain JavaScript arithmetic. The instrument should reject non-finite inputs or outputs rather than display Infinity as a usable educational dose. The specification also contains no actual formula branch, so an implementation inventing a threshold-based branch would be unsupported.

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": {
    "target_concentration": "10 mg/L",
    "Vd": "35 L",
    "clearance": "4.2 L/h",
    "dosing_interval": "12 h"
  },
  "expected_outputs": {
    "loading_dose": "350 mg",
    "maintenance_dose_per_interval": "504 mg",
    "maintenance_rate": "42 mg/h"
  },
  "working": "Loading dose = 10 mg/L × 35 L = 350 mg. Maintenance dose = 10 mg/L × 4.2 L/h × 12 h = 42 mg/h × 12 h = 504 mg. Maintenance rate = 10 mg/L × 4.2 L/h = 42 mg/h."
}

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