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

instrument implementation / implementation-contract

Resistor Color Code Decoder/Encoder implementation

A source-bound implementation contract for Resistor Color Code Decoder/Encoder; 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
t7-031
Effect
Computation or source lookup only

Input and validation requirements

The extreme-value encoder input lies outside the supported EIA multiplier range and must be rejected explicitly. The decoder also has a convention hazard if band direction or the metallic tolerance band is not identified, and the exact-zero code should be flagged as a zero-ohm jumper rather than treated as an ordinary resistor.

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": {
    "mode": "decode",
    "band_colors": [
      "brown",
      "black",
      "red",
      "gold"
    ]
  },
  "expected_outputs": {
    "nominal_resistance_ohms": 1000,
    "tolerance_percent": 5,
    "resistance_range_ohms": {
      "min": 950,
      "max": 1050
    }
  },
  "reference_data": {
    "digit_bands": [
      {
        "color": "brown",
        "digit": 1,
        "source_convention": "IEC 60062 / widely tabulated standard value"
      },
      {
        "color": "black",
        "digit": 0,
        "source_convention": "IEC 60062 / widely tabulated standard value"
      }
    ],
    "multiplier_band": {
      "color": "red",
      "factor": 100,
      "source_convention": "IEC 60062 / widely tabulated standard value"
    },
    "tolerance_band": {
      "color": "gold",
      "tolerance_percent": 5,
      "source_convention": "IEC 60062 / widely tabulated standard value"
    },
    "table_entry": {
      "color_code": "brown-black-red-gold",
      "meaning": "1 kΩ ±5%",
      "source_convention": "IEC 60062 / widely tabulated standard value"
    }
  },
  "working": "4-band nominal value = (brown digit 1×10 + black digit 0)×red multiplier 100 = 10×100 = 1000 Ω. Tolerance = 1000×5/100 = 50 Ω. Minimum = 1000−50 = 950 Ω. Maximum = 1000+50 = 1050 Ω."
}

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