text stringlengths 0 116 |
|---|
arrays[f"{prefix}_T_minus"], |
) |
np.testing.assert_allclose(arrays[f"{prefix}_dct"], reconstructed, rtol=2e-7, atol=2e-10) |
np.testing.assert_allclose( |
arrays["cavity_minus_bare_dct"], |
arrays["cavity_dct"] - arrays["bare_dct"], |
rtol=2e-7, |
atol=2e-10, |
) |
np.testing.assert_allclose( |
arrays["cavity_over_bare_mean_T"], |
(arrays["cavity_T_plus"] + arrays["cavity_T_minus"]) / (arrays["bare_T_plus"] + arrays["bare_T_minus"]), |
rtol=2e-7, |
atol=2e-10, |
) |
> np.testing.assert_allclose( |
arrays["cavity_R_plus"], |
arrays["cavity_R_minus"], |
rtol=2e-7, |
atol=2e-9, |
err_msg="The reciprocal normal-incidence cavity should not split reflectance by helicity", |
) |
E AssertionError: |
E Not equal to tolerance rtol=2e-07, atol=2e-09 |
E The reciprocal normal-incidence cavity should not split reflectance by helicity |
E Mismatched elements: 18269 / 19521 (93.6%) |
E Max absolute difference among violations: 0.00079807 |
E Max relative difference among violations: 0.00209011 |
E ACTUAL: array([[0.920629, 0.917815, 0.914523, ..., 0.934664, 0.933269, 0.931802], |
E [0.920429, 0.917583, 0.91425 , ..., 0.9344 , 0.932989, 0.931504], |
E [0.920227, 0.917349, 0.913974, ..., 0.934133, 0.932706, 0.931201],... |
E DESIRED: array([[0.920629, 0.917815, 0.914523, ..., 0.934664, 0.933269, 0.931803], |
E [0.920429, 0.917583, 0.91425 , ..., 0.9344 , 0.93299 , 0.931504], |
E [0.920227, 0.917349, 0.913974, ..., 0.934134, 0.932707, 0.931201],... |
test_outputs.py:399: AssertionError |
==================================== PASSES ==================================== |
=========================== short test summary info ============================ |
PASSED test_outputs.py::test_output_schema_shapes_coordinates_and_finiteness |
PASSED test_outputs.py::test_summary_is_derived_from_saved_artifacts |
FAILED test_outputs.py::test_cavity_and_bare_scattering_match_independent_physics |
FAILED test_outputs.py::test_inference_and_controls_match_independent_reference |
FAILED test_outputs.py::test_physical_invariants_and_internal_consistency - A... |
========================= 3 failed, 2 passed in 0.14s ========================== |
missing, non-regular, or symlinked artifact: /root/chiral_cavity_spectra.npz |
missing, non-regular, or symlinked artifact: /root/chiral_cavity_summary.json |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.