{
  "capability_id": "electrical.diode.equation",
  "tool_id": "diode-equation",
  "engine": "diode-equation",
  "calculation_version": "1.1.0",
  "generated_at": "2026-11-10T05:18:41.759Z",
  "engine_build": "2026-09-12",
  "test_count": 15,
  "passed": 15,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 5,
      "total": 5
    },
    "boundary": {
      "passed": 6,
      "total": 6
    },
    "property": {
      "passed": 4,
      "total": 4
    }
  },
  "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-13",
  "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-13",
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "kind": "internal"
  },
  "page": "https://www.calculatorx.com/calc/electric/diode-equation",
  "api": "https://www.calculatorx.com/api/v1/calc/diode-equation",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.diode.equation.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.diode.equation.output.json",
  "assumptions": [
    "Ideal Shockley; no series Rs, breakdown, recombination extras, or high-injection",
    "I_S is the saturation current at the selected junction temperature; I_S(T) is not derived"
  ],
  "limitations": [
    "Ideal Shockley; no Rs/breakdown/high-injection",
    "Is is specified at T; Is(T) is not derived",
    "mode=vd requires Id > -Is",
    "binary64 overflow → NUMERIC_OVERFLOW"
  ],
  "boundary_conditions": [
    "Is,n,T ≤0 → VALUE_MUST_BE_POSITIVE",
    "mode=vd and Id ≤ -Is → VALUE_OUT_OF_RANGE",
    "binary64 overflow of expm1/log1p → NUMERIC_OVERFLOW"
  ],
  "sources": [
    {
      "title": "Shockley — The theory of p–n junctions in semiconductors and p–n junction transistors",
      "section": "Bell System Technical Journal 28(3), 1949",
      "url": "https://doi.org/10.1002/j.1538-7305.1949.tb03645.x",
      "supports": "Ideal exponential Id–Vd relationship of a p–n junction",
      "kind": "reference",
      "accessed": "2026-09-13",
      "publisher": "Bell System Technical Journal",
      "published": "1949"
    },
    {
      "title": "CODATA 2022 — Boltzmann constant k",
      "section": "Fundamental Physical Constants",
      "url": "https://physics.nist.gov/cuu/Constants/Value/k.html",
      "supports": "Vt = kT/q thermal voltage",
      "kind": "reference",
      "accessed": "2026-09-14",
      "publisher": "NIST"
    },
    {
      "title": "CODATA 2022 — elementary charge e",
      "section": "Fundamental Physical Constants",
      "url": "https://physics.nist.gov/cuu/Constants/Value/e.html",
      "supports": "Vt = kT/q thermal voltage",
      "kind": "reference",
      "accessed": "2026-09-14",
      "publisher": "NIST"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:fc82f7c2c6e183ced77f89b0b803cd01f2d9689ef4c4a3de8c82e173fa0599f3",
  "tier": "internally_reviewed",
  "verification": {
    "tests": {
      "passed": 15,
      "total": 15,
      "golden": 5,
      "boundary": 6,
      "property": 4
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-09-12T22:51:46.658Z",
  "rendered_at": "2026-11-10T05:18:41.759Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.1.0",
    "artifacts": {
      "engine": "1.1.0",
      "page": "1.1.0",
      "capability": "1.1.0",
      "evidence": "1.1.0",
      "input_schema": "1.1.0",
      "output_schema": "1.1.0",
      "mcp_contract": "1.1.0"
    },
    "digests": {
      "input_schema_sha256": "0d09a1811597bcb8e9ac11e11c59ade2a938a949011800cf5c13af56be3d58d0",
      "output_schema_sha256": "765f987f71f4acf69f378cc438657d8325ff6a6ac883763d79d2a92110199837",
      "evidence_sha256": "6c68e360754f16dc7789b0edc1600b1995cb7899be81f35592228f21294875a5",
      "evidence_core_sha256": "6c68e360754f16dc7789b0edc1600b1995cb7899be81f35592228f21294875a5",
      "capability_sha256": "0f20e39d2f2378313c91f5d8dc4f569491bd62ce1e21cb7c4a3351954d1e956d",
      "engine_sha256": "c6ebd8436f08b413e1ac6317b2d48550f2e6639a90dff254244e3aa562158b8d",
      "mcp_contract_sha256": "eb3e39ad4a95ed263415b4932f185d5edfe00a2403267b7c5ed5f718d1ff6da3"
    },
    "contract_checks": {
      "total": 6,
      "passed": 6,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.1.0"
        },
        {
          "id": "schema-output-required-declared",
          "status": "pass"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "status": "pass"
        },
        {
          "id": "rest-success-payload-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  },
  "tests": [],
  "disclosure": {
    "policy": "calculatorx-public-evidence-v1",
    "full_validation": "private",
    "representation": "summary"
  }
}
