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
a7aa8a82b5
fix: use another assertThrow that CI knows
3 years ago
Dominique Merle
686342e7f9
feat: add custom Exceptions
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
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
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
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
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
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