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

instrument implementation / implementation-contract

Latency / Buffer Size Calculator implementation

A source-bound implementation contract for Latency / Buffer Size 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-025
Effect
Computation or source lookup only

Input and validation requirements

A sample rate of zero causes an undefined division and must be rejected. Additionally, the specification provides no numeric I/O overhead estimate, so exact total latency is underdetermined unless the implementation documents or supplies H; the outputs above therefore include the computable base latency and express the total as base plus H.

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": {
    "bufferSize": 256,
    "sampleRate": 48000,
    "roundTrip": true
  },
  "expected_outputs": {
    "latencyMs": 10.666666667
  },
  "working": "One buffer: 256 / 48000 s = 0.005333333333 s. Convert: 0.005333333333 * 1000 = 5.333333333 ms. Round trip: 5.333333333 * 2 = 10.666666667 ms. I/O overhead assumed: 0 ms. Total = 10.666666667 ms."
}

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