{
  "capability_id": "physics.thermo.ideal_gas",
  "tool_id": "ideal-gas",
  "engine": "ideal-gas",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:03:43.748Z",
  "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 electrical review",
  "reviewer_role": null,
  "last_reviewed": "2026-08-09",
  "expert_review": {
    "status": "approved",
    "reviewer": {
      "name": "CalculatorX electrical 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/ideal-gas",
  "api": "https://www.calculatorx.com/api/v1/calc/ideal-gas",
  "schema_input": "https://www.calculatorx.com/schemas/physics.thermo.ideal_gas.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.thermo.ideal_gas.output.json",
  "assumptions": [],
  "limitations": [
    "Ideal gas; SI R default"
  ],
  "boundary_conditions": [
    "P,V,n,T ≤0 → VALUE_MUST_BE_POSITIVE"
  ],
  "sources": [
    {
      "title": "SI CODATA gas constant",
      "section": "Ideal gas law",
      "supports": "PV=nRT",
      "kind": "reference"
    },
    {
      "title": "Intro thermodynamics / kinetic theory texts",
      "section": "Ideal gas law",
      "supports": "PV = nRT",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:e52683653b4364e67411e9175e4724422f58cf764df1f6e970d039fcf82e44e8",
  "tests": [
    {
      "id": "P",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "P",
        "n_mol": 1,
        "T_K": 273.15,
        "V_m3": 0.022414
      },
      "expect": {
        "P_Pa": 101324.8623229544
      },
      "expectWarning": null,
      "actual": {
        "mode": "P",
        "P_Pa": 101324.8623229544,
        "V_m3": 0.022414,
        "n_mol": 1,
        "T_K": 273.15,
        "R": 8.314462618
      },
      "tol": 1e-9
    },
    {
      "id": "bad",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "P",
        "n_mol": 0,
        "T_K": 273.15,
        "V_m3": 1
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "n_mol must be greater than zero"
    },
    {
      "id": "property-P",
      "ok": true,
      "kind": "property",
      "detail": "P",
      "expect": 101324.8623229544,
      "actual": 101324.8623229544
    }
  ],
  "tier": "expert_verified",
  "verification": {
    "tests": {
      "passed": 3,
      "total": 3,
      "golden": 1,
      "boundary": 1,
      "property": 1
    },
    "contract_checks": {
      "passed": 3,
      "total": 3
    }
  },
  "evidence_core_generated_at": "2026-09-06T13:16:40.891Z",
  "rendered_at": "2026-09-16T22:03:43.748Z",
  "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": "4daa1e2741aa20e455a744187e5762a807d839d840574a0afad80778ed9fbd0b",
      "output_schema_sha256": "9258392137a75c5a8d4eedc7d82ad751abde7f2fecb98f36a2a54d2d97c762dc",
      "evidence_sha256": "ac674596d10a9441bcad9609654e7942ce8c6d9ccb11d910a23cfb769f6db4be",
      "evidence_core_sha256": "ac674596d10a9441bcad9609654e7942ce8c6d9ccb11d910a23cfb769f6db4be",
      "capability_sha256": "8aaceb5dc22f97c7c6956302dc82d777c97ea286107fe968f82ea12b94fce1af",
      "engine_sha256": "c8d4ccdbfeaf61d7b024d4e1babb0c2ba3b324c1b37bd0cb456a526d8d2b1bd1",
      "mcp_contract_sha256": "863098b311a7b17dc4b229a6302b90b3545b175f716e5d84772c7be8e9716b86"
    },
    "contract_checks": {
      "total": 3,
      "passed": 3,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.0"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
