{
  "capability_id": "electrical.resistor_color_code",
  "tool_id": "resistor-color",
  "engine": "resistor-color",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:03:43.762Z",
  "engine_build": "2026-09-10",
  "test_count": 3,
  "passed": 3,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 1,
      "passed": 1
    },
    "boundary": {
      "total": 1,
      "passed": 1
    },
    "property": {
      "total": 1,
      "passed": 1
    }
  },
  "engine_tested": true,
  "expert_reviewed": true,
  "internally_reviewed": false,
  "review_kind": "expert",
  "source_checked": true,
  "reviewed_by": "CalculatorX electrical review",
  "reviewer_role": null,
  "last_reviewed": "2026-08-09",
  "expert_review": {
    "status": "approved",
    "reviewer": {
      "name": "CalculatorX electrical review",
      "role": null
    },
    "reviewed_at": "2026-08-09",
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "kind": "expert"
  },
  "internal_review": {
    "status": "not_applicable",
    "reviewer": null
  },
  "page": "https://www.calculatorx.com/calc/electric/resistor-color-code",
  "api": "https://www.calculatorx.com/api/v1/calc/resistor-color",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.resistor_color_code.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.resistor_color_code.output.json",
  "assumptions": [],
  "limitations": [
    "Through-hole IEC 60062 colors; not SMD codes"
  ],
  "boundary_conditions": [
    "coded hard errors"
  ],
  "sources": [
    {
      "title": "Intro physics / IEC / NIST units",
      "section": "standard relations",
      "supports": "engine formulas",
      "kind": "reference"
    },
    {
      "title": "IEC 60062 — Marking codes for resistors",
      "section": "Colour code",
      "supports": "Digit / multiplier / tolerance / TCR bands",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:cd852f8284af7ea92dd4f886353ce110f98327e2f667646b804107eba9b132ac",
  "tests": [
    {
      "id": "4band",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "bands": 4,
        "colors": [
          "brown",
          "black",
          "red",
          "gold"
        ]
      },
      "expect": {
        "ohms": 1000,
        "tolerancePercent": 5
      },
      "expectWarning": null,
      "actual": {
        "bands": 4,
        "ohms": 1000,
        "formatted": "1 kΩ",
        "tolerancePercent": 5,
        "multiplier": 100,
        "significand": 10,
        "minOhms": 950,
        "maxOhms": 1050,
        "rangeFormatted": "950 Ω – 1.05 kΩ",
        "temperatureCoefficient": null
      },
      "tol": 0
    },
    {
      "id": "bad",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "bands": 4,
        "colors": [
          "brown",
          "black"
        ]
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "missing bands"
    },
    {
      "id": "property-rcc-3",
      "ok": true,
      "kind": "property",
      "detail": "1k±20",
      "expect": 1000,
      "actual": 1000
    }
  ],
  "tier": "expert_verified",
  "verification": {
    "tests": {
      "passed": 3,
      "total": 3,
      "golden": 1,
      "boundary": 1,
      "property": 1
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-06T13:16:40.891Z",
  "rendered_at": "2026-09-16T22:03:43.762Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.0.0",
    "artifacts": {
      "engine": "1.0.0",
      "page": "1.0.0",
      "capability": "1.0.0",
      "evidence": "1.0.0",
      "input_schema": "1.0.0",
      "output_schema": "1.0.0",
      "mcp_contract": "1.0.0"
    },
    "digests": {
      "input_schema_sha256": "9e97a5f77d7ef6b8e24af766213d88c6b6ce82b9cfe56615766a18f7d29e5834",
      "output_schema_sha256": "f3902b9c3e8b7b0f15c1a37ddcc4171c0e09800dcbc9de733044e1c256e92e56",
      "evidence_sha256": "c75afad6b4b575d1e5de7d662caec3c283b06d4d4c6cb4de9ba479304ee7414f",
      "evidence_core_sha256": "c75afad6b4b575d1e5de7d662caec3c283b06d4d4c6cb4de9ba479304ee7414f",
      "capability_sha256": "6ae77ec829c29e56048da71c2439ff7aa0fde1595ffba9f20ac52e6b67ea77d9",
      "engine_sha256": "c8d4ccdbfeaf61d7b024d4e1babb0c2ba3b324c1b37bd0cb456a526d8d2b1bd1",
      "mcp_contract_sha256": "863098b311a7b17dc4b229a6302b90b3545b175f716e5d84772c7be8e9716b86"
    },
    "contract_checks": {
      "total": 4,
      "passed": 4,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.0"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
