This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
make the thresholds between unsorted bags adjustable #9230
Merged
coriolinus
merged 18 commits into
prgn-nominator-unsorted-bags
from
prgn-unsorted-bags-adjustable-thresholds
Jul 5, 2021
Merged
make the thresholds between unsorted bags adjustable #9230
coriolinus
merged 18 commits into
prgn-nominator-unsorted-bags
from
prgn-unsorted-bags-adjustable-thresholds
Jul 5, 2021
Commits on Jun 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 44bb252 - Browse repository at this point
Copy the full SHA 44bb252View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c19f9f - Browse repository at this point
Copy the full SHA 7c19f9fView commit details
Commits on Jun 30, 2021
-
Merge branch 'prgn-nominator-unsorted-bags' into prgn-unsorted-bags-a…
…djustable-thresholds
Configuration menu - View commit details
-
Copy full SHA for b0726c4 - Browse repository at this point
Copy the full SHA b0726c4View commit details -
This reorganizes bag storage such that bags are always referred to by their upper threshold. This in turn means that adding and removing bags is cheaper; you only need to migrate certain voters, not all of them.
Configuration menu - View commit details
-
Copy full SHA for 863519f - Browse repository at this point
Copy the full SHA 863519fView commit details
Commits on Jul 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for dfb393b - Browse repository at this point
Copy the full SHA dfb393bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a894ed - Browse repository at this point
Copy the full SHA 0a894edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c1f915 - Browse repository at this point
Copy the full SHA 4c1f915View commit details
Commits on Jul 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for cb59867 - Browse repository at this point
Copy the full SHA cb59867View commit details -
start rethinking the process of producing threshold lists
The macro approach seems to be a non-starter; that only really works if we're throwing around numeric literals everywhere, and that's just not nice in this case. Instead, let's write helper functions and make it really easy to generate the tables in separate, permanent files, which humans can then edit.
Configuration menu - View commit details
-
Copy full SHA for bc4b070 - Browse repository at this point
Copy the full SHA bc4b070View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d213b8 - Browse repository at this point
Copy the full SHA 0d213b8View commit details -
WIP: demo generating voter bags for a realistic runtime
This isn't yet done, becuase it seems to take a Very Long Time to run, and it really shouldn't. Need to look into that. Still, it's a lot closer than it was this morning.
Configuration menu - View commit details
-
Copy full SHA for 425ce7b - Browse repository at this point
Copy the full SHA 425ce7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8f4514 - Browse repository at this point
Copy the full SHA e8f4514View commit details
Commits on Jul 5, 2021
-
Turns out that when you're working in exponential space, you need to divide, not subtract, in order to keep the math working properly. Also neaten up the output a little bit to make it easier to read.
Configuration menu - View commit details
-
Copy full SHA for f034ed6 - Browse repository at this point
Copy the full SHA f034ed6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 663442a - Browse repository at this point
Copy the full SHA 663442aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e635a7 - Browse repository at this point
Copy the full SHA 9e635a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 791d9e3 - Browse repository at this point
Copy the full SHA 791d9e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a8fbeb - Browse repository at this point
Copy the full SHA 6a8fbebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89db32e - Browse repository at this point
Copy the full SHA 89db32eView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.