Closed jgibson517 closed 9 months ago
@cdonnay I added a post_init function that does the conversion from non-Fraction types to Fractions, and plays a little nicer with the pydantic datatclass. Also added a changelog.md, I migrated the github release notes to this file to get us started, but we can get in a better practice of documenting changes going forward!
fixing some lingering bugs in the STV class:
Ballot objects are now immutable:
get_profile()
method in PreferenceProfile now returns a sliced copy of ballots, so that election classes no longer modify the PreferenceProfile in place