policyengine 3.1.9__tar.gz → 3.1.11__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.9 → policyengine-3.1.11}/CHANGELOG.md +14 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/PKG-INFO +1 -1
- {policyengine-3.1.9 → policyengine-3.1.11}/changelog.yaml +10 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/pyproject.toml +1 -1
- policyengine-3.1.11/src/policyengine/__pycache__/__init__.cpython-313.pyc +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/core/simulation.py +2 -1
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine.egg-info/PKG-INFO +1 -1
- policyengine-3.1.9/src/policyengine/__pycache__/__init__.cpython-313.pyc +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/.claude/policyengine-guide.md +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/.claude/quick-reference.md +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/.github/CONTRIBUTING.md +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/.github/changelog_template.md +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/.github/fetch_version.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/.github/get-changelog-diff.sh +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/.github/has-functional-changes.sh +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/.github/is-version-number-acceptable.sh +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/.github/publish-git-tag.sh +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/.github/workflows/code_changes.yaml +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/.github/workflows/docs.yml +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/.github/workflows/pr_code_changes.yaml +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/.github/workflows/pr_docs_changes.yaml +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/.github/workflows/versioning.yaml +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/.gitignore +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/CLAUDE.md +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/LICENSE +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/Makefile +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/README.md +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/changelog_entry.yaml +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/docs/.gitignore +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/docs/core-concepts.md +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/docs/country-models-uk.md +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/docs/country-models-us.md +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/docs/dev.md +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/docs/index.md +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/docs/myst.yml +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/docs/visualisation.md +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/examples/employment_income_variation_uk.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/examples/employment_income_variation_us.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/examples/income_bands_uk.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/examples/income_distribution_us.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/examples/policy_change_uk.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/examples/speedtest_us_simulation.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/setup.cfg +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/__init__.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/core/__init__.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/core/cache.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/core/dataset.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/core/dataset_version.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/core/dynamic.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/core/output.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/core/parameter.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/core/parameter_value.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/core/policy.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/core/tax_benefit_model.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/core/tax_benefit_model_version.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/core/variable.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/outputs/__init__.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/outputs/aggregate.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/outputs/change_aggregate.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/outputs/decile_impact.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/uk/__init__.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/uk/analysis.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/uk/datasets.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/uk/model.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/uk/outputs.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/uk.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/us/__init__.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/us/analysis.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/us/datasets.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/us/model.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/us/outputs.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/us.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/utils/__init__.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/utils/dates.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/utils/parametric_reforms.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/utils/plotting.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine.egg-info/SOURCES.txt +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine.egg-info/dependency_links.txt +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine.egg-info/requires.txt +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine.egg-info/top_level.txt +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/tests/test_aggregate.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/tests/test_cache.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/tests/test_change_aggregate.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/tests/test_entity_mapping.py +0 -0
- {policyengine-3.1.9 → policyengine-3.1.11}/uv.lock +0 -0
|
@@ -5,6 +5,18 @@ 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.11] - 2025-12-02 14:03:39
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Caching didn't save time!
|
|
13
|
+
|
|
14
|
+
## [3.1.10] - 2025-12-02 13:02:37
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- Caching failure.
|
|
19
|
+
|
|
8
20
|
## [3.1.9] - 2025-12-02 12:48:37
|
|
9
21
|
|
|
10
22
|
### Fixed
|
|
@@ -251,6 +263,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
251
263
|
|
|
252
264
|
|
|
253
265
|
|
|
266
|
+
[3.1.11]: https://github.com/PolicyEngine/policyengine.py/compare/3.1.10...3.1.11
|
|
267
|
+
[3.1.10]: https://github.com/PolicyEngine/policyengine.py/compare/3.1.9...3.1.10
|
|
254
268
|
[3.1.9]: https://github.com/PolicyEngine/policyengine.py/compare/3.1.8...3.1.9
|
|
255
269
|
[3.1.8]: https://github.com/PolicyEngine/policyengine.py/compare/3.1.7...3.1.8
|
|
256
270
|
[3.1.7]: https://github.com/PolicyEngine/policyengine.py/compare/3.1.6...3.1.7
|
|
@@ -205,3 +205,13 @@
|
|
|
205
205
|
fixed:
|
|
206
206
|
- Added caching of saved simulations
|
|
207
207
|
date: 2025-12-02 12:48:37
|
|
208
|
+
- bump: patch
|
|
209
|
+
changes:
|
|
210
|
+
fixed:
|
|
211
|
+
- Caching failure.
|
|
212
|
+
date: 2025-12-02 13:02:37
|
|
213
|
+
- bump: patch
|
|
214
|
+
changes:
|
|
215
|
+
fixed:
|
|
216
|
+
- Caching didn't save time!
|
|
217
|
+
date: 2025-12-02 14:03:39
|
|
@@ -30,7 +30,8 @@ class Simulation(BaseModel):
|
|
|
30
30
|
def ensure(self):
|
|
31
31
|
cached_result = _cache.get(self.id)
|
|
32
32
|
if cached_result:
|
|
33
|
-
|
|
33
|
+
self.output_dataset = cached_result.output_dataset
|
|
34
|
+
return
|
|
34
35
|
try:
|
|
35
36
|
self.tax_benefit_model_version.load(self)
|
|
36
37
|
except Exception:
|
|
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
|
{policyengine-3.1.9 → policyengine-3.1.11}/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.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/uk/__init__.py
RENAMED
|
File without changes
|
{policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/uk/analysis.py
RENAMED
|
File without changes
|
{policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/uk/datasets.py
RENAMED
|
File without changes
|
|
File without changes
|
{policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/uk/outputs.py
RENAMED
|
File without changes
|
|
File without changes
|
{policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/us/__init__.py
RENAMED
|
File without changes
|
{policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/us/analysis.py
RENAMED
|
File without changes
|
{policyengine-3.1.9 → policyengine-3.1.11}/src/policyengine/tax_benefit_models/us/datasets.py
RENAMED
|
File without changes
|
|
File without changes
|
{policyengine-3.1.9 → policyengine-3.1.11}/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
|