test: billions of participants, in prime numbers

pull/9/head
Dominique Merle 3 years ago
parent 12852d5467
commit 3a89019787

@ -68,7 +68,7 @@ Want to normalize the tallies ? Use a `TallyNormalized` instead of a `Tally`.
- [x] Score Calculus
- [x] Ranking
- [x] Release v0.1.0
- [ ] Guess the amount of judges
- [x] Guess the amount of judges
- [ ] Allow defining a default grade
- [x] Static Grade (configurable)
- [x] Normalization (using least common multiple)

@ -108,6 +108,25 @@
5,
1
]
},
{
"title": "Normalization with billions of Participants",
"participants": 10805010410,
"mode": "Normalized",
"tallies": [
[ 2161002082, 2161002082, 2161002082, 2161002082, 2161002082 ],
[ 1080501041, 1080501041, 1080501041, 1080501041, 1080501041 ],
[ 0, 0, 1000092263, 0, 0 ],
[ 0, 1050092837, 0, 1050092837, 0 ],
[ 980091907, 0, 0, 980091907, 980091907 ]
],
"ranks": [
3,
3,
2,
5,
1
]
}
]

Loading…
Cancel
Save