A Ruby implementation of the equalshares.net compute tool. Parses pabulib (.pb) files and computes winning projects using the Method of Equal Shares (with tie-breaking, Add1/utilitarian completion and a comparison step), plus Phragmén's sequential rule, greedy utilitarian welfare and maximin support. Supports approval, cardinal (scoring/cumulative) and ordinal ballots, several satisfaction measures, and both exact (Rational) and floating-point arithmetic. Cross-checked against pabutools.
Required Ruby Version
>= 3.2.0
Authors
takahashim
Versions
- 0.1.0 July 14, 2026 (27.5 KB)