{
  "capability_id": "units.energy.kwh_joule",
  "tool_id": "kwh-joule",
  "engine": "kwh-joule",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:03:43.752Z",
  "engine_build": "2026-09-10",
  "test_count": 3,
  "passed": 3,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 1,
      "passed": 1
    },
    "boundary": {
      "total": 1,
      "passed": 1
    },
    "property": {
      "total": 1,
      "passed": 1
    }
  },
  "engine_tested": true,
  "expert_reviewed": true,
  "internally_reviewed": false,
  "review_kind": "expert",
  "source_checked": true,
  "reviewed_by": "CalculatorX physics review",
  "reviewer_role": null,
  "last_reviewed": "2026-08-09",
  "expert_review": {
    "status": "approved",
    "reviewer": {
      "name": "CalculatorX physics review",
      "role": null
    },
    "reviewed_at": "2026-08-09",
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "kind": "expert"
  },
  "internal_review": {
    "status": "not_applicable",
    "reviewer": null
  },
  "page": "https://www.calculatorx.com/calc/physics/kwh-joule",
  "api": "https://www.calculatorx.com/api/v1/calc/kwh-joule",
  "schema_input": "https://www.calculatorx.com/schemas/units.energy.kwh_joule.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/units.energy.kwh_joule.output.json",
  "assumptions": [],
  "limitations": [
    "Exact SI factor 3.6e6 only"
  ],
  "boundary_conditions": [
    "value≤0 → VALUE_MUST_BE_POSITIVE"
  ],
  "sources": [
    {
      "title": "SI brochure",
      "section": "derived units",
      "supports": "1 kWh = 3.6 MJ",
      "kind": "reference"
    },
    {
      "title": "NIST / SI energy units",
      "section": "kilowatt-hour",
      "supports": "1 kWh = 3.6×10⁶ J",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:2fdaa94269fd15b3fc2397b285e90796ec2e774dcfbb41649e866a3c6262faa2",
  "tests": [
    {
      "id": "kwh",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "kwh-j",
        "value": 1
      },
      "expect": 3600000,
      "expectWarning": null,
      "actual": 3600000,
      "tol": 1e-12
    },
    {
      "id": "bad",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "kwh-j",
        "value": 0
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "value must be greater than zero"
    },
    {
      "id": "property-kwh-rt",
      "ok": true,
      "kind": "property",
      "detail": "2",
      "expect": 2,
      "actual": 2
    }
  ],
  "tier": "expert_verified",
  "verification": {
    "tests": {
      "passed": 3,
      "total": 3,
      "golden": 1,
      "boundary": 1,
      "property": 1
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-06T13:16:40.891Z",
  "rendered_at": "2026-09-16T22:03:43.752Z",
  "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": "ec9d5c1fb2542bad00c0d57e6ba18a5bc84d7f0253ff7c2317054306d8e1dd20",
      "output_schema_sha256": "ac6205cd2f6383b6fbfb6e21dad884a95f6da58c5f67563f9fe1f015957cddfe",
      "evidence_sha256": "715503a7ad51f271316d5964dffc0f0ef4a84825c866d132ffe2259ca78ac24e",
      "evidence_core_sha256": "715503a7ad51f271316d5964dffc0f0ef4a84825c866d132ffe2259ca78ac24e",
      "capability_sha256": "10fba4e65c120b57ae8ceb8ad7ac30f0e1b7cd26205c980d6498ee63be6aeecc",
      "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"
  }
}
