Page actions
instrument implementation / implementation-contract
Number Base Converter implementation
A source-bound implementation contract for Number Base Converter; deployment and executable qualification remain separate.
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
- live-source boundary
- Effect
- Computation or source lookup only
Input and validation requirements
The target-base-zero vector reaches an undefined division-by-zero operation and must be rejected rather than converted. The negative-number vector also exposes an unspecified signed-representation convention unless the converter explicitly chooses mathematical signed notation or a fixed-width complement format.
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": {
"number_string": "101101.101",
"source_base": 2,
"target_base": 10
},
"expected_outputs": {
"converted_representation": "45.625",
"digit_breakdown_table": [
{
"digit": "1",
"power": 5,
"contribution": "1×2^5=32"
},
{
"digit": "0",
"power": 4,
"contribution": "0×2^4=0"
},
{
"digit": "1",
"power": 3,
"contribution": "1×2^3=8"
},
{
"digit": "1",
"power": 2,
"contribution": "1×2^2=4"
},
{
"digit": "0",
"power": 1,
"contribution": "0×2^1=0"
},
{
"digit": "1",
"power": 0,
"contribution": "1×2^0=1"
},
{
"digit": "1",
"power": -1,
"contribution": "1×2^-1=0.5"
},
{
"digit": "0",
"power": -2,
"contribution": "0×2^-2=0"
},
{
"digit": "1",
"power": -3,
"contribution": "1×2^-3=0.125"
}
]
},
"working": "Integer part: 1×2^5 + 0×2^4 + 1×2^3 + 1×2^2 + 0×2^1 + 1×2^0 = 32 + 0 + 8 + 4 + 0 + 1 = 45. Fractional part: 1×2^-1 + 0×2^-2 + 1×2^-3 = 0.5 + 0 + 0.125 = 0.625. Total = 45 + 0.625 = 45.625."
}Other records
Sources and evidence
These pointers bind the page to evidence. They do not grant authority or collapse verification into deployment.
VERIFIED_LEDGER.jsonevidence-tranche2/batch10-output.jsonl