endolith / elsim

Election Simulator 3000: Simulates a variety of elections and voting methods
https://endolith.github.io/elsim
MIT License
7 stars 4 forks source link

Sourcery refactored master branch #21

Closed sourcery-ai[bot] closed 1 year ago

sourcery-ai[bot] commented 1 year ago

Branch master refactored by Sourcery.

If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.

See our documentation here.

Run Sourcery locally

Reduce the feedback loop during development by using the Sourcery editor plugin:

Review changes via command line

To manually merge these changes, make sure you're on the master branch, then run:

git fetch origin sourcery/master
git merge --ff-only FETCH_HEAD
git reset HEAD^

Help us improve this pull request!

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.09 :warning:

Comparison is base (f3a01d6) 97.53% compared to head (1808116) 97.45%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #21 +/- ## ========================================== - Coverage 97.53% 97.45% -0.09% ========================================== Files 18 18 Lines 487 471 -16 ========================================== - Hits 475 459 -16 Misses 12 12 ``` | [Impacted Files](https://codecov.io/gh/endolith/elsim/pull/21?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [elsim/elections/elections.py](https://codecov.io/gh/endolith/elsim/pull/21?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZWxzaW0vZWxlY3Rpb25zL2VsZWN0aW9ucy5weQ==) | `100.00% <100.00%> (ø)` | | | [elsim/methods/\_common.py](https://codecov.io/gh/endolith/elsim/pull/21?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZWxzaW0vbWV0aG9kcy9fY29tbW9uLnB5) | `84.61% <100.00%> (-1.10%)` | :arrow_down: | | [elsim/methods/condorcet.py](https://codecov.io/gh/endolith/elsim/pull/21?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZWxzaW0vbWV0aG9kcy9jb25kb3JjZXQucHk=) | `100.00% <100.00%> (ø)` | | | [elsim/methods/coombs.py](https://codecov.io/gh/endolith/elsim/pull/21?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZWxzaW0vbWV0aG9kcy9jb29tYnMucHk=) | `100.00% <100.00%> (ø)` | | | [elsim/methods/fptp.py](https://codecov.io/gh/endolith/elsim/pull/21?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZWxzaW0vbWV0aG9kcy9mcHRwLnB5) | `100.00% <100.00%> (ø)` | | | [elsim/methods/irv.py](https://codecov.io/gh/endolith/elsim/pull/21?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZWxzaW0vbWV0aG9kcy9pcnYucHk=) | `100.00% <100.00%> (ø)` | | | [elsim/methods/star.py](https://codecov.io/gh/endolith/elsim/pull/21?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZWxzaW0vbWV0aG9kcy9zdGFyLnB5) | `94.11% <100.00%> (-0.41%)` | :arrow_down: | | [elsim/strategies/strategies.py](https://codecov.io/gh/endolith/elsim/pull/21?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-ZWxzaW0vc3RyYXRlZ2llcy9zdHJhdGVnaWVzLnB5) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.