text stringlengths 0 1.45k |
|---|
E Not equal to tolerance rtol=1e-05, atol=1e-05 |
E Mismatch in beta_excess_free_energy_density_A3inv |
E Mismatched elements: 50 / 50 (100%) |
E Max absolute difference: 0.09427662 |
E Max relative difference: 1.5650976 |
E x: array([-0.004226, -0.007658, -0.011283, -0.014975, -0.018957, -0.023274, |
E -0.027539, -0.031809, -0.036155, -0.040555, -0.044993, -0.049457, |
E -0.053939, -0.058429, -0.062921, -0.067408, -0.071881, -0.076333,... |
E y: array([-0.001869, -0.003425, -0.005174, -0.006991, -0.009096, -0.011537, |
E -0.013926, -0.016321, -0.018791, -0.021315, -0.023877, -0.026466, |
E -0.029071, -0.031685, -0.034302, -0.036912, -0.039509, -0.042086,... |
usr/local/lib/python3.12/contextlib.py:81: AssertionError |
_____________ test_thermodynamic_identities_and_physical_behavior ______________ |
def test_thermodynamic_identities_and_physical_behavior() -> None: |
rows = load_eos_csv(EOS_PATH) |
payload = config() |
fractions = [float(item["fraction"]) for item in payload["species"]] |
np.testing.assert_allclose( |
rows["species_1_density_A3inv"], |
rows["total_density_A3inv"] * fractions[0], |
rtol=0.0, |
atol=5e-13, |
) |
np.testing.assert_allclose( |
rows["species_2_density_A3inv"], |
rows["total_density_A3inv"] * fractions[1], |
rtol=0.0, |
atol=5e-13, |
) |
np.testing.assert_allclose( |
rows["pressure_total_atm"], |
rows["pressure_short_atm"] + rows["pressure_long_range_correction_atm"], |
rtol=2e-12, |
atol=2e-8, |
) |
_, beta_mu_corrections = long_range_corrections(payload) |
> np.testing.assert_allclose( |
rows["beta_mu_species_1_full"] - rows["beta_mu_species_1_short"], |
beta_mu_corrections[0], |
rtol=2e-9, |
atol=2e-9, |
) |
verifier/test_outputs.py:519: |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
args = (<function assert_allclose.<locals>.compare at 0x789a9bc0e3e0>, array([-2.35691534, -2.35691534, -2.35691534, -2.35691...-2.35691534, -2.35691534, |
-2.35691534, -2.35691534, -2.35691534, -2.35691534, -2.35691534]), array(-4.71383068)) |
kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=2e-09, atol=2e-09', 'verbose': True} |
@wraps(func) |
def inner(*args, **kwds): |
with self._recreate_cm(): |
> return func(*args, **kwds) |
^^^^^^^^^^^^^^^^^^^ |
E AssertionError: |
E Not equal to tolerance rtol=2e-09, atol=2e-09 |
E |
E Mismatched elements: 50 / 50 (100%) |
E Max absolute difference: 2.35691534 |
E Max relative difference: 0.5 |
E x: array([-2.356915, -2.356915, -2.356915, -2.356915, -2.356915, -2.356915, |
E -2.356915, -2.356915, -2.356915, -2.356915, -2.356915, -2.356915, |
E -2.356915, -2.356915, -2.356915, -2.356915, -2.356915, -2.356915,... |
E y: array(-4.713831) |
usr/local/lib/python3.12/contextlib.py:81: AssertionError |
______________ test_simulation_comparison_and_summary_consistency ______________ |
def test_simulation_comparison_and_summary_consistency() -> None: |
rows = load_eos_csv(EOS_PATH) |
z_score = (rows["pressure_total_atm"] - rows["simulation_pressure_atm"]) / rows["simulation_sigma_atm"] |
np.testing.assert_allclose( |
rows["simulation_z_score"], |
z_score, |
rtol=2e-10, |
atol=2e-10, |
) |
> assert np.all(np.abs(z_score) <= 2.0) |
E AssertionError: assert False |
E + where False = <function all at 0x789ae51180f0>(array([7.06724118, 4.58944971, 3.26786342, 2.56068938, 2.10930735,\n 2.32882188, 2.1709388 , 2.10694687, 2.00745069, 1.94333236,\n 1.81527675, 1.7460386 , 1.71911123, 1.69126005, 1.54267758,\n 1.54362522, 1.50332503, 1.46185575, 1.39303907, 1.... |
E + where <function all at 0x789ae51180f0> = np.all |
E + and array([7.06724118, 4.58944971, 3.26786342, 2.56068938, 2.10930735,\n 2.32882188, 2.1709388 , 2.10694687, 2.00745069, 1.94333236,\n 1.81527675, 1.7460386 , 1.71911123, 1.69126005, 1.54267758,\n 1.54362522, 1.50332503, 1.46185575, 1.39303907, 1.29608577,\n 1.32308179, 1.3256885... |
E + where <ufunc 'absolute'> = np.abs |
verifier/test_outputs.py:543: AssertionError |
__________________ test_reusable_program_on_hidden_densities ___________________ |
def test_reusable_program_on_hidden_densities() -> None: |
for path, expected_hash in FROZEN_HASHES.items(): |
assert sha256(path) == expected_hash, f"Frozen input changed: {path}" |
require_regular_file(PROGRAM_PATH, "reusable EOS program") |
payload = config() |
public_densities = tuple(load_density_csv(DENSITY_PATH).tolist()) |
schedule = build_schedule( |
minimum=float(payload["density_domain_A3inv"]["minimum"]), |
maximum=float(payload["density_domain_A3inv"]["maximum"]), |
public_densities=public_densities, |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.