Dominique Merle
4712348583
docs
3 years ago
Dominique Merle
5e165841df
test: enable the median default grade in the JSON assertions
3 years ago
Dominique Merle
093ae22354
refacto: dry up the static and median default grade tallies
3 years ago
Dominique Merle
f4420fe15e
refacto: dry things up in the default grade tallies
3 years ago
Dominique Merle
86d893f53f
feat: median default grade tally
3 years ago
Dominique Merle
a9eba4d90c
test: add more stress tests and find the upper limits
3 years ago
Dominique Merle
c98551f1db
test: static default grade with 60 million judges & millions of proposals
...
60 millions judges…
That'll be something!
How 'bout 12 billion?
3 years ago
Dominique Merle
0319b32887
feat: build a normalized tally from another tally (like a collected tally)
...
We also re-organized the tests and wrote some doc.
The median default grade is coming soon…
3 years ago
Dominique Merle
332614d2ea
refacto: rename TallyNormalized → NormalizedTally
3 years ago
Dominique Merle
7ae56b56cc
feat: add a CollectedTally to ease collection of judgments
3 years ago
Dominique Merle
370bb27d7f
test: with thousands of proposals
3 years ago
Dominique Merle
3a89019787
test: billions of participants, in prime numbers
3 years ago
Dominique Merle
d9da3b2ec8
docs: review, document and take a break
3 years ago
Dominique Merle
f40e301d58
feat: normalized tally using Least Common Multiple
...
We need peer-reviewed tests!
Implements #7
3 years ago
Dominique Merle
0b0fc75da5
feat: allow setting a static default grade
3 years ago
Dominique Merle
372b87f648
fix: TWO has private access in java.math.BigInteger
3 years ago
Dominique Merle
ba46d3db50
fix: add the forgotten test file
...
Now the test-suite should pass again on master.
3 years ago
Dominique Merle
13ae5615ab
refacto: Long → BigInteger
...
API BREAK
It's okay, we're still in 0.x
3 years ago
Dominique Merle
b8739d61f7
feat: allow specifying a static default grade
3 years ago
Dominique Merle
845ed67a21
test: add a test-case with 70 millions of participants
3 years ago
Dominique Merle
5ab34db580
fix: whitespace hell (we need a linter!)
...
Also, add another test-case with thousands of participants.
3 years ago
Dominique Merle
2cbb7c45d8
test: prepare for a more exhaustive test-suite, using JSON
3 years ago
Dominique Merle
a6098b9c17
fix: a ultimate, critical breaking bug, seconds before release of course
...
Ooops, that horrible bug would've been a pain to catch with testing!
3 years ago
Dominique Merle
13412263dc
docs
3 years ago
Dominique Merle
7d9b24927e
feat: implement a majority judgment deliberator
...
This should work (at least, the test-suite passes).
This is our first java library, and we're newbies,
so be kind and do patch what's gouging your eyes.
This implementation is score-based, for performance.
There are many other ways of implementing MJ.
There is no support (yet) for a default grade,
but you can do it yourself while building the tally.
Special thanks to @plguhur for the assistance,
and the whole MieuxVoter operational team.
/spend 36h
3 years ago