policyengine-uk 2.48.0__py3-none-any.whl → 2.49.0__py3-none-any.whl
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.
Potentially problematic release.
This version of policyengine-uk might be problematic. Click here for more details.
- policyengine_uk/simulation.py +4 -4
- {policyengine_uk-2.48.0.dist-info → policyengine_uk-2.49.0.dist-info}/METADATA +1 -1
- {policyengine_uk-2.48.0.dist-info → policyengine_uk-2.49.0.dist-info}/RECORD +5 -5
- {policyengine_uk-2.48.0.dist-info → policyengine_uk-2.49.0.dist-info}/WHEEL +0 -0
- {policyengine_uk-2.48.0.dist-info → policyengine_uk-2.49.0.dist-info}/licenses/LICENSE +0 -0
policyengine_uk/simulation.py
CHANGED
|
@@ -125,10 +125,6 @@ class Simulation(CoreSimulation):
|
|
|
125
125
|
self.move_values("capital_gains", "capital_gains_before_response")
|
|
126
126
|
self.move_values("employment_income", "employment_income_before_lsr")
|
|
127
127
|
|
|
128
|
-
if scenario is not None:
|
|
129
|
-
if scenario.simulation_modifier is not None:
|
|
130
|
-
scenario.simulation_modifier(self)
|
|
131
|
-
|
|
132
128
|
if scenario is not None:
|
|
133
129
|
self.baseline = Simulation(
|
|
134
130
|
scenario=None,
|
|
@@ -139,6 +135,10 @@ class Simulation(CoreSimulation):
|
|
|
139
135
|
else:
|
|
140
136
|
self.baseline = self.clone()
|
|
141
137
|
|
|
138
|
+
if scenario is not None:
|
|
139
|
+
if scenario.simulation_modifier is not None:
|
|
140
|
+
scenario.simulation_modifier(self)
|
|
141
|
+
|
|
142
142
|
self.calculated_periods = []
|
|
143
143
|
|
|
144
144
|
def reset_calculations(self):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: policyengine-uk
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.49.0
|
|
4
4
|
Summary: PolicyEngine tax and benefit system for the UK.
|
|
5
5
|
Project-URL: Homepage, https://github.com/PolicyEngine/policyengine-uk
|
|
6
6
|
Project-URL: Repository, https://github.com/PolicyEngine/policyengine-uk
|
|
@@ -3,7 +3,7 @@ policyengine_uk/entities.py,sha256=9yUbkUWQr3WydNE-gHhUudG97HGyXIZY3dkgQ6Z3t9A,1
|
|
|
3
3
|
policyengine_uk/microsimulation.py,sha256=WskrrDrLGfDYwS1CzFk5rJkQSQlTknLkxFufStKRpxc,3379
|
|
4
4
|
policyengine_uk/model_api.py,sha256=KdwJCL2HkXVxDpL6fCsCnQ9Sub6Kqp7Hyxlis3MNIx4,241
|
|
5
5
|
policyengine_uk/modelled_policies.yaml,sha256=TLhvmkuI9ip-Fjq63n66RzDErCkN8K4BzY6XLxLMtFg,463
|
|
6
|
-
policyengine_uk/simulation.py,sha256=
|
|
6
|
+
policyengine_uk/simulation.py,sha256=ATrSdxxJrT8TZogmV0eVQcgB7wxaZz4NBl_ZBtMsk4E,21340
|
|
7
7
|
policyengine_uk/system.py,sha256=Z-ax_ImUq5k4tycuThczTxQNW5iTE6ikBJIBQdKfIzU,91
|
|
8
8
|
policyengine_uk/tax_benefit_system.py,sha256=CjX1lERyOm_vlgHQcQO92HZtJiwItLH-MxJveJqk6iM,5165
|
|
9
9
|
policyengine_uk/data/__init__.py,sha256=J0bZ3WnvPzZ4qfVLYcwOc4lziMUMdbcMqJ3xwjoekbM,101
|
|
@@ -1386,7 +1386,7 @@ policyengine_uk/variables/misc/spi_imputed.py,sha256=iPVlBF_TisM0rtKvO-3-PQ2UYCe
|
|
|
1386
1386
|
policyengine_uk/variables/misc/uc_migrated.py,sha256=zFNcUJaO8gwmbL1iY9GKgUt3G6J9yrCraqBV_5dCvlM,306
|
|
1387
1387
|
policyengine_uk/variables/misc/categories/lower_middle_or_higher.py,sha256=C54tHYz2DmOyvQYCC1bF8RJwRZinhAq_e3aYC-9F5fM,157
|
|
1388
1388
|
policyengine_uk/variables/misc/categories/lower_or_higher.py,sha256=81NIbLLabRr9NwjpUZDuV8IV8_mqmp5NM-CZvt55TwE,129
|
|
1389
|
-
policyengine_uk-2.
|
|
1390
|
-
policyengine_uk-2.
|
|
1391
|
-
policyengine_uk-2.
|
|
1392
|
-
policyengine_uk-2.
|
|
1389
|
+
policyengine_uk-2.49.0.dist-info/METADATA,sha256=l8aFEG5xa5GWGFyiMZbI4IAmHy3dLqVC0P3pj3FGO-4,3995
|
|
1390
|
+
policyengine_uk-2.49.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
1391
|
+
policyengine_uk-2.49.0.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
|
|
1392
|
+
policyengine_uk-2.49.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|