AlphaZero.jl icon indicating copy to clipboard operation
AlphaZero.jl copied to clipboard

Deterministic benchmarking for randomized games

Open casper2002casper opened this issue 3 years ago • 0 comments

When game environments are randomized, some instances will result in larger rewards than others, resulting in noise in the benchmarks. Using enough games can average this out, but this is inefficient for games which are slow to solve. This PR adds a random generator to the init function, which can be used to construct the environment. As the seed of the RNG is using the sim_id the same environments will be generated for each iteration benchmark. Ideally, the implementation influences non-randomized games as little as possible.

casper2002casper avatar Mar 02 '22 13:03 casper2002casper