PolicyEngine / policyengine-core

Core microsimulation engine for PolicyEngine models. Forked from OpenFisca-Core.
https://policyengine.github.io/policyengine-core
GNU Affero General Public License v3.0
14 stars 20 forks source link

Add `Simulation.subsample` #279

Closed nikhilwoodruff closed 1 month ago

nikhilwoodruff commented 1 month ago

Fixes #278

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 8.57143% with 32 lines in your changes missing coverage. Please review.

Project coverage is 79.51%. Comparing base (cf53c6d) to head (8bfcd1a).

Files with missing lines Patch % Lines
policyengine_core/simulations/simulation.py 8.57% 31 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #279 +/- ## ========================================== - Coverage 79.73% 79.51% -0.23% ========================================== Files 192 192 Lines 10057 10088 +31 Branches 1311 1317 +6 ========================================== + Hits 8019 8021 +2 - Misses 1753 1781 +28 - Partials 285 286 +1 ``` | [Flag](https://app.codecov.io/gh/PolicyEngine/policyengine-core/pull/279/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PolicyEngine) | Coverage Δ | | |---|---|---| | [](https://app.codecov.io/gh/PolicyEngine/policyengine-core/pull/279/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PolicyEngine) | `79.51% <8.57%> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PolicyEngine#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

nikhilwoodruff commented 1 month ago

The Windows failure is a documentation failure which isn't critical, so merging.