Dominique Merle
c5e7aa6597
feat: add the input Tally to the Results
...
This is not mandatory, but it's convenient when using this package.
7 days ago
Dominique Merle
d64725085e
test(colors): code coverage for palette generation
9 months ago
Dominique Merle
c9156cab19
docs(badge)
9 months ago
Dominique Merle
61b806f9ca
docs
2 years ago
Dominique Merle
cb99a2290d
feat: provide a color gradient generator
...
This adds a new dependency, `colorful`.
Hope it's worth it!
All our projects that use this lib need gradients as well.
We could perhaps embark our own HSL-space interpolator, but… I gotta go.
2 years ago
Dominique Merle
a5e3ef1a98
style: use camelCase for JSON
...
Sorry if you're using another convention.
I'm aligning us with OAS.
2 years ago
Dominique Merle
c5b7cffd87
feat: guess the amount of judges if not explicit
...
PollTally#GuessAmountOfJudges
2 years ago
Dominique Merle
d26831a904
docs(fix): mermaids rock harder than w3c
2 years ago
Dominique Merle
e2eee09587
docs(fix): line breaks using lists
2 years ago
Dominique Merle
b74c1101f1
docs: mention the Complete Majority Gauge
...
Score is shorter, but less explicit.
2 years ago
Dominique Merle
277c8133f5
docs: add extradiegetic comments to please `golint`
...
This should help us maintain our `A+` grade.
2 years ago
Dominique Merle
148ddcbeb1
refacto: remove **some** of the disgusting int type casting
...
The line was too long anyway, it's best to have an intermediate variable
2 years ago
Dominique Merle
eb5bef584c
docs: everything is better with some japanese pragmatism
...
It's like a kiss for your boo-boos.
2 years ago
Dominique Merle
5ab41270f3
refacto: move everything to a subdirectory, to conform with go ecosystem
2 years ago
Dominique Merle
d6211ea574
docs: the module is now published in `v0.1.1`
...
That was an adventure.
It's not finished, since we have some integer types
I'm not overly confident with, and normalization isn't there.
It works, though.
Enjoy!
2 years ago
Dominique Merle
45144cc0a3
fix: change the lib name, since we can't really change the repo name
2 years ago
Dominique Merle
36c733f501
feat: add static and median default grade strategies
...
Implements #2 and #3
2 years ago
Dominique Merle
0c764e2582
refacto: move the DeliberatorInterface around
2 years ago
Dominique Merle
ecb69f84ab
docs
2 years ago
Dominique Merle
aac3af53ca
feat: filling a proposal tally with the median grade
...
Another brick in the wall for Balancing.
2 years ago
Dominique Merle
bcaff90bb8
docs
2 years ago
Dominique Merle
d486f9c669
test: structure a test with a provider, to dry things up
2 years ago
Dominique Merle
7cacd78ac9
feat: allow filling a proposal tally with a default grade
...
Building brick for future tally balancers, can already be used as-is.
2 years ago
Dominique Merle
7b4642d832
refacto: make things more explicit at the expense of a bool
2 years ago
Dominique Merle
7dba19a7d3
feat: support `favorContestation == false` in the Analysis
...
Co-authored-by: Nyx
Co-authored-by: Adrenesis
2 years ago
Dominique Merle
a24ae31be4
refactor: ProposalAnalysis.Reset
2 years ago
Dominique Merle
63c804705d
docs: add a badge for code quality
2 years ago
Dominique Merle
c6910c6eab
test: tweak tests
2 years ago
Dominique Merle
96a30a0a03
feat: output the sorted proposals as well, for convenience
2 years ago
Dominique Merle
b994893b34
feat: noive check for overflows
2 years ago
Dominique Merle
96618ef789
feat: improve the regrading utilities
2 years ago
Dominique Merle
ef3d92bba6
refactor: use smaller ints for counting digits, and explicit the loop
...
I'm still undecided regarding the integer type situation.
2 years ago
Dominique Merle
99271d0883
fix: dynamically count the digits we're going to need for the score
...
Solves two leftover `fixme`s to clean up things.
2 years ago
Dominique Merle
e303d53565
docs: add a Lines of Code badge
2 years ago
Dominique Merle
eb95177792
chore(config): configure tokei to ignore some files in the lines count
2 years ago
Dominique Merle
153d7d2f09
test: improve the coverage
2 years ago
Dominique Merle
c1ae948767
docs: add a coverage badge
2 years ago
Dominique Merle
1146c689c3
chore(ci): add test and coverage jobs
2 years ago
Dominique Merle
69525d21b8
docs: add a release badge
2 years ago
Dominique Merle
3926ed8464
chore(ci): remove coveralls
2 years ago
Dominique Merle
3db16336ce
chore(ci): add coveralls
2 years ago
Dominique Merle
8c076bbd0f
fix(docs): perfunctory and apparently mandatory copyright notice
2 years ago
Dominique Merle
72b1188b3a
docs: move the license file so that github finds it (hopefully)
2 years ago
Dominique Merle
dbf507c5a3
fix(docs): license badge
2 years ago
Dominique Merle
1de3bfa2ff
docs: add license badge
2 years ago
Dominique Merle
57298d995b
docs: tweak buttons linefeed
2 years ago
Dominique Merle
dcd3a3922d
docs: add a badge to our discord chat
2 years ago
Dominique Merle
fa656eb2ab
docs: explain the score calculus
2 years ago
Dominique Merle
b29f6e1bd6
docs: explain how to publish
...
We'll publish once the int API is decided
and we have static and median balancing utilities
and we fixed the various fixme left over from the sprint.
2 years ago
Dominique Merle
c9eb03ade8
docs: add a build status badge
2 years ago