Skip to content

Commit 162ee01

Browse files
committed
Fix typos/errors caught by Owen.
1 parent f31406a commit 162ee01

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

docs/tutorials/further_topics/probabilistict_end_tournaments.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ probability::
1111
>>> tournament = axl.ProbEndTournament(players, prob_end=0.5)
1212

1313

14-
We can view the results in a similar way as for described in
14+
We can view the results in a similar way as described in
1515
:ref:`tournament-results`::
1616

1717
>>> results = tournament.play()

docs/tutorials/getting_started/tournament_results.rst

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Accessing tournament results
66
This tutorial will show you how to access the various results of a tournament:
77

88
- Wins: the number of matches won by each player
9-
- Match lengths: the number of turns of each match player by each player
9+
- Match lengths: the number of turns of each match played by each player
1010
(relevant for tournaments like probabilistic ending tournaments).
1111
- Scores: the total scores of each player.
1212
- Normalised scores: the scores normalised by matches played and turns.
@@ -211,21 +211,14 @@ We see that :code:`Cooperator` for all the rounds (as expected)::
211211
>>> results.normalised_cooperation[0]
212212
[1.0, 1.0, 1.0, 1.0]
213213

214-
215-
Cooperation rating
216-
------------------
217-
218-
This gives the cooperation rating of each player::
219-
220-
>>> results.cooperating_rating
221-
[1.0, 0.0, 0.7, 0.7]
222-
223214
Morality Metrics
224215
----------------
225216

226217
The following morality metrics are available, they are calculated as a function
227218
of the cooperation rating::
228219

220+
>>> results.cooperating_rating
221+
[1.0, 0.0, 0.7, 0.7]
229222
>>> pprint.pprint(results.vengeful_cooperation) # doctest: +SKIP
230223
[[1.0, 1.0, 1.0, 1.0],
231224
[-1.0, -1.0, -1.0, -1.0],

0 commit comments

Comments
 (0)