Skip to content

Releases: sotetsuk/pgx

v2.4.2

15 Nov 09:31
3ad1677
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.4.1...v2.4.2

v2.4.1

23 Oct 09:46
744cb2b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.4.0...v2.4.1

v2.4.0

26 Sep 09:44
c5dd751
Compare
Choose a tag to compare

TL;DR

  • Superko rule change in Go (v0 -> v1)
  • Internal refactor in Chess

What's Changed

Full Changelog: v2.3.0...v2.4.0

v2.3.0

04 Sep 06:25
fbba3c4
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.0...v2.3.0

v2.2.0

27 Aug 08:23
f1a7762
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.2...v2.2.0

v2.1.2

25 Jul 06:50
3ef6ecd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.1...v2.1.2

v2.1.1

24 Jul 02:02
190e3ac
Compare
Choose a tag to compare

Upgrade KuhnPoker to v1

v2.1.0

24 Jul 01:58
7bc6f77
Compare
Choose a tag to compare

There is a breaking change in Kuhn Poker in #1171
There are several internal changes in Go, Tic-tac-toe, and ConnectFour.

What's Changed

New Contributors

Full Changelog: v2.0.1...v2.1.0

v2.0.1

08 Nov 14:24
5cb0f85
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.0.1

v2.0.0

08 Nov 06:34
Compare
Choose a tag to compare

API v2

Pgx has been updated from API v1 to v2 as of November 8, 2023 (release v2.0.0). As a result, the signature for Env.step has changed as follows:

  • v1: step(state: State, action: Array)
  • v2: step(state: State, action: Array, key: Optional[PRNGKey] = None)

Also, pgx.experimental.auto_reset are changed to specify key as the third argument.

Purpose of the update: In API v1, even in environments with stochastic state transitions, the state transitions were deterministic, determined by the _rng_key inside the state. This was intentional, with the aim of increasing reproducibility. However, when using planning algorithms in this environment, there is a risk that information about the underlying true randomness could "leak." To make it easier for users to conduct correct experiments, Env.step has been changed to explicitly specify a key.

Impact of the update: Since the key is optional, it is still possible to execute as env.step(state, action) like API v1 in deterministic environments like Go and chess, so there is no impact on these games. As of v2.0.0, only 2048, backgammon, and MinAtar suite are affected by this change.

What's Changed

New Contributors

Full Changelog: v1.4.0...v2.0.0