Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove extra_params altogether from Core #847

Merged
merged 2 commits into from
Mar 21, 2019
Merged

Conversation

Morendil
Copy link
Contributor

@Morendil Morendil commented Mar 20, 2019

Breaking changes

Remove extra_params altogether from Core. This puts all formulas on an equal footing and simplifies
simulation and data storage code.

Migration notes

For almost all users, no migration is needed.

You may be impacted only if you were computing (for instance in a notebook) one of the two variables from France that used this non-standard extension to the calculate(variable, period) API: rsa_fictif or ppa_fictive. In that case you had to supply the additional parameter mois_demande. Use rsa or ppa directly, and go back to the standard API.

Copy link
Member

@fpagnoux fpagnoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad to finally take this off my OpenFisca bucket list, this extra params caused a lot of trouble.
Not sure how (or if) France managed to solve the issue they were introduced for, but from Core's point of view, this is great.

@Morendil
Copy link
Contributor Author

Other than France I think the only reuser impacted was @robert49 with this notebook.

@Morendil Morendil merged commit 2cdc099 into master Mar 21, 2019
@Morendil Morendil deleted the remove-extra-params branch March 21, 2019 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants