-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Art P 15 & 17 Kieswet: assign seats to candidates with preference threshold and to the rest #1110
base: main
Are you sure you want to change the base?
Conversation
… functions, structs, etc. accordingly. Added candidate_nomination.rs with structs.
…didates-with-preference-threshold-and-to-the-rest
Sigrid maintainability feedback✅ You wrote maintainable code and achieved your objective of 3.5 stars Show detailsSigrid compared your code against the baseline of 2025-03-06. 👍 What went well?
👎 What could be better?
📚 Remaining technical debt
View this system in Sigrid to explore your technical debt ⭐️ Sigrid ratings
💬 Did you find this feedback helpful?We would like to know your thoughts to make Sigrid better. |
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## main #1110 +/- ##
==========================================
- Coverage 91.99% 91.47% -0.53%
==========================================
Files 281 285 +4
Lines 17084 17450 +366
Branches 1494 1511 +17
==========================================
+ Hits 15717 15962 +245
- Misses 1265 1376 +111
- Partials 102 112 +10 ☔ View full report in Codecov by Sentry. |
…didates-with-preference-threshold-and-to-the-rest
Description
apportionment/mod.rs
code toseat_assignment.rs
and renamed all functions, structs, etc. accordingly.candidate_nomination.rs
with structs and functions for the preferential candidate nomination and other candidate nomination.number_of_seats
inElection
structallocate
toassign
Not in scope