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

Create a nice API #10

Open
endolith opened this issue May 30, 2022 · 0 comments
Open

Create a nice API #10

endolith opened this issue May 30, 2022 · 0 comments

Comments

@endolith
Copy link
Owner

endolith commented May 30, 2022

My plan is to create a bunch of example scripts reproducing papers in computational social choice theory, and then after getting a bunch of features implemented, figure out the best way to package them all up in a nice API. I have no clue what it would look like, though.

  • Should be able to specify a number of voters, or a set/list of numbers of voters
  • Should be able to specify a number of candidates, or a set/list of numbers of candidates
  • Should be able to specify a single voting system or a set of them
  • Should be able to support strategies
  • Should it always calculate the Cartesian product of the above sets? No, because of examples like https://github.com/endolith/elsim/blob/master/examples/merrill_1984_table_2.py
    • But it should be easy to specify that you want the Cartesian product of the input sets...
  • Parallelization should be automatic, but user should be able to override the backend to turn it off, compute it on a cluster, or whatever
  • etc.
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

No branches or pull requests

1 participant