{
  "capability_id": "electrical.watt_volt_amp",
  "tool_id": "watt-volt-amp",
  "engine": "watt-volt-amp",
  "calculation_version": "1.5.1",
  "generated_at": "2026-09-16T22:03:43.703Z",
  "engine_build": "2026-09-10",
  "test_count": 17,
  "passed": 17,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 8,
      "passed": 8
    },
    "boundary": {
      "total": 4,
      "passed": 4
    },
    "property": {
      "total": 5,
      "passed": 5
    }
  },
  "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/watt-volt-amp",
  "api": "https://www.calculatorx.com/api/v1/calc/watt-volt-amp",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.watt_volt_amp.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.watt_volt_amp.output.json",
  "assumptions": [
    "Ohmic resistance; RMS for AC",
    "First two filled fields define the known pair"
  ],
  "limitations": [
    "Resistive model only",
    "Fewer than two inputs throws; zero divisors yield 0 for dependents"
  ],
  "boundary_conditions": [
    "Fewer than two of P,V,I,R → NEEDS_TWO_INPUTS",
    "Non-finite → INVALID_NUMBER",
    "Division by zero → 0 for the dependent unknown — soft boundary",
    "Resistive model only; not for reactive impedance"
  ],
  "sources": [
    {
      "title": "NIST Guide to the SI (SP 811)",
      "section": "Watt, volt, ampere, and ohm relationships in the SI",
      "url": "https://www.nist.gov/pml/special-publication-811",
      "supports": "P = V·I; V = I·R; derived forms for P+R pairs",
      "kind": "reference"
    },
    {
      "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 for a resistive two-terminal element; V = I·R and derived P+R forms",
      "kind": "standard",
      "accessed": "2026-09-05",
      "clause": "IEV 131-12-04"
    },
    {
      "title": "IEC 60050 — International Electrotechnical Vocabulary",
      "section": "Active power (IEV 131-11-42)",
      "url": "https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=131-11-42",
      "supports": "P is active power; unit watt (W). For ohmic DC, P = V·I",
      "kind": "standard",
      "accessed": "2026-09-05",
      "clause": "IEV 131-11-42"
    },
    {
      "title": "BIPM SI Brochure (9th edition, version 4.01)",
      "section": "SI units for volt, ampere, ohm, and watt",
      "url": "https://www.bipm.org/en/publications/si-brochure",
      "supports": "V, A, Ω, W coherent unit relationships",
      "kind": "reference",
      "accessed": "2026-09-05",
      "published": "2026-06",
      "doi": "https://doi.org/10.59161/AUEZ1291"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:23bd4c102728349653307344d5879056aed7badf077c049d9d683bb91babcba1",
  "tests": [
    {
      "id": "V+I",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "V": 120,
        "I": 10
      },
      "expect": {
        "P": 1200,
        "R": 12
      },
      "expectWarning": null,
      "actual": {
        "P": 1200,
        "V": 120,
        "I": 10,
        "R": 12
      },
      "tol": 0.01
    },
    {
      "id": "P+V",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "P": 1200,
        "V": 120
      },
      "expect": {
        "I": 10,
        "R": 12
      },
      "expectWarning": null,
      "actual": {
        "P": 1200,
        "V": 120,
        "I": 10,
        "R": 12
      },
      "tol": 0.01
    },
    {
      "id": "I+R",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "I": 5,
        "R": 24
      },
      "expect": {
        "V": 120,
        "P": 600
      },
      "expectWarning": null,
      "actual": {
        "P": 600,
        "V": 120,
        "I": 5,
        "R": 24
      },
      "tol": 0.01
    },
    {
      "id": "P+R",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "P": 100,
        "R": 400
      },
      "expect": {
        "V": 200,
        "I": 0.5
      },
      "expectWarning": null,
      "actual": {
        "P": 100,
        "V": 200,
        "I": 0.5,
        "R": 400
      },
      "tol": 0.01
    },
    {
      "id": "linear-2x-V",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "V": 240,
        "I": 10
      },
      "expect": {
        "P": 2400,
        "R": 24
      },
      "expectWarning": null,
      "actual": {
        "P": 2400,
        "V": 240,
        "I": 10,
        "R": 24
      },
      "tol": 0.01
    },
    {
      "id": "soft-zero-V",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "V": 0,
        "I": 10
      },
      "expect": {
        "P": 0,
        "R": 0
      },
      "expectWarning": null,
      "actual": {
        "P": 0,
        "V": 0,
        "I": 10,
        "R": 0
      },
      "tol": 1e-12
    },
    {
      "id": "soft-zero-R",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "P": 50,
        "R": 0
      },
      "expect": {
        "V": 0,
        "I": 0
      },
      "expectWarning": null,
      "actual": {
        "P": 50,
        "V": 0,
        "I": 0,
        "R": 0
      },
      "tol": 1e-12
    },
    {
      "id": "error-single-input",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "V": 120
      },
      "expectError": "NEEDS_TWO_INPUTS",
      "code": "NEEDS_TWO_INPUTS",
      "error": "wattVoltAmp needs any two of P,V,I,R"
    },
    {
      "id": "error-empty",
      "ok": true,
      "kind": "boundary",
      "inputs": {},
      "expectError": "NEEDS_TWO_INPUTS",
      "code": "NEEDS_TWO_INPUTS",
      "error": "wattVoltAmp needs any two of P,V,I,R"
    },
    {
      "id": "P+I",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "P": 600,
        "I": 5
      },
      "expect": {
        "V": 120,
        "R": 24
      },
      "expectWarning": null,
      "actual": {
        "P": 600,
        "V": 120,
        "I": 5,
        "R": 24
      },
      "tol": 0.01
    },
    {
      "id": "nan-V",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "V": "n/a",
        "I": 10
      },
      "expectError": "INVALID_NUMBER",
      "code": "INVALID_NUMBER",
      "error": "V must be a finite number"
    },
    {
      "id": "boundary-single-wva",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "V": 12
      },
      "expectError": "NEEDS_TWO_INPUTS",
      "code": "NEEDS_TWO_INPUTS",
      "error": "wattVoltAmp needs any two of P,V,I,R"
    },
    {
      "id": "property-VI",
      "ok": true,
      "kind": "property",
      "detail": "V,I → P,R",
      "expect": {
        "P": 24,
        "R": 6
      },
      "actual": {
        "P": 24,
        "V": 12,
        "I": 2,
        "R": 6
      }
    },
    {
      "id": "property-PV",
      "ok": true,
      "kind": "property",
      "detail": "P,V → I",
      "expect": 2,
      "actual": 2
    },
    {
      "id": "property-IR",
      "ok": true,
      "kind": "property",
      "detail": "I,R → V,P",
      "expect": {
        "V": 120,
        "P": 600
      },
      "actual": {
        "P": 600,
        "V": 120,
        "I": 5,
        "R": 24
      }
    },
    {
      "id": "property-PR",
      "ok": true,
      "kind": "property",
      "detail": "P,R → V,I",
      "expect": {
        "V": 200,
        "I": 0.5
      },
      "actual": {
        "P": 100,
        "V": 200,
        "I": 0.5,
        "R": 400
      }
    },
    {
      "id": "property-roundtrip",
      "ok": true,
      "kind": "property",
      "detail": "V,I → R → V,R recovers I",
      "expect": 10,
      "actual": 10
    }
  ],
  "tier": "expert_verified",
  "verification": {
    "tests": {
      "passed": 17,
      "total": 17,
      "golden": 8,
      "boundary": 4,
      "property": 5
    },
    "contract_checks": {
      "passed": 3,
      "total": 3
    }
  },
  "evidence_core_generated_at": "2026-09-05T02:35:39.217Z",
  "rendered_at": "2026-09-16T22:03:43.703Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.5.1",
    "artifacts": {
      "engine": "1.5.1",
      "page": "1.5.1",
      "capability": "1.5.1",
      "evidence": "1.5.1",
      "input_schema": "1.5.1",
      "output_schema": "1.5.1",
      "mcp_contract": "1.5.1"
    },
    "digests": {
      "input_schema_sha256": "bc49ebb92a15d482954fc73412070f669f8ccacc9667b4ace21e613c8ba12d8e",
      "output_schema_sha256": "2bff83a1041be8c7a8cffcea93ccc74e7d0d2c8b882a5bfe394dd201b3a0f55a",
      "evidence_sha256": "881ad8e5e4cbdf8bc2825b8b75c30f5fb157c5db2ef221f11d7edee50c3a02f8",
      "evidence_core_sha256": "881ad8e5e4cbdf8bc2825b8b75c30f5fb157c5db2ef221f11d7edee50c3a02f8",
      "capability_sha256": "e3c655f7c87d71c47891af8c23cfdd96ae61ff570f65fd9cc3972366cf6ce8fb",
      "engine_sha256": "c8d4ccdbfeaf61d7b024d4e1babb0c2ba3b324c1b37bd0cb456a526d8d2b1bd1",
      "mcp_contract_sha256": "863098b311a7b17dc4b229a6302b90b3545b175f716e5d84772c7be8e9716b86"
    },
    "contract_checks": {
      "total": 3,
      "passed": 3,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.5.1"
        },
        {
          "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"
  }
}
