text stringlengths 0 251 |
|---|
], |
[ |
as_float(row, "t_left_real") + 1.0j * as_float(row, "t_left_imag"), |
as_float(row, "r_right_real") + 1.0j * as_float(row, "r_right_imag"), |
], |
] |
) |
/verifier/test_outputs.py:471: |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
row = {'energy_eV': '0.025000000000', 'imag_S11': '-6.764003236643e-01', 'imag_S12': '-7.077207797038e-03', 'imag_S21': '-7.077207797038e-03', ...} |
key = 'r_left_real' |
def as_float(row, key): |
> value = float(row[key]) |
^^^^^^^^ |
E KeyError: 'r_left_real' |
/verifier/test_outputs.py:52: KeyError |
==================================== PASSES ==================================== |
=========================== short test summary info ============================ |
PASSED ::test_malformed_instance_fails_closed |
ERROR ::test_resonance_linewidths_and_complex_poles - TypeError: list indices... |
ERROR ::test_wigner_smith_delays_and_trace_identity - TypeError: list indices... |
ERROR ::test_detector_current_wavepackets_close_and_reproduce_phase_delay - T... |
ERROR ::test_hidden_multilayer_replay_changes_resonances_and_packets - TypeEr... |
FAILED ::test_artifact_schema_and_submission_integrity - KeyError: 'wavepacke... |
FAILED ::test_scattering_grid_matches_independent_interface_solution - KeyErr... |
==================== 2 failed, 1 passed, 4 errors in 1.12s ===================== |
============================= 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 7 items |
::test_artifact_schema_and_submission_integrity FAILED [ 14%] |
::test_scattering_grid_matches_independent_interface_solution FAILED [ 28%] |
::test_resonance_linewidths_and_complex_poles ERROR [ 42%] |
::test_wigner_smith_delays_and_trace_identity ERROR [ 57%] |
::test_detector_current_wavepackets_close_and_reproduce_phase_delay ERROR [ 71%] |
::test_hidden_multilayer_replay_changes_resonances_and_packets ERROR [ 85%] |
::test_malformed_instance_fails_closed PASSED [100%] |
==================================== ERRORS ==================================== |
________ ERROR at setup of test_resonance_linewidths_and_complex_poles _________ |
@pytest.fixture(scope="session") |
def resonance_output(): |
> return read_json(RESULTS / "resonances.json")["resonances"] |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
E TypeError: list indices must be integers or slices, not str |
/verifier/test_outputs.py:64: TypeError |
________ ERROR at setup of test_wigner_smith_delays_and_trace_identity _________ |
@pytest.fixture(scope="session") |
def resonance_output(): |
> return read_json(RESULTS / "resonances.json")["resonances"] |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
E TypeError: list indices must be integers or slices, not str |
/verifier/test_outputs.py:64: TypeError |
_ ERROR at setup of test_detector_current_wavepackets_close_and_reproduce_phase_delay _ |
@pytest.fixture(scope="session") |
def resonance_output(): |
> return read_json(RESULTS / "resonances.json")["resonances"] |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
E TypeError: list indices must be integers or slices, not str |
/verifier/test_outputs.py:64: TypeError |
_ ERROR at setup of test_hidden_multilayer_replay_changes_resonances_and_packets _ |
@pytest.fixture(scope="session") |
def resonance_output(): |
> return read_json(RESULTS / "resonances.json")["resonances"] |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
E TypeError: list indices must be integers or slices, not str |
/verifier/test_outputs.py:64: TypeError |
=================================== FAILURES =================================== |
________________ test_artifact_schema_and_submission_integrity _________________ |
instance = {'constants': {'hbar2_over_2m0_eV_nm2': 0.0380998212, 'hbar_eV_fs': 0.6582119569}, 'energy_window_eV': [0.025, 0.18], ...th_nm': 4.4}, {'effective_mass_m0': 0.094, 'name': 'collector_barrier', 'potential_eV': 0.325, 'width_nm': 2.35}], ...} |
def test_artifact_schema_and_submission_integrity(instance): |
assert SOLVER.is_file() and not SOLVER.is_symlink() |
assert SOLVER.stat().st_size > 5000 |
expected_files = { |
"summary.json", |
"scattering_grid.csv", |
"resonances.json", |
"wigner_smith.csv", |
"wavepackets.json", |
"solver_diagnostics.json", |
"report.md", |
*{f"wavepacket_trace_{packet['packet_id']}.csv" for packet in instance["wavepackets"]}, |
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.