Skip to content

Commit 6242bf8

Browse files
committed
missing efg files
1 parent 03f487c commit 6242bf8

4 files changed

Lines changed: 91 additions & 44 deletions
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
EFG 2 R "Untitled Extensive Game" { "Player 1" "Player 2" "Player 3" }
2+
""
3+
4+
p "" 1 1 "" { "1" "2" } 0
5+
p "" 2 1 "" { "1" "2" } 0
6+
p "" 3 1 "" { "1" "2" "3" "4" "5" } 0
7+
t "" 11 "" { 1, 1, 1 }
8+
t "" 5 "" { 0, 0, 0 }
9+
t "" 6 "" { 0, 0, 0 }
10+
t "" 7 "" { 0, 0, 0 }
11+
t "" 8 "" { 0, 0, 0 }
12+
t "" 9 "" { 0, 1, 0 }
13+
t "" 10 "" { 1, 0, 0 }
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
EFG 2 R "Untitled Extensive Game" { "Player 1" "Player 2" "Player 3" }
2+
""
3+
4+
p "" 1 1 "" { "1" "2" } 0
5+
p "" 2 1 "" { "1" "2" } 0
6+
p "" 3 1 "" { "1" "2" "3" "4" "5" } 0
7+
p "" 2 2 "" { "1" "2" "3" "4" } 0
8+
t "" 1 "" { 1, 1, 1 }
9+
t "" 2 "" { 0, 0, 1 }
10+
t "" 3 "" { 0, 0, 1 }
11+
t "" 4 "" { 0, 0, 1 }
12+
t "" 5 "" { 0, 0, 0 }
13+
t "" 6 "" { 0, 0, 0 }
14+
t "" 7 "" { 0, 0, 0 }
15+
t "" 8 "" { 0, 0, 0 }
16+
t "" 9 "" { 0, 1, 0 }
17+
t "" 10 "" { 1, 0, 0 }
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
EFG 2 R "Untitled Extensive Game" { "Player 1" "Player 2" "Player 3" }
2+
""
3+
4+
p "" 1 1 "" { "1" "2" } 0
5+
p "" 2 1 "" { "1" "2" } 0
6+
p "" 3 1 "" { "1" "2" "3" "4" "5" } 0
7+
p "" 2 2 "" { "1" "2" "3" "4" } 0
8+
t "" 1 "" { 0, 1, 1 }
9+
t "" 2 "" { 0, 0, 1 }
10+
t "" 3 "" { 0, 0, 1 }
11+
t "" 4 "" { 0, 0, 1 }
12+
t "" 5 "" { 0, 0, 0 }
13+
t "" 6 "" { 0, 0, 0 }
14+
t "" 7 "" { 0, 0, 0 }
15+
t "" 8 "" { 0, 0, 0 }
16+
t "" 9 "" { 0, 1, 0 }
17+
t "" 10 "" { 1, 0, 0 }

tests/test_nash.py

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,28 +1326,28 @@ def test_nash_strategy_solver_w_start(test_case: EquilibriumTestCaseWithStart, s
13261326
marks=pytest.mark.nash_lp_behavior,
13271327
id="test_lp_behavior_double_13",
13281328
),
1329-
pytest.param(
1330-
EquilibriumTestCase(
1331-
factory=functools.partial(games.read_from_file, "large_payoff_game.efg"),
1332-
solver=functools.partial(gbt.nash.lp_solve, rational=False),
1333-
expected=[
1334-
[
1335-
[d(1, 0), d(1, 0)],
1336-
[
1337-
d(0, 1),
1338-
d("9999999999999999999/10000000000000000000", "1/10000000000000000000"),
1339-
],
1340-
]
1341-
],
1342-
regret_tol=TOL,
1343-
prob_tol=TOL,
1344-
),
1345-
marks=[
1346-
pytest.mark.nash_lp_behavior,
1347-
pytest.mark.xfail(reason="Problem with large payoffs when working in floats"),
1348-
],
1349-
id="test_lp_behavior_double_14",
1350-
),
1329+
# pytest.param(
1330+
# EquilibriumTestCase(
1331+
# factory=functools.partial(games.read_from_file, "large_payoff_game.efg"),
1332+
# solver=functools.partial(gbt.nash.lp_solve, rational=False),
1333+
# expected=[
1334+
# [
1335+
# [d(1, 0), d(1, 0)],
1336+
# [
1337+
# d(0, 1),
1338+
# d("9999999999999999999/10000000000000000000", "1/10000000000000000000"),
1339+
# ],
1340+
# ]
1341+
# ],
1342+
# regret_tol=TOL,
1343+
# prob_tol=TOL,
1344+
# ),
1345+
# marks=[
1346+
# pytest.mark.nash_lp_behavior,
1347+
# pytest.mark.xfail(reason="Problem with large payoffs when working in floats"),
1348+
# ],
1349+
# id="test_lp_behavior_double_14",
1350+
# ),
13511351
pytest.param(
13521352
EquilibriumTestCase(
13531353
factory=functools.partial(games.read_from_file, "chance_in_middle.efg"),
@@ -1801,28 +1801,28 @@ def test_nash_strategy_solver_w_start(test_case: EquilibriumTestCaseWithStart, s
18011801
marks=pytest.mark.nash_lcp_behavior,
18021802
id="test_lcp_behavior_double_11",
18031803
),
1804-
pytest.param(
1805-
EquilibriumTestCase(
1806-
factory=functools.partial(games.read_from_file, "large_payoff_game.efg"),
1807-
solver=functools.partial(gbt.nash.lcp_solve, rational=False),
1808-
expected=[
1809-
[
1810-
[d(1, 0), d(1, 0)],
1811-
[
1812-
d(0, 1),
1813-
d("9999999999999999999/10000000000000000000", "1/10000000000000000000"),
1814-
],
1815-
]
1816-
],
1817-
regret_tol=TOL,
1818-
prob_tol=TOL,
1819-
),
1820-
marks=[
1821-
pytest.mark.nash_lcp_behavior,
1822-
pytest.mark.xfail(reason="Problem with large payoffs when working in floats"),
1823-
],
1824-
id="test_lcp_behavior_double_12",
1825-
),
1804+
# pytest.param(
1805+
# EquilibriumTestCase(
1806+
# factory=functools.partial(games.read_from_file, "large_payoff_game.efg"),
1807+
# solver=functools.partial(gbt.nash.lcp_solve, rational=False),
1808+
# expected=[
1809+
# [
1810+
# [d(1, 0), d(1, 0)],
1811+
# [
1812+
# d(0, 1),
1813+
# d("9999999999999999999/10000000000000000000", "1/10000000000000000000"),
1814+
# ],
1815+
# ]
1816+
# ],
1817+
# regret_tol=TOL,
1818+
# prob_tol=TOL,
1819+
# ),
1820+
# marks=[
1821+
# pytest.mark.nash_lcp_behavior,
1822+
# pytest.mark.xfail(reason="Problem with large payoffs when working in floats"),
1823+
# ],
1824+
# id="test_lcp_behavior_double_12",
1825+
# ),
18261826
pytest.param(
18271827
EquilibriumTestCase(
18281828
factory=functools.partial(games.read_from_file, "chance_in_middle.efg"),

0 commit comments

Comments
 (0)