From 84cb77b0208671b0f5ad6e85092e540246df58b0 Mon Sep 17 00:00:00 2001 From: endolith Date: Tue, 2 May 2023 23:57:48 -0400 Subject: [PATCH] Move examples link alongside examples, fix doctest --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 05867b1..912e5cb 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ Or the table of Effectiveness from [Weber 1977](https://elischolar.library.yale. | 10 | 50.78 | 82.94 | 95.35 | | 255 | 12.78 | 86.37 | 99.80 | +See [/examples](./examples) folder for more on what it can do, such as reproductions of previous research. + ## Goals - Fast (~25,000 elections per second on Core i7-9750H) @@ -54,10 +56,10 @@ Specify an election with three candidates (0, 1, 2), where two voters rank candi ```python >>> election = [[0, 2, 1], - [0, 2, 1], - [1, 2, 0], - [1, 2, 0], - [2, 0, 1]] +... [0, 2, 1], +... [1, 2, 0], +... [1, 2, 0], +... [2, 0, 1]] ``` Calculate the winner using Black's method: @@ -70,8 +72,6 @@ Calculate the winner using Black's method: Candidate 2 is the Condorcet winner, and wins under Black's method. -See [/examples](./examples) folder for more on what it can do, such as reproductions of previous research. - ## Submodules and chained functions Originally, the functions in submodules were meant to be chained together in a simple flow: