All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
3.16.1 - 2024-12-20 12:56:31
- Explicitly set local directory when downloading datasets from Hugging Face
3.16.0 - 2024-12-18 15:12:25
- Refactor all Hugging Face downloads to use the same download function
- Attempt to determine whether a token is necessary before downloading from Hugging Face
- Add tests for this new functionality
3.15.0 - 2024-12-05 14:47:01
- Chained reform handling in TaxBenefitSystems.
3.14.1 - 2024-12-02 16:35:14
- Replaced coexistent standard/HuggingFace URL with standalone URL parameter
- Fixed bugs in download_from_huggingface() method
- Create utility function for pulling HuggingFace env var
3.14.0 - 2024-11-29 16:08:25
- Support for HuggingFace-hosted H5 file inputs.
3.13.0 - 2024-11-27 13:12:44
- HuggingFace upload/download functionality.
3.12.5 - 2024-11-20 13:13:13
- update the psutil requirement to version 6
- update the furo requirment to <2025
- update the markupsafe requirement to <3
3.12.4 - 2024-11-11 14:20:12
- Datasets writing downloaded data now use an atomic_write to write it to disk. This prevents other processes attempting to read a partial file or clobbering each other.
3.12.3 - 2024-11-04 16:29:34
- Bug in labour supply responses.
3.12.2 - 2024-11-01 21:39:35
- Compatibility settings for editable installs
3.12.1 - 2024-11-01 11:36:53
- Bug causing Enums to fail in some simulations.
3.12.0 - 2024-10-30 18:46:15
- update the ipython requirement to version 8
3.11.1 - 2024-10-29 20:04:02
- Replace custom implementation of microdf with deployed version
3.11.0 - 2024-10-24 11:04:12
- Bug causing subsample to not work in some situations.
3.10.0 - 2024-10-17 15:59:10
- Two tests related to extensions that were previously removed
- Shallow copy GroupEntities and PopulationEntity when cloning TaxBenefitSystem object
3.9.0 - 2024-10-09 20:29:35
- Shallow copy entities between TaxBenefitSystem objects when cloning
3.8.2 - 2024-10-01 19:33:10
- Updated README.md
3.8.1 - 2024-09-27 10:43:12
- Set test runner's default period as underlying simulation's default period
- Prevented crashing when absolutely no date is provided anywhere for tests
3.8.0 - 2024-09-26 12:00:25
- Randomness based on entity IDs as seeds.
- OpenFisca-Core imports.
3.7.1 - 2024-09-26 00:13:13
- Renamed sim_macro_cache.py to simulation_macro_cache.py
3.7.0 - 2024-09-24 18:10:25
- Simulation subsampling.
3.6.6 - 2024-09-09 13:52:47
- Disable macro cache by default.
3.6.5 - 2024-09-04 21:19:20
- Corrected logic with Simulation.check_macro_cache to prevent undesirable caching
3.6.4 - 2024-09-03 18:42:55
- Ensure that every instance of 'Simulation' class has 'dataset' attribute, even if equal to 'None'
- Add better safeguards to 'check_macro_cache' method of 'Simulation' class
3.6.3 - 2024-09-02 22:01:19
- Syntax error in Simulation class
3.6.2 - 2024-09-02 13:04:21
- Added class SimulationMacroCache for macro simulation caching purposes.
3.6.1 - 2024-08-31 16:13:07
- Added class SimulationMacroCache for macro simulation caching purposes.
3.6.0 - 2024-08-28 16:41:26
- Bugs in typing and Dataset saving.
3.5.3 - 2024-08-21 14:34:52
- Fixed script to initialize a reform within the simulation
3.5.2 - 2024-08-17 19:28:38
- change mypy version from 1.11.1 to <2
3.5.1 - 2024-08-08 15:17:05
- fixed bug where uprating was causing nan.
3.5.0 - 2024-08-08 15:16:12
3.4.0 - 2024-08-07 12:42:36
- Flat file export option to simulations.
3.3.0 - 2024-08-02 09:09:51
- Simulation loading from dataframes.
- Simulation
start_instant
attribute.
3.2.0 - 2024-07-28 19:28:05
- Reform syntax to increase flexibility.
3.1.0 - 2024-07-26 00:28:31
- Flat file dataset option.
- Microdata weighting classes from microdf.
- Eternity dictionary reform options.
3.0.0 - 2024-06-26 17:08:24
- Added support for Python 3.12
2.23.1 - 2024-06-06 09:09:41
- V
- i
- s
- u
- a
- l
- i
- z
- a
- t
- i
- o
- n
- o
- p
- t
- i
- o
- n
- w
- h
- e
- n
- r
- u
- n
- n
- i
- n
- g
- t
- e
- s
- t
- s
2.23.0 - 2024-06-04 19:43:13
- max_value and min_value in Variable class.
2.22.0 - 2024-05-31 11:12:13
- Bug causing reforms affecting data to not affect caches.
2.21.8 - 2024-05-14 15:33:07
- Uncap coverage.
2.21.7 - 2024-05-14 15:27:27
- Remove name metadata tag in docs.
2.21.6 - 2024-05-13 16:26:53
- Replaced unsafe numpy-Python comparison with use of numpy dtype to convert byte-string arrays to Unicode ones within enums
2.21.5 - 2024-05-08 15:07:51
- Bug in macro cache logic.
2.21.4 - 2024-05-08 13:39:53
- Added
.vscode
andvenv
to.gitignore
file.
2.21.3 - 2024-05-08 13:36:00
- Dependency upgrade for pytest, from 7 to 8.
2.21.2 - 2024-05-08 08:44:48
- Generation of enum-typed variables
2.21.1 - 2024-05-07 15:44:58
- Bug in macro caching logic.
2.21.0 - 2024-05-07 12:16:05
- Ability to turn off read and write features in the macro cache.
2.20.0 - 2024-05-06 14:24:08
- Macro impact caching.
- Dictionary-input start-stop date reform handling.
- Uprating bugs.
2.19.2 - 2024-05-06 12:47:34
- IPython to dependencies
2.19.1 - 2024-04-29 15:06:58
- FutureWarning issue with bools and enums.
2.19.0 - 2024-04-16 12:51:42
- Baseline parameter node.
2.18.0 - 2024-03-22 10:42:19
- Parameters can now be uprated based upon fixed cadences
2.17.1 - 2024-03-05 13:01:42
- Breakdown-added parameters no longer precede uprating indices.
2.17.0 - 2024-03-04 11:27:40
- Add method for propagating units to descendants for ParameterScale objects
2.16.1 - 2024-02-29 16:03:09
- Fixed a bug in Core monthlyisation.
2.16.0 - 2024-02-14 14:49:15
2.15.0 - 2024-02-08 14:32:38
- Variable inheritance in declarations.
2.14.0 - 2024-02-06 17:28:06
- A variable must have a label.
- If a variable has formulas then it must not have adds/subtracts, and vice versa.
2.13.1 - 2024-02-06 11:28:22
- Improvements to error handling in bad variable declarations.
2.13.0 - 2024-01-02 15:26:52
- Simulation helper to extract individual households from a microsimulation.
2.12.1 - 2023-12-27 13:28:08
- API to reform functionality made more editable.
2.12.0 - 2023-12-26 18:31:31
- API ID to reform object functionality.
2.11.5 - 2023-12-21 10:55:47
- Randomness issue.
2.11.4 - 2023-12-19 11:12:24
- Tools for branching
2.11.3 - 2023-12-16 15:34:37
- Random seed fixed for each simulation.
2.11.2 - 2023-12-14 11:38:52
- Bug causing random behaviour differences between situations with and without axes.
2.11.1 - 2023-11-30 18:45:01
- Bug causing
subtracts
to not accept strings.
2.11.0 - 2023-11-22 15:55:52
- Reforms always apply before parameter utilities.
2.10.0 - 2023-11-22 15:05:43
- Reforms always apply before parameter utilities.
2.9.0 - 2023-11-12 13:23:23
- PolicyEngine API integration for reforms.
2.8.2 - 2023-10-09 17:52:02
- Unpinned lower NumPy pin.
2.8.1 - 2023-10-05 13:24:20
- Bug causing YAML tests to not populate
Simulation.input_variables
.
2.8.0 - 2023-10-05 11:41:53
- Support for adds/subtracts targeting parameters.
- Support for adds/subtracts targeting year ranges where no parameters exist.
- Deprecated sum_of_variables.
2.7.1 - 2023-10-05 11:00:40
- Fix bug affecting microsimulation runs in countries which use automatic period adjustments.
2.7.0 - 2023-10-04 19:05:58
- Automatic period adjustment helper functionality.
- Default error threshold for tests widened to 1e-3.
2.6.0 - 2023-10-04 14:51:40
- Bump numpy version
- Fix numpy record compatibility issue
2.5.0 - 2023-08-02 12:54:44
- Chart formatting utilities.
2.4.0 - 2023-07-21 14:55:15
- Chart formatting utilities.
2.3.0 - 2023-06-30 08:22:27
- Optional argument for saving datasets to a specific file path.
- Safety check for Path objects not being strings.
2.2.1 - 2023-06-02 15:22:29
- A bug causing variable not found errors to sometimes fail to throw.
2.2.0 - 2023-05-31 11:11:09
- Bug causing unhelpful errors when variables are not found.
2.1.1 - 2023-05-24 15:11:39
- Fixed pytest deprecated usages since version 7, and fixed a bug that prevented new package from publishing.
2.1.0 - 2023-05-23 13:22:04
- Python 3.10 support.
- PyTest syntax updated.
2.0.4 - 2023-05-23 07:35:11
- Bug causing simulations containing multiple group entities and axes to fail to simulate.
2.0.3 - 2023-04-14 10:06:10
- Removed node homogenuity check for speed.
2.0.2 - 2023-03-31 18:27:52
- Added ability to pull datasets from GitHub releases.
2.0.1 - 2023-03-23 08:55:46
- A bug where public datasets would fail to download.
2.0.0 - 2023-03-23 02:37:29
- Datasets API simplified and made more consistent.
1.12.4 - 2023-03-08 21:35:17
- Removed bad dependency fixes.
1.12.3 - 2023-03-04 22:58:51
- Branches stay persistent between variables.
1.12.2 - 2023-02-09 21:59:16
- Option for loading non-year-specific datasets.
1.12.1 - 2023-01-28 15:58:38
- Abolition parameters for each variable under
gov.abolitions
.
1.12.0 - 2023-01-27 22:28:10
- Likely high time savings for simulations making heavy usage of reforms and branches.
1.11.4 - 2023-01-11 23:44:12
- Labels and names aren't propagated in parameters.
1.11.3 - 2023-01-10 17:32:23
1.11.2 - 2023-01-04 13:05:49
- Error message for an unknown variable.
1.11.1 - 2023-01-04 12:51:00
- A metadata option to specify which policies are modelled and not modelled.
1.11.0 - 2023-01-03 20:50:02
- Adds/subtracts option for parameter names.
1.10.24 - 2023-01-02 20:40:49
- Pin all package versions.
1.10.23 - 2022-12-18 06:12:52
- Fix incorrect type annotation in policyengine_core/variables/variable.py
1.10.22 - 2022-12-18 06:07:32
- Fixed mypy errors in several files.
1.10.21 - 2022-12-17 21:51:59
- Removed seemingly unused "N_" function
1.10.20 - 2022-12-17 16:36:53
- Fixed mypy errors in policyengine_core/tracers/tracing_parameter_node_at_instant.py
1.10.19 - 2022-12-17 09:23:10
- Fixed mypy errors in tests/core/test_entities.py
1.10.18 - 2022-12-15 15:27:35
- Bugs with Enum inputs.
1.10.17 - 2022-12-14 15:33:46
- Added
basic_inputs
, a metadata field for the basic inputs needed to get a country model running.
1.10.16 - 2022-12-13 23:40:47
- Added mypy to our test suite to prevent new type regressions
1.10.15 - 2022-12-12 15:28:47
- Hidden input field for variables.
1.10.14 - 2022-12-11 23:52:13
- Added documentation on populating changelog entries. Also created a CONTRIBUTING.md symlink to make contributing guidelines easier to find.
1.10.13 - 2022-12-11 23:46:33
- Git config now ignores JetBrains IDE config files
1.10.12 - 2022-12-07 13:41:29
- Uprating bug affecting the UK.
1.10.11 - 2022-12-07 12:51:49
- Include scale brackets in descendants.
1.10.10 - 2022-12-05 16:21:04
- Removed warning on Enum decoding.
1.10.9 - 2022-12-03 15:21:15
- Bug with Enum decoding.
1.10.8 - 2022-12-02 18:11:10
- Singleton files have a shorter moduleName.
1.10.7 - 2022-11-30 20:33:21
- Various safety checks.
1.10.6 - 2022-11-30 15:19:56
- README.md files in parameter trees now inform metadata.
1.10.5 - 2022-11-28 10:37:23
- Functionality for getting all known branch-period caches.
1.10.4 - 2022-11-27 16:16:29
- Removed debug lines.
1.10.3 - 2022-11-27 16:08:33
- Fixed a bug causing Windows tests to fail.
1.10.2 - 2022-11-27 14:33:53
- Bug in defined-for causing it to be ignored.
- Branched simulations now cache variables specifically for the branch and time period, not sharing with the parent simulation.
1.10.1 - 2022-11-24 00:33:05
- Documentation page on reforms.
- Moved the uprating logic to after formulas are checked.
1.10.0 - 2022-11-24 00:15:28
- Variables can now specify an 'uprating' parameter.
- Variables can now specify 'adds' and 'subtracts' variable dependencies.
- Variable folders are now automatically stored in a tree.
- Bugs in cloned simulations.
1.9.0 - 2022-11-08 15:00:26
- Various fixes for PolicyEngine's server app.
1.8.1 - 2022-11-02 01:31:48
1.8.0 - 2022-10-23 13:41:39
- Parameter scale components now included in
get_descendants()
.
- Folder paths in
Dataset
s are parsed asPath
s. - Empty
input:
fields are parsed as{}
.
1.7.0 - 2022-10-21 12:39:50
- Metadata dictionary input to Variables.
1.6.0 - 2022-10-19 22:44:19
- Derivative calculation in simulations.
1.5.0 - 2022-10-19 16:01:51
- Branched simulations.
1.4.1 - 2022-10-18 18:13:09
- Plotly to dependencies
1.4.0 - 2022-10-18 15:28:22
- Performance improvements
- Import sorting and code health improvements
- Axes now work in simulations
1.3.0 - 2022-10-14 17:18:21
- Tests and documentation.
1.2.0 - 2022-10-14 10:14:40
- Parameter operations from openfisca-tools
- Dataset classes from openfisca-tools
1.1.3 - 2022-10-12 18:08:43
- Git blame reassigns OpenFisca-Core authors.
1.1.2 - 2022-10-12 16:25:33
- Bug in the country template microsimulation class failing to load data.
1.1.1 - 2022-10-12 15:58:34
- Behaviour to handle default datasets.
1.1.0 - 2022-10-12 15:33:59
- Microsimulation features
- Documentation for the CLI interface
1.0.6 - 2022-10-09 23:00:35
- Python 3.9 used in all GitHub actions.
1.0.5 - 2022-10-09 22:55:14
- Test that documentation builds
1.0.4 - 2022-10-09 22:33:24
- Type hints to most functions and classes.
- Jupyter book documentation for all modules.
1.0.3 - 2022-10-02 16:59:49
- Build action always runs.
1.0.2 - 2022-10-02 16:45:22
- Push action doesn't attempt to publish nonexistent documentation.
1.0.1 - 2022-10-02 16:38:34
- Version update action.
1.0.0 - 2022-10-02 16:35:17
- Non-essential (for Python simulations) code removed.
- OpenFisca-Core forked.