Skip to content

Commit 0bae8c9

Browse files
committed
Black formatting
1 parent a212722 commit 0bae8c9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

causal_testing/testing/causal_test_outcome.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from causal_testing.testing.causal_test_result import CausalTestResult
33
import numpy as np
44

5+
56
class CausalTestOutcome(ABC):
67
"""An abstract class representing an expected causal effect."""
78

causal_testing/testing/causal_test_result.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33

44
from causal_testing.specification.variable import Variable
55

6+
67
@dataclass
78
class TestValue:
89
"""A dataclass to hold both the type and value of a causal test result"""
910

1011
type: str
1112
value: float
1213

14+
1315
class CausalTestResult:
1416
"""A container to hold the results of a causal test case. Every causal test case provides a point estimate of
1517
the ATE, given a particular treatment, outcome, and adjustment set. Some but not all estimators can provide
@@ -89,4 +91,4 @@ def summary(self):
8991
f"The causal effect of changing {self.treatment[0]} = {self.control_value} to "
9092
f"{self.treatment[0]}' = {self.treatment_value} is {self.test_value.value} (95% confidence intervals: "
9193
f"{self.confidence_intervals})."
92-
)
94+
)

0 commit comments

Comments
 (0)