text stringlengths 0 252 |
|---|
test_outputs.py::test_submitted_solver_generalizes_to_hidden_crop_and_alternate_configuration FAILED [100%] |
=================================== FAILURES =================================== |
___ test_nominal_fields_and_fourier_spectra_match_independent_recomputation ____ |
def test_nominal_fields_and_fourier_spectra_match_independent_recomputation() -> None: |
> assert_array_agreement(nominal_bundle(), nominal_reference()) |
test_outputs.py:738: |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
test_outputs.py:268: in assert_array_agreement |
np.testing.assert_allclose( |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
args = (<function assert_allclose.<locals>.compare at 0x79ac531f6660>, array([[ 0.58287234, 0.46219956, 0.00933184, ..., -0...72, -0.27429245], |
[ 0.39091601, 0.02843616, -0.23646806, ..., -0.45679225, |
-0.50169827, -0.39013196]])) |
kwds = {'equal_nan': True, 'err_msg': 'layer_b_component differs from independent reconstruction', 'header': 'Not equal to tolerance rtol=0.0005, atol=0.0001', '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.0005, atol=0.0001 |
E layer_b_component differs from independent reconstruction |
E Mismatched elements: 7094 / 65536 (10.8%) |
E Max absolute difference: 0.00037796 |
E Max relative difference: 63.98841479 |
E x: array([[ 0.582872, 0.4622 , 0.009332, ..., -0.367133, -0.498496, |
E -0.482843], |
E [ 0.467682, 0.555573, 0.317813, ..., -0.278788, -0.508558,... |
E y: array([[ 0.582988, 0.462309, 0.009435, ..., -0.367151, -0.498521, |
E -0.482874], |
E [ 0.467844, 0.555735, 0.317974, ..., -0.278711, -0.508486,... |
/usr/local/lib/python3.12/contextlib.py:81: AssertionError |
________ test_nominal_plane_wave_table_and_residual_summary_are_correct ________ |
def test_nominal_plane_wave_table_and_residual_summary_are_correct() -> None: |
bundle = nominal_bundle() |
reference = nominal_reference() |
> assert_record_agreement( |
bundle.records, |
reference.records, |
tuple(bundle.configuration["outputs"]["csv_key_columns"]), |
) |
test_outputs.py:744: |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
actual = ({'amplitude_before_normalization': 0.19212149029992828, 'amplitude_normalized': 0.17511195128219015, 'component': 'la...amplitude_normalized': 0.25509290599277396, 'component': 'layer_b', 'kx_inv_angstrom': -0.20365547018160432, ...}, ...) |
expected = ({'amplitude_before_normalization': 0.19212149029545478, 'amplitude_normalized': 0.17511195262056442, 'component': 'la...amplitude_normalized': 0.25509298298627137, 'component': 'layer_b', 'kx_inv_angstrom': -0.20365547070845982, ...}, ...) |
key_columns = ('component', 'm', 'n', 'p', 'q') |
def assert_record_agreement( |
actual: tuple[dict[str, object], ...], |
expected: tuple[dict[str, object], ...], |
key_columns: tuple[str, ...], |
) -> None: |
assert len(actual) == len(expected) |
actual_by_key = records_by_physical_key(actual, key_columns, "submitted CSV") |
expected_by_key = records_by_physical_key( |
expected, |
key_columns, |
"reference CSV", |
) |
> assert set(actual_by_key) == set(expected_by_key), "CSV physical-key set differs from the independent reconstruction" |
E AssertionError: CSV physical-key set differs from the independent reconstruction |
E assert {('layer_a', ..., 0, -1), ...} == {('layer_a', ... '', ''), ...} |
E |
E Extra items in the left set: |
E ('layer_a', 0, -1, 0, 0) |
E ('layer_b', 0, 0, 1, 0) |
E ('layer_a', 1, -1, 0, 0) |
E ('layer_b', 0, 0, 0, 0) |
E ('layer_a', 1, 0, 0, 0)... |
E |
E ...Full output truncated (892 lines hidden), use '-vv' to show |
test_outputs.py:321: AssertionError |
_ test_submitted_solver_generalizes_to_hidden_crop_and_alternate_configuration _ |
def test_submitted_solver_generalizes_to_hidden_crop_and_alternate_configuration() -> ( |
None |
): |
> bundle, reference = heldout_bundle_and_reference() |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
test_outputs.py:760: |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
test_outputs.py:640: in heldout_bundle_and_reference |
assert_isolation_contract( |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
forbidden_paths = (PosixPath('/verifier'), PosixPath('/verifier/heldout_config.json'), PosixPath('/verifier/reference_model.py'), PosixPath('/verifier/test_outputs.py'), PosixPath('/oracle'), PosixPath('/oracle/analyze_stm.py'), ...) |
evidence_path = PosixPath('/logs/verifier/heldout-isolation-probe.json') |
def assert_isolation_contract( |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.