{
  "capability_id": "electrical.energy_cost",
  "tool_id": "energy-cost",
  "engine": "energy-cost",
  "calculation_version": "1.4.2",
  "generated_at": "2026-11-10T05:18:41.677Z",
  "engine_build": "2026-09-13",
  "test_count": 28,
  "passed": 28,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 10,
      "total": 10
    },
    "boundary": {
      "passed": 13,
      "total": 13
    },
    "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/energy-cost",
  "api": "https://www.calculatorx.com/api/v1/calc/energy-cost",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.energy_cost.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.energy_cost.output.json",
  "assumptions": [
    "Constant average power over the period",
    "Single flat unit rate"
  ],
  "limitations": [
    "Usage cost only — standing charge and tax not included",
    "W, hours, days, kWh, and rate must be ≥ 0",
    "Hours per day must be ≤ 24 (HOURS_PER_DAY_OUT_OF_RANGE)",
    "Zero W/hours/days/kWh/rate → 0"
  ],
  "boundary_conditions": [
    "Standing charge and tax not included — usage cost only",
    "Missing rate / W / hours / days / kWh → MISSING_REQUIRED_INPUT; rate / W / hours / days / kWh < 0 → VALUE_MUST_BE_NON_NEGATIVE",
    "hours > 24 in watts mode → HOURS_PER_DAY_OUT_OF_RANGE",
    "Bad mode → INVALID_MODE; non-finite → INVALID_NUMBER",
    "Zero W / hours / days / kWh / rate → 0 cost — soft boundary",
    "mode=watts uses W×hours×days/1000×rate; mode=kwh uses kWh×rate"
  ],
  "sources": [
    {
      "title": "NIST Guide to the SI (SP 811)",
      "section": "Kilowatt-hour as a common commercial unit of electrical energy",
      "url": "https://www.nist.gov/pml/special-publication-811",
      "supports": "Cost = kWh × rate; kWh = W × h × days / 1000",
      "kind": "reference"
    },
    {
      "title": "U.S. Energy Information Administration (EIA)",
      "section": "Electricity prices reported per kilowatt-hour",
      "url": "https://www.eia.gov/electricity/monthly/epm_table_grapher.php?t=epmt_5_6_a",
      "supports": "Rate input ($/kWh) is user-supplied from local tariffs",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:1d89897cd7c3a32f55a70b81d1f55258199ef0655d42352bb14163bbd0d01192",
  "tier": "internally_reviewed",
  "verification": {
    "tests": {
      "passed": 28,
      "total": 28,
      "golden": 10,
      "boundary": 13,
      "property": 5
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-09-13T13:02:01.815Z",
  "rendered_at": "2026-11-10T05:18:41.677Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.4.2",
    "artifacts": {
      "engine": "1.4.2",
      "page": "1.4.2",
      "capability": "1.4.2",
      "evidence": "1.4.2",
      "input_schema": "1.4.2",
      "output_schema": "1.4.2",
      "mcp_contract": "1.4.2"
    },
    "digests": {
      "input_schema_sha256": "12262cc56ba4bd37d19d307cb4bd0bc5d9dce4fde5270bd9146c57e088dabaf9",
      "output_schema_sha256": "e11e90e9c7aa944658f65c395d04a726024128cf3a15b9b48dae535fb46aa2fa",
      "evidence_sha256": "88adc40899e760f9c43c52c17cab924e8249a30d8e5c1623d4c1c1d7453fdc65",
      "evidence_core_sha256": "88adc40899e760f9c43c52c17cab924e8249a30d8e5c1623d4c1c1d7453fdc65",
      "capability_sha256": "56a98c73cc3de58d00ff0e13b062b492614db834d0c9068b51917fb2877ecf28",
      "engine_sha256": "c6ebd8436f08b413e1ac6317b2d48550f2e6639a90dff254244e3aa562158b8d",
      "mcp_contract_sha256": "eb3e39ad4a95ed263415b4932f185d5edfe00a2403267b7c5ed5f718d1ff6da3"
    },
    "contract_checks": {
      "total": 6,
      "passed": 6,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.4.2"
        },
        {
          "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"
  }
}
