Skip to content

Version 1.5.0

Compare
Choose a tag to compare
@julien-boudry julien-boudry released this 07 Jan 23:23
· 1377 commits to master since this release

Description

This release focuses on the management of very large elections.
It more rigorously reviews the functioning of the DataHandler, which is an advanced way to manage a very large number of votes, which is more stable, mature and tested.
It adds, as an alternative and as a complement (both can be used in consort) the notion of the weight of a vote. This may be useful for elections in which voters are not equal. Or to emulate a big election (without too many possible combinations!) if you don't need to store the details of each vote at Condorcet level.

Added

  • It is now possible to add a weight (integer >= 1) to each vote. If you enable this mode at the election level (deactivated by default) then the votes will be proportional to their weight when calculating all the algorithms. for example, if the weight is 2, then the vote will count double.
    This is an alternative and complementary to adding multiple votes. Using this mode of operation can save you (for large elections) a high cost in RAM or the configuration / development of a DataHandler, which can be complex. However, if you need to keep the information of each elector at Condorcet level, this functionality will not satisfy you, it is useful if at this level the voting information is useless or if it makes no sense.
  • Using a DataHandler to externalize vote data is now compatible with vote tags.

Internal changes

  • More mature and tested management of external DataHandler. Your custom drivers need to be updated.
  • News tests
  • Minors clean-up, changes & optimisations