Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringclasses
239 values
============================= test session starts ==============================
platform linux -- Python 3.12.13, pytest-8.4.1, pluggy-1.6.0 -- /usr/local/bin/python3
rootdir: /app
configfile: ../dev/null
plugins: json-ctrf-0.3.5
collecting ... collected 9 items
::test_artifact_schema_and_order PASSED [ 11%]
::test_full_charge_bands_and_symmetry PASSED [ 22%]
::test_universal_observables_match_independent_reference FAILED [ 33%]
::test_serialized_band_observable_consistency PASSED [ 44%]
::test_universal_summary_and_crossover_landmarks FAILED [ 55%]
::test_reported_charge_cutoff_is_converged PASSED [ 66%]
::test_calibration_parameters_and_weighted_fit PASSED [ 77%]
::test_device_prediction_curves PASSED [ 88%]
::test_operating_point_constraints_and_selection PASSED [100%]
=================================== FAILURES ===================================
____________ test_universal_observables_match_independent_reference ____________
def test_universal_observables_match_independent_reference():
rows = read_csv(
ROOT / "universal_observables.csv",
UNIVERSAL_HEADER,
len(CAMPAIGN["universal"]["ratio_grid"]),
)
reference = universal_reference()[2]
np.testing.assert_allclose(rows[:, 0], reference[:, 0], atol=0)
for column in (1, 2, 3):
assert np.array_equal(np.sign(rows[:, column]), np.sign(reference[:, column]))
deviation = np.abs(
np.log(np.abs(rows[:, column])) - np.log(np.abs(reference[:, column]))
)
assert np.max(deviation) < 0.025
> np.testing.assert_allclose(rows[:, 4:14], reference[:, 4:14], rtol=2e-4, atol=2e-7)
/verifier/test_outputs.py:386:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (<function assert_allclose.<locals>.compare at 0x7032c1429e40>, array([[ 7.48356488e-01, 7.65139220e+00, 6.90303572e...7.89123238e-08, 4.93018888e-07,
1.30517411e+00, 2.23019961e+00, 1.30478755e+00,
1.80742562e+00]]))
kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=0.0002, atol=2e-07', 'verbose': True}
@wraps(func)
def inner(*args, **kwds):
with self._recreate_cm():
> return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
E AssertionError:
E Not equal to tolerance rtol=0.0002, atol=2e-07
E
E Mismatched elements: 12 / 160 (7.5%)
E Max absolute difference: 0.00804642
E Max relative difference: 0.00448642
E x: array([[ 7.483565e-01, 7.651392e+00, 6.903036e+00, 9.224261e+00,
E 7.865555e+00, 8.565591e+01, 5.039783e-01, 5.047907e-01,
E 5.021871e-01, 5.120198e-02],...
E y: array([[ 7.483565e-01, 7.651392e+00, 6.903036e+00, 9.224261e+00,
E 7.866994e+00, 8.565591e+01, 5.039783e-01, 5.047907e-01,
E 5.021871e-01, 5.120198e-02],...
/usr/local/lib/python3.12/contextlib.py:81: AssertionError
________________ test_universal_summary_and_crossover_landmarks ________________
def test_universal_summary_and_crossover_landmarks():
actual = read_summary()["universal"]
expected = universal_summary_reference()
np.testing.assert_allclose(
actual["charge_decay_slopes"], expected["charge_decay_slopes"], rtol=0.015
)
assert np.isclose(actual["n01_power"], expected["n01_power"], rtol=0.015)
assert np.isclose(actual["sigma_n0_power"], expected["sigma_n0_power"], rtol=0.015)
> assert abs(actual["anharmonicity_zero_ratio"] - expected["anharmonicity_zero_ratio"]) < 0.03
E assert 0.17915241094845769 < 0.03
E + where 0.17915241094845769 = abs((9.206391855713953 - 9.027239444765495))
/verifier/test_outputs.py:423: AssertionError
==================================== PASSES ====================================
=========================== short test summary info ============================
PASSED ::test_artifact_schema_and_order
PASSED ::test_full_charge_bands_and_symmetry
PASSED ::test_serialized_band_observable_consistency
PASSED ::test_reported_charge_cutoff_is_converged
PASSED ::test_calibration_parameters_and_weighted_fit
PASSED ::test_device_prediction_curves
PASSED ::test_operating_point_constraints_and_selection
FAILED ::test_universal_observables_match_independent_reference - AssertionEr...
FAILED ::test_universal_summary_and_crossover_landmarks - assert 0.1791524109...
========================= 2 failed, 7 passed in 1.13s ==========================
============================= test session starts ==============================
platform linux -- Python 3.12.13, pytest-8.4.1, pluggy-1.6.0 -- /usr/local/bin/python3
rootdir: /app
configfile: ../dev/null
plugins: json-ctrf-0.3.5
collecting ... collected 9 items
::test_artifact_schema_and_order PASSED [ 11%]
::test_full_charge_bands_and_symmetry PASSED [ 22%]
::test_universal_observables_match_independent_reference FAILED [ 33%]
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
73