
implementation("fr.mieuxvoter:kmj:0.4.0")A Kotlin Multiplatform library to efficiently rank candidates using Majority Judgment. Majority Judgment is an elegant voting system used in french wine contests, among other things. Its resolution does not require a computer, but it's still handy to be able to do it digitally. This library supports arbitrarily large amounts of voters — and millions of candidates. In addition to ranking, it also provides an extensive analysis of the merit profiles, including a scalar majority merit value that can be useful in a number of ways. For impeccable accuracy and reliability, this library does not use floating-point numbers. It also provides three utilities to balance your tallies, including a Least-Common-Multiple-based normalization.