@@ -2122,8 +2122,7 @@ def test_nash_strategy_solver_w_start(test_case: EquilibriumTestCaseWithStart, s
21222122 factory = functools .partial (games .read_from_file , "3_player.efg" ),
21232123 solver = functools .partial (gbt .nash .enumpoly_solve , stop_after = None ),
21242124 expected = [
2125- [[d (1 , 0 ), d (1 , 0 )], [d (1 , 0 ), d ("1/2" , "1/2" )], [d (1 , 0 ), d (1 , 0 )]],
2126- [[d (1 , 0 ), d (1 , 0 )], [d (1 , 0 ), d ("1/2" , "1/2" )], [d (1 , 0 ), d (0 , 1 )]],
2125+ [[d (1 , 0 ), d (1 , 0 )], [d (1 , 0 ), d (1 , 0 )], [d (1 , 0 ), d (1 , 0 )]],
21272126 ],
21282127 regret_tol = TOL ,
21292128 prob_tol = TOL ,
@@ -2136,8 +2135,7 @@ def test_nash_strategy_solver_w_start(test_case: EquilibriumTestCaseWithStart, s
21362135 factory = functools .partial (games .read_from_file , "3_player_with_nonterm_outcomes.efg" ),
21372136 solver = functools .partial (gbt .nash .enumpoly_solve , stop_after = None ),
21382137 expected = [
2139- [[d (1 , 0 ), d (1 , 0 )], [d (1 , 0 ), d ("1/2" , "1/2" )], [d (1 , 0 ), d (1 , 0 )]],
2140- [[d (1 , 0 ), d (1 , 0 )], [d (1 , 0 ), d ("1/2" , "1/2" )], [d (1 , 0 ), d (0 , 1 )]],
2138+ [[d (1 , 0 ), d (1 , 0 )], [d (1 , 0 ), d (1 , 0 )], [d (1 , 0 ), d (1 , 0 )]],
21412139 ],
21422140 regret_tol = TOL ,
21432141 prob_tol = TOL ,
@@ -2170,10 +2168,8 @@ def test_nash_strategy_solver_w_start(test_case: EquilibriumTestCaseWithStart, s
21702168 # candidate,10,10,1000,10000
21712169 [[d (1 , 0 )], [d (1 , 0 ), d (1 , 0 , 0 , 0 )], [d (1 , 0 , 0 , 0 , 0 )]],
21722170 # candidate,01,00,0000,00000
2173- [[d (0 , 1 )], [d (1 , 0 ), d ("1/4" , "1/4" , "1/4" , "1/4" )],
2174- [d ("1/5" , "1/5" , "1/5" , "1/5" , "1/5" )]], # only 1 off path
2175- [[d (0 , 1 )], [d (0 , 1 ), d ("1/4" , "1/4" , "1/4" , "1/4" )],
2176- [d ("1/5" , "1/5" , "1/5" , "1/5" , "1/5" )]],
2171+ [[d (0 , 1 )], [d (1 , 0 ), d (1 , 0 , 0 , 0 )],
2172+ [d (1 , 0 , 0 , 0 , 0 )]],
21772173 ],
21782174 regret_tol = TOL ,
21792175 prob_tol = TOL ,
@@ -2191,13 +2187,8 @@ def test_nash_strategy_solver_w_start(test_case: EquilibriumTestCaseWithStart, s
21912187 [[d (1 , 0 )], [d (1 , 0 ), d (1 , 0 , 0 , 0 )], [d (1 , 0 , 0 , 0 , 0 )]],
21922188 [
21932189 [d (0 , 1 )],
2194- [d (1 , 0 ), d ("1/4" , "1/4" , "1/4" , "1/4" )],
2195- [d ("1/5" , "1/5" , "1/5" , "1/5" , "1/5" )],
2196- ],
2197- [
2198- [d (0 , 1 )],
2199- [d (0 , 1 ), d ("1/4" , "1/4" , "1/4" , "1/4" )],
2200- [d ("1/5" , "1/5" , "1/5" , "1/5" , "1/5" )],
2190+ [d (1 , 0 ), d (1 , 0 , 0 , 0 )],
2191+ [d (1 , 0 , 0 , 0 , 0 )],
22012192 ],
22022193 ],
22032194 regret_tol = TOL ,
@@ -2216,13 +2207,8 @@ def test_nash_strategy_solver_w_start(test_case: EquilibriumTestCaseWithStart, s
22162207 expected = [
22172208 [
22182209 [d (0 , 1 )],
2219- [d (1 , 0 ), d ("1/4" , "1/4" , "1/4" , "1/4" )],
2220- [d ("1/5" , "1/5" , "1/5" , "1/5" , "1/5" )],
2221- ],
2222- [
2223- [d (0 , 1 )],
2224- [d (0 , 1 ), d ("1/4" , "1/4" , "1/4" , "1/4" )],
2225- [d ("1/5" , "1/5" , "1/5" , "1/5" , "1/5" )],
2210+ [d (1 , 0 ), d (1 , 0 , 0 , 0 )],
2211+ [d (1 , 0 , 0 , 0 , 0 )],
22262212 ],
22272213 ],
22282214 regret_tol = TOL ,
@@ -2239,8 +2225,7 @@ def test_nash_strategy_solver_w_start(test_case: EquilibriumTestCaseWithStart, s
22392225 ),
22402226 solver = functools .partial (gbt .nash .enumpoly_solve , stop_after = None ),
22412227 expected = [
2242- [[d (0 , 1 ), d ("1/5" , "1/5" , "1/5" , "1/5" , "1/5" )], [d (1 , 0 )]],
2243- [[d (0 , 1 ), d ("1/5" , "1/5" , "1/5" , "1/5" , "1/5" )], [d (0 , 1 )]],
2228+ [[d (0 , 1 ), d (1 , 0 , 0 , 0 , 0 )], [d (1 , 0 )]],
22442229 ],
22452230 regret_tol = TOL ,
22462231 prob_tol = TOL ,
0 commit comments