policyengine 3.1.11__tar.gz → 3.1.12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {policyengine-3.1.11 → policyengine-3.1.12}/CHANGELOG.md +7 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/PKG-INFO +1 -1
- {policyengine-3.1.11 → policyengine-3.1.12}/changelog.yaml +5 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/pyproject.toml +1 -1
- policyengine-3.1.12/src/policyengine/__pycache__/__init__.cpython-313.pyc +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/uk/datasets.py +2 -2
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/us/datasets.py +1 -1
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine.egg-info/PKG-INFO +1 -1
- policyengine-3.1.11/src/policyengine/__pycache__/__init__.cpython-313.pyc +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/.claude/policyengine-guide.md +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/.claude/quick-reference.md +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/.github/CONTRIBUTING.md +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/.github/changelog_template.md +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/.github/fetch_version.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/.github/get-changelog-diff.sh +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/.github/has-functional-changes.sh +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/.github/is-version-number-acceptable.sh +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/.github/publish-git-tag.sh +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/.github/workflows/code_changes.yaml +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/.github/workflows/docs.yml +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/.github/workflows/pr_code_changes.yaml +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/.github/workflows/pr_docs_changes.yaml +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/.github/workflows/versioning.yaml +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/.gitignore +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/CLAUDE.md +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/LICENSE +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/Makefile +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/README.md +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/changelog_entry.yaml +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/docs/.gitignore +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/docs/core-concepts.md +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/docs/country-models-uk.md +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/docs/country-models-us.md +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/docs/dev.md +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/docs/index.md +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/docs/myst.yml +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/docs/visualisation.md +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/examples/employment_income_variation_uk.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/examples/employment_income_variation_us.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/examples/income_bands_uk.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/examples/income_distribution_us.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/examples/policy_change_uk.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/examples/speedtest_us_simulation.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/setup.cfg +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/__init__.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/core/__init__.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/core/cache.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/core/dataset.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/core/dataset_version.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/core/dynamic.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/core/output.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/core/parameter.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/core/parameter_value.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/core/policy.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/core/simulation.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/core/tax_benefit_model.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/core/tax_benefit_model_version.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/core/variable.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/outputs/__init__.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/outputs/aggregate.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/outputs/change_aggregate.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/outputs/decile_impact.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/uk/__init__.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/uk/analysis.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/uk/model.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/uk/outputs.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/uk.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/us/__init__.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/us/analysis.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/us/model.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/us/outputs.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/us.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/utils/__init__.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/utils/dates.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/utils/parametric_reforms.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/utils/plotting.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine.egg-info/SOURCES.txt +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine.egg-info/dependency_links.txt +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine.egg-info/requires.txt +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine.egg-info/top_level.txt +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/tests/test_aggregate.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/tests/test_cache.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/tests/test_change_aggregate.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/tests/test_entity_mapping.py +0 -0
- {policyengine-3.1.11 → policyengine-3.1.12}/uv.lock +0 -0
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.1.12] - 2025-12-10 14:43:52
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Bug where all datasets would be the last year.
|
|
13
|
+
|
|
8
14
|
## [3.1.11] - 2025-12-02 14:03:39
|
|
9
15
|
|
|
10
16
|
### Fixed
|
|
@@ -263,6 +269,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
263
269
|
|
|
264
270
|
|
|
265
271
|
|
|
272
|
+
[3.1.12]: https://github.com/PolicyEngine/policyengine.py/compare/3.1.11...3.1.12
|
|
266
273
|
[3.1.11]: https://github.com/PolicyEngine/policyengine.py/compare/3.1.10...3.1.11
|
|
267
274
|
[3.1.10]: https://github.com/PolicyEngine/policyengine.py/compare/3.1.9...3.1.10
|
|
268
275
|
[3.1.9]: https://github.com/PolicyEngine/policyengine.py/compare/3.1.8...3.1.9
|
{policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/uk/datasets.py
RENAMED
|
@@ -164,7 +164,7 @@ def create_datasets(
|
|
|
164
164
|
name=f"{dataset}-year-{year}",
|
|
165
165
|
description=f"UK Dataset for year {year} based on {dataset}",
|
|
166
166
|
filepath=f"{data_folder}/{Path(dataset).stem}_year_{year}.h5",
|
|
167
|
-
year=year,
|
|
167
|
+
year=int(year),
|
|
168
168
|
data=UKYearData(
|
|
169
169
|
person=MicroDataFrame(person_df, weights="person_weight"),
|
|
170
170
|
benunit=MicroDataFrame(
|
|
@@ -199,7 +199,7 @@ def load_datasets(
|
|
|
199
199
|
name=f"{dataset}-year-{year}",
|
|
200
200
|
description=f"UK Dataset for year {year} based on {dataset}",
|
|
201
201
|
filepath=filepath,
|
|
202
|
-
year=year,
|
|
202
|
+
year=int(year),
|
|
203
203
|
)
|
|
204
204
|
uk_dataset.load()
|
|
205
205
|
|
{policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/us/datasets.py
RENAMED
|
@@ -269,7 +269,7 @@ def create_datasets(
|
|
|
269
269
|
name=f"{dataset}-year-{year}",
|
|
270
270
|
description=f"US Dataset for year {year} based on {dataset}",
|
|
271
271
|
filepath=f"{data_folder}/{Path(dataset).stem}_year_{year}.h5",
|
|
272
|
-
year=year,
|
|
272
|
+
year=int(year),
|
|
273
273
|
data=USYearData(
|
|
274
274
|
person=MicroDataFrame(person_df, weights="person_weight"),
|
|
275
275
|
household=MicroDataFrame(
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/core/tax_benefit_model_version.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/uk/__init__.py
RENAMED
|
File without changes
|
{policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/uk/analysis.py
RENAMED
|
File without changes
|
|
File without changes
|
{policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/uk/outputs.py
RENAMED
|
File without changes
|
|
File without changes
|
{policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/us/__init__.py
RENAMED
|
File without changes
|
{policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/us/analysis.py
RENAMED
|
File without changes
|
|
File without changes
|
{policyengine-3.1.11 → policyengine-3.1.12}/src/policyengine/tax_benefit_models/us/outputs.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|