mggg / GerryChain

Use MCMC to analyze districting plans and gerrymanders
https://mggg.github.io/GerryChain/
Other
132 stars 74 forks source link

Type annotations for core functions #377

Closed InnovativeInventor closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Merging #377 (3be017b) into main (a35f7cc) will increase coverage by 0.05%. The diff coverage is 97.82%.

:exclamation: Current head 3be017b differs from pull request most recent head b913d14. Consider uploading reports for the commit b913d14 to get more accurate results

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/mggg/GerryChain/pull/377/graphs/tree.svg?width=650&height=150&src=pr&token=mDQkxqhlnr&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mggg)](https://codecov.io/gh/mggg/GerryChain/pull/377?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mggg) ```diff @@ Coverage Diff @@ ## main #377 +/- ## ========================================== + Coverage 89.00% 89.06% +0.05% ========================================== Files 39 39 Lines 1774 1783 +9 ========================================== + Hits 1579 1588 +9 Misses 195 195 ``` | [Impacted Files](https://codecov.io/gh/mggg/GerryChain/pull/377?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mggg) | Coverage Δ | | |---|---|---| | [gerrychain/tree.py](https://codecov.io/gh/mggg/GerryChain/pull/377?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mggg#diff-Z2VycnljaGFpbi90cmVlLnB5) | `82.55% <91.66%> (+0.06%)` | :arrow_up: | | [gerrychain/accept.py](https://codecov.io/gh/mggg/GerryChain/pull/377?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mggg#diff-Z2VycnljaGFpbi9hY2NlcHQucHk=) | `55.55% <100.00%> (+5.55%)` | :arrow_up: | | [gerrychain/chain.py](https://codecov.io/gh/mggg/GerryChain/pull/377?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mggg#diff-Z2VycnljaGFpbi9jaGFpbi5weQ==) | `88.37% <100.00%> (+0.87%)` | :arrow_up: | | [gerrychain/graph/graph.py](https://codecov.io/gh/mggg/GerryChain/pull/377?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mggg#diff-Z2VycnljaGFpbi9ncmFwaC9ncmFwaC5weQ==) | `91.17% <100.00%> (+0.05%)` | :arrow_up: | | [gerrychain/grid.py](https://codecov.io/gh/mggg/GerryChain/pull/377?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mggg#diff-Z2VycnljaGFpbi9ncmlkLnB5) | `74.11% <100.00%> (+0.30%)` | :arrow_up: | | [gerrychain/metagraph.py](https://codecov.io/gh/mggg/GerryChain/pull/377?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mggg#diff-Z2VycnljaGFpbi9tZXRhZ3JhcGgucHk=) | `95.00% <100.00%> (+0.55%)` | :arrow_up: | ------ [Continue to review full report at Codecov](https://codecov.io/gh/mggg/GerryChain/pull/377?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mggg). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mggg) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/mggg/GerryChain/pull/377?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mggg). Last update [a35f7cc...b913d14](https://codecov.io/gh/mggg/GerryChain/pull/377?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mggg). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mggg).