{
  "counts": {
    "above_hull": 0,
    "entries": 4,
    "intervals": 3,
    "vertices": 4
  },
  "elements": [
    "CA",
    "MG"
  ],
  "flags": [
    "has_intermediate_phases",
    "solution_phases"
  ],
  "isotherms": [
    {
      "element_reference": {
        "CA": {
          "energy": -12399.4619641107,
          "phase": "FCC_A1"
        },
        "MG": {
          "energy": -9740.858471222135,
          "phase": "HCP_A3"
        }
      },
      "intervals": [
        {
          "enthalpy": {
            "intercept": 0.0,
            "slope": -19169.696972992573
          },
          "entropy": {
            "intercept": 0.0,
            "slope": -4.629892306688504
          },
          "intercept": 0.0,
          "kind": "two_phase",
          "left": {
            "phase": "FCC_A1",
            "x": 0.0
          },
          "mu_a_rel": 0.0,
          "mu_b_rel": -17789.29458175342,
          "right": {
            "phase": "CAMG2_C14",
            "x": 0.6666666666666666
          },
          "slope": -17789.29458175342,
          "x_hi": 0.6666666666666666,
          "x_lo": 0.0
        },
        {
          "enthalpy": {
            "intercept": -38339.531292193,
            "slope": 38339.599965296926
          },
          "entropy": {
            "intercept": -9.260283374686427,
            "slope": 9.260532755341137
          },
          "intercept": -35578.57780403028,
          "kind": "two_phase",
          "left": {
            "phase": "CAMG2_C14",
            "x": 0.6666666666666666
          },
          "mu_a_rel": -35578.57780403028,
          "mu_b_rel": -0.005679738278558943,
          "right": {
            "phase": "HCP_A3",
            "x": 0.9999976846693591
          },
          "slope": 35578.572124292004,
          "x_hi": 0.9999976846693591,
          "x_lo": 0.6666666666666666
        },
        {
          "enthalpy": {
            "entropy_form": null,
            "hermite": [
              [
                -0.020095746630586935,
                0.02010438106314407,
                0.000790945028886058,
                -0.0007995794614431943
              ]
            ],
            "knots": [
              0.9999976846693591,
              1.0
            ],
            "max_abs_error": 0.00011463310760194585
          },
          "entropy": {
            "entropy_form": {
              "R": 8.31446261815324,
              "kind": "ideal_mixing_entropy"
            },
            "hermite": [
              [
                -4.110791412502288e-05,
                4.093605070140913e-05,
                -1.5652733299303283e-05,
                1.5824596722917033e-05
              ]
            ],
            "knots": [
              0.9999976846693591,
              1.0
            ],
            "max_abs_error": 2.268730696497706e-06
          },
          "entropy_form": {
            "RT": 2478.957029602388,
            "kind": "ideal_mixing"
          },
          "hermite": [
            [
              -0.007839422036930624,
              0.007899297497630289,
              0.005457807255416749,
              -0.005517682716116414
            ]
          ],
          "kind": "single_phase",
          "knots": [
            0.9999976846693591,
            1.0
          ],
          "max_abs_error": 0.0007910551160901626,
          "phase": "HCP_A3",
          "x_hi": 1.0,
          "x_lo": 0.9999976846693591
        }
      ],
      "temperature_K": 298.15,
      "vertices": [
        {
          "collinear": false,
          "degenerate": [],
          "energy": 0.0,
          "energy_per_atom": 0.0,
          "enthalpy": 0.0,
          "entries_at_x": 1,
          "entropy": 0.0,
          "formula": "",
          "nsites": null,
          "phase": "FCC_A1",
          "phase_kind": "solution",
          "spacegroup_number": null,
          "spacegroup_symbol": "",
          "theoretical": false,
          "x": 0.0
        },
        {
          "collinear": false,
          "degenerate": [],
          "energy": -11859.529721168947,
          "energy_per_atom": -11859.529721168947,
          "enthalpy": -12779.797981995049,
          "entries_at_x": 1,
          "entropy": -3.086594871125669,
          "formula": "",
          "nsites": null,
          "phase": "CAMG2_C14",
          "phase_kind": "solution",
          "spacegroup_number": null,
          "spacegroup_symbol": "",
          "theoretical": false,
          "x": 0.6666666666666666
        },
        {
          "collinear": false,
          "degenerate": [],
          "energy": -0.08805589647454326,
          "energy_per_atom": -0.08805589647454326,
          "enthalpy": -0.020095746630586935,
          "entries_at_x": 1,
          "entropy": 0.00022793945947086058,
          "formula": "",
          "nsites": null,
          "phase": "HCP_A3",
          "phase_kind": "solution",
          "spacegroup_number": null,
          "spacegroup_symbol": "",
          "theoretical": false,
          "x": 0.9999976846693591
        },
        {
          "collinear": false,
          "degenerate": [],
          "energy": 0.0,
          "energy_per_atom": 0.0,
          "enthalpy": 0.0,
          "entries_at_x": 1,
          "entropy": 0.0,
          "formula": "",
          "nsites": null,
          "phase": "HCP_A3",
          "phase_kind": "solution",
          "spacegroup_number": null,
          "spacegroup_symbol": "",
          "theoretical": false,
          "x": 1.0
        }
      ]
    }
  ],
  "mp_agreement": {
    "comparable": false,
    "comparable_note": "CALPHAD isotherms have no upstream stability flag to compare against",
    "max_abs_delta_energy_above_hull": 0.0,
    "only_mp_stable": [],
    "only_ours_stable": [],
    "stable_sets_match": true
  },
  "provenance": {
    "assessment": "CaMg-08Koz",
    "builder_version": 1,
    "engine": {
      "numpy": "2.5.1",
      "pycalphad": "0.11.2",
      "python": "3.13.15"
    },
    "fit_tol": 1.0,
    "observed_at": "2026-09-03T00:20:34Z",
    "phase_families": {},
    "sample_conditions": {
      "endpoint_tol": 1.0,
      "fit_samples": 65,
      "order_tol": 0.0001,
      "pressure_Pa": 101325.0,
      "redundant_tol": 1.0,
      "refine_tol": 1e-07,
      "step": 0.002,
      "temperature_K": 298.15
    },
    "source_path": "databases/sgte-binary/CaMg-08Koz.tdb",
    "source_sha256": "4be2efab4bdbe8082cf28faf1b72380892e4dfad7e97d1cb7de91eb6f2d7bbc2"
  },
  "reference": {
    "kind": "calphad_formation_T",
    "per": "mole_atoms",
    "temperature_K": 298.15,
    "units": "J/mol-atoms"
  },
  "schema_version": 1,
  "system_id": "CA-MG",
  "x_element": "MG"
}
