Navigation

    Voting Theory Forum

    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups

    Creating random ballots

    Tech development
    3
    4
    225
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • masiarek
      masiarek last edited by

      Please comment, review and update: create Random Ballots for STAR Voting: https://docs.google.com/document/d/1crQ6PPD-v3_GwsV4kvdNn1liD0Ln5M3Q9tC475w8cYs/edit#

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @masiarek last edited by

        @masiarek

        Regarding the ballot format, you could try to follow the format prescribed by https://www.preflib.org/format (so an academic website collecting elections). I think too many formats flying around is quite bad.

        Regarding the preferences generation I am not too sure. I think that it is quite hard in general go generate meaningful preferences. At least for uniform random though, I would say that it probably is not very meaningful.

        rob 2 Replies Last reply Reply Quote 0
        • rob
          rob Banned @Guest last edited by rob

          @spelunker The primary ballot format @masiarek uses is the one I have recommended. It is commonly used within forums, and is easy to parse. Even easier to parse if you just drop in the code I wrote for it... 🙂 (although it's js code not python)

          See: https://codepen.io/karmatics/pen/poLPpzW

          For example:

          134: a[5] b[4] c[2] d[1] e[0] f[0]
          64: a[5] b[4] c[3] d[1] e[0] f[0]
          94: a[3] b[5] c[4] d[1] e[0] f[0]
          70: a[2] b[2] c[5] d[2] e[0] f[0]
          63: a[0] b[0] c[0] d[3] e[4] f[5]

          It's also the format I recommended people use for signatures.

          1 Reply Last reply Reply Quote 0
          • rob
            rob Banned @Guest last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • First post
              Last post