{
  "protocol": {
    "name": "CVP",
    "version": "1.0.0-proposed",
    "revision": "2026-09-13",
    "spec_sha256": "f62725968356c92930531cd6085db76e216da06e95be53d636b0d2cf3218b148",
    "spec": "https://www.calculatorx.com/developers/cvp/spec/1.0"
  },
  "document_status": "proposed",
  "calculator": {
    "id": "diode-equation",
    "version": "1.1.0",
    "title": "Diode Equation Calculator",
    "formula_family": "shockley-diode",
    "capability_id": "electrical.diode.equation",
    "verification_revision": "2026-09-13.shockley-inverse-trust.2"
  },
  "profile": "engineering",
  "status": "VERIFIED",
  "verification_status": "VERIFIED",
  "production_freshness": "CURRENT",
  "overall_trust": "VERIFIED",
  "runner": {
    "name": "cvp-runner",
    "version": "1.0.0"
  },
  "environment": {
    "runtime": "node",
    "runtime_version": "22.23.2",
    "numeric_model": "IEEE-754 binary64",
    "os": "linux"
  },
  "suite": {
    "id": "diode-equation",
    "version": "1.1.0",
    "uri": "https://www.calculatorx.com/evidence/electrical.diode.equation/1.1.0.json",
    "verification_revision": "2026-09-13.shockley-inverse-trust.2"
  },
  "obligation_set": [
    "CVP-PROV-01",
    "CVP-MODEL-01",
    "CVP-SCOPE-01",
    "CVP-UNIT-01",
    "CVP-REF-01",
    "CVP-GOLD-01",
    "CVP-BND-01",
    "CVP-INV-01",
    "CVP-NUM-01",
    "CVP-COV-01",
    "CVP-CONTRACT-01",
    "CVP-DEP-01",
    "CVP-ART-01",
    "CVP-PROD-01",
    "CVP-DIM-01",
    "CVP-PROP-01",
    "CVP-ROUND-01",
    "CVP-IFACE-01"
  ],
  "provenance": {
    "mode": "direct",
    "sources": [
      {
        "label": "Shockley — The theory of p–n junctions in semiconductors and p–n junction transistors",
        "kind": "other",
        "reference": "Bell System Technical Journal 28(3), 1949",
        "url": "https://doi.org/10.1002/j.1538-7305.1949.tb03645.x"
      },
      {
        "label": "CODATA 2022 — Boltzmann constant k",
        "kind": "other",
        "reference": "Fundamental Physical Constants",
        "url": "https://physics.nist.gov/cuu/Constants/Value/k.html"
      },
      {
        "label": "CODATA 2022 — elementary charge e",
        "kind": "other",
        "reference": "Fundamental Physical Constants",
        "url": "https://physics.nist.gov/cuu/Constants/Value/e.html"
      }
    ]
  },
  "reference": {
    "items": [
      {
        "class": "O1",
        "reference_scope": "model",
        "scope": "model",
        "label": "Ideal Shockley diode equation"
      },
      {
        "class": "O2",
        "reference_scope": "expected_values",
        "scope": "expected_values",
        "label": "Separate-module diode-equation oracle — same V8 binary64 as IUT",
        "engine": {
          "name": "diode-equation-reference",
          "precision_bits": 53,
          "independent_of_iut": true
        }
      },
      {
        "class": "O2",
        "reference_scope": "numerical_behavior",
        "scope": "numerical_behavior",
        "label": "Same O2 module backs ≤2 ULP Id/Vd comparison vs IUT",
        "engine": {
          "name": "diode-equation-reference",
          "precision_bits": 53,
          "independent_of_iut": true
        }
      }
    ],
    "notes": "Golden expected values use a separate O2 module (not IUT transcription). O2 shares Node/V8 binary64 with the IUT unless noted otherwise."
  },
  "controls": {
    "CVP-PROV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Sources present on evidence"
    },
    "CVP-MODEL-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Ideal Shockley Id↔Vd; Vt=kT/q (CODATA 2022). Is is the saturation current at the selected junction temperature; this calculator does not derive Is(T). Inverse domain Id > -Is."
    },
    "CVP-SCOPE-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "No series Rs / breakdown / recombination extras / high-injection. Is is specified at T, not computed from a reference-temperature value."
    },
    "CVP-UNIT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "V, A, K. Canonical REST/MCP temperature is T_K; UI/query may send T_C (Celsius), normalized to T_K."
    },
    "CVP-REF-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "O1 model + O2 expected_values + O2 numerical_behavior"
    },
    "CVP-GOLD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "5/5 legacy golden; 6/6 oracle-backed numeric"
    },
    "CVP-BND-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "6/6 numeric-edge Evidence + 4/4 near-singularity numeric; illegal enum/system is Invalid only"
    },
    "CVP-INV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "5 Evidence illegal-input + 6/6 oracle-backed error-code (exact_error_match, not ULP)"
    },
    "CVP-NUM-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "max_error_observed_ulp=0; policy declared a priori"
    },
    "CVP-COV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "5/5 declared partitions (fwd-id, inv-vd, reverse-bias, small-x, invalid-domain) · 5 legacy golden / 10 CVP boundary unique cases · 5 Evidence invalid-input (may overlap boundary)"
    },
    "CVP-CONTRACT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "4/4 CVP contract"
    },
    "CVP-DEP-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "engine diode-equation; Node binary64"
    },
    "CVP-ART-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "release_integrity.status=verified · digests: artifact_evidence_sha256=Evidence core (Trust freshness) · cvp_evidence_digest=artifacts.evidence_digest (fingerprint v2) · evidence_bundle_sha256=legacy Evidence JSON bytes · evidence_catalog_digest=attested_catalog_sha256 · production_sha256=bound production report · see artifacts.digest_registry"
    },
    "CVP-PROD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "this calculator CURRENT · bound snapshot pass @ 2026-09-13T11:35:00.166Z · live site-wide report stale @ 2026-09-13T11:35:03.554Z (7 other capabilities) · local checks pass · attestation_id=c4df4bb073bf87955dccfbc9399f558b5ac157599dcc2ffa7f03224ca402fd8f · This calculator CURRENT · This calculator is not affected · Bound attestation PASS @ 2026-09-13T11:35:00.166Z · Current site report STALE (7 capabilities; 149 remain CURRENT) @ 2026-09-13T11:35:03.554Z · Public schema 1.1.0 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓ · schema_const=1.1.0 · report output-const=pass · evidence-sha256=pass · semantic-contract=pass · capability-html-public-origin-agree=pass · cvp-manifest-public-origin-agree=pass · cvp-latest-alias-agrees=pass · cvp-immutable-manifest-fetch=pass · cvp-immutable-manifest-sha256=pass · cvp-latest-alias-matches-immutable=pass · calculator-html-cvp-projection=pass · evidence-html-cvp-projection=pass · attested_evidence_sha256=d8679f20af3506f0d939fc41f759265265a940cac3effc1332876304e1ad2bc0 · verified_at=2026-09-12T22:52:20.828Z · evidence_attested_at=2026-09-12T22:52:20.828Z · last_confirmed_current_at=2026-09-13T11:35:00.166Z · rendered_at=2026-09-13T11:35:03.596Z · binds=cvp_core_sha256",
      "check_result": "PASS",
      "production_state": "CURRENT",
      "binding_current": true
    },
    "CVP-DIM-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "Exponential Id–Vd"
    },
    "CVP-PROP-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "2/2 property"
    },
    "CVP-META-01": {
      "result": "SKIP",
      "applicability": "not_applicable",
      "notes": "No input→output transformation vectors in pack — control not in obligation set"
    },
    "CVP-ROUND-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "8/8 round-trips"
    },
    "CVP-XCAL-01": {
      "result": "SKIP",
      "applicability": "not_applicable",
      "notes": "No related calculator in the same formula family / no related-identity peers declared — control not in obligation set"
    },
    "CVP-IFACE-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "UI (SSR) · REST · MCP equivalent (MCP uses calc API handler). ui-ssr is query-result HTML, not a live browser session."
    },
    "CVP-ORACLE-01": {
      "result": "SKIP",
      "applicability": "higher_assurance",
      "notes": "O2 present; O3 not required this wave"
    },
    "CVP-EXP-01": {
      "result": "SKIP",
      "applicability": "optional",
      "notes": "expert_reviewed=false"
    }
  },
  "tests": {
    "golden": {
      "passed": 6,
      "total": 6,
      "failed": 0,
      "case_ids": [
        "g-id",
        "g-vd",
        "g-zero",
        "g-id-zero",
        "g-small-x",
        "g-rev"
      ]
    },
    "boundary": {
      "passed": 10,
      "total": 10,
      "failed": 0,
      "case_ids": [
        "bad-Is",
        "boundary-diode-small-x",
        "boundary-diode-n",
        "boundary-diode-T",
        "boundary-diode-Id-domain",
        "boundary-diode-overflow",
        "bnd-fwd-01",
        "bnd-fwd-05",
        "bnd-small-ratio",
        "bnd-near-rev"
      ]
    },
    "invalid": {
      "passed": 11,
      "total": 11,
      "failed": 0,
      "case_ids": [
        "bad-Is",
        "boundary-diode-n",
        "boundary-diode-T",
        "boundary-diode-Id-domain",
        "boundary-diode-overflow",
        "inv-Is",
        "inv-n",
        "inv-T",
        "inv-Id-domain",
        "inv-overflow",
        "inv-overflow-cold"
      ],
      "comparison": "exact_error_match",
      "records": [
        {
          "id": "inv-Is",
          "comparison": "exact_error_match",
          "expected": {
            "code": "VALUE_MUST_BE_POSITIVE"
          },
          "actual": {
            "code": "VALUE_MUST_BE_POSITIVE"
          },
          "match": true
        },
        {
          "id": "inv-n",
          "comparison": "exact_error_match",
          "expected": {
            "code": "VALUE_MUST_BE_POSITIVE"
          },
          "actual": {
            "code": "VALUE_MUST_BE_POSITIVE"
          },
          "match": true
        },
        {
          "id": "inv-T",
          "comparison": "exact_error_match",
          "expected": {
            "code": "VALUE_MUST_BE_POSITIVE"
          },
          "actual": {
            "code": "VALUE_MUST_BE_POSITIVE"
          },
          "match": true
        },
        {
          "id": "inv-Id-domain",
          "comparison": "exact_error_match",
          "expected": {
            "code": "VALUE_OUT_OF_RANGE"
          },
          "actual": {
            "code": "VALUE_OUT_OF_RANGE"
          },
          "match": true
        },
        {
          "id": "inv-overflow",
          "comparison": "exact_error_match",
          "expected": {
            "code": "NUMERIC_OVERFLOW"
          },
          "actual": {
            "code": "NUMERIC_OVERFLOW"
          },
          "match": true
        },
        {
          "id": "inv-overflow-cold",
          "comparison": "exact_error_match",
          "expected": {
            "code": "NUMERIC_OVERFLOW"
          },
          "actual": {
            "code": "NUMERIC_OVERFLOW"
          },
          "match": true
        }
      ]
    },
    "property": {
      "passed": 2,
      "total": 2,
      "failed": 0,
      "case_ids": [
        "prop-id",
        "prop-roundtrip"
      ],
      "definition_ids": [
        "shockley-id",
        "vd-id-roundtrip"
      ]
    },
    "round_trip": {
      "passed": 8,
      "total": 8,
      "failed": 0,
      "case_ids": [
        "rt-vd0",
        "rt-vd01",
        "rt-vd05",
        "rt-vd07",
        "rt-id1u",
        "rt-id1m",
        "rt-id0",
        "rt-rev"
      ]
    },
    "metamorphic": {
      "passed": 0,
      "total": 0,
      "failed": 0,
      "case_ids": []
    },
    "contract": {
      "passed": 4,
      "total": 4,
      "failed": 0
    },
    "cross_interface": {
      "passed": 4,
      "total": 4,
      "failed": 0,
      "case_ids": [
        "iface-fwd-id",
        "iface-inv-vd",
        "iface-reverse-bias",
        "iface-small-x"
      ]
    }
  },
  "coverage": {
    "partitions": [
      {
        "id": "fwd-id",
        "description": "Vd → Id",
        "exercised": true,
        "case_count": 14
      },
      {
        "id": "inv-vd",
        "description": "Id → Vd (Id > -Is)",
        "exercised": true,
        "case_count": 12
      },
      {
        "id": "reverse-bias",
        "description": "Reverse branch Id in (-Is, 0]",
        "exercised": true,
        "case_count": 7
      },
      {
        "id": "small-x",
        "description": "Small-x expm1 / log1p",
        "exercised": true,
        "case_count": 3
      },
      {
        "id": "invalid-domain",
        "description": "Invalid inputs / overflow",
        "exercised": true,
        "case_count": 11
      }
    ]
  },
  "numerical": {
    "representation": "IEEE-754 binary64",
    "tolerance": {
      "type": "ulp",
      "value": 2,
      "rationale": "Shockley exponential; ≤2 ULP vs separate-module O2 (same V8). Declared a priori.",
      "declared_before_evaluation": true
    },
    "max_error_observed": 0,
    "records": [
      {
        "id": "g-id",
        "reference": {
          "mode": "id",
          "Vd": 0.7,
          "Id": 0.5747545691036834,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "id",
          "Vd": 0.7,
          "Id": 0.5747545691036834,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "golden"
      },
      {
        "id": "g-vd",
        "reference": {
          "mode": "vd",
          "Vd": 0.5357378640168374,
          "Id": 0.001,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "vd",
          "Vd": 0.5357378640168374,
          "Id": 0.001,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "golden"
      },
      {
        "id": "g-zero",
        "reference": {
          "mode": "id",
          "Vd": 0,
          "Id": 0,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "id",
          "Vd": 0,
          "Id": 0,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "golden"
      },
      {
        "id": "g-id-zero",
        "reference": {
          "mode": "vd",
          "Vd": 0,
          "Id": 0,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "vd",
          "Vd": 0,
          "Id": 0,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "golden"
      },
      {
        "id": "g-small-x",
        "reference": {
          "mode": "id",
          "Vd": 1e-12,
          "Id": 3.8681727072581744e-23,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "id",
          "Vd": 1e-12,
          "Id": 3.8681727072581744e-23,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "golden"
      },
      {
        "id": "g-rev",
        "reference": {
          "mode": "vd",
          "Vd": -0.0179192407638041,
          "Id": -5e-13,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "vd",
          "Vd": -0.0179192407638041,
          "Id": -5e-13,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "golden"
      },
      {
        "id": "bnd-fwd-01",
        "reference": {
          "mode": "id",
          "Vd": 0.1,
          "Id": 4.685486129418193e-11,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "id",
          "Vd": 0.1,
          "Id": 4.685486129418193e-11,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "boundary"
      },
      {
        "id": "bnd-fwd-05",
        "reference": {
          "mode": "id",
          "Vd": 0.5,
          "Id": 0.000250974909997991,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "id",
          "Vd": 0.5,
          "Id": 0.000250974909997991,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "boundary"
      },
      {
        "id": "bnd-small-ratio",
        "reference": {
          "mode": "vd",
          "Vd": 2.585199965717554e-10,
          "Id": 1e-20,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "vd",
          "Vd": 2.585199965717554e-10,
          "Id": 1e-20,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "boundary"
      },
      {
        "id": "bnd-near-rev",
        "reference": {
          "mode": "vd",
          "Vd": -0.4762114345287537,
          "Id": -9.999999899999999e-13,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "vd",
          "Vd": -0.4762114345287537,
          "Id": -9.999999899999999e-13,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "boundary"
      },
      {
        "id": "rt-vd0",
        "reference": {
          "mode": "id",
          "Vd": 0,
          "Id": 0,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "id",
          "Vd": 0,
          "Id": 0,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "round-trip",
        "hops": {
          "forward": {
            "reference": {
              "mode": "id",
              "Vd": 0,
              "Id": 0,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "actual": {
              "mode": "id",
              "Vd": 0,
              "Id": 0,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "error_ulp": 0
          },
          "reverse": {
            "reference": {
              "mode": "vd",
              "Vd": 0,
              "Id": 0,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "actual": {
              "mode": "vd",
              "Vd": 0,
              "Id": 0,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "error_ulp": 0
          }
        }
      },
      {
        "id": "rt-vd01",
        "reference": {
          "mode": "id",
          "Vd": 0.1,
          "Id": 4.685486129418193e-11,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "id",
          "Vd": 0.1,
          "Id": 4.685486129418193e-11,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "round-trip",
        "hops": {
          "forward": {
            "reference": {
              "mode": "id",
              "Vd": 0.1,
              "Id": 4.685486129418193e-11,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "actual": {
              "mode": "id",
              "Vd": 0.1,
              "Id": 4.685486129418193e-11,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "error_ulp": 0
          },
          "reverse": {
            "reference": {
              "mode": "vd",
              "Vd": 0.1,
              "Id": 4.685486129418193e-11,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "actual": {
              "mode": "vd",
              "Vd": 0.1,
              "Id": 4.685486129418193e-11,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "error_ulp": 0
          }
        }
      },
      {
        "id": "rt-vd05",
        "reference": {
          "mode": "id",
          "Vd": 0.5,
          "Id": 0.000250974909997991,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "id",
          "Vd": 0.5,
          "Id": 0.000250974909997991,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "round-trip",
        "hops": {
          "forward": {
            "reference": {
              "mode": "id",
              "Vd": 0.5,
              "Id": 0.000250974909997991,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "actual": {
              "mode": "id",
              "Vd": 0.5,
              "Id": 0.000250974909997991,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "error_ulp": 0
          },
          "reverse": {
            "reference": {
              "mode": "vd",
              "Vd": 0.5,
              "Id": 0.000250974909997991,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "actual": {
              "mode": "vd",
              "Vd": 0.5,
              "Id": 0.000250974909997991,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "error_ulp": 0
          }
        }
      },
      {
        "id": "rt-vd07",
        "reference": {
          "mode": "id",
          "Vd": 0.7,
          "Id": 0.5747545691036834,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "id",
          "Vd": 0.7,
          "Id": 0.5747545691036834,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "round-trip",
        "hops": {
          "forward": {
            "reference": {
              "mode": "id",
              "Vd": 0.7,
              "Id": 0.5747545691036834,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "actual": {
              "mode": "id",
              "Vd": 0.7,
              "Id": 0.5747545691036834,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "error_ulp": 0
          },
          "reverse": {
            "reference": {
              "mode": "vd",
              "Vd": 0.7,
              "Id": 0.5747545691036834,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "actual": {
              "mode": "vd",
              "Vd": 0.7,
              "Id": 0.5747545691036834,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "error_ulp": 0
          }
        }
      },
      {
        "id": "rt-id1u",
        "reference": {
          "mode": "vd",
          "Vd": 0.35715860184597714,
          "Id": 0.000001,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "vd",
          "Vd": 0.35715860184597714,
          "Id": 0.000001,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "round-trip",
        "hops": {
          "forward": {
            "reference": {
              "mode": "vd",
              "Vd": 0.35715860184597714,
              "Id": 0.000001,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "actual": {
              "mode": "vd",
              "Vd": 0.35715860184597714,
              "Id": 0.000001,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "error_ulp": 0
          },
          "reverse": {
            "reference": {
              "mode": "id",
              "Vd": 0.35715860184597714,
              "Id": 9.999999999999995e-7,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "actual": {
              "mode": "id",
              "Vd": 0.35715860184597714,
              "Id": 9.999999999999995e-7,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "error_ulp": 0
          }
        }
      },
      {
        "id": "rt-id1m",
        "reference": {
          "mode": "vd",
          "Vd": 0.5357378640168374,
          "Id": 0.001,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "vd",
          "Vd": 0.5357378640168374,
          "Id": 0.001,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "round-trip",
        "hops": {
          "forward": {
            "reference": {
              "mode": "vd",
              "Vd": 0.5357378640168374,
              "Id": 0.001,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "actual": {
              "mode": "vd",
              "Vd": 0.5357378640168374,
              "Id": 0.001,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "error_ulp": 0
          },
          "reverse": {
            "reference": {
              "mode": "id",
              "Vd": 0.5357378640168374,
              "Id": 0.0009999999999999994,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "actual": {
              "mode": "id",
              "Vd": 0.5357378640168374,
              "Id": 0.0009999999999999994,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "error_ulp": 0
          }
        }
      },
      {
        "id": "rt-id0",
        "reference": {
          "mode": "vd",
          "Vd": 0,
          "Id": 0,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "vd",
          "Vd": 0,
          "Id": 0,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "round-trip",
        "hops": {
          "forward": {
            "reference": {
              "mode": "vd",
              "Vd": 0,
              "Id": 0,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "actual": {
              "mode": "vd",
              "Vd": 0,
              "Id": 0,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "error_ulp": 0
          },
          "reverse": {
            "reference": {
              "mode": "id",
              "Vd": 0,
              "Id": 0,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "actual": {
              "mode": "id",
              "Vd": 0,
              "Id": 0,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "error_ulp": 0
          }
        }
      },
      {
        "id": "rt-rev",
        "reference": {
          "mode": "vd",
          "Vd": -0.0179192407638041,
          "Id": -5e-13,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "actual": {
          "mode": "vd",
          "Vd": -0.0179192407638041,
          "Id": -5e-13,
          "Is": 1e-12,
          "n": 1,
          "T_K": 300,
          "Vt": 0.025851999786435535
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "round-trip",
        "hops": {
          "forward": {
            "reference": {
              "mode": "vd",
              "Vd": -0.0179192407638041,
              "Id": -5e-13,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "actual": {
              "mode": "vd",
              "Vd": -0.0179192407638041,
              "Id": -5e-13,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "error_ulp": 0
          },
          "reverse": {
            "reference": {
              "mode": "id",
              "Vd": -0.0179192407638041,
              "Id": -5e-13,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "actual": {
              "mode": "id",
              "Vd": -0.0179192407638041,
              "Id": -5e-13,
              "Is": 1e-12,
              "n": 1,
              "T_K": 300,
              "Vt": 0.025851999786435535
            },
            "error_ulp": 0
          }
        }
      }
    ]
  },
  "interfaces": {
    "compared": [
      "ui-ssr",
      "rest",
      "mcp"
    ],
    "result": "PASS",
    "notes": "UI (SSR) · REST · MCP equivalent (MCP uses calc API handler). ui-ssr is query-result HTML, not a live browser session."
  },
  "artifacts": {
    "evidence_bundle_sha256": "08015b2ea4f5e8537c762feac56f7b2d20b0347758d6642f97ce6be6ee509fe2",
    "evidence_digest": "4899855db55abd0cb111e476000d4084e09b3c76e0ad26f0bcf458621fe5f908",
    "production_sha256": "d8679f20af3506f0d939fc41f759265265a940cac3effc1332876304e1ad2bc0",
    "attested_catalog_sha256": "dfd311ad9f2e37be7af2a29197a84f33944dff9549828dd83635a5da35985df4",
    "production_checks": [
      {
        "id": "electrical.diode.equation:output-const",
        "status": "pass",
        "detail": "output const 1.1.0 vs capability 1.1.0",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-12T22:52:20.828Z"
      },
      {
        "id": "electrical.diode.equation:evidence-sha256",
        "status": "pass",
        "detail": "61089b64f3fa",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-12T22:52:20.828Z"
      },
      {
        "id": "electrical.diode.equation:semantic-contract",
        "status": "pass",
        "detail": "15/15",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-12T22:52:20.828Z"
      },
      {
        "id": "electrical.diode.equation:capability-html-public-origin-agree",
        "status": "pass",
        "detail": "public 1.1.0 vs origin 1.1.0",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-12T22:52:20.828Z"
      },
      {
        "id": "electrical.diode.equation:cvp-manifest-public-origin-agree",
        "status": "pass",
        "detail": "electrical.diode.equation/1.1.0/2026-09-13.shockley-inverse-trust.2/engineering/4899855db55a",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-12T22:52:20.828Z",
        "projection_compared": false
      },
      {
        "id": "electrical.diode.equation:cvp-latest-alias-agrees",
        "status": "pass",
        "detail": "electrical.diode.equation/1.1.0/2026-09-13.shockley-inverse-trust.2/engineering/4899855db55a",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-12T22:52:20.828Z",
        "projection_compared": false
      },
      {
        "id": "electrical.diode.equation:cvp-immutable-manifest-fetch",
        "status": "pass",
        "detail": "public=200 origin=200",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-12T22:52:20.828Z"
      },
      {
        "id": "electrical.diode.equation:cvp-immutable-manifest-sha256",
        "status": "pass",
        "detail": "4899855db55a",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-12T22:52:20.828Z"
      },
      {
        "id": "electrical.diode.equation:cvp-latest-alias-matches-immutable",
        "status": "pass",
        "detail": "electrical.diode.equation/1.1.0/2026-09-13.shockley-inverse-trust.2/engineering/4899855db55a",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-12T22:52:20.828Z",
        "projection_compared": false
      },
      {
        "id": "electrical.diode.equation:calculator-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-12T22:52:20.828Z"
      },
      {
        "id": "electrical.diode.equation:evidence-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-12T22:52:20.828Z"
      }
    ],
    "digest_registry": {
      "digest_algorithm": "sha256",
      "canonicalization": "json-sorted-keys-utf8",
      "entries": [
        {
          "name": "cvp_core_sha256",
          "field": "artifacts.cvp_core_sha256",
          "digest_scope": "cvp_verification_fingerprint_v2",
          "value": "4899855db55abd0cb111e476000d4084e09b3c76e0ad26f0bcf458621fe5f908",
          "note": "Immutable verification core; excludes attestation/live-status and Evidence contract counts"
        },
        {
          "name": "cvp_evidence_digest",
          "field": "artifacts.evidence_digest",
          "digest_scope": "cvp_verification_fingerprint_v2",
          "value": "4899855db55abd0cb111e476000d4084e09b3c76e0ad26f0bcf458621fe5f908",
          "note": "Alias of cvp_core_sha256 (historical field name)"
        },
        {
          "name": "artifact_evidence_sha256",
          "field": "release_integrity.digests.evidence_core_sha256",
          "digest_scope": "evidence_artifact_core",
          "value": "61089b64f3fa14d022ec98683cf80562b352b969e22c30687a2cd370ddd7f340",
          "note": "Published Evidence JSON core — Trust freshness / production bind subject"
        },
        {
          "name": "evidence_catalog_digest",
          "field": "artifacts.attested_catalog_sha256",
          "digest_scope": "capability_catalog",
          "value": "dfd311ad9f2e37be7af2a29197a84f33944dff9549828dd83635a5da35985df4",
          "note": "Capability catalog integrity; site-wide, not per-suite fingerprint"
        }
      ]
    },
    "cvp_core_sha256": "4899855db55abd0cb111e476000d4084e09b3c76e0ad26f0bcf458621fe5f908"
  },
  "dependencies": [
    {
      "name": "diode-equation-engine",
      "version": "1.1.0"
    },
    {
      "name": "diode-equation-reference-oracle",
      "version": "1.0.0"
    },
    {
      "name": "node",
      "version": "22.23.2"
    }
  ],
  "attestation": {
    "status": "CURRENT",
    "href": "/.well-known/calculatorx-production-attestation.json",
    "id": "c4df4bb073bf87955dccfbc9399f558b5ac157599dcc2ffa7f03224ca402fd8f",
    "attested_at": "2026-09-12T22:52:20.828Z",
    "last_confirmed_current_at": "2026-09-13T11:35:00.166Z",
    "site_attestation_current": false,
    "capability_attestation_current": true,
    "bound_snapshot_status": "pass",
    "live_report_status": "stale",
    "bound_attested_at": "2026-09-13T11:35:00.166Z",
    "live_updated_at": "2026-09-13T11:35:03.554Z",
    "bound_snapshot": {
      "status": "pass",
      "attested_at": "2026-09-13T11:35:00.166Z",
      "site_stale_count": 7
    },
    "live_site_status": {
      "href": "/.well-known/calculatorx-production-attestation.json"
    },
    "bound_snapshot_site_stale_count": 7,
    "site_stale_capability_count": 7,
    "evidence_attested_at": "2026-09-12T22:52:20.828Z"
  },
  "domain_review": {
    "status": "ABSENT",
    "spec_version": "1.1.0",
    "external_third_party": false
  },
  "internal_review": {
    "status": "PASS",
    "reviewer_role": "electrical-engineer",
    "reviewed_by": "CalculatorX electrical review",
    "spec_version": "1.1.0",
    "independence": "internal",
    "external_third_party": false
  },
  "timestamps": {
    "verified_at": "2026-09-12T22:52:20.828Z",
    "generated_at": "2026-09-12T22:52:20.828Z",
    "rendered_at": "2026-09-13T11:35:03.596Z",
    "notes": "verified_at/generated_at mark the first publication of this cvp_core_sha256 (artifacts.evidence_digest alias) for suite verification. evidence_attested_at/attested_at is the first production bind of that core digest. last_confirmed_current_at is the latest site-wide report that still confirms CURRENT. rendered_at is this JSON serialization and is not part of cvp_core_sha256 / evidence_digest. Production attestation binds cvp_core_sha256 (binds evidence_digest). Causal order: verified_at ≤ evidence_attested_at ≤ last_confirmed_current_at. attestation.bound_snapshot.site_stale_count is the site-wide stale capability count at Manifest bind time — not a live value. Fetch attestation.live_site_status.href for the current site report."
  },
  "links": {
    "legacy_evidence": "https://www.calculatorx.com/evidence/electrical.diode.equation/1.1.0.json",
    "evidence_page": "https://www.calculatorx.com/evidence/electrical.diode.equation/1.1.0",
    "calculator": "https://www.calculatorx.com/calc/electric/diode-equation",
    "schema": "https://www.calculatorx.com/developers/cvp/schema/cvp-evidence-1.0.json",
    "protocol": "https://www.calculatorx.com/developers/cvp/spec/1.0",
    "manifest": "https://www.calculatorx.com/evidence/electrical.diode.equation/1.1.0.cvp.json",
    "manifest_immutable": "https://www.calculatorx.com/evidence/electrical.diode.equation/1.1.0/2026-09-13.shockley-inverse-trust.2.cvp.json",
    "manifest_core": "https://www.calculatorx.com/evidence/electrical.diode.equation/1.1.0/2026-09-13.shockley-inverse-trust.2.4899855db55a.cvp.json"
  }
}
