-
Notifications
You must be signed in to change notification settings - Fork 101
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
Ajuste le taux du livret A au 01/02/2020 #1412
Conversation
62a1901
to
c6489b1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merci @guillett !
Est-ce possible d'ajouter la référence législative ? Je t'ai fait une suggestion dis-moi si cela te va.
@@ -83,3 +83,5 @@ values: | |||
value: 0.01 | |||
2015-08-01: | |||
value: 0.0075 | |||
2020-02-01: | |||
value: 0.005 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
value: 0.005 | |
value: 0.005 | |
metadata: | |
reference: https://beta.legifrance.gouv.fr/jorf/id/JORFTEXT000037076743 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je n'ai pas trouvé de référence législative. Celle que tu indiques est plus meta qu'associée au changement de valeur selon moi.
D'ailleurs je ne connaissais pas cette syntaxe, elle n'est pas dans la doc https://openfisca.org/doc/coding-the-legislation/legislation_parameters.html ? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je n'ai pas trouvé de référence législative. Celle que tu indiques est plus meta qu'associée au changement de valeur selon moi.
Ok on peut l'ignorer si la trouves trop méta, c'est celle que j'ai trouvé dans les articles parlant du sujet.
D'ailleurs je ne connaissais pas cette syntaxe, elle n'est pas dans la doc
Tu as raison ! Je l'ai trouvé dans l'extension-template, mais elle n'est pas documentée...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On y trouve par contre :
description: Universal income
unit: currency
values:
1993-01-01:
value: 1000
2010-01-01:
value: 1500
reference: http://law.reference.org/universal_income
2020-01-01:
expected: 1700
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instantiate a parameter with metadata:
>>> Parameter('rate', data = {
'description': 'Income tax rate applied on salaries',
'values': {
"2015-01-01": {'value': 550, 'metadata': {'reference': 'http://taxes.gov/income_tax/2015'}},
"2016-01-01": {'value': 600, 'metadata': {'reference': 'http://taxes.gov/income_tax/2016'}}
}
})
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est la doc qui est pas à jour.
parameters/epargne/livret_a/taux.yaml
.