You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
openfisca-france is on a grand tour of its parameters 🧑🔧
During this trip, we go through the different syntaxes and we found some parameters with expected instead of a value for a certain date: YYYY-MM-DD: expected
Here is what I did:
I looked into the documentation for the pages that mentioned expected to be reminded of its effect.
Where expected is a keyname followed by a value while in the model(s), expected is the value.
And it says that:
In this example, the parameter universal_income.amount is: (...) expected to be raised to 1700 “local currency” in 2020.
But nothing on how it affects the calculation. 😕
While in the country-template, the comment in the YAML file is clear:
# We expect this parameter to change on the [date]# Placeholders have no impact on calculations. They are just metadata to indicate that we expect a parameter to change at a certain date.
So, I don't know if the documentation syntax stil works but I know that the country-template and openfisca-france does.
And, would be helpful to read from the documentation if the keyword has an impact on the calculation (Does it raise a warning ?...).
The text was updated successfully, but these errors were encountered:
Hello,
openfisca-france
is on a grand tour of its parameters 🧑🔧During this trip, we go through the different syntaxes and we found some parameters with
expected
instead of a value for a certain date:YYYY-MM-DD: expected
Here is what I did:
I looked into the documentation for the pages that mentioned
expected
to be reminded of its effect.Here is what I expected on the
expected
:To find in the documentation what
YYYY-MM-DD: expected
meant as it is used in openfisca-france and the country-template.Here is what actually happened:
There is a small inconsistency on the
expected
keyword usage.In the documentation, the used syntax is:
Where
expected
is a keyname followed by a value while in the model(s),expected
is the value.And it says that:
But nothing on how it affects the calculation. 😕
While in the country-template, the comment in the YAML file is clear:
So, I don't know if the documentation syntax stil works but I know that the country-template and openfisca-france does.
And, would be helpful to read from the documentation if the keyword has an impact on the calculation (Does it raise a warning ?...).
The text was updated successfully, but these errors were encountered: