image from https://gov.gitcoin.co/t/how-soulbound-tokens-can-make-gitcoin-grants-more-pluralistic/10077 and edit by tkgshn
prot as sample
[0, 1, 2, 7, 8, 12, 13, 14, 15, 21, 22, 23], [2, 3, 6, 7, 8, 9, 14, 15, 16], [4, 5, 6, 8, 0, 10, 11, 15, 16, 17, 18, 19, 20, 24, 26, 27], [21, 28], [13, 14, 15, 16, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32], [32, 33], [18, 27]
0~33(34person)
test(there're 34 elements)
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3]
if almost donater from opensouce
-
define :
[0, 0, 0, 0, 10, 10, 0, 0, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 10, 0, 10, 0, 0, 0, 0, 0, 0, 0]
$ python pluralqf.py cocm "[0, 1, 2, 7, 8, 12, 13, 14, 15, 21, 22, 23], [2, 3, 6, 7, 8, 9, 14, 15, 16], [4, 5, 6, 8, 0, 10, 11, 15, 16, 17, 18, 19, 20, 24, 26, 27], [21, 28], [13, 14, 15, 16, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32], [32, 33], [18, 27]" "[0, 0, 0, 0, 10, 10, 0, 0, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 10, 0, 10, 0, 0, 0, 0, 0, 0, 0]"
154.98788081567255
if donater are Plurality(among bunch of communuty)
-
define:
[10, 10, 0, 0, 10, 10, 0, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 0, 0, 0, 0, 0, 10, 0, 10, 0, 0, 0, 0, 0, 0, 10]
python pluralqf.py cocm "[0, 1, 2, 7, 8, 12, 13, 14, 15, 21, 22, 23], [2, 3, 6, 7, 8, 9, 14, 15, 16], [4, 5, 6, 8, 0, 10, 11, 15, 16, 17, 18, 19, 20, 24, 26, 27], [21, 28], [13, 14, 15, 16, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32], [32, 33], [18, 27]" "[10, 10, 0, 0, 10, 10, 0, 10, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 0, 0, 0, 0, 0, 10, 0, 10, 0, 0, 0, 0, 0, 0, 10]"
259.6129109956113
result: Plurality makes more contribute. at least in "connection oriented cluster match"(cocm)