{
  "capability_id": "electrical.watts_to_joules",
  "tool_id": "watts-to-joules",
  "engine": "product",
  "calculation_version": "1.2.1",
  "generated_at": "2026-09-16T22:03:43.708Z",
  "engine_build": "2026-09-15",
  "test_count": 12,
  "passed": 12,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 12,
      "passed": 12
    },
    "boundary": {
      "total": 0,
      "passed": 0
    },
    "property": {
      "total": 0,
      "passed": 0
    }
  },
  "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-joules",
  "api": "https://www.calculatorx.com/api/v1/calc/watts-to-joules",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.watts_to_joules.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.watts_to_joules.output.json",
  "assumptions": [
    "Constant average power over the interval"
  ],
  "limitations": [
    "Cannot convert watts to joules without a duration",
    "Shares the product helper with V→J; contracts are distinct (t vs Q)"
  ],
  "boundary_conditions": [
    "W→J (product / scale-product): zero P or t → 0 J",
    "J→W (quotient / scale-quotient): t = 0 → 0 W — soft",
    "Zero energy → 0 W on reverse",
    "Minute/hour modes scale time by 60 / 3600 before E = P·t"
  ],
  "sources": [
    {
      "title": "SI definition of the watt",
      "section": "1 W = 1 J/s",
      "supports": "E = P × t; P = E / t",
      "kind": "definition"
    },
    {
      "title": "NIST Guide to the SI (SP 811)",
      "section": "Joule and watt as coherent SI units",
      "url": "https://www.nist.gov/pml/special-publication-811",
      "supports": "Energy–power–time relationships; Wh/kWh note",
      "kind": "reference"
    },
    {
      "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)",
      "kind": "standard",
      "accessed": "2026-09-05",
      "clause": "IEV 131-11-42"
    },
    {
      "title": "IEC 60050 — International Electrotechnical Vocabulary",
      "section": "Active energy (IEV 131-11-57)",
      "url": "https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=131-11-57",
      "supports": "Active energy W = ∫p dt; coherent SI unit joule (J). Distinguishes energy from power",
      "kind": "standard",
      "accessed": "2026-09-05",
      "clause": "IEV 131-11-57"
    },
    {
      "title": "BIPM SI Brochure (9th edition, version 4.01)",
      "section": "Watt as joule per second",
      "url": "https://www.bipm.org/en/publications/si-brochure",
      "supports": "1 W = 1 J/s; E = P × t",
      "kind": "reference",
      "accessed": "2026-09-05",
      "published": "2026-06",
      "doi": "https://doi.org/10.59161/AUEZ1291"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:216862ae51ca8c327d057d7e892ad7cd4fa43b9fe85beeffe34d7955d68c9d9f",
  "tests": [
    {
      "id": "100W-60s",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 100,
        "b": 60
      },
      "expect": 6000,
      "expectWarning": null,
      "actual": 6000,
      "tol": 0.01
    },
    {
      "id": "50W-25s",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 50,
        "b": 25
      },
      "expect": 1250,
      "expectWarning": null,
      "actual": 1250,
      "tol": 0.01
    },
    {
      "id": "2W-1h",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 2,
        "b": 1,
        "factor": 3600
      },
      "expect": 7200,
      "expectWarning": null,
      "actual": 7200,
      "tol": 0.01,
      "engine": "scale-product"
    },
    {
      "id": "j-to-w",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 6000,
        "b": 60
      },
      "expect": 100,
      "expectWarning": null,
      "actual": 100,
      "tol": 0.01,
      "engine": "quotient"
    },
    {
      "id": "100W-1min",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 100,
        "b": 1,
        "factor": 60
      },
      "expect": 6000,
      "expectWarning": null,
      "actual": 6000,
      "tol": 0.01,
      "engine": "scale-product"
    },
    {
      "id": "j-w-h",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 7200,
        "b": 1,
        "factor": 0.0002777777777777778
      },
      "expect": 2,
      "expectWarning": null,
      "actual": 2,
      "tol": 0.01,
      "engine": "scale-quotient"
    },
    {
      "id": "linear-2x-P",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 200,
        "b": 60
      },
      "expect": 12000,
      "expectWarning": null,
      "actual": 12000,
      "tol": 0.01
    },
    {
      "id": "linear-2x-t",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 100,
        "b": 120
      },
      "expect": 12000,
      "expectWarning": null,
      "actual": 12000,
      "tol": 0.01
    },
    {
      "id": "soft-zero-P",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 0,
        "b": 60
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12
    },
    {
      "id": "soft-zero-t",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 100,
        "b": 0
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12
    },
    {
      "id": "soft-zero-t-reverse",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 6000,
        "b": 0
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12,
      "engine": "quotient"
    },
    {
      "id": "soft-zero-E-reverse",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 0,
        "b": 60
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12,
      "engine": "quotient"
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 12,
      "total": 12,
      "golden": 12,
      "boundary": 0,
      "property": 0
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-15T06:31:46.555Z",
  "rendered_at": "2026-09-16T22:03:43.708Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.2.1",
    "artifacts": {
      "engine": "1.2.1",
      "page": "1.2.1",
      "capability": "1.2.1",
      "evidence": "1.2.1",
      "input_schema": "1.2.1",
      "output_schema": "1.2.1",
      "mcp_contract": "1.2.1"
    },
    "digests": {
      "input_schema_sha256": "da3d1b267a74f132e3257403f322dc1bb601395a234ecd1fef9d7536f9f91843",
      "output_schema_sha256": "72d67f9137352c1ceafea373b07c571e8e34cdede5a47e2c582c589dbb506844",
      "evidence_sha256": "9e93e4fc5afd9ef96bf717d71a2b1a3897adc0e050cd796eb2bcf07728fe6c11",
      "evidence_core_sha256": "9e93e4fc5afd9ef96bf717d71a2b1a3897adc0e050cd796eb2bcf07728fe6c11",
      "capability_sha256": "9ab5f581d04a36fe6a8425f22429e06e85837894e5fe5b852a93b5e1268f37b4",
      "engine_sha256": "c8d4ccdbfeaf61d7b024d4e1babb0c2ba3b324c1b37bd0cb456a526d8d2b1bd1",
      "mcp_contract_sha256": "863098b311a7b17dc4b229a6302b90b3545b175f716e5d84772c7be8e9716b86"
    },
    "contract_checks": {
      "total": 4,
      "passed": 4,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.2.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"
  }
}
