{
  "capability_id": "electrical.battery.runtime_temp",
  "tool_id": "battery-runtime-temp",
  "engine": "battery-runtime-temp",
  "calculation_version": "1.2.1",
  "generated_at": "2026-09-16T22:03:43.718Z",
  "engine_build": "2026-09-10",
  "test_count": 31,
  "passed": 31,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 5,
      "passed": 5
    },
    "boundary": {
      "total": 10,
      "passed": 10
    },
    "property": {
      "total": 16,
      "passed": 16
    }
  },
  "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-08-12",
  "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-08-12",
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "kind": "internal"
  },
  "page": "https://www.calculatorx.com/calc/electric/battery-runtime-temp",
  "api": "https://www.calculatorx.com/api/v1/calc/battery-runtime-temp",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.battery.runtime_temp.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.battery.runtime_temp.output.json",
  "assumptions": [
    "Default: cold-only linear derating about 25 °C; T≥25 °C → f_T=1 (no high-temp bonus).",
    "Clamp is a numerical safeguard, not an operating-temperature envelope.",
    "Default k_T=0.006 is a planning default (parameter_validated=false).",
    "Constant load; not Peukert / chemistry Arrhenius / manufacturer curve.",
    "Amps mode I_A is battery-side; η does not enter t_h."
  ],
  "limitations": [
    "Generic cold-derating planning model by default — not Peukert, Arrhenius, or manufacturer curves",
    "Default k_T=0.006 is a planning default (parameter_validated=false), not a validated chemistry coefficient",
    "Clamp is a numerical safeguard, not an operating-temperature envelope",
    "T≥25 °C under generic_cold_derating does not increase capacity (no high-temp bonus)",
    "custom_symmetric_linear is advanced opt-in and still a first-order heuristic",
    "Amps mode = battery-side current; η does not enter runtime",
    "capacity_Ah XOR capacity_mAh; both → INVALID_INPUT",
    "k_T < 0 → VALUE_MUST_BE_NON_NEGATIVE",
    "Intermediate layer toward chemistry/manufacturer profile runtime — not a Battery Simulator"
  ],
  "boundary_conditions": [
    "Missing capacity/V/T_C/load → MISSING_REQUIRED_INPUT / domain codes",
    "Both capacity_Ah and capacity_mAh → INVALID_INPUT",
    "dod/eta outside (0,1] → FRACTION_OUT_OF_RANGE",
    "k_T < 0 → VALUE_MUST_BE_NON_NEGATIVE",
    "Bad mode / temperature_model → INVALID_MODE",
    "f_T at clamp → TEMP_FACTOR_CLAMPED warning"
  ],
  "sources": [
    {
      "title": "Victron Lithium Battery Smart — Operation (capacity vs temperature example)",
      "section": "Capacity vs temperature (product example)",
      "url": "https://www.victronenergy.com/media/pg/Lithium_Battery_Smart/en/operation.html",
      "supports": "Illustrative manufacturer evidence that capacity is rated at 25 °C and falls at low T (e.g. ~−20% at 0 °C, ~−50% at −20 °C under their conditions). Motivates a generic first-order cold planning derating — not a universal k_T calibration. CalculatorX default 0 °C ≈ −15% is first-order planning only.",
      "kind": "reference"
    },
    {
      "title": "Victron SmartShunt — temperature capacity compensation note",
      "section": "Temperature compensation engineering simplification",
      "url": "https://www.victronenergy.com/media/pg/SmartShunt/en/all-features-and-settings.html",
      "supports": "Example of an engineering practice that applies capacity derating below ~20 °C and treats warmer temperatures as lower impact — aligns with CalculatorX default cold-only (no high-temp bonus) planning stance.",
      "kind": "reference"
    },
    {
      "title": "Trojan Battery — temperature effects FAQ",
      "section": "Temperature and capacity / life",
      "url": "https://www.trojanbattery.com/resources/faqs",
      "supports": "High temperature can increase available capacity for some lead-acid chemistries while harming life — reason not to default-reward high T in a generic planning tool.",
      "kind": "reference"
    },
    {
      "title": "CalculatorX Battery Runtime capability",
      "section": "Constant-load watts/amps model (1.2+)",
      "supports": "Base runtime model (BatteryRuntimeBaseInput) extended by temperature factor",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:07a2cd571bc7cee190b40451e118cf16ebd66763314e9b2be71bd89b98c5a2de",
  "tests": [
    {
      "id": "room-temp",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "watts",
        "capacity_Ah": 10,
        "V": 12,
        "P_W": 20,
        "dod": 1,
        "eta": 1,
        "T_C": 25
      },
      "expect": {
        "t_h": 6,
        "temp_factor": 1,
        "E_Wh": 120
      },
      "expectWarning": null,
      "actual": {
        "t_h": 6,
        "t_d": 0.25,
        "E_Wh": 120,
        "temp_factor": 1,
        "T_C": 25,
        "k_T": 0.006,
        "capacity_Ah_eff": 10,
        "temperature": {
          "T_C": 25,
          "reference_C": 25,
          "model": "generic_cold_derating",
          "capacity_factor": 1,
          "k_per_C": 0.006,
          "clamp_min": 0.1,
          "clamp_max": 1,
          "clamped": false,
          "model_basis": "heuristic_first_order",
          "parameter_basis": "planning_default",
          "parameter_validated": false,
          "t_h_at_reference": 6,
          "delta_t_h": 0,
          "delta_percent": 0
        }
      },
      "tol": 1e-9
    },
    {
      "id": "cold-0C",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "watts",
        "capacity_Ah": 10,
        "V": 12,
        "P_W": 20,
        "dod": 1,
        "eta": 1,
        "T_C": 0
      },
      "expect": {
        "t_h": 5.1,
        "temp_factor": 0.85,
        "E_Wh": 102
      },
      "expectWarning": null,
      "actual": {
        "t_h": 5.1,
        "t_d": 0.2125,
        "E_Wh": 102,
        "temp_factor": 0.85,
        "T_C": 0,
        "k_T": 0.006,
        "capacity_Ah_eff": 8.5,
        "temperature": {
          "T_C": 0,
          "reference_C": 25,
          "model": "generic_cold_derating",
          "capacity_factor": 0.85,
          "k_per_C": 0.006,
          "clamp_min": 0.1,
          "clamp_max": 1,
          "clamped": false,
          "model_basis": "heuristic_first_order",
          "parameter_basis": "planning_default",
          "parameter_validated": false,
          "t_h_at_reference": 6,
          "delta_t_h": -0.9000000000000004,
          "delta_percent": -15.000000000000005
        }
      },
      "tol": 1e-9
    },
    {
      "id": "hot-no-bonus",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "watts",
        "capacity_Ah": 10,
        "V": 12,
        "P_W": 20,
        "T_C": 50
      },
      "expect": {
        "t_h": 6,
        "temp_factor": 1,
        "E_Wh": 120
      },
      "expectWarning": null,
      "actual": {
        "t_h": 6,
        "t_d": 0.25,
        "E_Wh": 120,
        "temp_factor": 1,
        "T_C": 50,
        "k_T": 0.006,
        "capacity_Ah_eff": 10,
        "temperature": {
          "T_C": 50,
          "reference_C": 25,
          "model": "generic_cold_derating",
          "capacity_factor": 1,
          "k_per_C": 0.006,
          "clamp_min": 0.1,
          "clamp_max": 1,
          "clamped": false,
          "model_basis": "heuristic_first_order",
          "parameter_basis": "planning_default",
          "parameter_validated": false,
          "t_h_at_reference": 6,
          "delta_t_h": 0,
          "delta_percent": 0
        }
      },
      "tol": 1e-9
    },
    {
      "id": "missing-T",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "watts",
        "capacity_Ah": 10,
        "V": 12,
        "P_W": 20
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "T_C is required"
    },
    {
      "id": "neg-k",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "watts",
        "capacity_Ah": 10,
        "V": 12,
        "P_W": 20,
        "T_C": 25,
        "k_T": -0.1
      },
      "expectError": "VALUE_MUST_BE_NON_NEGATIVE",
      "code": "VALUE_MUST_BE_NON_NEGATIVE",
      "error": "k_T must be ≥ 0"
    },
    {
      "id": "bad-mode",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "va",
        "capacity_Ah": 10,
        "V": 12,
        "P_W": 20,
        "T_C": 25
      },
      "expectError": "INVALID_MODE",
      "code": "INVALID_MODE",
      "error": "mode must be \"watts\" or \"amps\""
    },
    {
      "id": "amps-eta-ignored",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "amps",
        "capacity_Ah": 10,
        "V": 12,
        "I_A": 2,
        "dod": 0.8,
        "eta": 0.9,
        "T_C": 25
      },
      "expect": {
        "t_h": 4,
        "E_Wh": 96,
        "temp_factor": 1
      },
      "expectWarning": null,
      "actual": {
        "t_h": 4,
        "t_d": 0.16666666666666666,
        "E_Wh": 96,
        "temp_factor": 1,
        "T_C": 25,
        "k_T": 0.006,
        "capacity_Ah_eff": 10,
        "temperature": {
          "T_C": 25,
          "reference_C": 25,
          "model": "generic_cold_derating",
          "capacity_factor": 1,
          "k_per_C": 0.006,
          "clamp_min": 0.1,
          "clamp_max": 1,
          "clamped": false,
          "model_basis": "heuristic_first_order",
          "parameter_basis": "planning_default",
          "parameter_validated": false,
          "t_h_at_reference": 4,
          "delta_t_h": 0,
          "delta_percent": 0
        },
        "warnings": [
          {
            "code": "ETA_IGNORED_IN_AMPS_MODE",
            "severity": "info",
            "detail": "Amps mode treats I_A as battery-side discharge current; η does not enter runtime (aligned with electrical.battery_runtime).",
            "suggestion": "Use watts mode with load-side P_W when applying system efficiency η."
          }
        ]
      },
      "tol": 1e-9
    },
    {
      "id": "symmetric-hot",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "watts",
        "capacity_Ah": 10,
        "V": 12,
        "P_W": 20,
        "T_C": 50,
        "temperature_model": "custom_symmetric_linear",
        "k_T": 0.006
      },
      "expect": {
        "t_h": 6.9,
        "temp_factor": 1.15
      },
      "expectWarning": null,
      "actual": {
        "t_h": 6.9,
        "t_d": 0.28750000000000003,
        "E_Wh": 138,
        "temp_factor": 1.15,
        "T_C": 50,
        "k_T": 0.006,
        "capacity_Ah_eff": 11.5,
        "temperature": {
          "T_C": 50,
          "reference_C": 25,
          "model": "custom_symmetric_linear",
          "capacity_factor": 1.15,
          "k_per_C": 0.006,
          "clamp_min": 0.1,
          "clamp_max": 1.2,
          "clamped": false,
          "model_basis": "heuristic_first_order",
          "parameter_basis": "planning_default",
          "parameter_validated": false,
          "t_h_at_reference": 6,
          "delta_t_h": 0.9000000000000004,
          "delta_percent": 15.000000000000005
        }
      },
      "tol": 1e-9
    },
    {
      "id": "boundary-room",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "watts",
        "capacity_Ah": 10,
        "V": 12,
        "P_W": 20,
        "dod": 1,
        "eta": 1,
        "T_C": 25
      },
      "expect": {
        "t_h": 6,
        "temp_factor": 1
      },
      "expectWarning": null,
      "actual": {
        "t_h": 6,
        "t_d": 0.25,
        "E_Wh": 120,
        "temp_factor": 1,
        "T_C": 25,
        "k_T": 0.006,
        "capacity_Ah_eff": 10,
        "temperature": {
          "T_C": 25,
          "reference_C": 25,
          "model": "generic_cold_derating",
          "capacity_factor": 1,
          "k_per_C": 0.006,
          "clamp_min": 0.1,
          "clamp_max": 1,
          "clamped": false,
          "model_basis": "heuristic_first_order",
          "parameter_basis": "planning_default",
          "parameter_validated": false,
          "t_h_at_reference": 6,
          "delta_t_h": 0,
          "delta_percent": 0
        }
      },
      "tol": 1e-9
    },
    {
      "id": "boundary-cold",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "watts",
        "capacity_Ah": 10,
        "V": 12,
        "P_W": 20,
        "dod": 1,
        "eta": 1,
        "T_C": 0
      },
      "expect": {
        "t_h": 5.1,
        "temp_factor": 0.85
      },
      "expectWarning": null,
      "actual": {
        "t_h": 5.1,
        "t_d": 0.2125,
        "E_Wh": 102,
        "temp_factor": 0.85,
        "T_C": 0,
        "k_T": 0.006,
        "capacity_Ah_eff": 8.5,
        "temperature": {
          "T_C": 0,
          "reference_C": 25,
          "model": "generic_cold_derating",
          "capacity_factor": 0.85,
          "k_per_C": 0.006,
          "clamp_min": 0.1,
          "clamp_max": 1,
          "clamped": false,
          "model_basis": "heuristic_first_order",
          "parameter_basis": "planning_default",
          "parameter_validated": false,
          "t_h_at_reference": 6,
          "delta_t_h": -0.9000000000000004,
          "delta_percent": -15.000000000000005
        }
      },
      "tol": 1e-9
    },
    {
      "id": "boundary-hot-no-bonus",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "watts",
        "capacity_Ah": 10,
        "V": 12,
        "P_W": 20,
        "dod": 1,
        "eta": 1,
        "T_C": 50
      },
      "expect": {
        "t_h": 6,
        "temp_factor": 1
      },
      "expectWarning": null,
      "actual": {
        "t_h": 6,
        "t_d": 0.25,
        "E_Wh": 120,
        "temp_factor": 1,
        "T_C": 50,
        "k_T": 0.006,
        "capacity_Ah_eff": 10,
        "temperature": {
          "T_C": 50,
          "reference_C": 25,
          "model": "generic_cold_derating",
          "capacity_factor": 1,
          "k_per_C": 0.006,
          "clamp_min": 0.1,
          "clamp_max": 1,
          "clamped": false,
          "model_basis": "heuristic_first_order",
          "parameter_basis": "planning_default",
          "parameter_validated": false,
          "t_h_at_reference": 6,
          "delta_t_h": 0,
          "delta_percent": 0
        }
      },
      "tol": 1e-9
    },
    {
      "id": "boundary-both-capacities",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "watts",
        "capacity_Ah": 10,
        "capacity_mAh": 5000,
        "V": 12,
        "P_W": 20,
        "T_C": 25
      },
      "expectError": "INVALID_INPUT",
      "code": "INVALID_INPUT",
      "error": "provide either capacity_Ah or capacity_mAh, not both"
    },
    {
      "id": "boundary-bad-temp-model",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "watts",
        "capacity_Ah": 10,
        "V": 12,
        "P_W": 20,
        "T_C": 25,
        "temperature_model": "arrhenius"
      },
      "expectError": "INVALID_MODE",
      "code": "INVALID_MODE",
      "error": "temperature_model must be \"generic_cold_derating\" or \"custom_symmetric_linear\""
    },
    {
      "id": "boundary-lower-clamp",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "watts",
        "capacity_Ah": 10,
        "V": 12,
        "P_W": 20,
        "T_C": -200,
        "k_T": 0.006
      },
      "expect": {
        "temp_factor": 0.1
      },
      "expectWarning": null,
      "actual": {
        "t_h": 0.6,
        "t_d": 0.024999999999999998,
        "E_Wh": 12,
        "temp_factor": 0.1,
        "T_C": -200,
        "k_T": 0.006,
        "capacity_Ah_eff": 1,
        "temperature": {
          "T_C": -200,
          "reference_C": 25,
          "model": "generic_cold_derating",
          "capacity_factor": 0.1,
          "k_per_C": 0.006,
          "clamp_min": 0.1,
          "clamp_max": 1,
          "clamped": true,
          "model_basis": "heuristic_first_order",
          "parameter_basis": "planning_default",
          "parameter_validated": false,
          "t_h_at_reference": 6,
          "delta_t_h": -5.4,
          "delta_percent": -90
        },
        "warnings": [
          {
            "code": "TEMP_FACTOR_CLAMPED",
            "severity": "warning",
            "detail": "The linear planning model reached its numerical clamp. Clamp is a numerical safeguard, not an operating-temperature envelope or chemistry limit.",
            "suggestion": "Do not treat the clamped f_T as a real operating limit. For design, use a chemistry/manufacturer Profile Runtime (datasheet capacity-vs-temperature curve) instead of this generic planning model."
          }
        ]
      },
      "tol": 1e-9
    },
    {
      "id": "boundary-upper-clamp-symmetric",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "watts",
        "capacity_Ah": 10,
        "V": 12,
        "P_W": 20,
        "T_C": 100,
        "k_T": 0.006,
        "temperature_model": "custom_symmetric_linear"
      },
      "expect": {
        "temp_factor": 1.2
      },
      "expectWarning": null,
      "actual": {
        "t_h": 7.2,
        "t_d": 0.3,
        "E_Wh": 144,
        "temp_factor": 1.2,
        "T_C": 100,
        "k_T": 0.006,
        "capacity_Ah_eff": 12,
        "temperature": {
          "T_C": 100,
          "reference_C": 25,
          "model": "custom_symmetric_linear",
          "capacity_factor": 1.2,
          "k_per_C": 0.006,
          "clamp_min": 0.1,
          "clamp_max": 1.2,
          "clamped": true,
          "model_basis": "heuristic_first_order",
          "parameter_basis": "planning_default",
          "parameter_validated": false,
          "t_h_at_reference": 6,
          "delta_t_h": 1.2000000000000002,
          "delta_percent": 20.000000000000004
        },
        "warnings": [
          {
            "code": "TEMP_FACTOR_CLAMPED",
            "severity": "warning",
            "detail": "The linear planning model reached its numerical clamp. Clamp is a numerical safeguard, not an operating-temperature envelope or chemistry limit.",
            "suggestion": "Do not treat the clamped f_T as a real operating limit. For design, use a chemistry/manufacturer Profile Runtime (datasheet capacity-vs-temperature curve) instead of this generic planning model."
          }
        ]
      },
      "tol": 1e-9
    },
    {
      "id": "property-room",
      "ok": true,
      "kind": "property",
      "detail": "25 °C → 6 h",
      "expect": {
        "t_h": 6,
        "temp_factor": 1
      },
      "actual": {
        "t_h": 6,
        "t_d": 0.25,
        "E_Wh": 120,
        "temp_factor": 1,
        "T_C": 25,
        "k_T": 0.006,
        "capacity_Ah_eff": 10,
        "temperature": {
          "T_C": 25,
          "reference_C": 25,
          "model": "generic_cold_derating",
          "capacity_factor": 1,
          "k_per_C": 0.006,
          "clamp_min": 0.1,
          "clamp_max": 1,
          "clamped": false,
          "model_basis": "heuristic_first_order",
          "parameter_basis": "planning_default",
          "parameter_validated": false,
          "t_h_at_reference": 6,
          "delta_t_h": 0,
          "delta_percent": 0
        }
      }
    },
    {
      "id": "property-cold",
      "ok": true,
      "kind": "property",
      "detail": "0 °C → 5.1 h (−0.9 h / −15%)",
      "expect": {
        "t_h": 5.1,
        "temp_factor": 0.85,
        "delta_t_h": -0.9,
        "delta_percent": -15
      },
      "actual": {
        "t_h": 5.1,
        "t_d": 0.2125,
        "E_Wh": 102,
        "temp_factor": 0.85,
        "T_C": 0,
        "k_T": 0.006,
        "capacity_Ah_eff": 8.5,
        "temperature": {
          "T_C": 0,
          "reference_C": 25,
          "model": "generic_cold_derating",
          "capacity_factor": 0.85,
          "k_per_C": 0.006,
          "clamp_min": 0.1,
          "clamp_max": 1,
          "clamped": false,
          "model_basis": "heuristic_first_order",
          "parameter_basis": "planning_default",
          "parameter_validated": false,
          "t_h_at_reference": 6,
          "delta_t_h": -0.9000000000000004,
          "delta_percent": -15.000000000000005
        }
      }
    },
    {
      "id": "property-hot-no-bonus",
      "ok": true,
      "kind": "property",
      "detail": "50 °C cold-only → no capacity bonus",
      "expect": {
        "temp_factor": 1,
        "t_h": 6
      },
      "actual": {
        "t_h": 6,
        "t_d": 0.25,
        "E_Wh": 120,
        "temp_factor": 1,
        "T_C": 50,
        "k_T": 0.006,
        "capacity_Ah_eff": 10,
        "temperature": {
          "T_C": 50,
          "reference_C": 25,
          "model": "generic_cold_derating",
          "capacity_factor": 1,
          "k_per_C": 0.006,
          "clamp_min": 0.1,
          "clamp_max": 1,
          "clamped": false,
          "model_basis": "heuristic_first_order",
          "parameter_basis": "planning_default",
          "parameter_validated": false,
          "t_h_at_reference": 6,
          "delta_t_h": 0,
          "delta_percent": 0
        }
      }
    },
    {
      "id": "property-load",
      "ok": true,
      "kind": "property",
      "detail": "2P → ½t",
      "expect": 3,
      "actual": 3
    },
    {
      "id": "property-amps",
      "ok": true,
      "kind": "property",
      "detail": "amps mode",
      "expect": 5,
      "actual": 5
    },
    {
      "id": "property-amps-eta-ignored",
      "ok": true,
      "kind": "property",
      "detail": "amps η ignored",
      "expect": {
        "t_h": 4,
        "E_Wh": 96
      },
      "actual": {
        "t_h": 4,
        "t_d": 0.16666666666666666,
        "E_Wh": 96,
        "temp_factor": 1,
        "T_C": 25,
        "k_T": 0.006,
        "capacity_Ah_eff": 10,
        "temperature": {
          "T_C": 25,
          "reference_C": 25,
          "model": "generic_cold_derating",
          "capacity_factor": 1,
          "k_per_C": 0.006,
          "clamp_min": 0.1,
          "clamp_max": 1,
          "clamped": false,
          "model_basis": "heuristic_first_order",
          "parameter_basis": "planning_default",
          "parameter_validated": false,
          "t_h_at_reference": 4,
          "delta_t_h": 0,
          "delta_percent": 0
        },
        "warnings": [
          {
            "code": "ETA_IGNORED_IN_AMPS_MODE",
            "severity": "info",
            "detail": "Amps mode treats I_A as battery-side discharge current; η does not enter runtime (aligned with electrical.battery_runtime).",
            "suggestion": "Use watts mode with load-side P_W when applying system efficiency η."
          }
        ]
      }
    },
    {
      "id": "property-k0-parity",
      "ok": true,
      "kind": "property",
      "detail": "k_T=0 → base parity",
      "expect": {
        "t_h": 6
      },
      "actual": {
        "t_h": 6,
        "t_d": 0.25,
        "E_Wh": 120,
        "temp_factor": 1,
        "T_C": 0,
        "k_T": 0,
        "capacity_Ah_eff": 10,
        "temperature": {
          "T_C": 0,
          "reference_C": 25,
          "model": "generic_cold_derating",
          "capacity_factor": 1,
          "k_per_C": 0,
          "clamp_min": 0.1,
          "clamp_max": 1,
          "clamped": false,
          "model_basis": "heuristic_first_order",
          "parameter_basis": "planning_default",
          "parameter_validated": false,
          "t_h_at_reference": 6,
          "delta_t_h": 0,
          "delta_percent": 0
        }
      }
    },
    {
      "id": "property-mah-equiv",
      "ok": true,
      "kind": "property",
      "detail": "mAh ↔ Ah",
      "expect": 5.1,
      "actual": 5.1
    },
    {
      "id": "property-continuity-25",
      "ok": true,
      "kind": "property",
      "detail": "continuity about 25 °C",
      "expect": {
        "lo": 0.9994,
        "hi": 1
      },
      "actual": {
        "lo": 0.9994,
        "hi": 1
      }
    },
    {
      "id": "property-cold-monotone",
      "ok": true,
      "kind": "property",
      "detail": "higher cold T → non-decreasing f_T",
      "expect": {
        "colder": 0.73,
        "warmer": 0.85
      },
      "actual": {
        "colder": 0.73,
        "warmer": 0.85
      }
    },
    {
      "id": "property-lower-clamp-warning",
      "ok": true,
      "kind": "property",
      "detail": "very low T → lower clamp + profile-guidance warning",
      "expect": "TEMP_FACTOR_CLAMPED",
      "actual": [
        {
          "code": "TEMP_FACTOR_CLAMPED",
          "severity": "warning",
          "detail": "The linear planning model reached its numerical clamp. Clamp is a numerical safeguard, not an operating-temperature envelope or chemistry limit.",
          "suggestion": "Do not treat the clamped f_T as a real operating limit. For design, use a chemistry/manufacturer Profile Runtime (datasheet capacity-vs-temperature curve) instead of this generic planning model."
        }
      ]
    },
    {
      "id": "property-upper-clamp-warning",
      "ok": true,
      "kind": "property",
      "detail": "very high T symmetric → upper clamp + warning",
      "expect": "TEMP_FACTOR_CLAMPED",
      "actual": [
        {
          "code": "TEMP_FACTOR_CLAMPED",
          "severity": "warning",
          "detail": "The linear planning model reached its numerical clamp. Clamp is a numerical safeguard, not an operating-temperature envelope or chemistry limit.",
          "suggestion": "Do not treat the clamped f_T as a real operating limit. For design, use a chemistry/manufacturer Profile Runtime (datasheet capacity-vs-temperature curve) instead of this generic planning model."
        }
      ]
    },
    {
      "id": "property-factor-in-clamp",
      "ok": true,
      "kind": "property",
      "detail": "f_T always within declared clamp",
      "expect": true,
      "actual": true
    },
    {
      "id": "property-param-unvalidated",
      "ok": true,
      "kind": "property",
      "detail": "k_T marked planning_default / not validated",
      "expect": false,
      "actual": false
    },
    {
      "id": "property-parity-basic-watts-25C",
      "ok": true,
      "kind": "property",
      "detail": "watts @25°C parity with battery_runtime",
      "expect": {
        "t_h": 4.32,
        "E_Wh": 86.4
      },
      "actual": {
        "t_h": 4.32,
        "E_Wh": 86.4
      }
    },
    {
      "id": "property-parity-basic-amps-25C",
      "ok": true,
      "kind": "property",
      "detail": "amps @25°C parity with battery_runtime",
      "expect": {
        "t_h": 4,
        "E_Wh": 96
      },
      "actual": {
        "t_h": 4,
        "E_Wh": 96
      }
    }
  ],
  "tier": "internally_reviewed",
  "verification": {
    "tests": {
      "passed": 31,
      "total": 31,
      "golden": 5,
      "boundary": 10,
      "property": 16
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-05T02:35:39.217Z",
  "rendered_at": "2026-09-16T22:03:43.718Z",
  "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": "1f6dc4f1560deb6a6dc6773554e9402f11937cad9a9add1b3ce3bd2b81e77624",
      "output_schema_sha256": "b86641f8a4c60c84fe3c975df10a72394fe8a16220513508156a50fede69cae6",
      "evidence_sha256": "0fdec935a27b5e45cdfe44654938d1549bffedb036db4e13f66391ba0f1edb10",
      "evidence_core_sha256": "0fdec935a27b5e45cdfe44654938d1549bffedb036db4e13f66391ba0f1edb10",
      "capability_sha256": "daf4a4249111ee1b063b7b7304081442bb800fb384cac1dc57f3338ef10dd666",
      "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"
  }
}
