martinlackner / abcvoting

Python implementations of approval-based committee (multi-winner) voting rules
https://abcvoting.readthedocs.io/
MIT License
32 stars 16 forks source link

Improve preferences #30

Closed lumbric closed 3 years ago

lumbric commented 3 years ago

A bit more of cleanup in the preferences module. Continues the renaming of names to cand_names. Even if we decide to change this name again, it should be easier to continue from this step (even back to names).

codecov-io commented 3 years ago

Codecov Report

Merging #30 (2a65546) into master (0b8131e) will decrease coverage by 0.13%. The diff coverage is 82.53%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
- Coverage   85.39%   85.26%   -0.14%     
==========================================
  Files          38       38              
  Lines        2636     2612      -24     
==========================================
- Hits         2251     2227      -24     
  Misses        385      385              
Impacted Files Coverage Δ
survey/propositionA2.py 0.00% <0.00%> (ø)
survey/propositionA3.py 0.00% <0.00%> (ø)
abcvoting/abcrules.py 97.04% <92.30%> (ø)
abcvoting/fileio.py 89.71% <100.00%> (ø)
abcvoting/misc.py 89.47% <100.00%> (ø)
abcvoting/preferences.py 95.45% <100.00%> (ø)
survey/example01.py 81.25% <100.00%> (ø)
survey/example05.py 100.00% <100.00%> (ø)
survey/example11.py 100.00% <100.00%> (ø)
survey/example12.py 100.00% <100.00%> (ø)
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0b8131e...2a65546. Read the comment docs.