Skip to content

Commit 71b6d21

Browse files
input_configuration refactor
1 parent fd7c43a commit 71b6d21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

causal_testing/generation/abstract_causal_test_case.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ def generate_concrete_tests(
229229
for var in effect_modifier_configs.columns
230230
}
231231
)
232-
control_values = [test.control_input_configuration[self.treatment_variable] for test in concrete_tests]
233-
treatment_values = [test.treatment_input_configuration[self.treatment_variable] for test in concrete_tests]
232+
control_values = [test.control_value for test in concrete_tests]
233+
treatment_values = [test.treatment_value for test in concrete_tests]
234234

235235
if self.treatment_variable.datatype is bool and set([(True, False), (False, True)]).issubset(
236236
set(zip(control_values, treatment_values))

0 commit comments

Comments
 (0)