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

Improve constrained generators of votes #4366

Open
Soupstraw opened this issue May 28, 2024 · 1 comment
Open

Improve constrained generators of votes #4366

Soupstraw opened this issue May 28, 2024 · 1 comment

Comments

@Soupstraw
Copy link
Contributor

Soupstraw commented May 28, 2024

The constrained generator for votes in the GovActionState in the RATIFY rule generates mostly invalid votes. The generators need to be biased more strongly towards generating valid votes.

The problem seems to be that the credentials that are voting are not actually active (e.g. CC votes come from non-CC-members, SPO votes come from pools that are not registered). In order to fix this, the generators should be picking the voter credentials from the corresponding maps of registered voters. It should also sometimes pick completely random credentials like it does now so we can test that our implementation conforms with invalid voters.

@teodanciu
Copy link
Contributor

This is part of the conformance tests for RATIFY: #4434

@teodanciu teodanciu removed their assignment Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

2 participants