{
  "capability_id": "electrical.pcb.microstrip",
  "tool_id": "pcb-microstrip",
  "engine": "pcb-microstrip",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:03:43.719Z",
  "engine_build": "2026-09-10",
  "test_count": 8,
  "passed": 8,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 2,
      "passed": 2
    },
    "boundary": {
      "total": 3,
      "passed": 3
    },
    "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/pcb-microstrip",
  "api": "https://www.calculatorx.com/api/v1/calc/pcb-microstrip",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.pcb.microstrip.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.pcb.microstrip.output.json",
  "assumptions": [],
  "limitations": [
    "Zero thickness; no soldermask",
    "er≤1 → ER_MUST_BE_GT_1"
  ],
  "boundary_conditions": [
    "er ≤ 1 → ER_MUST_BE_GT_1",
    "Bad mode → INVALID_MODE",
    "Missing/≤0 → MISSING_REQUIRED_INPUT / VALUE_MUST_BE_POSITIVE"
  ],
  "sources": [
    {
      "title": "IPC-2141A — Controlled Impedance Circuit Boards and High-Speed Logic Design",
      "section": "Microstrip impedance equations",
      "supports": "Closed-form Z0 vs W/H/εr",
      "kind": "standard"
    },
    {
      "title": "Hammerstad / Jensen / Wadell microstrip models",
      "section": "Effective permittivity and Z0",
      "supports": "εeff and narrow/wide branch formulas",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:17d969cca89f627b7e7045ca5e742220fdea626593ca0b1836ad564b53c537d9",
  "tests": [
    {
      "id": "z0-wide",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "z0",
        "W_m": 0.00037,
        "H_m": 0.0002,
        "er": 4.6
      },
      "expect": {
        "Z0_ohm": 50.204986595296894,
        "eps_eff": 3.4578600028832134
      },
      "expectWarning": null,
      "actual": {
        "mode": "z0",
        "W_m": 0.00037,
        "H_m": 0.0002,
        "W_mm": 0.37,
        "H_mm": 0.2,
        "er": 4.6,
        "Z0_ohm": 50.204986595296894,
        "eps_eff": 3.4578600028832134,
        "W_over_H": 1.8499999999999999
      },
      "tol": 1e-9
    },
    {
      "id": "width-50",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "width",
        "Z0_ohm": 50,
        "H_m": 0.0002,
        "er": 4.6
      },
      "expect": {
        "W_m": 0.0003698174943687439
      },
      "expectWarning": null,
      "actual": {
        "mode": "width",
        "W_m": 0.0003698174943687439,
        "H_m": 0.0002,
        "W_mm": 0.3698174943687439,
        "H_mm": 0.2,
        "er": 4.6,
        "Z0_ohm": 50,
        "eps_eff": 3.4577194031386447,
        "W_over_H": 1.8490874718437194
      },
      "tol": 1e-12
    },
    {
      "id": "er-bad",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "z0",
        "W_m": 0.001,
        "H_m": 0.001,
        "er": 1
      },
      "expectError": "ER_MUST_BE_GT_1",
      "code": "ER_MUST_BE_GT_1",
      "error": "er must be greater than 1"
    },
    {
      "id": "missing-W",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "z0",
        "H_m": 0.001,
        "er": 4
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "W_m is required"
    },
    {
      "id": "boundary-z0",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "z0",
        "W_m": 0.00037,
        "H_m": 0.0002,
        "er": 4.6
      },
      "expect": {
        "Z0_ohm": 50.204986595296894
      },
      "expectWarning": null,
      "actual": {
        "mode": "z0",
        "W_m": 0.00037,
        "H_m": 0.0002,
        "W_mm": 0.37,
        "H_mm": 0.2,
        "er": 4.6,
        "Z0_ohm": 50.204986595296894,
        "eps_eff": 3.4578600028832134,
        "W_over_H": 1.8499999999999999
      },
      "tol": 1e-9
    },
    {
      "id": "property-z0",
      "ok": true,
      "kind": "property",
      "detail": "~50Ω FR4",
      "expect": 50.204986595296894,
      "actual": 50.204986595296894
    },
    {
      "id": "property-width",
      "ok": true,
      "kind": "property",
      "detail": "width>0",
      "expect": true,
      "actual": true
    },
    {
      "id": "property-wider",
      "ok": true,
      "kind": "property",
      "detail": "wider → lower Z0",
      "expect": true,
      "actual": true
    }
  ],
  "tier": "expert_verified",
  "verification": {
    "tests": {
      "passed": 8,
      "total": 8,
      "golden": 2,
      "boundary": 3,
      "property": 3
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "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": "c8f5e89b40a159bb8ae10cc9546adf06871634916d84967655d046ed1c738017",
      "output_schema_sha256": "adc7277017778b89ecd94bee3383302bc7bf9f2922053350d668009ed176b57a",
      "evidence_sha256": "5980606d6b93d26a952f85a941f9125f9aeb32738fbcc064cb3b7ebcf78f4212",
      "evidence_core_sha256": "5980606d6b93d26a952f85a941f9125f9aeb32738fbcc064cb3b7ebcf78f4212",
      "capability_sha256": "cd5aed31ed4a90ed57e82bdb7024067718722a05b31a542fbc5ab6e0a75b8b97",
      "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"
  }
}
