Expand description
Random selection out of two pools of weighted (trustless) and unweighted (permissioned) candidates controlled by a T/P ratio (D-parameter), with guaranteed seat allocations
Functionsยง
- select_
authorities - Selects committee according to D-parameter and candidates lists.
Resulting committee has size of
registered_seats + permissioned_seats
. If bothregistered_candidates
andpermissioned_candidates
are not empty then the selected committee has exactlyregistered_seats
assigned toregistered_candidates
. - weighted_
with_ guaranteed_ assignment - Pseudo-random selection with repetitions, but for any candidate that has expected number of seats as P+Q, where P is non-negative integer and Q is in [0, 1), it guarantees at least P places.