{
  "capability_id": "electrical.watts_to_va",
  "tool_id": "watts-to-va",
  "engine": "watts-va",
  "calculation_version": "1.3.1",
  "generated_at": "2026-09-18T13:24:50.049Z",
  "engine_build": "2026-09-10",
  "test_count": 16,
  "passed": 16,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 9,
      "passed": 9
    },
    "boundary": {
      "total": 2,
      "passed": 2
    },
    "property": {
      "total": 5,
      "passed": 5
    }
  },
  "engine_tested": true,
  "expert_reviewed": false,
  "internally_reviewed": false,
  "review_kind": null,
  "source_checked": true,
  "reviewed_by": null,
  "reviewer_role": null,
  "last_reviewed": null,
  "expert_review": {
    "status": "optional_not_performed",
    "reviewer": null,
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "note": "Domain expert review is optional under CVP (CVP-EXP-01). Absence does not block CVP Verified. See Review policy for supplemental domain assurance."
  },
  "internal_review": {
    "status": "not_applicable",
    "reviewer": null
  },
  "page": "https://www.calculatorx.com/calc/electric/watts-to-va",
  "api": "https://www.calculatorx.com/api/v1/calc/watts-to-va",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.watts_to_va.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.watts_to_va.output.json",
  "assumptions": [
    "PF in (0, 1] — required (not optional)",
    "No voltage/phase required once P (or S) and PF are known"
  ],
  "limitations": [
    "Not for voltage/current→VA (use amps-to-va)",
    "PF must be in (0, 1] — PF=0 → POWER_FACTOR_OUT_OF_RANGE (not a soft zero)",
    "Roadmap model op: real_from_S_pf / apparent_from_P_pf"
  ],
  "boundary_conditions": [
    "PF ≤ 0 or > 1 → POWER_FACTOR_OUT_OF_RANGE",
    "Missing PF → MISSING_REQUIRED_INPUT",
    "Zero watts/VA with valid PF → 0",
    "API: mode w-va|va-w; a|P|S; b|power_factor; optional factor"
  ],
  "sources": [
    {
      "title": "IEC 60050 — International Electrotechnical Vocabulary",
      "section": "Apparent power (IEV 131-11-41)",
      "url": "https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=131-11-41",
      "supports": "S (VA) is apparent power; distinct from active power P (W); unit volt-ampere (VA)",
      "kind": "standard",
      "accessed": "2026-09-05",
      "clause": "IEV 131-11-41"
    },
    {
      "title": "IEC 60050 — International Electrotechnical Vocabulary",
      "section": "Power factor (IEV 131-11-46)",
      "url": "https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=131-11-46",
      "supports": "λ = |P| / S; S = P / λ and P = S × λ",
      "kind": "standard",
      "accessed": "2026-09-05",
      "clause": "IEV 131-11-46"
    },
    {
      "title": "IEEE Std 1459-2025",
      "section": "Apparent power from real power and power factor",
      "url": "https://standards.ieee.org/ieee/1459/7578/",
      "supports": "S(VA) = P(W) / PF; P = S × PF",
      "kind": "standard",
      "accessed": "2026-09-05",
      "publisher": "IEEE",
      "published": "2025-05-16",
      "errata_checked": true
    },
    {
      "title": "BIPM SI Brochure (9th edition, version 4.01)",
      "section": "SI units for watt and volt-ampere",
      "url": "https://www.bipm.org/en/publications/si-brochure",
      "supports": "W and VA unit relationships",
      "kind": "reference",
      "accessed": "2026-09-05",
      "published": "2026-06",
      "doi": "https://doi.org/10.59161/AUEZ1291"
    },
    {
      "title": "NIST Guide to the SI (SP 811)",
      "section": "Watt and volt-ampere",
      "url": "https://www.nist.gov/pml/special-publication-811",
      "supports": "SI power unit relationships",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:bb77c72a7e6a3706c4f972d201d7105ddf1bd94157d14ddaacba60c8adcc7063",
  "tests": [
    {
      "id": "1000W-0.8",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "w-va",
        "a": 1000,
        "b": 0.8,
        "factor": 1
      },
      "expect": 1250,
      "expectWarning": null,
      "actual": 1250,
      "tol": 0.1
    },
    {
      "id": "500W-0.67",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "w-va",
        "a": 500,
        "b": 0.67,
        "factor": 1
      },
      "expect": 746.2687,
      "expectWarning": null,
      "actual": 746.2686567164179,
      "tol": 0.1
    },
    {
      "id": "1000W-1",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "w-va",
        "a": 1000,
        "b": 1,
        "factor": 1
      },
      "expect": 1000,
      "expectWarning": null,
      "actual": 1000,
      "tol": 0.1
    },
    {
      "id": "va-to-w",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "va-w",
        "a": 1250,
        "b": 0.8
      },
      "expect": 1000,
      "expectWarning": null,
      "actual": 1000,
      "tol": 0.1
    },
    {
      "id": "linear-2x-w",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "w-va",
        "a": 2000,
        "b": 0.8,
        "factor": 1
      },
      "expect": 2500,
      "expectWarning": null,
      "actual": 2500,
      "tol": 0.1
    },
    {
      "id": "inverse-half-pf",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "w-va",
        "a": 1000,
        "b": 0.4,
        "factor": 1
      },
      "expect": 2500,
      "expectWarning": null,
      "actual": 2500,
      "tol": 0.1
    },
    {
      "id": "hard-zero-pf",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "w-va",
        "a": 1000,
        "b": 0,
        "factor": 1
      },
      "expectError": "POWER_FACTOR_OUT_OF_RANGE",
      "code": "POWER_FACTOR_OUT_OF_RANGE",
      "error": "power_factor must be in (0, 1]"
    },
    {
      "id": "soft-zero-w",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "w-va",
        "a": 0,
        "b": 0.8,
        "factor": 1
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12
    },
    {
      "id": "5000W-0.9",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "w-va",
        "a": 5000,
        "b": 0.9,
        "factor": 1
      },
      "expect": 5555.5556,
      "expectWarning": null,
      "actual": 5555.555555555556,
      "tol": 0.1
    },
    {
      "id": "2500VA-to-w",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "va-w",
        "a": 2500,
        "b": 0.8
      },
      "expect": 2000,
      "expectWarning": null,
      "actual": 2000,
      "tol": 0.1
    },
    {
      "id": "missing-pf",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "w-va",
        "a": 1000
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "power_factor is required"
    },
    {
      "id": "property-w-va",
      "ok": true,
      "kind": "property",
      "detail": "1000 W / 0.8 → 1250 VA",
      "expect": 1250,
      "actual": 1250
    },
    {
      "id": "property-linear-P",
      "ok": true,
      "kind": "property",
      "detail": "2P → 2S",
      "expect": 2500,
      "actual": 2500
    },
    {
      "id": "property-inverse-pf",
      "ok": true,
      "kind": "property",
      "detail": "½PF → 2S",
      "expect": 2500,
      "actual": 2500
    },
    {
      "id": "property-roundtrip",
      "ok": true,
      "kind": "property",
      "detail": "VA→W recovers P",
      "expect": 1000,
      "actual": 1000
    },
    {
      "id": "property-named-fields",
      "ok": true,
      "kind": "property",
      "detail": "P/power_factor ≡ a/b",
      "expect": 1250,
      "actual": 1250
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 16,
      "total": 16,
      "golden": 9,
      "boundary": 2,
      "property": 5
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-10T22:48:17.762Z",
  "rendered_at": "2026-09-18T13:24:50.049Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.3.1",
    "artifacts": {
      "engine": "1.3.1",
      "page": "1.3.1",
      "capability": "1.3.1",
      "evidence": "1.3.1",
      "input_schema": "1.3.1",
      "output_schema": "1.3.1",
      "mcp_contract": "1.3.1"
    },
    "digests": {
      "input_schema_sha256": "7b6c952cbb6fc0459a203690db986cfdc7c776a850c8892addf86e30f1adcdb6",
      "output_schema_sha256": "9f90e949875b4de22527a32e88ea7a9bef5d533c1a2aa6bc4c406a0d08fa0089",
      "evidence_sha256": "a72ba1282deeb408d131c920e8fcd180f046325e7514fdf6efd822b33ec2eae0",
      "evidence_core_sha256": "a72ba1282deeb408d131c920e8fcd180f046325e7514fdf6efd822b33ec2eae0",
      "capability_sha256": "250d39bdf9427c6f98670fd6318d92918e9e4fff8e8a350c0f3cffa8e6454b9e",
      "engine_sha256": "2535bbd1590fe4c9f68b37feb1dc5313da9c24df1769e5b34117eb01dae0ca5b",
      "mcp_contract_sha256": "5bd8949b1ef44d482bc60e0e607f2c613c3cd29aa823f90c3a8844c5db5633ca"
    },
    "contract_checks": {
      "total": 4,
      "passed": 4,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.3.1"
        },
        {
          "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"
  }
}
