text
stringclasses
371 values
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = PosixPath('/root/solution/posterior_trajectories.csv')
columns = ['run_id', 'strategy', 'shot', 'frequency_mhz', 'zeta', 'theta_mean', ...]
def load_csv(path: Path, columns: list[str]) -> list[dict[str, str]]:
> assert path.is_file(), f"missing {path.name}"
E AssertionError: missing posterior_trajectories.csv
E assert False
E + where False = is_file()
E + where is_file = PosixPath('/root/solution/posterior_trajectories.csv').is_file
/verifier/test_outputs.py:89: AssertionError
___________ test_summary_design_and_metadata_crosscheck_to_artifacts ___________
def test_summary_design_and_metadata_crosscheck_to_artifacts() -> None:
payload = load_payload()
> rows = [numeric_trajectory_row(row) for row in load_trajectory()]
^^^^^^^^^^^^^^^^^
/verifier/test_outputs.py:541:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/verifier/test_outputs.py:97: in load_trajectory
return load_csv(solution / "posterior_trajectories.csv", TRAJECTORY_COLUMNS)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = PosixPath('/root/solution/posterior_trajectories.csv')
columns = ['run_id', 'strategy', 'shot', 'frequency_mhz', 'zeta', 'theta_mean', ...]
def load_csv(path: Path, columns: list[str]) -> list[dict[str, str]]:
> assert path.is_file(), f"missing {path.name}"
E AssertionError: missing posterior_trajectories.csv
E assert False
E + where False = is_file()
E + where is_file = PosixPath('/root/solution/posterior_trajectories.csv').is_file
/verifier/test_outputs.py:89: AssertionError
_________ test_machine_readable_convergence_and_phi_bound_sensitivity __________
def test_machine_readable_convergence_and_phi_bound_sensitivity() -> None:
payload = load_payload()
> rows = [numeric_trajectory_row(row) for row in load_trajectory()]
^^^^^^^^^^^^^^^^^
/verifier/test_outputs.py:548:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/verifier/test_outputs.py:97: in load_trajectory
return load_csv(solution / "posterior_trajectories.csv", TRAJECTORY_COLUMNS)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = PosixPath('/root/solution/posterior_trajectories.csv')
columns = ['run_id', 'strategy', 'shot', 'frequency_mhz', 'zeta', 'theta_mean', ...]
def load_csv(path: Path, columns: list[str]) -> list[dict[str, str]]:
> assert path.is_file(), f"missing {path.name}"
E AssertionError: missing posterior_trajectories.csv
E assert False
E + where False = is_file()
E + where is_file = PosixPath('/root/solution/posterior_trajectories.csv').is_file
/verifier/test_outputs.py:89: AssertionError
_____________ test_report_and_figure_are_quantitative_and_nonblank _____________
def test_report_and_figure_are_quantitative_and_nonblank() -> None:
payload = load_payload()
> summary = load_json(SOLUTION / "summary.json")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/verifier/test_outputs.py:556:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = PosixPath('/root/solution/summary.json')
def load_json(path: Path) -> dict[str, Any]:
> assert path.is_file(), f"missing {path.name}"
E AssertionError: missing summary.json
E assert False
E + where False = is_file()
E + where is_file = PosixPath('/root/solution/summary.json').is_file
/verifier/test_outputs.py:70: AssertionError
_______ test_reusable_script_solves_multiple_unpredictable_hidden_inputs _______
hidden_outputs = [({'checkpoint_cases': [{'case_id': 'zero-prefix-3f0d8eb546e63c3c', 'run_id': 'hidden-3f0d8eb546e63c3c-adaptive-a', 's...pytest-0/hidden-cases0/hidden_input_1.json'), PosixPath('/tmp/pytest-of-root/pytest-0/hidden-cases0/hidden_output_1'))]
def test_reusable_script_solves_multiple_unpredictable_hidden_inputs(
hidden_outputs: list[tuple[dict[str, Any], Path, Path]],
) -> None:
for payload, _, output in hidden_outputs:
> validate_bundle(payload, output)
/verifier/test_outputs.py:679:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/verifier/test_outputs.py:507: in validate_bundle
rows = validate_trajectory(payload, solution)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/verifier/test_outputs.py:209: in validate_trajectory
assert_close(row[key], getattr(expected, key), atol=4e-3, rtol=4e-3, message=f"{row['run_id']} shot {shot} {key}")