{
  "capability_id": "electrical.parallel_resistor",
  "tool_id": "parallel-resistor",
  "engine": "parallel-resistor",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:03:43.719Z",
  "engine_build": "2026-09-10",
  "test_count": 10,
  "passed": 10,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 2,
      "passed": 2
    },
    "boundary": {
      "total": 5,
      "passed": 5
    },
    "property": {
      "total": 3,
      "passed": 3
    }
  },
  "engine_tested": true,
  "expert_reviewed": true,
  "internally_reviewed": false,
  "review_kind": "expert",
  "source_checked": true,
  "reviewed_by": "CalculatorX electrical review",
  "reviewer_role": "electrical-engineer",
  "last_reviewed": "2026-08-08",
  "expert_review": {
    "status": "approved",
    "reviewer": {
      "name": "CalculatorX electrical review",
      "role": "electrical-engineer"
    },
    "reviewed_at": "2026-08-08",
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "kind": "expert"
  },
  "internal_review": {
    "status": "not_applicable",
    "reviewer": null
  },
  "page": "https://www.calculatorx.com/calc/electric/parallel-resistor",
  "api": "https://www.calculatorx.com/api/v1/calc/parallel-resistor",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.parallel_resistor.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.parallel_resistor.output.json",
  "assumptions": [],
  "limitations": [
    "Parallel only",
    "N<2 → NEEDS_TWO_INPUTS"
  ],
  "boundary_conditions": [
    "Fewer than two → NEEDS_TWO_INPUTS",
    "≤ 0 → VALUE_MUST_BE_POSITIVE",
    "Non-finite → INVALID_NUMBER"
  ],
  "sources": [
    {
      "title": "IEC 60050 — IEV",
      "section": "Parallel connection of resistors",
      "supports": "Conductance addition for parallel networks",
      "kind": "standard"
    },
    {
      "title": "Horowitz & Hill — The Art of Electronics",
      "section": "Resistor networks",
      "supports": "1/Req = Σ 1/Ri",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:6ded765a8f7d9097f75286617b87571b17f9f63795029f95e01f8fe5aff8fdcb",
  "tests": [
    {
      "id": "two-equal",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "R1": 100,
        "R2": 100
      },
      "expect": {
        "R_eq": 50,
        "G_S": 0.02,
        "n": 2
      },
      "expectWarning": null,
      "actual": {
        "R_eq": 50,
        "G_S": 0.02,
        "n": 2,
        "R_ohm": [
          100,
          100
        ]
      },
      "tol": 1e-12
    },
    {
      "id": "three",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "R_ohm": [
          100,
          200,
          300
        ]
      },
      "expect": {
        "R_eq": 54.54545454545455
      },
      "expectWarning": null,
      "actual": {
        "R_eq": 54.54545454545455,
        "G_S": 0.018333333333333333,
        "n": 3,
        "R_ohm": [
          100,
          200,
          300
        ]
      },
      "tol": 1e-12
    },
    {
      "id": "needs-two",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "R1": 100
      },
      "expectError": "NEEDS_TWO_INPUTS",
      "code": "NEEDS_TWO_INPUTS",
      "error": "parallel resistor needs at least two resistances"
    },
    {
      "id": "zero",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "R1": 0,
        "R2": 100
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "R1 must be greater than zero"
    },
    {
      "id": "boundary-two",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "R1": 100,
        "R2": 100
      },
      "expect": {
        "R_eq": 50
      },
      "expectWarning": null,
      "actual": {
        "R_eq": 50,
        "G_S": 0.02,
        "n": 2,
        "R_ohm": [
          100,
          100
        ]
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-needs-two",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "R1": 50
      },
      "expectError": "NEEDS_TWO_INPUTS",
      "code": "NEEDS_TWO_INPUTS",
      "error": "parallel resistor needs at least two resistances"
    },
    {
      "id": "boundary-zero",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "R1": 0,
        "R2": 10
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "R1 must be greater than zero"
    },
    {
      "id": "property-half",
      "ok": true,
      "kind": "property",
      "detail": "100∥100=50",
      "expect": 50,
      "actual": 50
    },
    {
      "id": "property-four",
      "ok": true,
      "kind": "property",
      "detail": "four 10Ω",
      "expect": 2.5,
      "actual": 2.5
    },
    {
      "id": "property-mono",
      "ok": true,
      "kind": "property",
      "detail": "smaller R → smaller Req",
      "expect": true,
      "actual": true
    }
  ],
  "tier": "expert_verified",
  "verification": {
    "tests": {
      "passed": 10,
      "total": 10,
      "golden": 2,
      "boundary": 5,
      "property": 3
    },
    "contract_checks": {
      "passed": 3,
      "total": 3
    }
  },
  "evidence_core_generated_at": "2026-09-05T02:35:39.217Z",
  "rendered_at": "2026-09-16T22:03:43.719Z",
  "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": "bacaa7d70b434aaa1c2da1490baf2dfa0e9dda77fc7db415e684f05d50798de5",
      "output_schema_sha256": "03865f3008fb064fd424aaec85fc0ecd358e6cb007737af98166727424915e25",
      "evidence_sha256": "48e4e040f2ee65d69cae94c88bb259009905a7369791fd07b5ec8f479141013a",
      "evidence_core_sha256": "48e4e040f2ee65d69cae94c88bb259009905a7369791fd07b5ec8f479141013a",
      "capability_sha256": "4229f52c61887d7262b5a84e913827906db3289b0526a80db4dc7405e395b810",
      "engine_sha256": "c8d4ccdbfeaf61d7b024d4e1babb0c2ba3b324c1b37bd0cb456a526d8d2b1bd1",
      "mcp_contract_sha256": "863098b311a7b17dc4b229a6302b90b3545b175f716e5d84772c7be8e9716b86"
    },
    "contract_checks": {
      "total": 3,
      "passed": 3,
      "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"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
