Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
0
1.45k
============================= test session starts ==============================
platform linux -- Python 3.12.11, pytest-8.4.1, pluggy-1.6.0 -- /usr/local/bin/python3
rootdir: /verifier
collecting ... collected 6 items
verifier/test_outputs.py::test_frozen_inputs_and_output_schema PASSED [ 16%]
verifier/test_outputs.py::test_nominal_curve_matches_independent_model_evaluation FAILED [ 33%]
verifier/test_outputs.py::test_thermodynamic_identities_and_physical_behavior FAILED [ 50%]
verifier/test_outputs.py::test_simulation_comparison_and_summary_consistency FAILED [ 66%]
verifier/test_outputs.py::test_runtime_hidden_schedule_rejects_public_answer_tables PASSED [ 83%]
verifier/test_outputs.py::test_reusable_program_on_hidden_densities FAILED [100%]
=================================== FAILURES ===================================
___________ test_nominal_curve_matches_independent_model_evaluation ____________
def test_nominal_curve_matches_independent_model_evaluation() -> None:
densities = tuple(load_density_csv(DENSITY_PATH).tolist())
reference = independent_reference(densities)
write_reference_log("nominal", reference)
> assert_rows_close(load_eos_csv(EOS_PATH), reference)
verifier/test_outputs.py:493:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
verifier/test_outputs.py:376: in assert_rows_close
np.testing.assert_allclose(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (<function assert_allclose.<locals>.compare at 0x7fdd5f9d8400>, array([-0.00186487, -0.00339623, -0.00519715, -0.00704...41937, -0.07556767, -0.0744014 , -0.07290309,
-0.07106371, -0.06888173, -0.06635655, -0.06348069, -0.06023689]))
kwds = {'equal_nan': True, 'err_msg': 'Mismatch in beta_excess_free_energy_density_A3inv', 'header': 'Not equal to tolerance rtol=1e-05, atol=1e-05', 'verbose': True}
@wraps(func)
def inner(*args, **kwds):
with self._recreate_cm():
> return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
E AssertionError:
E Not equal to tolerance rtol=1e-05, atol=1e-05
E Mismatch in beta_excess_free_energy_density_A3inv
E Mismatched elements: 49 / 50 (98%)
E Max absolute difference: 0.00060157
E Max relative difference: 0.00998673
E x: array([-0.001865, -0.003396, -0.005197, -0.007048, -0.009172, -0.011606,
E -0.014005, -0.016417, -0.018902, -0.02144 , -0.024016, -0.026617,
E -0.029235, -0.031863, -0.034492, -0.037115, -0.039724, -0.042313,...
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 0x7fdd5f93a3e0>, 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
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
65