Skip to content

Commit fdf4628

Browse files
committed
coverage
1 parent e17a2cd commit fdf4628

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/surrogate_tests/test_causal_surrogate_assisted.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def test_surrogate_model_generation(self):
5656

5757
causal_dag = CausalDAG(self.dag_dot_path)
5858
z = Input("Z", int)
59-
x = Input("X", int)
59+
x = Input("X", float)
6060
m = Input("M", int)
6161
y = Output("Y", float)
6262
scenario = Scenario(variables={z, x, m, y})
@@ -75,7 +75,7 @@ def test_causal_surrogate_assisted_execution(self):
7575

7676
causal_dag = CausalDAG(self.dag_dot_path)
7777
z = Input("Z", int)
78-
x = Input("X", int)
78+
x = Input("X", float)
7979
m = Input("M", int)
8080
y = Output("Y", float)
8181
scenario = Scenario(variables={z, x, m, y}, constraints={
@@ -107,7 +107,7 @@ def test_causal_surrogate_assisted_execution_failure(self):
107107

108108
causal_dag = CausalDAG(self.dag_dot_path)
109109
z = Input("Z", int)
110-
x = Input("X", int)
110+
x = Input("X", float)
111111
m = Input("M", int)
112112
y = Output("Y", float)
113113
scenario = Scenario(variables={z, x, m, y}, constraints={
@@ -139,7 +139,7 @@ def test_causal_surrogate_assisted_execution_custom_aggregator(self):
139139

140140
causal_dag = CausalDAG(self.dag_dot_path)
141141
z = Input("Z", int)
142-
x = Input("X", int)
142+
x = Input("X", float)
143143
m = Input("M", int)
144144
y = Output("Y", float)
145145
scenario = Scenario(variables={z, x, m, y}, constraints={
@@ -172,7 +172,7 @@ def test_causal_surrogate_assisted_execution_incorrect_search_config(self):
172172

173173
causal_dag = CausalDAG(self.dag_dot_path)
174174
z = Input("Z", int)
175-
x = Input("X", int)
175+
x = Input("X", float)
176176
m = Input("M", int)
177177
y = Output("Y", float)
178178
scenario = Scenario(variables={z, x, m, y}, constraints={

0 commit comments

Comments
 (0)