{
  "protocol": {
    "name": "CVP",
    "version": "1.0.0-proposed"
  },
  "document_status": "proposed",
  "calculator": {
    "id": "amps-to-va",
    "version": "1.4.3",
    "title": "Amps to VA Calculator",
    "formula_family": "ac-apparent-power",
    "capability_id": "electrical.apparent_power",
    "verification_revision": "2026-09-10.cvp-bootstrap"
  },
  "profile": "engineering",
  "status": "VERIFIED",
  "runner": {
    "name": "cvp-runner",
    "version": "1.0.0"
  },
  "environment": {
    "runtime": "node",
    "runtime_version": "20.19.2",
    "numeric_model": "IEEE-754 binary64",
    "os": "darwin"
  },
  "suite": {
    "id": "amps-to-va",
    "version": "1.4.3",
    "uri": "https://www.calculatorx.com/evidence/electrical.apparent_power/1.4.3.json",
    "verification_revision": "2026-09-10.cvp-bootstrap"
  },
  "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-IFACE-01"
  ],
  "provenance": {
    "mode": "direct",
    "sources": [
      {
        "label": "IEC 60050 — International Electrotechnical Vocabulary",
        "kind": "standard",
        "reference": "Apparent power (IEV 131-11-41)",
        "url": "https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=131-11-41"
      },
      {
        "label": "IEC 60050 — International Electrotechnical Vocabulary",
        "kind": "standard",
        "reference": "Power factor (IEV 131-11-46)",
        "url": "https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=131-11-46"
      },
      {
        "label": "IEEE Std 1459-2025",
        "kind": "standard",
        "reference": "Definitions for electric power measurement under sinusoidal, nonsinusoidal, balanced, or unbalanced conditions",
        "url": "https://standards.ieee.org/ieee/1459/7578/"
      },
      {
        "label": "BIPM SI Brochure (9th edition, version 4.01)",
        "kind": "other",
        "reference": "SI base and derived units for ampere, volt, and power",
        "url": "https://www.bipm.org/en/publications/si-brochure"
      }
    ]
  },
  "reference": {
    "items": [
      {
        "class": "O1",
        "reference_scope": "model",
        "scope": "model",
        "label": "AC apparent power (1φ / balanced 3φ L-L)"
      },
      {
        "class": "O2",
        "reference_scope": "expected_values",
        "scope": "expected_values",
        "label": "Separate-module apparent-power oracle — same V8 binary64 as IUT",
        "engine": {
          "name": "apparent-power-reference",
          "precision_bits": 53,
          "independent_of_iut": true
        }
      },
      {
        "class": "O2",
        "reference_scope": "numerical_behavior",
        "scope": "numerical_behavior",
        "label": "Same O2 module backs ≤2 ULP S/I comparison vs IUT",
        "engine": {
          "name": "apparent-power-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": "1φ S=V·I; 3φ L-L S=√3·V_LL·I; modes amps-va / va-amps / amps-kva"
    },
    "CVP-SCOPE-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "PF optional for derived real power only — not applied to S"
    },
    "CVP-UNIT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "A, V_rms → VA / kVA / A"
    },
    "CVP-REF-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "O1 model + O2 expected_values + O2 numerical_behavior"
    },
    "CVP-GOLD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "9/9 legacy golden; 4/4 oracle-backed numeric"
    },
    "CVP-BND-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "12/12 CVP boundary · 13/13 legacy Evidence boundary"
    },
    "CVP-INV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "10 invalid-domain cases"
    },
    "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 (amps-va-1phi, amps-va-3phi, va-amps, amps-kva, invalid-domain) · 9 legacy golden / 12 CVP boundary unique cases · 10 Evidence invalid-input (may overlap boundary)"
    },
    "CVP-CONTRACT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "1/1 contract checks"
    },
    "CVP-DEP-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "engine amps-va; Node binary64"
    },
    "CVP-ART-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "release_integrity.status=verified · evidence_digest=CVP verification fingerprint v2 (canonical inputs, expected/actual/status, policy, versions; independent of generated_at) · evidence_bundle_sha256=legacy Evidence JSON bytes · production_sha256=bound production attestation report"
    },
    "CVP-PROD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "this calculator CURRENT · bound snapshot pass @ 2026-09-11T03:26:54.926Z · live site-wide report stale @ 2026-09-11T04:05:06.535Z (2 other capabilities) · local checks pass · attestation_id=ae4ae5215330fefa78e3bb99445f1cbf0634efedf10297b52a39c925f34087f3 · This calculator CURRENT · Bound attestation PASS @ 2026-09-11T03:26:54.926Z · Live site report STALE (2 capabilities; 154 remain CURRENT) @ 2026-09-11T04:05:06.535Z · Public schema 1.4.3 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓ · schema_const=1.4.3 · 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=308cae11608532fa029e4a397a32d0cb98e718d973f60a85914bff8e93287389 · verified_at=2026-09-10T22:30:47.343Z · evidence_attested_at=2026-09-10T16:43:41.302Z · last_confirmed_current_at=2026-09-11T03:26:54.926Z · rendered_at=2026-09-11T04:05:06.561Z · binds=evidence_digest"
    },
    "CVP-DIM-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "Apparent power / current"
    },
    "CVP-PROP-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "14/14 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": "SKIP",
      "applicability": "not_applicable",
      "notes": "No inverse / round-trip vectors in pack — control not in obligation set"
    },
    "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": 4,
      "total": 4,
      "failed": 0,
      "case_ids": [
        "g-1phi",
        "g-3phi",
        "g-va-amps",
        "g-kva"
      ]
    },
    "boundary": {
      "passed": 12,
      "total": 12,
      "failed": 0,
      "case_ids": [
        "boundary-volts-zero",
        "boundary-volts-negative",
        "boundary-primary-negative",
        "boundary-pf-80",
        "boundary-pf-zero",
        "boundary-pf-one-ok",
        "boundary-unknown-phase",
        "boundary-tiny-positive-volts",
        "boundary-missing-volts",
        "boundary-missing-primary",
        "boundary-overflow-va",
        "boundary-infinity-volts"
      ]
    },
    "invalid": {
      "passed": 10,
      "total": 10,
      "failed": 0,
      "case_ids": [
        "boundary-volts-zero",
        "boundary-volts-negative",
        "boundary-primary-negative",
        "boundary-pf-80",
        "boundary-unknown-mode",
        "boundary-unknown-phase",
        "boundary-missing-volts",
        "boundary-missing-primary",
        "boundary-overflow-va",
        "boundary-infinity-volts"
      ]
    },
    "property": {
      "passed": 14,
      "total": 14,
      "failed": 0,
      "case_ids": [
        "property-double-current",
        "property-double-voltage",
        "property-roundtrip-va-amps",
        "property-linearity-current",
        "property-linearity-voltage",
        "property-roundtrip-va-amps-va",
        "property-three-phase-sqrt3",
        "property-pf-omitted-equals-pf-one",
        "property-pf-zero-equals-omitted",
        "property-roundtrip-grid",
        "property-derived-pf-08",
        "property-derived-pf-zero",
        "property-derived-pf-omitted",
        "property-derived-zero-s"
      ],
      "kind": "fixed"
    },
    "round_trip": {
      "passed": 0,
      "total": 0,
      "failed": 0,
      "case_ids": []
    },
    "metamorphic": {
      "passed": 0,
      "total": 0,
      "failed": 0,
      "case_ids": []
    },
    "contract": {
      "passed": 1,
      "total": 1,
      "failed": 0
    },
    "cross_interface": {
      "passed": 1,
      "total": 1,
      "failed": 0,
      "case_ids": [
        "iface-1phi"
      ]
    }
  },
  "coverage": {
    "partitions": [
      {
        "id": "amps-va-1phi",
        "description": "Amps→VA single-phase",
        "exercised": true,
        "case_count": 20
      },
      {
        "id": "amps-va-3phi",
        "description": "Amps→VA three-phase",
        "exercised": true,
        "case_count": 3
      },
      {
        "id": "va-amps",
        "description": "VA→amps",
        "exercised": true,
        "case_count": 4
      },
      {
        "id": "amps-kva",
        "description": "Amps→kVA",
        "exercised": true,
        "case_count": 3
      },
      {
        "id": "invalid-domain",
        "description": "Invalid inputs",
        "exercised": true,
        "case_count": 10
      }
    ]
  },
  "numerical": {
    "representation": "IEEE-754 binary64",
    "tolerance": {
      "type": "ulp",
      "value": 2,
      "rationale": "AC apparent-power algebra; ≤2 ULP vs separate-module O2 (same V8). Declared a priori.",
      "declared_before_evaluation": true
    },
    "max_error_observed": 0,
    "records": [
      {
        "id": "g-1phi",
        "reference": 2760,
        "actual": 2760,
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "golden"
      },
      {
        "id": "g-3phi",
        "reference": 6928.203230275509,
        "actual": 6928.203230275509,
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "golden"
      },
      {
        "id": "g-va-amps",
        "reference": 12,
        "actual": 12,
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "golden"
      },
      {
        "id": "g-kva",
        "reference": 2.76,
        "actual": 2.76,
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "golden"
      }
    ]
  },
  "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": "018fbc20354c5163d48ec10fa4b9b5df1fe1bb0348bc6d19154e5616ecf8a1c7",
    "evidence_digest": "c57787417bc3e5c3cf6a96a9012acc2281a81a82a03e0b6b4e2cc274a6dd60ba",
    "production_sha256": "308cae11608532fa029e4a397a32d0cb98e718d973f60a85914bff8e93287389",
    "attested_catalog_sha256": "6aa388524e8098a039686cf245640d8af3d123d895e9af1bb69052c231aa23ab",
    "production_checks": [
      {
        "id": "electrical.apparent_power:output-const",
        "status": "pass",
        "detail": "output const 1.4.3 vs capability 1.4.3",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T16:43:41.302Z"
      },
      {
        "id": "electrical.apparent_power:evidence-sha256",
        "status": "pass",
        "detail": "546fc141dbda",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T16:43:41.302Z"
      },
      {
        "id": "electrical.apparent_power:semantic-contract",
        "status": "pass",
        "detail": "36/36",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T16:43:41.302Z"
      },
      {
        "id": "electrical.apparent_power:capability-html-public-origin-agree",
        "status": "pass",
        "detail": "public 1.4.3 vs origin 1.4.3",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T16:43:41.302Z"
      },
      {
        "id": "electrical.apparent_power:cvp-manifest-public-origin-agree",
        "status": "pass",
        "detail": "electrical.apparent_power/1.4.3/2026-09-10.cvp-bootstrap/engineering/c57787417bc3",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T16:43:41.302Z",
        "projection_compared": false
      },
      {
        "id": "electrical.apparent_power:cvp-latest-alias-agrees",
        "status": "pass",
        "detail": "electrical.apparent_power/1.4.3/2026-09-10.cvp-bootstrap/engineering/c57787417bc3",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T16:43:41.302Z",
        "projection_compared": false
      },
      {
        "id": "electrical.apparent_power: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-10T16:43:41.302Z"
      },
      {
        "id": "electrical.apparent_power:cvp-immutable-manifest-sha256",
        "status": "pass",
        "detail": "c57787417bc3",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T16:43:41.302Z"
      },
      {
        "id": "electrical.apparent_power:cvp-latest-alias-matches-immutable",
        "status": "pass",
        "detail": "electrical.apparent_power/1.4.3/2026-09-10.cvp-bootstrap/engineering/c57787417bc3",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T16:43:41.302Z",
        "projection_compared": false
      },
      {
        "id": "electrical.apparent_power:calculator-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T16:43:41.302Z"
      },
      {
        "id": "electrical.apparent_power:evidence-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T16:43:41.302Z"
      }
    ]
  },
  "dependencies": [
    {
      "name": "amps-va-engine",
      "version": "1.4.3"
    },
    {
      "name": "amps-va-reference-oracle",
      "version": "1.0.0"
    },
    {
      "name": "node",
      "version": "20.19.2"
    }
  ],
  "attestation": {
    "status": "CURRENT",
    "href": "/.well-known/calculatorx-production-attestation.json",
    "id": "ae4ae5215330fefa78e3bb99445f1cbf0634efedf10297b52a39c925f34087f3",
    "attested_at": "2026-09-10T16:43:41.302Z",
    "last_confirmed_current_at": "2026-09-11T03:26:54.926Z",
    "site_attestation_current": false,
    "capability_attestation_current": true,
    "bound_snapshot_status": "pass",
    "live_report_status": "stale",
    "bound_attested_at": "2026-09-11T03:26:54.926Z",
    "live_updated_at": "2026-09-11T04:05:06.535Z",
    "site_stale_capability_count": 2,
    "evidence_attested_at": "2026-09-10T16:43:41.302Z"
  },
  "domain_review": {
    "status": "ABSENT",
    "spec_version": "1.4.3",
    "external_third_party": false,
    "independence": "internal"
  },
  "timestamps": {
    "verified_at": "2026-09-10T22:30:47.343Z",
    "generated_at": "2026-09-10T22:30:47.343Z",
    "rendered_at": "2026-09-11T04:05:06.561Z",
    "notes": "verified_at/generated_at mark the first publication of this evidence_digest (suite verification). evidence_attested_at/attested_at is the first production bind of that 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 evidence_digest. Production attestation binds evidence_digest, not rendered_at. Causal order: verified_at ≤ evidence_attested_at ≤ last_confirmed_current_at."
  },
  "links": {
    "legacy_evidence": "https://www.calculatorx.com/evidence/electrical.apparent_power/1.4.3.json",
    "evidence_page": "https://www.calculatorx.com/evidence/electrical.apparent_power/1.4.3",
    "calculator": "https://www.calculatorx.com/calc/electric/amps-to-va",
    "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.apparent_power/1.4.3.cvp.json",
    "manifest_immutable": "https://www.calculatorx.com/evidence/electrical.apparent_power/1.4.3/2026-09-10.cvp-bootstrap.cvp.json"
  }
}
