mggg / VoteKit

A Swiss Army Knife for computational social choice research
https://votekit.readthedocs.io/en/latest/
MIT License
10 stars 12 forks source link

earth_mover_dist fails in MDS plots with incomplete ballots #122

Open cdonnay opened 6 months ago

cdonnay commented 6 months ago

When using the CambridgeSampler to generate ballots, we often get incomplete ballots. Passing one of these profiles to the MDS plot functions with the earth_mover_dist raises a series of errors related to the ballot graph and its handling of incomplete ballots.