File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 7
7
from causal_testing .testing .base_test_case import BaseTestCase
8
8
from causal_testing .testing .estimators import Estimator
9
9
from causal_testing .testing .causal_test_result import CausalTestResult , TestValue
10
- from causal_testing .data_collection .data_collector import ObservationalDataCollector
10
+ from causal_testing .data_collection .data_collector import DataCollector
11
11
12
12
13
13
logger = logging .getLogger (__name__ )
@@ -77,7 +77,7 @@ def get_treatment_value(self):
77
77
"""Return the treatment value of the treatment variable in this causal test case."""
78
78
return self .treatment_value
79
79
80
- def execute_test (self , estimator : type (Estimator ), data_collector : ObservationalDataCollector ) -> CausalTestResult :
80
+ def execute_test (self , estimator : type (Estimator ), data_collector : DataCollector ) -> CausalTestResult :
81
81
"""Execute a causal test case and return the causal test result.
82
82
83
83
:param estimator: A reference to an Estimator class.
Original file line number Diff line number Diff line change 8
8
from causal_testing .testing .causal_test_case import CausalTestCase
9
9
from causal_testing .testing .estimators import Estimator
10
10
from causal_testing .testing .causal_test_result import CausalTestResult
11
- from causal_testing .data_collection .data_collector import ObservationalDataCollector
11
+ from causal_testing .data_collection .data_collector import DataCollector
12
12
from causal_testing .specification .causal_specification import CausalSpecification
13
13
14
14
logger = logging .getLogger (__name__ )
@@ -46,7 +46,7 @@ def add_test_object(
46
46
self .data [base_test_case ] = test_object
47
47
48
48
def execute_test_suite (
49
- self , data_collector : ObservationalDataCollector , causal_specification : CausalSpecification
49
+ self , data_collector : DataCollector , causal_specification : CausalSpecification
50
50
) -> dict [str , CausalTestResult ]:
51
51
"""Execute a suite of causal tests and return the results in a list
52
52
:param data_collector: The data collector to be used for the test_suite. Can be observational, experimental or
You can’t perform that action at this time.
0 commit comments