Skip to content

Commit 259dc40

Browse files
authored
[BridgeBidding] Update version (#1206)
1 parent dc9e754 commit 259dc40

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Use `pgx.available_envs() -> Tuple[EnvId]` to see the list of currently availabl
111111
|<a href="https://en.wikipedia.org/wiki/2048_(video_game)">2048</a> <br> `"2048"` |<img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/2048_dark.gif" width="60px"><img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/2048_light.gif" width="60px">| `v2` | *Merge tiles to create 2048.* |
112112
|<a href="https://en.wikipedia.org/wiki/D%C5%8Dbutsu_sh%C5%8Dgi">Animal Shogi</a><br>`"animal_shogi"` |<img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/animal_shogi_dark.gif" width="60px"><img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/animal_shogi_light.gif" width="60px">| `v0` | *Animal-themed child-friendly shogi.* |
113113
|<a href="https://en.wikipedia.org/wiki/Backgammon">Backgammon</a><br>`"backgammon"` |<img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/backgammon_dark.gif" width="60px"><img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/backgammon_light.gif" width="60px">| `v2` | *Luck aids bearing off checkers.* |
114-
|<a href="https://en.wikipedia.org/wiki/Contract_bridge">Bridge bidding</a><br>`"bridge_bidding"` |<img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/bridge_bidding_dark.gif" width="60px"><img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/bridge_bidding_light.gif" width="60px">| `v0` | *Partners exchange information via bids.* |
114+
|<a href="https://en.wikipedia.org/wiki/Contract_bridge">Bridge bidding</a><br>`"bridge_bidding"` |<img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/bridge_bidding_dark.gif" width="60px"><img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/bridge_bidding_light.gif" width="60px">| `v1` | *Partners exchange information via bids.* |
115115
|<a href="https://en.wikipedia.org/wiki/Chess">Chess</a><br>`"chess"` |<img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/chess_dark.gif" width="60px"><img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/chess_light.gif" width="60px">| `v2` | *Checkmate opponent's king to win.* |
116116
|<a href="https://en.wikipedia.org/wiki/Connect_Four">Connect Four</a><br>`"connect_four"` |<img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/connect_four_dark.gif" width="60px"><img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/connect_four_light.gif" width="60px">| `v0` | *Connect discs, win with four.* |
117117
|<a href="https://en.wikipedia.org/wiki/Minichess">Gardner Chess</a><br>`"gardner_chess"`|<img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/gardner_chess_dark.gif" width="60px"><img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/gardner_chess_light.gif" width="60px">| `v0` | *5x5 chess variant, excluding castling.* |

docs/bridge_bidding.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ env = BridgeBidding()
2828

2929
In Pgx, we follow `[Tian+20]` and use pre-computed Double Dummy Solver (DDS) dataset for each hand.
3030
So, `BrdigeBidding` environment requires to load pre-computed DDS dataset by `env = BridgeBidding("<path_to_dataset>")`.
31-
Please run the following command to download the DDS results provided by Pgx.
31+
Please run the following command to download the DDS results provided by Pgx from [huggingface](https://huggingface.co/datasets/sotetsuk/dds_dataset).
3232

3333
```py
3434
from pgx.bridge_bidding import download_dds_results
@@ -56,7 +56,7 @@ Therefore, we approximate the playing phase of bridge by using the results of DD
5656

5757
| Name | Value |
5858
|:---|:----:|
59-
| Version | `v0` |
59+
| Version | `v1` |
6060
| Number of players | `4` |
6161
| Number of actions | `38` |
6262
| Observation shape | `(480,)` |
@@ -96,6 +96,7 @@ Terminates by three consecutive passes after the last bid.
9696
## Version History
9797

9898
- `v0` : Initial release (v1.0.0)
99+
- `v1` : Provide larger DDS dataset and improve the efficienct in [#1191](https://github.com/sotetsuk/pgx/pull/1191/files) (v2.1.2)
99100

100101
## Reference
101102

@@ -105,4 +106,4 @@ Terminates by three consecutive passes after the last bid.
105106
- `[Lockhart+20]` "Human-agent cooperation in bridge bidding"
106107
- `Double Dummy Solver` http://privat.bahnhof.se/wb758135/
107108
- `PBN format` https://www.tistis.nl/pbn/
108-
- `IMP` https://en.wikipedia.org/wiki/International_Match_Points
109+
- `IMP` https://en.wikipedia.org/wiki/International_Match_Points

pgx/bridge_bidding.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def id(self) -> core.EnvId:
178178

179179
@property
180180
def version(self) -> str:
181-
return "v0"
181+
return "v1"
182182

183183
@property
184184
def num_players(self) -> int:

0 commit comments

Comments
 (0)