referrerpolicy=no-referrer-when-downgrade

Module pjr

Source
Expand description

Implements functions and interfaces to check solutions for being t-PJR.

PJR stands for proportional justified representation. PJR is an absolute measure to make sure an NPoS solution adheres to a minimum standard.

See pjr_check which is the main entry point of the module.

Functions§

pjr_check
Check a solution to be PJR.
pjr_check_core
The internal implementation of the PJR check after having the data converted.
standard_threshold
Compute the threshold corresponding to the standard PJR property
t_pjr_check
Check a solution to be t-PJR.
validate_pjr_challenge
Validate a challenge to an election result.
validate_t_pjr_challenge
Validate a challenge to an election result.