Skip to content

Commit 88d663a

Browse files
committed
tests pass
1 parent 1a68c0b commit 88d663a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

causal_testing/testing/causal_test_result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def push(s, inc=" "):
5757
f"Outcome: {self.estimator.outcome}\n"
5858
f"Adjustment set: {self.adjustment_set}\n"
5959
f"Formula: {self.estimator.formula}\n"
60-
f"{self.test_value.type.capitalize()}: {result_str}\n"
60+
f"{self.test_value.type}: {result_str}\n"
6161
)
6262
confidence_str = ""
6363
if self.confidence_intervals:

tests/specification_tests/test_metamorphic_relations.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def test_should_not_cause_json_stub(self):
120120
"mutations": ["X1"],
121121
"name": "X1 _||_ Z",
122122
"formula": "Z ~ X1",
123+
"alpha": 0.05,
123124
"skip": True,
124125
},
125126
)

tests/testing_tests/test_causal_test_outcome.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def test_empty_adjustment_set(self):
6060
"Treatment value: 1\n"
6161
"Outcome: A\n"
6262
"Adjustment set: set()\n"
63+
"Formula: A ~ A\n"
6364
"ate: 0\n"
6465
),
6566
)

0 commit comments

Comments
 (0)