We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4d3030 commit 9c7e4cdCopy full SHA for 9c7e4cd
causal_testing/main.py
@@ -369,7 +369,7 @@ def save_results(self, results: List[CausalTestResult]) -> None:
369
"effect": test_config.get("effect", "direct"),
370
"treatment_variable": test_config["treatment_variable"],
371
"expected_effect": test_config["expected_effect"],
372
- "formula": test_config.get("formula"),
+ "formula": result.estimator.formula if hasattr(result.estimator, "formula") else None,
373
"alpha": test_config.get("alpha", 0.05),
374
"skip": test_config.get("skip", False),
375
"passed": test_passed,
0 commit comments