Skip to content

Commit

Permalink
Fix budget change bugs (#967)
Browse files Browse the repository at this point in the history
* Remove old notebooks

* Move budget changes to the main model

* Fix Use actual HBAI poverty rate definition #963

* Versioning

* Versioning

* Remove old test
  • Loading branch information
nikhilwoodruff authored Oct 19, 2024
1 parent a1d51f2 commit 03b1c8b
Show file tree
Hide file tree
Showing 13 changed files with 59 additions and 438 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.6.0] - 2024-10-19 19:58:09

### Fixed

- Bug in budget change reforms.

## [2.5.0] - 2024-10-19 09:27:21

### Changed
Expand Down Expand Up @@ -1512,6 +1518,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0



[2.6.0]: https://github.com/PolicyEngine/openfisca-uk/compare/2.5.0...2.6.0
[2.5.0]: https://github.com/PolicyEngine/openfisca-uk/compare/2.4.0...2.5.0
[2.4.0]: https://github.com/PolicyEngine/openfisca-uk/compare/2.3.0...2.4.0
[2.3.0]: https://github.com/PolicyEngine/openfisca-uk/compare/2.2.0...2.3.0
Expand Down
5 changes: 5 additions & 0 deletions changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1269,3 +1269,8 @@
changed:
- UK data package bumped to 1.6.
date: 2024-10-19 09:27:21
- bump: minor
changes:
fixed:
- Bug in budget change reforms.
date: 2024-10-19 19:58:09
67 changes: 0 additions & 67 deletions emp_ni_test.ipynb

This file was deleted.

70 changes: 0 additions & 70 deletions employer_ni.ipynb

This file was deleted.

132 changes: 0 additions & 132 deletions employer_ni_example.ipynb

This file was deleted.

1 change: 0 additions & 1 deletion policyengine_uk/reforms/policyengine/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
from .budget_change import *
from .disable_simulated_benefits import *
2 changes: 0 additions & 2 deletions policyengine_uk/reforms/reforms.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from .cps import create_marriage_tax_reform
from .conservatives import create_household_based_hitc_reform
from .policyengine import (
create_budget_change_reform,
disable_simulated_benefits,
)
from policyengine_core.model_api import *
Expand All @@ -13,7 +12,6 @@ def create_structural_reforms_from_parameters(parameters, period):
reforms = [
create_marriage_tax_reform(parameters, period),
create_household_based_hitc_reform(parameters, period),
create_budget_change_reform(parameters, period),
disable_simulated_benefits(parameters, period),
]
reforms = tuple(filter(lambda x: x is not None, reforms))
Expand Down
12 changes: 0 additions & 12 deletions policyengine_uk/tests/policy/baseline/demographic/poverty.yaml

This file was deleted.

Loading

0 comments on commit 03b1c8b

Please sign in to comment.