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

Ajuste le taux du livret A au 01/02/2020 #1412

Merged
merged 1 commit into from
Jan 31, 2020
Merged

Ajuste le taux du livret A au 01/02/2020 #1412

merged 1 commit into from
Jan 31, 2020

Conversation

guillett
Copy link
Member

  • Évolution du système socio-fiscal.
  • Périodes concernées : à partir du 01/02/2020.
  • Zones impactées : parameters/epargne/livret_a/taux.yaml.
  • Détails :
    • Le taux du livret A passera de 0,75% à 0,5% à partir du 1er février 2020.

Copy link
Member

@bonjourmauko bonjourmauko left a 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
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
value: 0.005
value: 0.005
metadata:
reference: https://beta.legifrance.gouv.fr/jorf/id/JORFTEXT000037076743

Copy link
Member Author

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 ? 🤔

Copy link
Member

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...

Copy link
Member

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

Copy link
Member

@bonjourmauko bonjourmauko Jan 31, 2020

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'}}
                    }
                })

Copy link
Member

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.

@guillett guillett merged commit 8cb4690 into master Jan 31, 2020
@guillett guillett deleted the taux-livret-a branch January 31, 2020 09:19
@bonjourmauko bonjourmauko mentioned this pull request Jan 31, 2020
5 tasks
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.

2 participants