text stringclasses 308
values |
|---|
============================= test session starts ============================== |
platform linux -- Python 3.11.14, 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 9 items |
../../app::test_runtime_input_contract_and_output_schema PASSED [ 11%] |
../../app::test_public_neighborhood_and_tensors_match_independent_recompute PASSED [ 22%] |
../../app::test_finite_strain_invariants_and_transition_diagnostics PASSED [ 33%] |
../../app::test_csv_and_summary_are_derived_from_submitted_tensors PASSED [ 44%] |
../../app::test_submitted_executable_is_rigid_transform_invariant PASSED [ 55%] |
../../app::test_submitted_executable_handles_hidden_neighborhood_radius PASSED [ 66%] |
../../app::test_submitted_executable_handles_compact_full_rank_transition PASSED [ 77%] |
../../app::test_public_shape_and_key_special_case_is_rejected PASSED [ 88%] |
../../app::test_submitted_executable_rejects_rank_deficient_input PASSED [100%] |
==================================== PASSES ==================================== |
=========================== short test summary info ============================ |
PASSED ../../app::test_runtime_input_contract_and_output_schema |
PASSED ../../app::test_public_neighborhood_and_tensors_match_independent_recompute |
PASSED ../../app::test_finite_strain_invariants_and_transition_diagnostics |
PASSED ../../app::test_csv_and_summary_are_derived_from_submitted_tensors |
PASSED ../../app::test_submitted_executable_is_rigid_transform_invariant |
PASSED ../../app::test_submitted_executable_handles_hidden_neighborhood_radius |
PASSED ../../app::test_submitted_executable_handles_compact_full_rank_transition |
PASSED ../../app::test_public_shape_and_key_special_case_is_rejected |
PASSED ../../app::test_submitted_executable_rejects_rank_deficient_input |
============================== 9 passed in 4.02s =============================== |
============================= test session starts ============================== |
platform linux -- Python 3.11.14, 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 9 items |
../../app::test_runtime_input_contract_and_output_schema FAILED [ 11%] |
../../app::test_public_neighborhood_and_tensors_match_independent_recompute FAILED [ 22%] |
../../app::test_finite_strain_invariants_and_transition_diagnostics FAILED [ 33%] |
../../app::test_csv_and_summary_are_derived_from_submitted_tensors FAILED [ 44%] |
../../app::test_submitted_executable_is_rigid_transform_invariant FAILED [ 55%] |
../../app::test_submitted_executable_handles_hidden_neighborhood_radius FAILED [ 66%] |
../../app::test_submitted_executable_handles_compact_full_rank_transition FAILED [ 77%] |
../../app::test_public_shape_and_key_special_case_is_rejected FAILED [ 88%] |
../../app::test_submitted_executable_rejects_rank_deficient_input FAILED [100%] |
=================================== FAILURES =================================== |
________________ test_runtime_input_contract_and_output_schema _________________ |
def test_runtime_input_contract_and_output_schema() -> None: |
data = input_data() |
task_contract = contract() |
assert float(task_contract["analysis"]["radius_angstrom"]) == PUBLIC_RADIUS |
assert float(task_contract["analysis"]["high_strain_threshold"]) == HIGH_STRAIN_THRESHOLD |
assert int(task_contract["analysis"]["top_k"]) == TOP_K |
assert float(task_contract["analysis"]["nonaffine_radius_multiplier"]) == NONAFFINE_RADIUS_MULTIPLIER |
assert float(task_contract["analysis"]["nonaffine_reduction_threshold"]) == NONAFFINE_REDUCTION_THRESHOLD |
> assert_regular_file( |
SCRIPT_PATH, |
"reusable /root/analyze_protein_strain.py", |
) |
test_outputs.py:1646: |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
path = PosixPath('/root/analyze_protein_strain.py') |
description = 'reusable /root/analyze_protein_strain.py' |
def assert_regular_file(path: Path, description: str) -> os.stat_result: |
> assert path.exists(), f"Missing {description}: {path}" |
E AssertionError: Missing reusable /root/analyze_protein_strain.py: /root/analyze_protein_strain.py |
E assert False |
E + where False = exists() |
E + where exists = PosixPath('/root/analyze_protein_strain.py').exists |
test_outputs.py:147: AssertionError |
_______ test_public_neighborhood_and_tensors_match_independent_recompute _______ |
def test_public_neighborhood_and_tensors_match_independent_recompute() -> None: |
> artifacts = load_artifacts(ROOT) |
^^^^^^^^^^^^^^^^^^^^ |
test_outputs.py:1658: |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
test_outputs.py:307: in load_artifacts |
assert_regular_file(csv_path, "residue CSV") |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
path = PosixPath('/root/residue_strain.csv'), description = 'residue CSV' |
def assert_regular_file(path: Path, description: str) -> os.stat_result: |
> assert path.exists(), f"Missing {description}: {path}" |
E AssertionError: Missing residue CSV: /root/residue_strain.csv |
E assert False |
E + where False = exists() |
E + where exists = PosixPath('/root/residue_strain.csv').exists |
test_outputs.py:147: AssertionError |
___________ test_finite_strain_invariants_and_transition_diagnostics ___________ |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 122