policyengine 3.1.6__tar.gz → 3.1.7__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.6 → policyengine-3.1.7}/CHANGELOG.md +7 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/PKG-INFO +1 -1
- {policyengine-3.1.6 → policyengine-3.1.7}/changelog.yaml +5 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/pyproject.toml +1 -1
- policyengine-3.1.7/src/policyengine/__pycache__/__init__.cpython-313.pyc +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/core/parameter.py +4 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/core/parameter_value.py +4 -2
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine.egg-info/PKG-INFO +1 -1
- policyengine-3.1.6/src/policyengine/__pycache__/__init__.cpython-313.pyc +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/.claude/policyengine-guide.md +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/.claude/quick-reference.md +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/.github/CONTRIBUTING.md +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/.github/changelog_template.md +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/.github/fetch_version.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/.github/get-changelog-diff.sh +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/.github/has-functional-changes.sh +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/.github/is-version-number-acceptable.sh +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/.github/publish-git-tag.sh +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/.github/workflows/code_changes.yaml +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/.github/workflows/docs.yml +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/.github/workflows/pr_code_changes.yaml +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/.github/workflows/pr_docs_changes.yaml +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/.github/workflows/versioning.yaml +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/.gitignore +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/CLAUDE.md +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/LICENSE +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/Makefile +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/README.md +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/changelog_entry.yaml +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/docs/.gitignore +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/docs/core-concepts.md +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/docs/country-models-uk.md +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/docs/country-models-us.md +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/docs/dev.md +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/docs/index.md +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/docs/myst.yml +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/docs/visualisation.md +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/examples/employment_income_variation_uk.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/examples/employment_income_variation_us.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/examples/income_bands_uk.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/examples/income_distribution_us.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/examples/policy_change_uk.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/examples/speedtest_us_simulation.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/setup.cfg +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/__init__.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/core/__init__.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/core/dataset.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/core/dataset_version.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/core/dynamic.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/core/output.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/core/policy.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/core/simulation.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/core/tax_benefit_model.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/core/tax_benefit_model_version.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/core/variable.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/outputs/__init__.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/outputs/aggregate.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/outputs/change_aggregate.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/outputs/decile_impact.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/uk/__init__.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/uk/analysis.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/uk/datasets.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/uk/model.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/uk/outputs.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/uk.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/us/__init__.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/us/analysis.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/us/datasets.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/us/model.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/us/outputs.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/us.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/utils/__init__.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/utils/dates.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/utils/parametric_reforms.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/utils/plotting.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine.egg-info/SOURCES.txt +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine.egg-info/dependency_links.txt +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine.egg-info/requires.txt +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine.egg-info/top_level.txt +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/tests/test_aggregate.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/tests/test_change_aggregate.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/tests/test_entity_mapping.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/tests/test_get_parameter_variable.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/tests/test_uk_dataset.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/tests/test_us_datasets.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/tests/test_us_entity_mapping.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/tests/test_us_simulation.py +0 -0
- {policyengine-3.1.6 → policyengine-3.1.7}/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.7] - 2025-11-24 16:34:53
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Build error
|
|
13
|
+
|
|
8
14
|
## [3.1.6] - 2025-11-24 16:23:57
|
|
9
15
|
|
|
10
16
|
### Fixed
|
|
@@ -233,6 +239,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
233
239
|
|
|
234
240
|
|
|
235
241
|
|
|
242
|
+
[3.1.7]: https://github.com/PolicyEngine/policyengine.py/compare/3.1.6...3.1.7
|
|
236
243
|
[3.1.6]: https://github.com/PolicyEngine/policyengine.py/compare/3.1.5...3.1.6
|
|
237
244
|
[3.1.5]: https://github.com/PolicyEngine/policyengine.py/compare/3.1.4...3.1.5
|
|
238
245
|
[3.1.4]: https://github.com/PolicyEngine/policyengine.py/compare/3.1.3...3.1.4
|
|
Binary file
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from typing import TYPE_CHECKING
|
|
1
2
|
from uuid import uuid4
|
|
2
3
|
|
|
3
4
|
from pydantic import BaseModel, Field
|
|
@@ -5,6 +6,9 @@ from pydantic import BaseModel, Field
|
|
|
5
6
|
from .parameter_value import ParameterValue
|
|
6
7
|
from .tax_benefit_model_version import TaxBenefitModelVersion
|
|
7
8
|
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
from .parameter_value import ParameterValue
|
|
11
|
+
|
|
8
12
|
|
|
9
13
|
class Parameter(BaseModel):
|
|
10
14
|
id: str = Field(default_factory=lambda: str(uuid4()))
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
from datetime import datetime
|
|
2
|
+
from typing import TYPE_CHECKING
|
|
2
3
|
from uuid import uuid4
|
|
3
4
|
|
|
4
5
|
from pydantic import BaseModel, Field
|
|
5
6
|
|
|
6
|
-
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .parameter import Parameter
|
|
7
9
|
|
|
8
10
|
|
|
9
11
|
class ParameterValue(BaseModel):
|
|
10
12
|
id: str = Field(default_factory=lambda: str(uuid4()))
|
|
11
|
-
parameter: Parameter | None = None
|
|
13
|
+
parameter: "Parameter | None" = None
|
|
12
14
|
value: float | int | str | bool | list | None = None
|
|
13
15
|
start_date: datetime
|
|
14
16
|
end_date: datetime | None = None
|
|
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
|
{policyengine-3.1.6 → policyengine-3.1.7}/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.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/uk/__init__.py
RENAMED
|
File without changes
|
{policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/uk/analysis.py
RENAMED
|
File without changes
|
{policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/uk/datasets.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/us/__init__.py
RENAMED
|
File without changes
|
{policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/us/analysis.py
RENAMED
|
File without changes
|
{policyengine-3.1.6 → policyengine-3.1.7}/src/policyengine/tax_benefit_models/us/datasets.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|