Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converters: Support for exporting to Civs Format #134

Merged
merged 1 commit into from
May 19, 2023

Conversation

julien-boudry
Copy link
Owner

Copy link

@andrewcmyers andrewcmyers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very useful, but probably you need some test cases to cover CIVS weight specifications?

@julien-boudry
Copy link
Owner Author

julien-boudry commented May 23, 2023

Condorcet support quantifier. And optionally support weight if activated.

Quantifiers are always converted to multiple vote lines (we don't support the Civs quantifier).
Weight, if activated, is converted to a multiple-vote line.

You can see the quantifier test here: (l.22)

public function testSimple(): void

You can see the weight test here: (l.87)

public function testWeight(): void

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants