Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
0
2.43k
============================= test session starts ==============================
platform linux -- Python 3.12.13, pytest-8.4.1, pluggy-1.6.0 -- /usr/local/bin/python3
rootdir: /app
configfile: ../dev/null
plugins: json-ctrf-0.3.5
collecting ... collected 7 items
::test_artifacts_manifest_and_input_integrity PASSED [ 14%]
::test_public_branch_physics PASSED [ 28%]
::test_public_profiles_independent PASSED [ 42%]
::test_public_spectrum_turning_and_convergence PASSED [ 57%]
::test_hidden_changed_family_replay PASSED [ 71%]
::test_hidden_independent_finite_difference_spectrum PASSED [ 85%]
::test_malformed_inputs_fail_closed PASSED [100%]
==================================== PASSES ====================================
=========================== short test summary info ============================
PASSED ::test_artifacts_manifest_and_input_integrity
PASSED ::test_public_branch_physics
PASSED ::test_public_profiles_independent
PASSED ::test_public_spectrum_turning_and_convergence
PASSED ::test_hidden_changed_family_replay
PASSED ::test_hidden_independent_finite_difference_spectrum
PASSED ::test_malformed_inputs_fail_closed
============================== 7 passed in 14.21s ==============================
============================= test session starts ==============================
platform linux -- Python 3.12.13, pytest-8.4.1, pluggy-1.6.0 -- /usr/local/bin/python3
rootdir: /app
configfile: ../dev/null
plugins: json-ctrf-0.3.5
collecting ... collected 7 items
::test_artifacts_manifest_and_input_integrity FAILED [ 14%]
::test_public_branch_physics PASSED [ 28%]
::test_public_profiles_independent FAILED [ 42%]
::test_public_spectrum_turning_and_convergence FAILED [ 57%]
::test_hidden_changed_family_replay FAILED [ 71%]
::test_hidden_independent_finite_difference_spectrum PASSED [ 85%]
::test_malformed_inputs_fail_closed FAILED [100%]
=================================== FAILURES ===================================
_________________ test_artifacts_manifest_and_input_integrity __________________
public_instance = {'boundary_value': {'initial_mesh_points': 560, 'max_nodes': 36000, 'origin_fraction': 2.5e-06, 'tolerance': 2e-07}, '..., 'profile_anchor_count': 2, 'refined_tolerance_factor': 0.35}, 'domain': {'profile_points': 801, 'radius': 40.0}, ...}
def test_artifacts_manifest_and_input_integrity(public_instance: dict[str, Any]) -> None:
assert {path.name for path in RESULTS.iterdir()} == REQUIRED_ARTIFACTS
assert all(path.is_file() and not path.is_symlink() for path in RESULTS.iterdir())
manifest = load_json(RESULTS / "manifest.json")
assert manifest["schema_version"] == RESULT_SCHEMA
> assert manifest["completed"] is True
^^^^^^^^^^^^^^^^^^^^^
E KeyError: 'completed'
/verifier/test_outputs.py:861: KeyError
_______________________ test_public_profiles_independent _______________________
public_instance = {'boundary_value': {'initial_mesh_points': 560, 'max_nodes': 36000, 'origin_fraction': 2.5e-06, 'tolerance': 2e-07}, '..., 'profile_anchor_count': 2, 'refined_tolerance_factor': 0.35}, 'domain': {'profile_points': 801, 'radius': 40.0}, ...}
public_branch = [{'bvp_max_rms_residual': '3.5513144826845745e-09', 'bvp_mesh_nodes': '12205', 'central_amplitude': '0.18', 'chemical_...1e-08', 'bvp_mesh_nodes': '13057', 'central_amplitude': '0.52', 'chemical_potential': '-0.9196231256678506', ...}, ...]
def test_public_profiles_independent(public_instance: dict[str, Any], public_branch: list[dict[str, str]]) -> None:
> evidence = validate_profiles(RESULTS, public_instance, public_branch)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/verifier/test_outputs.py:920:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
result_path = PosixPath('/root/results')
instance = {'boundary_value': {'initial_mesh_points': 560, 'max_nodes': 36000, 'origin_fraction': 2.5e-06, 'tolerance': 2e-07}, '..., 'profile_anchor_count': 2, 'refined_tolerance_factor': 0.35}, 'domain': {'profile_points': 801, 'radius': 40.0}, ...}
branch_rows = [{'bvp_max_rms_residual': '3.5513144826845745e-09', 'bvp_mesh_nodes': '12205', 'central_amplitude': '0.18', 'chemical_...1e-08', 'bvp_mesh_nodes': '13057', 'central_amplitude': '0.52', 'chemical_potential': '-0.9196231256678506', ...}, ...]
def validate_profiles(result_path: Path, instance: dict[str, Any], branch_rows: list[dict[str, str]]) -> list[dict[str, Any]]:
index = load_json(result_path / "profile_index.json")
assert index["schema_version"] == RESULT_SCHEMA
expected_inventory = expected_state_inventory(instance)
observed_inventory = [
(
entry["family_id"],
int(entry["node_count"]),
int(entry["state_index"]),
round(float(entry["central_amplitude"]), 12),
)
for entry in index["profiles"]
]
assert observed_inventory == expected_inventory
radius = float(instance["domain"]["radius"])
points = int(instance["domain"]["profile_points"])
beta = float(instance["model"]["beta"])
evidence = []
with np.load(result_path / "profiles.npz", allow_pickle=False) as arrays:
expected_array_keys = {array_key for entry in index["profiles"] for array_key in entry["keys"].values()}
assert len(expected_array_keys) == len(index["profiles"]) * 5
> assert set(arrays.files) == expected_array_keys
E AssertionError: assert {'first-excit..._1_dpsi', ...} == {'first-excit..._1_dpsi', ...}
E
E Extra items in the left set:
E 'r'
E
E Full diff:
E {
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
63