OpenFisca-France 168.0.1__py3-none-any.whl → 168.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of OpenFisca-France might be problematic. Click here for more details.
- {OpenFisca_France-168.0.1.data → OpenFisca_France-168.0.2.data}/data/share/openfisca/openfisca-france/CHANGELOG.md +8 -0
- {OpenFisca_France-168.0.1.dist-info → OpenFisca_France-168.0.2.dist-info}/METADATA +1 -1
- {OpenFisca_France-168.0.1.dist-info → OpenFisca_France-168.0.2.dist-info}/RECORD +8 -8
- openfisca_france/model/prestations/prestations_familiales/aeeh.py +8 -10
- {OpenFisca_France-168.0.1.data → OpenFisca_France-168.0.2.data}/data/share/openfisca/openfisca-france/README.md +0 -0
- {OpenFisca_France-168.0.1.dist-info → OpenFisca_France-168.0.2.dist-info}/LICENSE.AGPL.txt +0 -0
- {OpenFisca_France-168.0.1.dist-info → OpenFisca_France-168.0.2.dist-info}/WHEEL +0 -0
- {OpenFisca_France-168.0.1.dist-info → OpenFisca_France-168.0.2.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 168.0.2 [2336](https://github.com/openfisca/openfisca-france/pull/2336)
|
|
4
|
+
|
|
5
|
+
* Changement mineur.
|
|
6
|
+
* Périodes concernées : à partir du 2024-01-01.
|
|
7
|
+
* Zones impactées : `model.prestations.prestations_familiales.aeeh`.
|
|
8
|
+
* Détails :
|
|
9
|
+
- Remplacement de janvier par `period` pour récupérer l'`age`, `en_couple` et `handicap`.
|
|
10
|
+
|
|
3
11
|
## 168.0.1 [2332](https://github.com/openfisca/openfisca-france/pull/2332)
|
|
4
12
|
|
|
5
13
|
* Changement mineur.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
OpenFisca_France-168.0.
|
|
2
|
-
OpenFisca_France-168.0.
|
|
1
|
+
OpenFisca_France-168.0.2.data/data/share/openfisca/openfisca-france/CHANGELOG.md,sha256=wf9VG--OjgsXGJf9Jc2i9i1QIKhbLYHNPDfWQizL4vU,447087
|
|
2
|
+
OpenFisca_France-168.0.2.data/data/share/openfisca/openfisca-france/README.md,sha256=nIa6V4zevZpj2DX1rcpgs6AATTerCCy4622S1D3-CDI,18642
|
|
3
3
|
openfisca_france/__init__.py,sha256=MHLZ0V8uQHi4lkZ5bPAoLjsWTJe-wJgLfPxFvbCCxHc,126
|
|
4
4
|
openfisca_france/entities.py,sha256=nGl52ncj9wZzFwASKZk4_OHzhqOUuXGBxNmIiwxZU-c,2576
|
|
5
5
|
openfisca_france/france_taxbenefitsystem.py,sha256=UHVqvkqqYk-9RanSPWlVy3uieG77GCSrWCOqVpeN30I,1687
|
|
@@ -126,7 +126,7 @@ openfisca_france/model/prestations/minima_sociaux/cs/css.py,sha256=aWKN99IF-xWYV
|
|
|
126
126
|
openfisca_france/model/prestations/minima_sociaux/cs/eligibilite.py,sha256=3Y4eAlMUk3zPlA6SkBHGfTpPz3UALwk1BXEG3i4IF9o,1612
|
|
127
127
|
openfisca_france/model/prestations/minima_sociaux/cs/ressources.py,sha256=IbxBHslyqPHQRs1cjvQ9ax84QyERgTzKIzrJNt1urm0,7552
|
|
128
128
|
openfisca_france/model/prestations/prestations_familiales/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
129
|
-
openfisca_france/model/prestations/prestations_familiales/aeeh.py,sha256=
|
|
129
|
+
openfisca_france/model/prestations/prestations_familiales/aeeh.py,sha256=3rJg62yCMOYJ0iaj7tnAHDwXIOMLC3_sU5RT0qaWvqA,5526
|
|
130
130
|
openfisca_france/model/prestations/prestations_familiales/af.py,sha256=HWvFcxV2hETSrrTHLgAYZmNBrO8aN22OJYI4zwj-B1c,18369
|
|
131
131
|
openfisca_france/model/prestations/prestations_familiales/ars.py,sha256=mW3gyOTtC3oWOdZeB23WUHZml0fCyLoIBVRPwX-k33k,5344
|
|
132
132
|
openfisca_france/model/prestations/prestations_familiales/asf.py,sha256=0eZiUM6kUGKFrNB-J-ebVdQEiTfNG3VWSFgdUEOBtxg,3581
|
|
@@ -4015,8 +4015,8 @@ tests/test_parameters.py,sha256=9ByrtcJpaV32qCE-u4FY4fzCugFUW8utc5_KUAmYKG8,354
|
|
|
4015
4015
|
tests/test_preprocessing.py,sha256=BBMFR4GlFFqu86XfVcrHRbps_SpoWb1QS1lmu3c5bCE,6973
|
|
4016
4016
|
tests/test_scenarios.py,sha256=A7SmVt_iyDTbNTE45WgGQlQZkJ0uJ1ZGUhTV3ziwLUw,1009
|
|
4017
4017
|
tests/test_tax_rates.py,sha256=B_CnSIqCijGYkKW7XVZlF8uot0otNJ-Sq-DKINPATfA,1551
|
|
4018
|
-
OpenFisca_France-168.0.
|
|
4019
|
-
OpenFisca_France-168.0.
|
|
4020
|
-
OpenFisca_France-168.0.
|
|
4021
|
-
OpenFisca_France-168.0.
|
|
4022
|
-
OpenFisca_France-168.0.
|
|
4018
|
+
OpenFisca_France-168.0.2.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
|
|
4019
|
+
OpenFisca_France-168.0.2.dist-info/METADATA,sha256=hHs8WwDVwQWWE9TzYv_NEEL1VpgPWaeCmMwFChduL3I,20517
|
|
4020
|
+
OpenFisca_France-168.0.2.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
|
4021
|
+
OpenFisca_France-168.0.2.dist-info/top_level.txt,sha256=hmd7WhmLN_CyB52sP702pN9WlJqO9YMVuzeBRNp3hfs,23
|
|
4022
|
+
OpenFisca_France-168.0.2.dist-info/RECORD,,
|
|
@@ -13,7 +13,7 @@ class aeeh(Variable):
|
|
|
13
13
|
value_type = float
|
|
14
14
|
entity = Famille
|
|
15
15
|
label = "Allocation d'éducation de l'enfant handicapé"
|
|
16
|
-
reference = '
|
|
16
|
+
reference = 'https://www.service-public.fr/particuliers/vosdroits/F14809'
|
|
17
17
|
definition_period = MONTH
|
|
18
18
|
set_input = set_input_divide_by_period
|
|
19
19
|
calculate_output = calculate_output_add
|
|
@@ -21,7 +21,7 @@ class aeeh(Variable):
|
|
|
21
21
|
def formula_2006_01_01(famille, period, parameters):
|
|
22
22
|
'''Allocation d'éducation de l'enfant handicapé.
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
Remplace l'allocation d'éducation spéciale (AES) depuis le 1er janvier 2006.
|
|
25
25
|
Ce montant peut être majoré par un complément accordé par la Cdaph qui prend en compte :
|
|
26
26
|
le coût du handicap de l'enfant,
|
|
27
27
|
la cessation ou la réduction d'activité professionnelle d'un ou l'autre des deux parents,
|
|
@@ -29,22 +29,20 @@ class aeeh(Variable):
|
|
|
29
29
|
Une majoration est versée au parent isolé bénéficiaire d'un complément d'Aeeh lorsqu'il cesse ou réduit
|
|
30
30
|
son activité professionnelle ou lorsqu'il embauche une tierce personne rémunérée.
|
|
31
31
|
'''
|
|
32
|
-
|
|
33
|
-
isole = not_(famille('en_couple', janvier))
|
|
32
|
+
isole = not_(famille('en_couple', period))
|
|
34
33
|
prestations_familiales = parameters(period).prestations_sociales.prestations_familiales
|
|
35
34
|
|
|
36
35
|
base = prestations_familiales.education_presence_parentale.aeeh.base
|
|
37
36
|
complement_d_allocation = prestations_familiales.education_presence_parentale.aeeh.complement_allocation
|
|
38
37
|
majoration = prestations_familiales.education_presence_parentale.aeeh.majoration_parent_isole
|
|
39
38
|
|
|
40
|
-
age = famille.members('age',
|
|
41
|
-
handicap = famille.members('handicap',
|
|
39
|
+
age = famille.members('age', period)
|
|
40
|
+
handicap = famille.members('handicap', period)
|
|
42
41
|
niveau_handicap = famille.members('aeeh_niveau_handicap', period)
|
|
42
|
+
|
|
43
43
|
# Indicatrice d'isolement pour les indidivus
|
|
44
44
|
isole = famille.project(isole)
|
|
45
|
-
|
|
46
45
|
enfant_handicape = handicap * (age < prestations_familiales.education_presence_parentale.aeeh.age_maximum_enfant)
|
|
47
|
-
|
|
48
46
|
montant_par_enfant = enfant_handicape * prestations_familiales.bmaf.bmaf * (
|
|
49
47
|
base
|
|
50
48
|
+ (niveau_handicap == 1) * complement_d_allocation._children['1ere_categorie']
|
|
@@ -81,7 +79,7 @@ class aes(Variable):
|
|
|
81
79
|
|
|
82
80
|
def formula_2002_04_01(famille, period, parameters):
|
|
83
81
|
janvier = period.this_year.first_month
|
|
84
|
-
isole = not_(famille('en_couple', janvier))
|
|
82
|
+
# isole = not_(famille('en_couple', janvier))
|
|
85
83
|
prestations_familiales = parameters(period).prestations_sociales.prestations_familiales
|
|
86
84
|
|
|
87
85
|
base = prestations_familiales.education_presence_parentale.aes.base
|
|
@@ -92,7 +90,7 @@ class aes(Variable):
|
|
|
92
90
|
handicap = famille.members('handicap', janvier)
|
|
93
91
|
niveau_handicap = famille.members('aeeh_niveau_handicap', period)
|
|
94
92
|
# Indicatrice d'isolement pour les indidivus
|
|
95
|
-
isole = famille.project(isole)
|
|
93
|
+
# isole = famille.project(isole)
|
|
96
94
|
|
|
97
95
|
enfant_handicape = handicap * (age < prestations_familiales.education_presence_parentale.aes.age_maximum_enfant)
|
|
98
96
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|