Skip to content

Commit 3310bbe

Browse files
committed
Removed all mention of the causal test engine
1 parent bedf769 commit 3310bbe

File tree

5 files changed

+7
-10
lines changed

5 files changed

+7
-10
lines changed

causal_testing/testing/causal_test_suite.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ def add_test_object(
3939
4040
:param base_test_case: A BaseTestCase object consisting of a treatment variable, outcome variable and effect
4141
:param causal_test_case_list: A list of causal test cases to be executed
42-
:param estimators_classes: A list of estimator class references, the execute_test_suite function in the
43-
TestEngine will produce a list of test results for each estimator
42+
:param estimators_classes: A list of estimators, one for each causal test case
4443
:param estimate_type: A string which denotes the type of estimate to return
4544
"""
4645
test_object = {"tests": causal_test_case_list, "estimators": estimators_classes, "estimate_type": estimate_type}

docs/source/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,4 @@ various information. Here, we simply assert that the observed result is (on aver
107107
test_passes = causal_test_case.expected_causal_effect.apply(causal_test_result)
108108
assert test_passes, "Expected to see a positive change in y."
109109
110-
Multiple tests can be executed at once using the test engines :doc:`Test Suite </frontends/test_suite>` feature.
110+
Multiple tests can be executed at once using a causal test suite :doc:`Test Suite </frontends/test_suite>` feature.

examples/lr91/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ can be found in Section 5.2 of the paper.
1111

1212
## How to run
1313
There are two versions of this case study:
14-
1. `causal_test_max_conductances.py` which has a for loop to iteratively call the `causal_test_engine`
15-
2. `causal_test_max_conductances_test_suite.py`, which uses the `causal_test_suite` object to interact with the `causal_test_engine`
14+
1. `causal_test_max_conductances.py` which has a for loop to iteratively build and execute each test case one at a time.
15+
2. `causal_test_max_conductances_test_suite.py`, which uses the `causal_test_suite` object to execute all the tests at once.
1616

1717
To run this case study:
1818
1. Ensure all project dependencies are installed by running `pip install .` in the top level directory

tests/testing_tests/test_causal_test_case.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,8 @@ def test_str(self):
4646

4747

4848
class TestCausalTestExecution(unittest.TestCase):
49-
"""Test the causal test execution workflow using observational data.
50-
51-
The causal test engine (CTE) is the main workflow for the causal testing framework. The CTE takes a causal test case
52-
and a causal specification and computes the causal effect of the intervention on the outcome of interest.
49+
"""
50+
Test the causal test execution workflow using observational data.
5351
"""
5452

5553
def setUp(self) -> None:

tests/testing_tests/test_causal_test_suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
class TestCausalTestSuite(unittest.TestCase):
19-
"""Test the Test Suite object and it's implementation in the test engine using dummy data."""
19+
"""Test the Test Suite object using dummy data."""
2020

2121
def setUp(self) -> None:
2222
# 1. Create dummy Scenario and BaseTestCase

0 commit comments

Comments
 (0)