Dominique Merle
2f6ed8b6cc
chore: lint using google formatter 1.10 (AOSP version)
...
https://github.com/google/google-java-format/releases/
3 years ago
Dominique Merle
85e0c3e419
test: test numeric score
3 years ago
Dominique Merle
a7aa8a82b5
fix: use another assertThrow that CI knows
3 years ago
Dominique Merle
e3c51f3c01
feat: raise a proper exception on invalid tallies
...
Thanks to Paris' Lutece team for spotting this pitfall full of spikes right behind the door.
3 years ago
Dominique Merle
2947990a26
test: cover the favoring adhesion feature
...
Coverage is now above 98% !
3 years ago
Dominique Merle
d193ed0eca
feat: expose the tally analysis in the proposal result
3 years ago
Dominique Merle
5e165841df
test: enable the median default grade in the JSON assertions
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
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
ba46d3db50
fix: add the forgotten test file
...
Now the test-suite should pass again on master.
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
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