File size: 461 Bytes
24599ef | 1 2 3 4 5 6 7 8 9 10 11 12 | 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
|