-
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
Revalorisation des plafonds des ressources applicables Métropole - PAJE 01/2018 #972
Conversation
Pas de soucis @guillett, je m'en occupe. |
…Jeune Enfant en date du 01/01/2018, prise en compte du plus jeune enfant dans le calcul de l'éligibilité
age_plus_jeune_enfant = min(famille.members('age', period)) | ||
est_cadet = famille.members('age', period) == age_plus_jeune_enfant | ||
|
||
enfant_elig_avant_avril_2014 = famille.any(enfant_eligible_ne_avant_avril_2014() * est_cadet) |
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 @frtomas pour ces nouvelles contributions.
Je suis partisan de garder des noms le moins ambigu possible (et avec le moins d'abbréviations possibles) même s'ils sont parfois très longs.
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 noté @benjello, j'ai changé la variable de la condition pour la rendre plus claire et la faire correspondre avec 'age_plus_jeune_enfant'
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.
J'ai fait quelques commentaires. Ping moi à nouveau quand tu as pu regarder ça. Merci beaucoup en tout cas pour cette nouvelle contribution !
plaf_tx = (nbenf > 0) + P.paje.base.avant_2014.taux_majoration_2_premiers_enf * min_(nbenf, 2) + P.paje.base.avant_2014.taux_majoration_3eme_enf_et_plus * max_(nbenf - 2, 0) | ||
majo = isole | biactivite | ||
plaf = P.paje.base.avant_2014.plafond_ressources_0_enf * plaf_tx + (plaf_tx > 0) * P.paje.base.avant_2014.majoration_biact_parent_isoles * majo | ||
elig = (base_ressources <= plaf) |
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.
Les trois variables majo
, plaf
, elig
devraient avoir des noms plus explicites.
CHANGELOG.md
Outdated
* Zones impactées : | ||
- parameters\prestations\prestations_familiales\paje\base\apres_2014\taux_partiel\ | ||
- parameters\prestations\prestations_familiales\paje\base\apres_2014\taux_plein\ | ||
- model\prestations\prestations_familiales\paje.py |
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.
Le format des zones impactées devrait être le suivant :
prestations/prestations_familiales/paje/base/apres_2014
prestations/prestations_familiales/paje
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 pour ces modifications. J'ai apporté quelques modifications au CHANGELOG cf. d136927.
CHANGELOG.md
Outdated
### 21.8.6 [#972](https://github.com/openfisca/openfisca-france/pull/972) | ||
|
||
* Évolution du système socio-fiscal. | ||
* Périodes concernées : à partir du 01/01/2018. |
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.
à partir du 01/01/2015
Ces changements :