Download bbflow_base/tests/test_final_condition_sensitivity_script.py from hanghang214/data_transfer: direct link, hf CLI and curl.
- Browser
- Download file 461 Bytes
-
https://huggingface.co/datasets/hanghang214/data_transfer/resolve/main/bbflow_base/tests/test_final_condition_sensitivity_script.py
- Command line
-
hf download hf://datasets/hanghang214/data_transfer/bbflow_base/tests/test_final_condition_sensitivity_script.py
-
curl -L -o test_final_condition_sensitivity_script.py https://huggingface.co/datasets/hanghang214/data_transfer/resolve/main/bbflow_base/tests/test_final_condition_sensitivity_script.py
461 Bytes
| from pathlib import Path | |
| def test_final_condition_sensitivity_script_exposes_counterfactual_modes(): | |
| script = Path(__file__).resolve().parents[1] / "scripts" / "diagnose_final_condition_sensitivity.py" | |
| assert script.exists(), "missing final-condition sensitivity diagnostic" | |
| text = script.read_text() | |
| assert "directional_all_zero" in text | |
| assert "node_cond_zero_all_paths" in text | |
| assert "node_cond_zero_film_only" in text | |