@@ -56,7 +56,7 @@ def test_surrogate_model_generation(self):
56
56
57
57
causal_dag = CausalDAG (self .dag_dot_path )
58
58
z = Input ("Z" , int )
59
- x = Input ("X" , int )
59
+ x = Input ("X" , float )
60
60
m = Input ("M" , int )
61
61
y = Output ("Y" , float )
62
62
scenario = Scenario (variables = {z , x , m , y })
@@ -75,7 +75,7 @@ def test_causal_surrogate_assisted_execution(self):
75
75
76
76
causal_dag = CausalDAG (self .dag_dot_path )
77
77
z = Input ("Z" , int )
78
- x = Input ("X" , int )
78
+ x = Input ("X" , float )
79
79
m = Input ("M" , int )
80
80
y = Output ("Y" , float )
81
81
scenario = Scenario (variables = {z , x , m , y }, constraints = {
@@ -107,7 +107,7 @@ def test_causal_surrogate_assisted_execution_failure(self):
107
107
108
108
causal_dag = CausalDAG (self .dag_dot_path )
109
109
z = Input ("Z" , int )
110
- x = Input ("X" , int )
110
+ x = Input ("X" , float )
111
111
m = Input ("M" , int )
112
112
y = Output ("Y" , float )
113
113
scenario = Scenario (variables = {z , x , m , y }, constraints = {
@@ -139,7 +139,7 @@ def test_causal_surrogate_assisted_execution_custom_aggregator(self):
139
139
140
140
causal_dag = CausalDAG (self .dag_dot_path )
141
141
z = Input ("Z" , int )
142
- x = Input ("X" , int )
142
+ x = Input ("X" , float )
143
143
m = Input ("M" , int )
144
144
y = Output ("Y" , float )
145
145
scenario = Scenario (variables = {z , x , m , y }, constraints = {
@@ -172,7 +172,7 @@ def test_causal_surrogate_assisted_execution_incorrect_search_config(self):
172
172
173
173
causal_dag = CausalDAG (self .dag_dot_path )
174
174
z = Input ("Z" , int )
175
- x = Input ("X" , int )
175
+ x = Input ("X" , float )
176
176
m = Input ("M" , int )
177
177
y = Output ("Y" , float )
178
178
scenario = Scenario (variables = {z , x , m , y }, constraints = {
0 commit comments