{
  "capability_id": "electrical.current_divider",
  "tool_id": "current-divider",
  "engine": "current-divider",
  "calculation_version": "1.0.2",
  "generated_at": "2026-09-16T22:03:43.724Z",
  "engine_build": "2026-09-14",
  "test_count": 23,
  "passed": 23,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 5,
      "passed": 5
    },
    "boundary": {
      "total": 12,
      "passed": 12
    },
    "property": {
      "total": 6,
      "passed": 6
    }
  },
  "engine_tested": true,
  "expert_reviewed": false,
  "internally_reviewed": true,
  "review_kind": "internal",
  "source_checked": true,
  "reviewed_by": "CalculatorX electrical review",
  "reviewer_role": "electrical-engineer",
  "last_reviewed": "2026-09-14",
  "expert_review": {
    "status": "not_applicable",
    "reviewer": null,
    "note": "Internal domain review completed; not a named external expert review.",
    "kind": "internal"
  },
  "internal_review": {
    "status": "approved",
    "reviewer": {
      "name": "CalculatorX electrical review",
      "role": "electrical-engineer"
    },
    "reviewed_at": "2026-09-14",
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "kind": "internal"
  },
  "page": "https://www.calculatorx.com/calc/electric/current-divider",
  "api": "https://www.calculatorx.com/api/v1/calc/current-divider",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.current_divider.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.current_divider.output.json",
  "assumptions": [
    "Exactly two ideal resistive parallel branches; no additional branch or load",
    "DC / resistive; currents entered as non-negative magnitudes"
  ],
  "limitations": [
    "Exactly two ideal resistive parallel branches; no additional branch or load",
    "Currents are non-negative magnitudes",
    "Web UI is It+R1+R2 only",
    "API supported combinations: It+R1+R2, R1+R2+I1, R1+R2+I2, It+I1+R1, It+I1+R2",
    "It+I1+I2 is underdetermined → UNSUPPORTED_COMBINATION",
    "Inverse It+I1+R1/R2 requires 0 < I1 < It for a finite R>0; I1=0 or I1=It → CURRENT_SPLIT_INVALID",
    "It=0 and I1=0 with R1 or R2 is underdetermined → UNSUPPORTED_COMBINATION",
    "<3 inputs → NEEDS_THREE_INPUTS"
  ],
  "boundary_conditions": [
    "<3 inputs → NEEDS_THREE_INPUTS",
    "R≤0 → VALUE_MUST_BE_POSITIVE",
    "It+I1+I2 → UNSUPPORTED_COMBINATION (underdetermined)",
    "It+I1+R inverse: I1=0 or I1=It → CURRENT_SPLIT_INVALID (no finite R>0)",
    "It=0 and I1=0 with R1 or R2 → UNSUPPORTED_COMBINATION (degenerate)"
  ],
  "sources": [
    {
      "title": "IEC 60050 — International Electrotechnical Vocabulary",
      "section": "Kirchhoff law for nodes (IEV 131-15-09)",
      "url": "https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=131-15-09",
      "supports": "Algebraic sum of currents at a node is zero; I1 + I2 = It for two parallel branches",
      "kind": "standard",
      "accessed": "2026-09-12",
      "clause": "IEV 131-15-09"
    },
    {
      "title": "IEC 60050 — International Electrotechnical Vocabulary",
      "section": "Resistance (IEV 131-12-04)",
      "url": "https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=131-12-04",
      "supports": "R = u/I on each branch; common node voltage V = I1·R1 = I2·R2",
      "kind": "standard",
      "accessed": "2026-09-12",
      "clause": "IEV 131-12-04"
    },
    {
      "title": "Horowitz & Hill — The Art of Electronics",
      "section": "3rd ed., Cambridge University Press, 2015 — Chapter 1 Foundations, current dividers",
      "supports": "Two-branch inverse-R current split",
      "kind": "reference",
      "publisher": "Cambridge University Press",
      "published": "2015"
    }
  ],
  "methods": [
    "Kirchhoff's current law (KCL): I1 + I2 = It",
    "Ohm's law: V = I1·R1 = I2·R2"
  ],
  "fingerprint": "sha256:503e9a018cc00a1ca3c8546171a4ed84c28bbf686f0cc7b955d00d3e1ca1bcdc",
  "tests": [
    {
      "id": "basic",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "It": 0.03,
        "R1": 100,
        "R2": 200
      },
      "expect": {
        "I1": 0.02,
        "I2": 0.01,
        "V": 2
      },
      "expectWarning": null,
      "actual": {
        "It": 0.03,
        "R1": 100,
        "R2": 200,
        "I1": 0.02,
        "I2": 0.01,
        "V": 2
      },
      "tol": 1e-12
    },
    {
      "id": "needs-three",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "It": 0.03,
        "R1": 100
      },
      "expectError": "NEEDS_THREE_INPUTS",
      "code": "NEEDS_THREE_INPUTS",
      "error": "currentDivider needs a solvable three-value combination of It,R1,R2,I1,I2"
    },
    {
      "id": "zero-R",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "It": 0.03,
        "R1": 0,
        "R2": 100
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "R1 must be greater than zero"
    },
    {
      "id": "solve-from-I1",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "R1": 100,
        "R2": 200,
        "I1": 0.02
      },
      "expect": {
        "It": 0.03,
        "I2": 0.01
      },
      "expectWarning": null,
      "actual": {
        "It": 0.03,
        "R1": 100,
        "R2": 200,
        "I1": 0.02,
        "I2": 0.009999999999999998,
        "V": 2
      },
      "tol": 1e-12
    },
    {
      "id": "solve-from-I2",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "R1": 100,
        "R2": 200,
        "I2": 0.01
      },
      "expect": {
        "It": 0.03,
        "I1": 0.02
      },
      "expectWarning": null,
      "actual": {
        "It": 0.03,
        "R1": 100,
        "R2": 200,
        "I1": 0.019999999999999997,
        "I2": 0.01,
        "V": 1.9999999999999998
      },
      "tol": 1e-12
    },
    {
      "id": "solve-R2",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "It": 0.03,
        "I1": 0.02,
        "R1": 100
      },
      "expect": {
        "R2": 200,
        "I2": 0.01
      },
      "expectWarning": null,
      "actual": {
        "It": 0.03,
        "R1": 100,
        "R2": 200.00000000000003,
        "I1": 0.02,
        "I2": 0.009999999999999998,
        "V": 2
      },
      "tol": 1e-12
    },
    {
      "id": "solve-R1",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "It": 0.03,
        "I1": 0.02,
        "R2": 200
      },
      "expect": {
        "R1": 100,
        "I2": 0.01
      },
      "expectWarning": null,
      "actual": {
        "It": 0.03,
        "R1": 99.99999999999999,
        "R2": 200,
        "I1": 0.02,
        "I2": 0.009999999999999998,
        "V": 1.9999999999999998
      },
      "tol": 1e-12
    },
    {
      "id": "inverse-i1-zero-R1",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "It": 0.03,
        "I1": 0,
        "R1": 100
      },
      "expectError": "CURRENT_SPLIT_INVALID",
      "code": "CURRENT_SPLIT_INVALID",
      "error": "inverse resistance requires 0 < I1 < It (finite R>0)"
    },
    {
      "id": "inverse-i1-eq-It-R1",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "It": 0.03,
        "I1": 0.03,
        "R1": 100
      },
      "expectError": "CURRENT_SPLIT_INVALID",
      "code": "CURRENT_SPLIT_INVALID",
      "error": "inverse resistance requires 0 < I1 < It (finite R>0)"
    },
    {
      "id": "inverse-zero-It-I1-R1",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "It": 0,
        "I1": 0,
        "R1": 100
      },
      "expectError": "UNSUPPORTED_COMBINATION",
      "code": "UNSUPPORTED_COMBINATION",
      "error": "It=0 and I1=0 cannot uniquely determine the other resistance"
    },
    {
      "id": "inverse-i1-zero-R2",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "It": 0.03,
        "I1": 0,
        "R2": 200
      },
      "expectError": "CURRENT_SPLIT_INVALID",
      "code": "CURRENT_SPLIT_INVALID",
      "error": "inverse resistance requires 0 < I1 < It (finite R>0)"
    },
    {
      "id": "inverse-i1-eq-It-R2",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "It": 0.03,
        "I1": 0.03,
        "R2": 200
      },
      "expectError": "CURRENT_SPLIT_INVALID",
      "code": "CURRENT_SPLIT_INVALID",
      "error": "inverse resistance requires 0 < I1 < It (finite R>0)"
    },
    {
      "id": "inverse-zero-It-I1-R2",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "It": 0,
        "I1": 0,
        "R2": 200
      },
      "expectError": "UNSUPPORTED_COMBINATION",
      "code": "UNSUPPORTED_COMBINATION",
      "error": "It=0 and I1=0 cannot uniquely determine the other resistance"
    },
    {
      "id": "boundary-zero-It",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "It": 0,
        "R1": 100,
        "R2": 200
      },
      "expect": {
        "I1": 0,
        "I2": 0,
        "V": 0
      },
      "expectWarning": null,
      "actual": {
        "It": 0,
        "R1": 100,
        "R2": 200,
        "I1": 0,
        "I2": 0,
        "V": 0
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-extreme-ratio",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "It": 0.03,
        "R1": 1,
        "R2": 1000000000
      },
      "expect": {
        "I1": 0.02999999997,
        "I2": 2.999999997e-11
      },
      "expectWarning": null,
      "actual": {
        "It": 0.03,
        "R1": 1,
        "R2": 1000000000,
        "I1": 0.02999999997,
        "I2": 2.999999997e-11,
        "V": 0.02999999997
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-underdetermined",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "It": 0.03,
        "I1": 0.02,
        "I2": 0.01
      },
      "expectError": "UNSUPPORTED_COMBINATION",
      "code": "UNSUPPORTED_COMBINATION",
      "error": "unsupported current-divider input combination"
    },
    {
      "id": "boundary-split",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "It": 0.03,
        "I1": 0.04,
        "R1": 100
      },
      "expectError": "CURRENT_SPLIT_INVALID",
      "code": "CURRENT_SPLIT_INVALID",
      "error": "I1 cannot exceed It"
    },
    {
      "id": "property-split",
      "ok": true,
      "kind": "property",
      "detail": "2:1 split",
      "expect": true,
      "actual": true
    },
    {
      "id": "property-linear",
      "ok": true,
      "kind": "property",
      "detail": "2It",
      "expect": 0.04,
      "actual": 0.04
    },
    {
      "id": "property-kcl",
      "ok": true,
      "kind": "property",
      "detail": "I1+I2=It",
      "expect": 0.03,
      "actual": 0.03
    },
    {
      "id": "property-ohm",
      "ok": true,
      "kind": "property",
      "detail": "I1 R1 = I2 R2 = V",
      "expect": 2,
      "actual": 2
    },
    {
      "id": "property-swap",
      "ok": true,
      "kind": "property",
      "detail": "swap R1↔R2",
      "expect": 0.01,
      "actual": 0.01
    },
    {
      "id": "property-scale",
      "ok": true,
      "kind": "property",
      "detail": "scale R ×10",
      "expect": 20,
      "actual": 20
    }
  ],
  "tier": "internally_reviewed",
  "verification": {
    "tests": {
      "passed": 23,
      "total": 23,
      "golden": 5,
      "boundary": 12,
      "property": 6
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-14T03:15:03.452Z",
  "rendered_at": "2026-09-16T22:03:43.724Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.0.2",
    "artifacts": {
      "engine": "1.0.2",
      "page": "1.0.2",
      "capability": "1.0.2",
      "evidence": "1.0.2",
      "input_schema": "1.0.2",
      "output_schema": "1.0.2",
      "mcp_contract": "1.0.2"
    },
    "digests": {
      "input_schema_sha256": "fd2d62434ceb76f8c2f295d990f1727eac827ffc06a620cee27bd74671500934",
      "output_schema_sha256": "38d5757df93af788f9c6c92980690a4fcf9221950a9be94f3fd32febb3ec5251",
      "evidence_sha256": "7bbee0737e685828bdb68e94c11d8132769780ba0db7fbe3e7d5adf1b08a5a33",
      "evidence_core_sha256": "7bbee0737e685828bdb68e94c11d8132769780ba0db7fbe3e7d5adf1b08a5a33",
      "capability_sha256": "ecfbeb9522d60c4306d48a8aee9f2a64e7cc87f9db8f93f3ef2878ab91279a4b",
      "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.2"
        },
        {
          "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"
  }
}
