text
stringlengths
0
251
/usr/local/lib/python3.12/pathlib.py:1013: FileNotFoundError
_________ test_scientific_figure_matches_submitted_series_fit_and_band _________
def test_scientific_figure_matches_submitted_series_fit_and_band() -> None:
> _analysis, _slope_rows, _report = load_submission()
^^^^^^^^^^^^^^^^^
test_outputs.py:2316:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test_outputs.py:762: in load_submission
read_csv(ROOT / "spectrum_analysis.csv"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test_outputs.py:126: in read_csv
with path.open(newline="", encoding="utf-8") as handle:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = PosixPath('/root/spectrum_analysis.csv'), mode = 'r', buffering = -1
encoding = 'utf-8', errors = None, newline = ''
def open(self, mode='r', buffering=-1, encoding=None,
errors=None, newline=None):
"""
Open the file pointed to by this path and return a file object, as
the built-in open() function does.
"""
if "b" not in mode:
encoding = io.text_encoding(encoding)
> return io.open(self, mode, buffering, encoding, errors, newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E FileNotFoundError: [Errno 2] No such file or directory: '/root/spectrum_analysis.csv'
/usr/local/lib/python3.12/pathlib.py:1013: FileNotFoundError
________________ test_adversarial_figure_shortcuts_are_rejected ________________
def test_adversarial_figure_shortcuts_are_rejected() -> None:
reference = independent_reference()
> image, manifest = load_figure()
^^^^^^^^^^^^^
test_outputs.py:2584:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
def load_figure() -> tuple[np.ndarray, dict[str, object]]:
image_path = ROOT / "spectrum_figure.png"
manifest_path = ROOT / "spectrum_figure.json"
> assert image_path.is_file(), "Missing /root/spectrum_figure.png"
E AssertionError: Missing /root/spectrum_figure.png
E assert False
E + where False = is_file()
E + where is_file = PosixPath('/root/spectrum_figure.png').is_file
test_outputs.py:1500: AssertionError
==================================== PASSES ====================================
=========================== short test summary info ============================
PASSED ../root::test_figure_contract_accepts_flexible_wording_and_dimensions
FAILED ../root::test_artifacts_parse_and_have_declared_schemas - FileNotFound...
FAILED ../root::test_transient_window_and_interval_counts - FileNotFoundError...
FAILED ../root::test_all_channel_interval_statistics_match_independent_reduction
FAILED ../root::test_background_subtraction_uncertainty_and_fit_membership - ...
FAILED ../root::test_weighted_tail_fit_matches_independent_solution - FileNot...
FAILED ../root::test_bootstrap_trace_and_reported_interval_are_reproducible
FAILED ../root::test_transient_tail_has_the_expected_physical_structure - Fil...
FAILED ../root::test_scientific_figure_matches_submitted_series_fit_and_band
FAILED ../root::test_adversarial_figure_shortcuts_are_rejected - AssertionErr...
========================= 9 failed, 1 passed in 1.07s ==========================