-
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
Fusion des aides des compléments de ressources à l’AAH au 1er Décembre 2019 #1362
Conversation
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.
Bonjour @mtifarine, merci pour ta contribution ! Deux questions :
- Ce n'est pas à partir du 1er novembre ?
- Est-ce possible d'ajouter un test ?
@maukoquiroga Mohamed est absent pour deux semaines et je reprends ses sujets. D’après les informations dont nous disposons, la réforme prendrait bien effet le 1er décembre 2019. |
Bonjour @frtomas !
Parfait, merci !
Par rapport au test, c'est plus sur |
@maukoquiroga aaah, je comprends mieux. C'est vrai qu'en l'état, |
@frtomas Juste pour vérifier, j'ai écris ce test : - name: 'Réforme 01-12-2019 : suppression du Complément de Ressources. Cas 1 : personne bénéficiait du Complément de Ressources'
period: 2020-01
absolute_error_margin: 1
input:
famille:
parents: parent1
individus:
parent1:
age: 58
taux_incapacite: 0.8
taux_capacite_travail: 0.04
aah: 261.56
asi: 230.32
foyers_fiscaux:
foyer_fiscal_0:
declarants:
- parent1
menages:
menage_0:
personne_de_reference:
- parent1
output:
caah: 0
mva: 0
complement_ressources_aah: 0
- name: 'Réforme 01-12-2019 : suppression du Complément de Ressources. Cas 2 : personne bénéficie de la Majoration pour Vie Autonome'
period: 2020-01
absolute_error_margin: 1
input:
famille:
parents: parent1
aide_logement_montant: 254.27
individus:
parent1:
age: 58
taux_incapacite: 0.8
aah: 261.56
asi: 200.71
foyers_fiscaux:
foyer_fiscal_0:
declarants:
- parent1
menages:
menage_0:
personne_de_reference:
- parent1
output:
caah: 104.77
mva: 104.77
complement_ressources_aah: 0 Et effectivement le seul test qui foire est celui du |
61f468e
to
6737b37
Compare
@frtomas J'ai ajouté le test, je vais demander la review d'autres pour double check. |
Je suis intervenu directement dans cet PR
tests/formulas/complement_aah.yaml
Outdated
@@ -113,3 +113,24 @@ | |||
- parent1 | |||
output: | |||
aah: 258.00 | |||
|
|||
- name: 'Réforme 01-12-2019 : suppression du Complément de Ressources. Cas 1 : personne bénéficiait du Complément de Ressources' |
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.
@maukoquiroga je ne comprends pas les tests que tu as fait.
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.
La formule du complément de ressources valable jusqu'au 30/11/2019 dit qu'on est éligible au complément si le taux de capacité au travail de la personne est sous le seuil réglementaire.
Le test sert à s'assurer que, même si la personne aurait eu le droit au complément de ressources, comme à partir de cette date l'aide n'existe plus, alors sont montant est 0
.
Peut-être une explication dans le test pour que cela soit plus clair ?
openfisca-france/openfisca_france/model/prestations/minima_sociaux/aah.py
Lines 440 to 447 in 20803e2
def formula_2015_07_01(individu, period, parameters): | |
prestations = parameters(period).prestations | |
garantie_ressources = prestations.minima_sociaux.caah.garantie_ressources | |
aah_montant = prestations.minima_sociaux.aah.montant | |
taux_capacite_travail_max = prestations.minima_sociaux.aah.taux_capacite_travail | |
taux_capacite_travail = individu('taux_capacite_travail', period) | |
return (taux_capacite_travail < taux_capacite_travail_max) * max_(garantie_ressources - aah_montant, 0) |
Lines 1 to 6 in 20803e2
description: Le pourcentage maximal de la capacité de travail pour bénéficier du complément de ressources | |
reference: https://www.legifrance.gouv.fr/affichCodeArticle.do;jsessionid=F095CE10E4FB989CF7E5FFC2249F170A.tplgfr28s_2?idArticle=LEGIARTI000006739703&cidTexte=LEGITEXT000006073189&categorieLien=id&dateTexte= | |
unit: /1 | |
values: | |
2005-07-01: | |
value: 0.05 |
@@ -436,6 +441,7 @@ class complement_ressources_aah(Variable): | |||
label = "Le complément de ressources" | |||
reference = "https://www.legifrance.gouv.fr/affichCodeArticle.do?cidTexte=LEGITEXT000006073189&idArticle=LEGIARTI000006745305&dateTexte=&categorieLien=cid" | |||
definition_period = MONTH | |||
end = "2019-11-30" |
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.
@frtomas aurais-tu des références législatives pour ces modifications ?
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.
@guillet malheureusement non, ces travaux ont été fait en avance de phase et les références législatives ne sont pas encore parues.
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.
bc9f0c2
to
82c1e2a
Compare
82c1e2a
to
d16d59c
Compare
@MehdiBenHnin pourrais-tu nous envoyer la fiche métier de cette contribution dinsic@openfisca.org ? La suppression du Complément à l'allocation adultes handicapés (AAH) : complément de ressources n'est pas neutre pour les bénéficiaires. MVA environ 100 € / mois |
@guillett C'est fait, je vous ai envoyé la fiche que l'on a réalisé pour cette réforme. |
model/prestations/minima_sociaux/aah
.