Skip to content

Commit 2b919ed

Browse files
change expectedEffect to expected_effect
1 parent befb042 commit 2b919ed

File tree

2 files changed

+27
-27
lines changed

2 files changed

+27
-27
lines changed

examples/poisson/causal_tests.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"estimator": "WidthHeightEstimator",
77
"estimate_type": "ate",
88
"effect_modifiers": ["intensity", "height"],
9-
"expectedEffect": {"num_lines_abs": "PoissonWidthHeight"},
9+
"expected_effect": {"num_lines_abs": "PoissonWidthHeight"},
1010
"skip": true
1111
},
1212
{
@@ -15,7 +15,7 @@
1515
"estimator": "LinearRegressionEstimator",
1616
"estimate_type": "ate",
1717
"effect_modifiers": ["intensity", "height"],
18-
"expectedEffect": {"num_shapes_abs": "Positive"},
18+
"expected_effect": {"num_shapes_abs": "Positive"},
1919
"skip": true
2020
},
2121
{
@@ -24,7 +24,7 @@
2424
"estimator": "LinearRegressionEstimator",
2525
"estimate_type": "ate",
2626
"effect_modifiers": ["intensity", "height"],
27-
"expectedEffect": {"num_lines_unit": "Negative"},
27+
"expected_effect": {"num_lines_unit": "Negative"},
2828
"skip": true
2929
},
3030
{
@@ -33,7 +33,7 @@
3333
"estimator": "LinearRegressionEstimator",
3434
"estimate_type": "ate",
3535
"effect_modifiers": ["intensity", "height"],
36-
"expectedEffect": {"num_shapes_unit": "Negative"},
36+
"expected_effect": {"num_shapes_unit": "Negative"},
3737
"skip": true
3838
},
3939
{
@@ -42,7 +42,7 @@
4242
"estimator": "LinearRegressionEstimator",
4343
"estimate_type": "ate",
4444
"effect_modifiers": [],
45-
"expectedEffect": {"height": "NoEffect"},
45+
"expected_effect": {"height": "NoEffect"},
4646
"skip": true
4747
},
4848
{
@@ -51,7 +51,7 @@
5151
"estimator": "LinearRegressionEstimator",
5252
"estimate_type": "ate",
5353
"effect_modifiers": [],
54-
"expectedEffect": {"intensity": "NoEffect"},
54+
"expected_effect": {"intensity": "NoEffect"},
5555
"skip": true
5656
},
5757
{
@@ -60,7 +60,7 @@
6060
"estimator": "CausalForestEstimator",
6161
"estimate_type": "ate",
6262
"effect_modifiers": ["intensity", "width"],
63-
"expectedEffect": {"num_shapes_abs": "Positive"},
63+
"expected_effect": {"num_shapes_abs": "Positive"},
6464
"skip": true
6565
},
6666
{
@@ -69,7 +69,7 @@
6969
"estimator": "LinearRegressionEstimator",
7070
"estimate_type": "ate",
7171
"effect_modifiers": [],
72-
"expectedEffect": {"num_lines_unit": "Positive"},
72+
"expected_effect": {"num_lines_unit": "Positive"},
7373
"skip": true
7474
},
7575
{
@@ -78,7 +78,7 @@
7878
"estimator": "LinearRegressionEstimator",
7979
"estimate_type": "ate",
8080
"effect_modifiers": [],
81-
"expectedEffect": {"num_shapes_unit": "NoEffect"},
81+
"expected_effect": {"num_shapes_unit": "NoEffect"},
8282
"skip": true
8383
},
8484
{
@@ -87,7 +87,7 @@
8787
"estimator": "LinearRegressionEstimator",
8888
"estimate_type": "ate",
8989
"effect_modifiers": [],
90-
"expectedEffect": {"num_lines_unit": "NoEffect"},
90+
"expected_effect": {"num_lines_unit": "NoEffect"},
9191
"skip": true
9292
},
9393
{
@@ -96,7 +96,7 @@
9696
"estimator": "LinearRegressionEstimator",
9797
"estimate_type": "ate",
9898
"effect_modifiers": [],
99-
"expectedEffect": {"num_shapes_unit": "Positive"},
99+
"expected_effect": {"num_shapes_unit": "Positive"},
100100
"skip": true
101101
},
102102
{
@@ -105,7 +105,7 @@
105105
"estimator": "LinearRegressionEstimator",
106106
"estimate_type": "ate",
107107
"effect_modifiers": [],
108-
"expectedEffect": {"num_shapes_abs": "NoEffect"},
108+
"expected_effect": {"num_shapes_abs": "NoEffect"},
109109
"skip": true
110110
},
111111
{
@@ -114,7 +114,7 @@
114114
"estimator": "LinearRegressionEstimator",
115115
"estimate_type": "ate",
116116
"effect_modifiers": [],
117-
"expectedEffect": {"num_shapes_unit": "NoEffect"},
117+
"expected_effect": {"num_shapes_unit": "NoEffect"},
118118
"skip": true
119119
},
120120
{
@@ -123,7 +123,7 @@
123123
"estimator": "LinearRegressionEstimator",
124124
"estimate_type": "ate",
125125
"effect_modifiers": [],
126-
"expectedEffect": {"num_lines_unit": "NoEffect"},
126+
"expected_effect": {"num_lines_unit": "NoEffect"},
127127
"skip": true
128128
},
129129
{
@@ -132,7 +132,7 @@
132132
"estimator": "LinearRegressionEstimator",
133133
"estimate_type": "ate",
134134
"effect_modifiers": [],
135-
"expectedEffect": {"width": "NoEffect"},
135+
"expected_effect": {"width": "NoEffect"},
136136
"skip": true
137137
},
138138
{
@@ -141,7 +141,7 @@
141141
"estimator": "WidthHeightEstimator",
142142
"estimate_type": "ate",
143143
"effect_modifiers": ["intensity", "width"],
144-
"expectedEffect": {"num_lines_abs": "PoissonWidthHeight"},
144+
"expected_effect": {"num_lines_abs": "PoissonWidthHeight"},
145145
"skip": true
146146
},
147147
{
@@ -150,7 +150,7 @@
150150
"estimator": "LinearRegressionEstimator",
151151
"estimate_type": "ate",
152152
"effect_modifiers": ["intensity", "width"],
153-
"expectedEffect": {"num_shapes_abs": "Positive"},
153+
"expected_effect": {"num_shapes_abs": "Positive"},
154154
"skip": true
155155
},
156156
{
@@ -159,7 +159,7 @@
159159
"estimator": "LinearRegressionEstimator",
160160
"estimate_type": "ate",
161161
"effect_modifiers": ["intensity", "width"],
162-
"expectedEffect": {"num_lines_unit": "Negative"},
162+
"expected_effect": {"num_lines_unit": "Negative"},
163163
"skip": true
164164
},
165165
{
@@ -168,7 +168,7 @@
168168
"estimator": "LinearRegressionEstimator",
169169
"estimate_type": "ate",
170170
"effect_modifiers": ["intensity", "width"],
171-
"expectedEffect": {"num_shapes_unit": "Negative"},
171+
"expected_effect": {"num_shapes_unit": "Negative"},
172172
"skip": true
173173
},
174174
{
@@ -177,7 +177,7 @@
177177
"estimator": "LinearRegressionEstimator",
178178
"estimate_type": "ate",
179179
"effect_modifiers": [],
180-
"expectedEffect": {"intensity": "NoEffect"},
180+
"expected_effect": {"intensity": "NoEffect"},
181181
"skip": true
182182
},
183183
{
@@ -186,7 +186,7 @@
186186
"estimator": "LinearRegressionEstimator",
187187
"estimate_type": "ate",
188188
"effect_modifiers": [],
189-
"expectedEffect": {"width": "NoEffect"},
189+
"expected_effect": {"width": "NoEffect"},
190190
"skip": true
191191
},
192192
{
@@ -195,7 +195,7 @@
195195
"estimator": "WidthHeightEstimator",
196196
"effect_modifiers": ["height", "width"],
197197
"estimate_type": "ate",
198-
"expectedEffect": {"num_lines_abs": "PoissonIntensity"},
198+
"expected_effect": {"num_lines_abs": "PoissonIntensity"},
199199
"skip": true
200200
},
201201
{
@@ -204,7 +204,7 @@
204204
"estimator": "LinearRegressionEstimator",
205205
"estimate_type": "ate",
206206
"effect_modifiers": ["height", "width"],
207-
"expectedEffect": {"num_shapes_abs": "Positive"},
207+
"expected_effect": {"num_shapes_abs": "Positive"},
208208
"skip": true
209209
},
210210
{
@@ -213,15 +213,15 @@
213213
"estimator": "LinearRegressionEstimator",
214214
"estimate_type": "ate",
215215
"effect_modifiers": ["height", "width"],
216-
"expectedEffect": {"num_lines_unit": "NoEffect"},
216+
"expected_effect": {"num_lines_unit": "NoEffect"},
217217
"skip": true
218218
},
219219
{
220220
"name": "intensity__num_shapes_unit",
221221
"mutations": {"intensity": "ChangeByFactor(2)"},
222222
"estimator": "LinearRegressionEstimator",
223223
"estimate_type": "risk_ratio",
224-
"expectedEffect": {"num_shapes_unit": "ExactValue4_05"},
224+
"expected_effect": {"num_shapes_unit": "ExactValue4_05"},
225225
"skip": false
226226
},
227227
{
@@ -230,7 +230,7 @@
230230
"estimator": "LinearRegressionEstimator",
231231
"estimate_type": "ate",
232232
"effect_modifiers": [],
233-
"expectedEffect": {"height": "NoEffect"},
233+
"expected_effect": {"height": "NoEffect"},
234234
"skip": true
235235
}
236236
]

tests/resources/data/tests.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"tests": [{"name": "test1", "mutations": {}, "estimator": null, "estimate_type": null, "effect_modifiers": [], "expectedEffect": {}, "skip": false}]}
1+
{"tests": [{"name": "test1", "mutations": {}, "estimator": null, "estimate_type": null, "effect_modifiers": [], "expected_effect": {}, "skip": false}]}

0 commit comments

Comments
 (0)