Skip to content

Releases: sotetsuk/pgx

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

v1.4.0

12 Sep 06:29
ee25d42
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.3...v1.4.0

v.1.3.3

11 Sep 03:09
4c899ab
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.2...v1.3.3

v1.3.2

31 Aug 06:03
c2b9fda
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.1...v1.3.2

v1.3.1

26 Aug 09:12
5b5d5a5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.0...v1.3.1

v1.3.0

21 Aug 08:55
2d01d83
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.0...v1.3.0

v1.2.0

21 Aug 04:15
3176da8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.0...v1.2.0

v1.1.0

21 Jul 03:22
557d583
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.1.0

v1.0.0

20 Jun 05:58
3f8c815
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.10.1...v1.0.0