{
  "protocol": {
    "name": "CVP",
    "version": "1.0.0-proposed",
    "revision": "2026-09-13",
    "spec_sha256": "f62725968356c92930531cd6085db76e216da06e95be53d636b0d2cf3218b148",
    "spec": "https://www.calculatorx.com/developers/cvp/spec/1.0"
  },
  "document_status": "proposed",
  "calculator": {
    "id": "battery-runtime-temp",
    "version": "1.2.1",
    "title": "Battery Runtime @ Temperature Calculator",
    "formula_family": "capacity-temp-derating-runtime",
    "capability_id": "electrical.battery.runtime_temp",
    "verification_revision": "2026-09-11.xcal-meta-derived",
    "related_capability": {
      "capability_id": "electrical.battery_runtime"
    }
  },
  "profile": "engineering",
  "status": "VERIFIED",
  "verification_status": "VERIFIED",
  "production_freshness": "CURRENT",
  "overall_trust": "VERIFIED",
  "runner": {
    "name": "cvp-runner",
    "version": "1.0.0"
  },
  "environment": {
    "runtime": "node",
    "runtime_version": "20.19.2",
    "numeric_model": "IEEE-754 binary64",
    "os": "darwin"
  },
  "suite": {
    "id": "battery-runtime-temp",
    "version": "1.2.1",
    "uri": "https://www.calculatorx.com/evidence/electrical.battery.runtime_temp/1.2.1.json",
    "verification_revision": "2026-09-11.xcal-meta-derived"
  },
  "obligation_set": [
    "CVP-PROV-01",
    "CVP-MODEL-01",
    "CVP-SCOPE-01",
    "CVP-UNIT-01",
    "CVP-REF-01",
    "CVP-GOLD-01",
    "CVP-BND-01",
    "CVP-INV-01",
    "CVP-NUM-01",
    "CVP-COV-01",
    "CVP-CONTRACT-01",
    "CVP-DEP-01",
    "CVP-ART-01",
    "CVP-PROD-01",
    "CVP-DIM-01",
    "CVP-PROP-01",
    "CVP-META-01",
    "CVP-XCAL-01",
    "CVP-IFACE-01"
  ],
  "provenance": {
    "mode": "derived",
    "sources": [
      {
        "label": "Victron Lithium Battery Smart — Operation (capacity vs temperature example)",
        "kind": "other",
        "reference": "Capacity vs temperature (product example)",
        "url": "https://www.victronenergy.com/media/pg/Lithium_Battery_Smart/en/operation.html"
      },
      {
        "label": "Victron SmartShunt — temperature capacity compensation note",
        "kind": "other",
        "reference": "Temperature compensation engineering simplification",
        "url": "https://www.victronenergy.com/media/pg/SmartShunt/en/all-features-and-settings.html"
      },
      {
        "label": "Trojan Battery — temperature effects FAQ",
        "kind": "other",
        "reference": "Temperature and capacity / life",
        "url": "https://www.trojanbattery.com/resources/faqs"
      },
      {
        "label": "CalculatorX Battery Runtime capability",
        "kind": "other",
        "reference": "Constant-load watts/amps model (1.2+)"
      }
    ],
    "derivation": {
      "description": "Manufacturer evidence establishes cold capacity loss about a 25 °C rating point; published compensation notes indicate chemistry-dependent coefficients of roughly 0.005–0.01 /°C below ~20–25 °C, with little or no high-temperature capacity credit in planning tools. CalculatorX selects k_T = 0.006 /°C as a generic first-order planning default, applies it only below 25 °C, and clamps f_T to [0.1, 1]. This is an engineering interpretation, not a datasheet identity.",
      "upstream": [
        {
          "id": "electrical.battery_runtime",
          "version": "1.2.1"
        }
      ],
      "reference_temperature_C": 25,
      "default_k_T": 0.006,
      "rationale": [
        "manufacturer evidence establishes cold capacity loss",
        "published coefficients indicate chemistry-dependent ~0.005–0.01 /°C",
        "0.006 /°C selected as generic planning default",
        "high-temperature capacity gain intentionally excluded"
      ]
    }
  },
  "controls": {
    "CVP-PROV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Sources present on evidence"
    },
    "CVP-MODEL-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Planning f_T + watts/amps runtime on Ah_eff (not chemistry-validated)"
    },
    "CVP-SCOPE-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "generic_cold_derating default; custom_symmetric_linear advanced"
    },
    "CVP-UNIT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Ah, V, W, A, °C"
    },
    "CVP-REF-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "O1 model + O2 expected_values + O2 numerical_behavior"
    },
    "CVP-GOLD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "5/5 legacy golden; 4/4 oracle-backed numeric"
    },
    "CVP-BND-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "8/8 CVP boundary · 10/10 legacy Evidence boundary"
    },
    "CVP-INV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "5 invalid-domain cases"
    },
    "CVP-NUM-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "max_error_observed_ulp=0; policy declared a priori"
    },
    "CVP-COV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "6/6 declared partitions (watts, amps, generic-cold, custom-symmetric, clamped-regime, invalid-domain)"
    },
    "CVP-CONTRACT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "4/4 CVP contract"
    },
    "CVP-DEP-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "engine battery-runtime-temp; Node binary64"
    },
    "CVP-ART-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "release_integrity.status=verified · digests: artifact_evidence_sha256=Evidence core (Trust freshness) · cvp_evidence_digest=artifacts.evidence_digest (fingerprint v2) · evidence_bundle_sha256=legacy Evidence JSON bytes · evidence_catalog_digest=attested_catalog_sha256 · production_sha256=bound production report · see artifacts.digest_registry"
    },
    "CVP-PROD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "this calculator CURRENT · bound snapshot pass @ 2026-09-16T23:18:54.751Z · live site-wide report stale @ 2026-09-16T23:18:56.758Z (4 other capabilities) · local checks pass · attestation_id=bf3fe5ab59e4bbc9e50f340c6c537d3cf046a9b32473980b03131666eea4e751 · This calculator CURRENT · This calculator is not affected · Bound attestation PASS @ 2026-09-16T23:18:54.751Z · Live production status STALE (4 capabilities; 160 remain CURRENT) @ 2026-09-16T23:18:56.758Z · Public schema 1.2.1 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓ · schema_const=1.2.1 · report output-const=pass · evidence-sha256=pass · semantic-contract=pass · capability-html-public-origin-agree=pass · cvp-manifest-public-origin-agree=pass · cvp-latest-alias-agrees=pass · cvp-immutable-manifest-fetch=pass · cvp-immutable-manifest-sha256=pass · cvp-latest-alias-matches-immutable=pass · calculator-html-cvp-projection=pass · evidence-html-cvp-projection=pass · attested_evidence_sha256=58fe84b53a8948a8ed33bf1d0f10c2dc305d423b0415cb204b41bee40e09d0f5 · verified_at=2026-09-11T06:33:03.923Z · evidence_attested_at=2026-09-11T06:33:03.923Z · last_confirmed_current_at=2026-09-16T23:18:54.751Z · rendered_at=2026-09-16T23:18:56.795Z · binds=cvp_core_sha256",
      "check_result": "PASS",
      "production_state": "CURRENT",
      "binding_current": true
    },
    "CVP-DIM-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "Energy / power → hours"
    },
    "CVP-PROP-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "16/16 property"
    },
    "CVP-META-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "3/3 metamorphic"
    },
    "CVP-ROUND-01": {
      "result": "SKIP",
      "applicability": "not_applicable",
      "notes": "No inverse / round-trip vectors in pack — control not in obligation set"
    },
    "CVP-XCAL-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "2/2 cross-calculator · xcal-basic-watts-25C PASS vs electrical.battery_runtime; xcal-basic-amps-25C PASS vs electrical.battery_runtime"
    },
    "CVP-IFACE-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "UI (SSR) · REST · MCP equivalent (MCP uses calc API handler). ui-ssr is query-result HTML, not a live browser session."
    },
    "CVP-ORACLE-01": {
      "result": "SKIP",
      "applicability": "higher_assurance",
      "notes": "O2 present; O3 not required this wave"
    },
    "CVP-EXP-01": {
      "result": "SKIP",
      "applicability": "optional",
      "notes": "CalculatorX internal domain review — not CVP-EXP-01"
    }
  },
  "interfaces": {
    "compared": [
      "ui-ssr",
      "rest",
      "mcp"
    ],
    "result": "PASS",
    "notes": "UI (SSR) · REST · MCP equivalent (MCP uses calc API handler). ui-ssr is query-result HTML, not a live browser session."
  },
  "artifacts": {
    "evidence_bundle_sha256": "4a917192cc6c5900678aff658df9170d42bd2069d9fc37107510958194cb00f9",
    "evidence_digest": "742a9a7e3a3b6c0126b1cb598bac2c874f3a50d023d5421efe302308aaa7c512",
    "production_sha256": "58fe84b53a8948a8ed33bf1d0f10c2dc305d423b0415cb204b41bee40e09d0f5",
    "attested_catalog_sha256": "006a786d7fd29244ed7da1c582af2a6072358ff25a2e07cbc8909b3ae65fb0af",
    "production_checks": [
      {
        "id": "electrical.battery.runtime_temp:output-const",
        "status": "pass",
        "detail": "output const 1.2.1 vs capability 1.2.1",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-11T06:33:03.923Z"
      },
      {
        "id": "electrical.battery.runtime_temp:evidence-sha256",
        "status": "pass",
        "detail": "0fdec935a27b",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-11T06:33:03.923Z"
      },
      {
        "id": "electrical.battery.runtime_temp:semantic-contract",
        "status": "pass",
        "detail": "31/31",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-11T06:33:03.923Z"
      },
      {
        "id": "electrical.battery.runtime_temp:capability-html-public-origin-agree",
        "status": "pass",
        "detail": "public 1.2.1 vs origin 1.2.1",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-11T06:33:03.923Z"
      },
      {
        "id": "electrical.battery.runtime_temp:cvp-manifest-public-origin-agree",
        "status": "pass",
        "detail": "electrical.battery.runtime_temp/1.2.1/2026-09-11.xcal-meta-derived/engineering/742a9a7e3a3b",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-11T06:33:03.923Z",
        "projection_compared": false
      },
      {
        "id": "electrical.battery.runtime_temp:cvp-latest-alias-agrees",
        "status": "pass",
        "detail": "electrical.battery.runtime_temp/1.2.1/2026-09-11.xcal-meta-derived/engineering/742a9a7e3a3b",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-11T06:33:03.923Z",
        "projection_compared": false
      },
      {
        "id": "electrical.battery.runtime_temp:cvp-immutable-manifest-fetch",
        "status": "pass",
        "detail": "public=200 origin=200",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-11T06:33:03.923Z"
      },
      {
        "id": "electrical.battery.runtime_temp:cvp-immutable-manifest-sha256",
        "status": "pass",
        "detail": "742a9a7e3a3b",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-11T06:33:03.923Z"
      },
      {
        "id": "electrical.battery.runtime_temp:cvp-latest-alias-matches-immutable",
        "status": "pass",
        "detail": "electrical.battery.runtime_temp/1.2.1/2026-09-11.xcal-meta-derived/engineering/742a9a7e3a3b",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-11T06:33:03.923Z",
        "projection_compared": false
      },
      {
        "id": "electrical.battery.runtime_temp:calculator-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-11T06:33:03.923Z"
      },
      {
        "id": "electrical.battery.runtime_temp:evidence-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-11T06:33:03.923Z"
      }
    ],
    "digest_registry": {
      "digest_algorithm": "sha256",
      "canonicalization": "json-sorted-keys-utf8",
      "entries": [
        {
          "name": "cvp_core_sha256",
          "field": "artifacts.cvp_core_sha256",
          "digest_scope": "cvp_verification_fingerprint_v2",
          "value": "742a9a7e3a3b6c0126b1cb598bac2c874f3a50d023d5421efe302308aaa7c512",
          "note": "Immutable verification core; excludes attestation/live-status and Evidence contract counts"
        },
        {
          "name": "cvp_evidence_digest",
          "field": "artifacts.evidence_digest",
          "digest_scope": "cvp_verification_fingerprint_v2",
          "value": "742a9a7e3a3b6c0126b1cb598bac2c874f3a50d023d5421efe302308aaa7c512",
          "note": "Alias of cvp_core_sha256 (historical field name)"
        },
        {
          "name": "artifact_evidence_sha256",
          "field": "release_integrity.digests.evidence_core_sha256",
          "digest_scope": "evidence_artifact_core",
          "value": "0fdec935a27b5e45cdfe44654938d1549bffedb036db4e13f66391ba0f1edb10",
          "note": "Published Evidence JSON core — Trust freshness / production bind subject"
        },
        {
          "name": "evidence_catalog_digest",
          "field": "artifacts.attested_catalog_sha256",
          "digest_scope": "capability_catalog",
          "value": "006a786d7fd29244ed7da1c582af2a6072358ff25a2e07cbc8909b3ae65fb0af",
          "note": "Capability catalog integrity; site-wide, not per-suite fingerprint"
        }
      ]
    },
    "cvp_core_sha256": "742a9a7e3a3b6c0126b1cb598bac2c874f3a50d023d5421efe302308aaa7c512"
  },
  "dependencies": [
    {
      "name": "battery-runtime-temp-engine",
      "version": "1.2.1"
    },
    {
      "name": "battery-runtime-temp-reference-oracle",
      "version": "1.0.0"
    },
    {
      "name": "electrical.battery_runtime",
      "version": "1.2.1",
      "role": "cross_calculator_peer",
      "capability_id": "electrical.battery_runtime",
      "evidence_digest": "058cf03cbe19c130215959ef33f3997a5e741d81646c35f5668c8b960ddb94ea",
      "evidence": "https://www.calculatorx.com/evidence/electrical.battery_runtime/1.2.1.cvp.json"
    },
    {
      "name": "node",
      "version": "20.19.2"
    }
  ],
  "attestation": {
    "status": "CURRENT",
    "href": "/.well-known/calculatorx-production-attestation.json",
    "id": "bf3fe5ab59e4bbc9e50f340c6c537d3cf046a9b32473980b03131666eea4e751",
    "attested_at": "2026-09-11T06:33:03.923Z",
    "last_confirmed_current_at": "2026-09-16T23:18:54.751Z",
    "site_attestation_current": false,
    "capability_attestation_current": true,
    "bound_snapshot_status": "pass",
    "live_report_status": "stale",
    "bound_attested_at": "2026-09-16T23:18:54.751Z",
    "live_updated_at": "2026-09-16T23:18:56.758Z",
    "bound_snapshot": {
      "status": "pass",
      "attested_at": "2026-09-16T23:18:54.751Z",
      "site_stale_count": 4
    },
    "live_site_status": {
      "href": "/.well-known/calculatorx-production-attestation.json"
    },
    "bound_snapshot_site_stale_count": 4,
    "site_stale_capability_count": 4,
    "evidence_attested_at": "2026-09-11T06:33:03.923Z"
  },
  "domain_review": {
    "status": "ABSENT",
    "spec_version": "1.2.1",
    "external_third_party": false,
    "note": "Supplemental CalculatorX internal domain review — see internal_review"
  },
  "timestamps": {
    "verified_at": "2026-09-11T06:33:03.923Z",
    "generated_at": "2026-09-11T06:33:03.923Z",
    "rendered_at": "2026-09-16T23:18:56.795Z",
    "notes": "verified_at/generated_at mark the first publication of this cvp_core_sha256 (artifacts.evidence_digest alias) for suite verification. evidence_attested_at/attested_at is the first production bind of that core digest. last_confirmed_current_at is the latest site-wide report that still confirms CURRENT. rendered_at is this JSON serialization and is not part of cvp_core_sha256 / evidence_digest. Production attestation binds cvp_core_sha256 (binds evidence_digest). Causal order: verified_at ≤ evidence_attested_at ≤ last_confirmed_current_at. attestation.bound_snapshot.site_stale_count is the site-wide stale capability count at Manifest bind time — not a live value. Fetch attestation.live_site_status.href for the current site report."
  },
  "tests": {
    "golden": {
      "passed": 4,
      "total": 4,
      "failed": 0
    },
    "boundary": {
      "passed": 8,
      "total": 8,
      "failed": 0
    },
    "invalid": {
      "passed": 5,
      "total": 5,
      "failed": 0
    },
    "property": {
      "passed": 16,
      "total": 16,
      "failed": 0,
      "kind": "fixed"
    },
    "round_trip": {
      "passed": 0,
      "total": 0,
      "failed": 0
    },
    "metamorphic": {
      "passed": 3,
      "total": 3,
      "failed": 0
    },
    "contract": {
      "passed": 4,
      "total": 4,
      "failed": 0
    },
    "cross_interface": {
      "passed": 2,
      "total": 2,
      "failed": 0
    },
    "cross_calculator": {
      "passed": 2,
      "total": 2,
      "failed": 0
    }
  },
  "numerical": {
    "representation": "IEEE-754 binary64",
    "tolerance": {
      "type": "ulp",
      "value": 2,
      "rationale": "Linear temp factor + runtime; ≤2 ULP vs separate-module O2 (same V8). Declared a priori.",
      "declared_before_evaluation": true
    },
    "max_error_observed": 0
  },
  "coverage": {
    "partitions": [
      {
        "id": "watts",
        "description": "Watts load mode",
        "exercised": true,
        "case_count": 16
      },
      {
        "id": "amps",
        "description": "Amps discharge mode",
        "exercised": true,
        "case_count": 3
      },
      {
        "id": "generic-cold",
        "description": "T < 25 °C under default generic_cold_derating",
        "exercised": true,
        "case_count": 5
      },
      {
        "id": "custom-symmetric",
        "description": "custom_symmetric_linear model",
        "exercised": true,
        "case_count": 3
      },
      {
        "id": "clamped-regime",
        "description": "f_T at numerical clamp bounds",
        "exercised": true,
        "case_count": 5
      },
      {
        "id": "invalid-domain",
        "description": "Invalid inputs",
        "exercised": true,
        "case_count": 5
      }
    ]
  },
  "reference": {
    "items": [
      {
        "class": "O1",
        "reference_scope": "model",
        "scope": "model",
        "label": "Published planning temperature capacity factor + runtime"
      },
      {
        "class": "O2",
        "reference_scope": "expected_values",
        "scope": "expected_values",
        "label": "Separate-module battery-runtime-temp oracle — same V8 binary64 as IUT",
        "engine": {
          "name": "battery-runtime-temp-reference",
          "precision_bits": 53,
          "independent_of_iut": true
        }
      },
      {
        "class": "O2",
        "reference_scope": "numerical_behavior",
        "scope": "numerical_behavior",
        "label": "Same O2 module backs ≤2 ULP t_h comparison vs IUT",
        "engine": {
          "name": "battery-runtime-temp-reference",
          "precision_bits": 53,
          "independent_of_iut": true
        }
      }
    ]
  },
  "links": {
    "legacy_evidence": "https://www.calculatorx.com/evidence/electrical.battery.runtime_temp/1.2.1.json",
    "evidence_page": "https://www.calculatorx.com/evidence/electrical.battery.runtime_temp/1.2.1",
    "calculator": "https://www.calculatorx.com/calc/electric/battery-runtime-temp",
    "schema": "https://www.calculatorx.com/developers/cvp/schema/cvp-evidence-1.0.json",
    "protocol": "https://www.calculatorx.com/developers/cvp/spec/1.0",
    "manifest": "https://www.calculatorx.com/evidence/electrical.battery.runtime_temp/1.2.1.cvp.json",
    "manifest_immutable": "https://www.calculatorx.com/evidence/electrical.battery.runtime_temp/1.2.1/2026-09-11.xcal-meta-derived.cvp.json",
    "manifest_core": "https://www.calculatorx.com/evidence/electrical.battery.runtime_temp/1.2.1/2026-09-11.xcal-meta-derived.742a9a7e3a3b.cvp.json"
  },
  "disclosure": {
    "policy": "calculatorx-public-evidence-v1",
    "full_validation": "private",
    "representation": "summary"
  }
}
