Ticket #78 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

Make update of random seed between multiple games more predictable.

Reported by: gunnar Owned by: arend
Priority: normal Milestone: 3.7.9
Component: source Version:
Severity: normal Keywords:
Cc: patch: yes

Description

Assume that you have a huge dump of GTP commands comprising several games, e.g. from a KGS robot. Even if you know the initial random seed, there's no quick and simple way to determine the random seed used in some game after the first. In particular it makes a difference whether the previous game ended while the fullboard fuseki database still was active.

It would be much better if the new random seed could be deduced solely from the previous random seed. Also a GTP command to advance the random seed corresponding to a given number of games would be useful.

Attachments

arend_7_9.19.diff Download (3.2 KB) - added by arend 6 years ago.
make update_random_seed() deterministic; new GTP command advance_random_seed <games>

Regression Results

Attachment Rev. PASS FAIL Nodes Status
arend_7_9.19.diff Download never tested

Change History

Changed 6 years ago by arend

make update_random_seed() deterministic; new GTP command advance_random_seed <games>

comment:1 Changed 6 years ago by arend

  • Owner changed from gnugo to arend
  • patch set

This all sounds like the attached quick patch.

comment:2 Changed 6 years ago by gunnar

Looks good. It shouldn't need to be any more complicated than this.

comment:3 Changed 6 years ago by arend

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.