text
stringlengths
0
92
return {r["file"]: r for r in result()["recovered"]}
^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
@lru_cache(maxsize=1)
def result() -> dict:
> assert RESULT_PATH.is_file(), "missing /root/result.json"
E AssertionError: missing /root/result.json
E assert False
E + where False = is_file()
E + where is_file = PosixPath('/root/result.json').is_file
test_outputs.py:161: AssertionError
___________________ test_recovered_delta_ell_max_consistent ____________________
def test_recovered_delta_ell_max_consistent() -> None:
r = rotor()
> rec = _recovered_by_file()
^^^^^^^^^^^^^^^^^^^^
test_outputs.py:396:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test_outputs.py:343: in _recovered_by_file
return {r["file"]: r for r in result()["recovered"]}
^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
@lru_cache(maxsize=1)
def result() -> dict:
> assert RESULT_PATH.is_file(), "missing /root/result.json"
E AssertionError: missing /root/result.json
E assert False
E + where False = is_file()
E + where is_file = PosixPath('/root/result.json').is_file
test_outputs.py:161: AssertionError
_________________ test_recovered_rabi_routes_fit_measurements __________________
def test_recovered_rabi_routes_fit_measurements() -> None:
"""The reported Rabi spread and drive rates must explain both frozen arms."""
r = rotor()
ndir = DATA / config()["noisy_inverse_arm"]["data_dir"]
> rec = _recovered_by_file()
^^^^^^^^^^^^^^^^^^^^
test_outputs.py:416:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test_outputs.py:343: in _recovered_by_file
return {r["file"]: r for r in result()["recovered"]}
^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
@lru_cache(maxsize=1)
def result() -> dict:
> assert RESULT_PATH.is_file(), "missing /root/result.json"
E AssertionError: missing /root/result.json
E assert False
E + where False = is_file()
E + where is_file = PosixPath('/root/result.json').is_file
test_outputs.py:161: AssertionError
___________________ test_recovered_gamma_is_self_consistent ____________________
def test_recovered_gamma_is_self_consistent() -> None:
r = rotor()
> for row in result()["recovered"]:
^^^^^^^^
test_outputs.py:447:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
@lru_cache(maxsize=1)
def result() -> dict:
> assert RESULT_PATH.is_file(), "missing /root/result.json"
E AssertionError: missing /root/result.json
E assert False
E + where False = is_file()
E + where is_file = PosixPath('/root/result.json').is_file
test_outputs.py:161: AssertionError
________________ test_recovered_fit_quality_and_reconstruction _________________
def test_recovered_fit_quality_and_reconstruction() -> None:
ndir = DATA / config()["noisy_inverse_arm"]["data_dir"]
> rec = _recovered_by_file()
^^^^^^^^^^^^^^^^^^^^
test_outputs.py:457:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test_outputs.py:343: in _recovered_by_file
return {r["file"]: r for r in result()["recovered"]}
^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
@lru_cache(maxsize=1)
def result() -> dict:
> assert RESULT_PATH.is_file(), "missing /root/result.json"
E AssertionError: missing /root/result.json
E assert False
E + where False = is_file()