{
  "capability_id": "electrical.electricity_bill",
  "tool_id": "electricity",
  "engine": "electricity-bill",
  "calculation_version": "1.3.1",
  "generated_at": "2026-11-10T05:18:41.683Z",
  "engine_build": "2026-09-12",
  "test_count": 21,
  "passed": 21,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 10,
      "total": 10
    },
    "boundary": {
      "passed": 6,
      "total": 6
    },
    "property": {
      "passed": 5,
      "total": 5
    }
  },
  "engine_tested": true,
  "expert_reviewed": false,
  "internally_reviewed": true,
  "review_kind": "internal",
  "source_checked": true,
  "reviewed_by": "CalculatorX electrical review",
  "reviewer_role": "electrical-engineer",
  "last_reviewed": "2026-09-13",
  "expert_review": {
    "status": "not_applicable",
    "reviewer": null,
    "note": "Internal domain review completed; not a named external expert review.",
    "kind": "internal"
  },
  "internal_review": {
    "status": "approved",
    "reviewer": {
      "name": "CalculatorX electrical review",
      "role": "electrical-engineer"
    },
    "reviewed_at": "2026-09-13",
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "kind": "internal"
  },
  "page": "https://www.calculatorx.com/calc/electric/electricity",
  "api": "https://www.calculatorx.com/api/v1/calc/electricity",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.electricity_bill.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.electricity_bill.output.json",
  "assumptions": [
    "Flat unit rate (no automatic slabs or TOU).",
    "Currency symbol is $ for display only; enter numeric values in your local currency. No FX conversion.",
    "Meter mode requires current ≥ previous on the same kWh register; otherwise METER_READING_DECREASED.",
    "Arithmetic is IEEE-754 binary64; only the displayed final amount is rounded to 2 decimal places."
  ],
  "limitations": [
    "Not for TOU / slab tariffs / export credits",
    "Current meter reading must be ≥ previous reading; otherwise METER_READING_DECREASED is returned",
    "Fee is a lump sum only; percentage and per-kWh taxes are not calculated"
  ],
  "boundary_conditions": [
    "mode not kwh|meter → INVALID_MODE",
    "missing rate → MISSING_REQUIRED_INPUT",
    "mode=meter and curr < prev → METER_READING_DECREASED",
    "negative rate/kWh/standing/days/fee → VALUE_MUST_BE_NON_NEGATIVE",
    "Zero kWh or zero rate still OK (standing + fee)",
    "Does not model TOU / slab tariffs / export credits",
    "Percentage / per-kWh taxes are not applied; fee is a lump sum only"
  ],
  "sources": [
    {
      "title": "NIST Guide to the SI (SP 811)",
      "section": "Kilowatt-hour and energy–cost arithmetic",
      "url": "https://www.nist.gov/pml/special-publication-811",
      "supports": "E(kWh) as commercial energy unit; cost = kWh × rate",
      "kind": "reference"
    },
    {
      "title": "Utility billing practice (informational)",
      "section": "Bill = usage + standing + fees",
      "supports": "Bill = kWh × rate + standing × days + fees",
      "kind": "reference"
    },
    {
      "title": "U.S. Energy Information Administration (EIA)",
      "section": "Residential electricity prices per kWh",
      "url": "https://www.eia.gov/electricity/",
      "supports": "Unit rate is user-supplied from local tariffs",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:f9e59b545171e8e6f6d181dd1fc997dbe94a639f4cd58adfc0fefd842396c396",
  "tier": "internally_reviewed",
  "verification": {
    "tests": {
      "passed": 21,
      "total": 21,
      "golden": 10,
      "boundary": 6,
      "property": 5
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-09-12T23:31:53.291Z",
  "rendered_at": "2026-11-10T05:18:41.683Z",
  "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": "8e57ad145969881ae2da285855f712bef698997f05f5855af3274f92b9737e57",
      "output_schema_sha256": "49a507d762717fa8939a7268df765f51b15e13725f6e4ba1f9e1952da789a2a3",
      "evidence_sha256": "83d0ad2ffcd8ef332055c800b162d6405e6216dcfd4c102cafb2cddd23dfb14d",
      "evidence_core_sha256": "83d0ad2ffcd8ef332055c800b162d6405e6216dcfd4c102cafb2cddd23dfb14d",
      "capability_sha256": "2574bc7b6d5f919b894239e49b75a272bee12f0ab69a84a6324bbcf798ce731b",
      "engine_sha256": "c6ebd8436f08b413e1ac6317b2d48550f2e6639a90dff254244e3aa562158b8d",
      "mcp_contract_sha256": "eb3e39ad4a95ed263415b4932f185d5edfe00a2403267b7c5ed5f718d1ff6da3"
    },
    "contract_checks": {
      "total": 6,
      "passed": 6,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.3.1"
        },
        {
          "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"
  },
  "tests": [],
  "disclosure": {
    "policy": "calculatorx-public-evidence-v1",
    "full_validation": "private",
    "representation": "summary"
  }
}
