{
  "capability_id": "units.energy.kwh_joule",
  "tool_id": "kwh-joule",
  "engine": "kwh-joule",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-21T16:00:36.059Z",
  "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": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-09-06T13:16:40.891Z",
  "rendered_at": "2026-09-21T16:00:36.059Z",
  "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": "e64cf47052907e92a390ed24ca3b920b70af8e5c7b942e267c8b826256f90944",
      "engine_sha256": "925bd3b9c373f747a10f30cedc6352b3f419cf91144ae6744c9c9adcd703033c",
      "mcp_contract_sha256": "2bb4bbc15ea3f9842a9a464e07efcc692dc31f3e830dee8553f3d7c4e81238d3"
    },
    "contract_checks": {
      "total": 6,
      "passed": 6,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.0"
        },
        {
          "id": "schema-output-required-declared",
          "status": "pass"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "status": "pass"
        },
        {
          "id": "rest-success-payload-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
