|
127 | 127 | ), |
128 | 128 | ], |
129 | 129 | ), |
| 130 | + # 2-player long centipede game with chance playing at the root twice |
| 131 | + ( |
| 132 | + games.read_from_file("cent3.efg"), |
| 133 | + [ |
| 134 | + ["1**111", "21*111", "221111", "222111"], |
| 135 | + ["1**111", "21*111", "221111", "222111"], |
| 136 | + ], |
| 137 | + [ |
| 138 | + np.array( |
| 139 | + [ |
| 140 | + ["20027/25000", "5081/6250", "2689/3125", "163/125"], |
| 141 | + ["541/1250", "19931/6250", "10114/3125", "92/25"], |
| 142 | + ["3299/6250", "5362/3125", "39814/3125", "1648/125"], |
| 143 | + ["227/250", "262/125", "856/125", "256/5"], |
| 144 | + ] |
| 145 | + ), |
| 146 | + np.array( |
| 147 | + [ |
| 148 | + ["2689/12500", "3283/12500", "5659/12500", "163/500"], |
| 149 | + ["3983/2500", "2677/3125", "3271/3125", "23/25"], |
| 150 | + ["5053/3125", "19903/3125", "10696/3125", "412/125"], |
| 151 | + ["214/125", "808/125", "3184/125", "64/5"], |
| 152 | + ] |
| 153 | + ), |
| 154 | + ], |
| 155 | + ), |
| 156 | +
|
130 | 157 | # N A T U R E |
131 | 158 | # Myerson 2-card poker; game with chance playing at the root |
132 | 159 | ( |
|
155 | 182 | np.array([[-1, -1, 2, 2], [3, 4, 3, 4]]), |
156 | 183 | ], |
157 | 184 | ), |
158 | | - # I M P E R F E C T R E C A L L |
| 185 | + # I M P E R F E C T R E C A L L --- commented out in the test suite |
159 | 186 | # Wichardt (2008): binary tree of height 3; 2 players; the root player forgets the action |
160 | | - ( |
161 | | - games.read_from_file("wichardt.efg"), |
162 | | - [["11", "12", "21", "22"], ["1", "2"]], |
163 | | - [ |
164 | | - np.array([[1, -1], [-5, -5], [-5, -5], [-1, 1]]), |
165 | | - np.array([[-1, 1], [5, 5], [5, 5], [1, -1]]), |
166 | | - ], |
167 | | - ), |
| 187 | + # ( |
| 188 | + # games.read_from_file("wichardt.efg"), |
| 189 | + # [["11", "12", "21", "22"], ["1", "2"]], |
| 190 | + # [ |
| 191 | + # np.array([[1, -1], [-5, -5], [-5, -5], [-1, 1]]), |
| 192 | + # np.array([[-1, 1], [5, 5], [5, 5], [1, -1]]), |
| 193 | + # ], |
| 194 | + # ), |
168 | 195 | ], |
169 | 196 | ) |
170 | 197 | def test_reduced_strategic_form( |
|
0 commit comments