Skip to content

Commit 23b1d50

Browse files
committed
Find seed for original doctest
1 parent c37fd74 commit 23b1d50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/overview_of_strategies.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,13 +428,13 @@ The following code reproduces the above::
428428
... axl.WinStayLoseShift(),
429429
... ]
430430
>>> turns = 1000
431-
>>> tournament = axl.Tournament(players, turns=turns, repetitions=1, seed=1)
431+
>>> tournament = axl.Tournament(players, turns=turns, repetitions=1, seed=75)
432432
>>> results = tournament.play(progress_bar=False)
433433
>>> for average_score_per_turn in results.payoff_matrix[-2]:
434434
... print(round(average_score_per_turn * turns, 1))
435435
3000.0
436436
915.0
437-
2756.0
437+
2763.0
438438
3000.0
439439
3000.0
440440
2219.0

0 commit comments

Comments
 (0)