FA-12768 / Voting rule computation / Member archive
Surplus transfer uses ballot count instead of ballot value · case 03
Surplus transfer uses ballot count instead of ballot value.
Case contract
Given nonnegative integer ballot weights with positive total and quota between zero and total, return exact transferred fractions as strings; each weight transfers weight*(total-quota)/total.
Why this case matters
A deterministic toy ballot model makes the stated counting convention executable.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| unequal incoming values | ["3", "3"] | ["2", "4"] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗