text
stringlengths
0
1.87k
> predictions = submitted_predictions()
^^^^^^^^^^^^^^^^^^^^^^^
test_outputs.py:685:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
@functools.lru_cache(maxsize=1)
def submitted_predictions() -> dict[str, np.ndarray]:
path = ROOT / "reservoir_predictions.csv"
> assert path.is_file(), "missing /root/reservoir_predictions.csv"
E AssertionError: missing /root/reservoir_predictions.csv
E assert False
E + where False = is_file()
E + where is_file = PosixPath('/root/reservoir_predictions.csv').is_file
test_outputs.py:534: AssertionError
__________________ test_prediction_alignment_and_persistence ___________________
def test_prediction_alignment_and_persistence() -> None:
reference = independent_forecast_reference()
> submitted = submitted_predictions()
^^^^^^^^^^^^^^^^^^^^^^^
test_outputs.py:795:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
@functools.lru_cache(maxsize=1)
def submitted_predictions() -> dict[str, np.ndarray]:
path = ROOT / "reservoir_predictions.csv"
> assert path.is_file(), "missing /root/reservoir_predictions.csv"
E AssertionError: missing /root/reservoir_predictions.csv
E assert False
E + where False = is_file()
E + where is_file = PosixPath('/root/reservoir_predictions.csv').is_file
test_outputs.py:534: AssertionError
_________________ test_forecast_matches_independent_svd_ridge __________________
def test_forecast_matches_independent_svd_ridge() -> None:
reference = independent_forecast_reference()
> submitted = submitted_predictions()
^^^^^^^^^^^^^^^^^^^^^^^
test_outputs.py:824:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
@functools.lru_cache(maxsize=1)
def submitted_predictions() -> dict[str, np.ndarray]:
path = ROOT / "reservoir_predictions.csv"
> assert path.is_file(), "missing /root/reservoir_predictions.csv"
E AssertionError: missing /root/reservoir_predictions.csv
E assert False
E + where False = is_file()
E + where is_file = PosixPath('/root/reservoir_predictions.csv').is_file
test_outputs.py:534: AssertionError
_________ test_serialized_model_is_correct_and_reproduces_predictions __________
def test_serialized_model_is_correct_and_reproduces_predictions() -> None:
reference = independent_forecast_reference()
> submitted = submitted_predictions()
^^^^^^^^^^^^^^^^^^^^^^^
test_outputs.py:836:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
@functools.lru_cache(maxsize=1)
def submitted_predictions() -> dict[str, np.ndarray]:
path = ROOT / "reservoir_predictions.csv"
> assert path.is_file(), "missing /root/reservoir_predictions.csv"
E AssertionError: missing /root/reservoir_predictions.csv
E assert False
E + where False = is_file()
E + where is_file = PosixPath('/root/reservoir_predictions.csv').is_file
test_outputs.py:534: AssertionError
____________ test_forecast_report_metrics_are_recomputed_correctly _____________
def test_forecast_report_metrics_are_recomputed_correctly() -> None:
reference = independent_forecast_reference()
> report = load_strict_json(ROOT / "reservoir_report.json")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test_outputs.py:868:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test_outputs.py:133: in load_strict_json
path.read_text(encoding="utf-8"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/pathlib.py:1027: in read_text
with self.open(mode='r', encoding=encoding, errors=errors) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = PosixPath('/root/reservoir_report.json'), mode = 'r', buffering = -1
encoding = 'utf-8', errors = None, newline = None
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