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-94a8233b14ca3446', 'run_id': 'hidden-94a8233b14ca3446-adaptive-a', 's...pytest-3/hidden-cases0/hidden_input_1.json'), PosixPath('/tmp/pytest-of-root/pytest-3/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:508: in validate_bundle
normalization_error = validate_checkpoints(payload, solution, rows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/verifier/test_outputs.py:240: in validate_checkpoints
assert_close(normalization, 1.0, atol=2e-6, rtol=0.0)