OpenFisca-France 168.1.5__py3-none-any.whl → 168.2.0__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.1.5.data → OpenFisca_France-168.2.0.data}/data/share/openfisca/openfisca-france/CHANGELOG.md +8 -0
- {OpenFisca_France-168.1.5.dist-info → OpenFisca_France-168.2.0.dist-info}/METADATA +1 -1
- {OpenFisca_France-168.1.5.dist-info → OpenFisca_France-168.2.0.dist-info}/RECORD +10 -10
- openfisca_france/model/caracteristiques_socio_demographiques/logement.py +9 -0
- openfisca_france/model/prestations/minima_sociaux/ppa.py +4 -1
- openfisca_france/model/prestations/minima_sociaux/rsa.py +12 -5
- {OpenFisca_France-168.1.5.data → OpenFisca_France-168.2.0.data}/data/share/openfisca/openfisca-france/README.md +0 -0
- {OpenFisca_France-168.1.5.dist-info → OpenFisca_France-168.2.0.dist-info}/LICENSE.AGPL.txt +0 -0
- {OpenFisca_France-168.1.5.dist-info → OpenFisca_France-168.2.0.dist-info}/WHEEL +0 -0
- {OpenFisca_France-168.1.5.dist-info → OpenFisca_France-168.2.0.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 168.2.0 [2360](https://github.com/openfisca/openfisca-france/pull/2360)
|
|
4
|
+
|
|
5
|
+
* Évolution du système socio-fiscal. | Correction d'un crash.
|
|
6
|
+
* Périodes concernées : à partir du 01/10/2024.
|
|
7
|
+
* Zones impactées : `model/prestations/minima_sociaux/ppa.`.
|
|
8
|
+
* Détails :
|
|
9
|
+
- Une expérimentation sur le pré-remplissage des revenus pour calculer la prime d'activité et le RSA n'était pas limitée aux départments concernés dans https://github.com/openfisca/openfisca-france/pull/2337/files.
|
|
10
|
+
|
|
3
11
|
### 168.1.5 [2358](https://github.com/openfisca/openfisca-france/pull/2358)
|
|
4
12
|
|
|
5
13
|
* Changement mineur.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
OpenFisca_France-168.
|
|
2
|
-
OpenFisca_France-168.
|
|
1
|
+
OpenFisca_France-168.2.0.data/data/share/openfisca/openfisca-france/CHANGELOG.md,sha256=ali4_lFruBWY6JHdhOFrEKFca7RE118B7lLFlV9Ygiw,456569
|
|
2
|
+
OpenFisca_France-168.2.0.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
|
|
@@ -25,7 +25,7 @@ openfisca_france/model/mesures.py,sha256=tILWDG-ImZHdlJ_wv3ok2Ucb4V7jw3TT8piHq_E
|
|
|
25
25
|
openfisca_france/model/caracteristiques_socio_demographiques/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
26
26
|
openfisca_france/model/caracteristiques_socio_demographiques/capacite_travail.py,sha256=GrCpzWisgPV7fh1RZVj1PIJJM073xPZftS_USiqbFo0,976
|
|
27
27
|
openfisca_france/model/caracteristiques_socio_demographiques/demographie.py,sha256=sJDCGDnOyy3CPMs2bzqDNmzqMnpB0jpjfa_lUEp29JQ,24207
|
|
28
|
-
openfisca_france/model/caracteristiques_socio_demographiques/logement.py,sha256=
|
|
28
|
+
openfisca_france/model/caracteristiques_socio_demographiques/logement.py,sha256=Fad8C2X1wnFujKrqYyfXaCrTSVL1rdhj32R4uMXMy-Y,9460
|
|
29
29
|
openfisca_france/model/consommation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
30
|
openfisca_france/model/covid19/activite.py,sha256=cR8jkVupWjwcLLeJ4qrLQGyhb-Pm9VPojW3JgDaxmM0,4256
|
|
31
31
|
openfisca_france/model/covid19/familles.py,sha256=hM0EsYfj3owfrCZ5DykzcwNCBD-zXkxWJy5lwYN_7Aw,2846
|
|
@@ -117,8 +117,8 @@ openfisca_france/model/prestations/minima_sociaux/aefa.py,sha256=mXOBJgXTl_iA6aa
|
|
|
117
117
|
openfisca_france/model/prestations/minima_sociaux/anciens_ms.py,sha256=PAXVlfd8PNXR_cUyf31BUsVJ8-KTTP3Tx6CD7rRLBEw,10878
|
|
118
118
|
openfisca_france/model/prestations/minima_sociaux/asi_aspa.py,sha256=abhKjQrYylUbi5Q78JL5yx0WoVtjejVWfi13FoHxnvI,20771
|
|
119
119
|
openfisca_france/model/prestations/minima_sociaux/ass.py,sha256=lFizKYXWihH7L5jEQpHvaK-61DmxlcX0r4QoWuuG5YU,11221
|
|
120
|
-
openfisca_france/model/prestations/minima_sociaux/ppa.py,sha256=
|
|
121
|
-
openfisca_france/model/prestations/minima_sociaux/rsa.py,sha256=
|
|
120
|
+
openfisca_france/model/prestations/minima_sociaux/ppa.py,sha256=_mfMFmqXTzJFL28StwRPPAqhJghG3LvVrFUOiUOBMJ4,25384
|
|
121
|
+
openfisca_france/model/prestations/minima_sociaux/rsa.py,sha256=Zm4PtXMrJKzoT_lLctdL049Grv4hQd0PR07Q7ubZeRk,48162
|
|
122
122
|
openfisca_france/model/prestations/minima_sociaux/cs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
123
123
|
openfisca_france/model/prestations/minima_sociaux/cs/acs.py,sha256=nwihxwsjKAmgPBW3jB2GcCSOxWJuQKgNhTj_gLZ-xAw,2435
|
|
124
124
|
openfisca_france/model/prestations/minima_sociaux/cs/cmu.py,sha256=b-voxJzetykcF0WMA_cLebBQRd53Y9Z-xQGOA3jpvPk,11718
|
|
@@ -4029,8 +4029,8 @@ tests/test_parameters.py,sha256=9ByrtcJpaV32qCE-u4FY4fzCugFUW8utc5_KUAmYKG8,354
|
|
|
4029
4029
|
tests/test_preprocessing.py,sha256=BBMFR4GlFFqu86XfVcrHRbps_SpoWb1QS1lmu3c5bCE,6973
|
|
4030
4030
|
tests/test_scenarios.py,sha256=A7SmVt_iyDTbNTE45WgGQlQZkJ0uJ1ZGUhTV3ziwLUw,1009
|
|
4031
4031
|
tests/test_tax_rates.py,sha256=B_CnSIqCijGYkKW7XVZlF8uot0otNJ-Sq-DKINPATfA,1551
|
|
4032
|
-
OpenFisca_France-168.
|
|
4033
|
-
OpenFisca_France-168.
|
|
4034
|
-
OpenFisca_France-168.
|
|
4035
|
-
OpenFisca_France-168.
|
|
4036
|
-
OpenFisca_France-168.
|
|
4032
|
+
OpenFisca_France-168.2.0.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
|
|
4033
|
+
OpenFisca_France-168.2.0.dist-info/METADATA,sha256=IvQJ-TK_6LSl45fXU9Z88tR8HxTZPf-2m2wYCsotZO0,20517
|
|
4034
|
+
OpenFisca_France-168.2.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
4035
|
+
OpenFisca_France-168.2.0.dist-info/top_level.txt,sha256=hmd7WhmLN_CyB52sP702pN9WlJqO9YMVuzeBRNp3hfs,23
|
|
4036
|
+
OpenFisca_France-168.2.0.dist-info/RECORD,,
|
|
@@ -290,3 +290,12 @@ class residence(Variable):
|
|
|
290
290
|
],
|
|
291
291
|
default=TypesLieuResidence.metropole
|
|
292
292
|
)
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
class departement_experimentation_rsa(Variable):
|
|
296
|
+
value_type = bool
|
|
297
|
+
entity = Famille
|
|
298
|
+
default_value = False
|
|
299
|
+
label = 'Résidence dans un département expérimentant le préremplissage du RSA'
|
|
300
|
+
definition_period = MONTH
|
|
301
|
+
set_input = set_input_dispatch_by_period
|
|
@@ -503,7 +503,10 @@ class ppa(Variable):
|
|
|
503
503
|
reference = 'https://www.service-public.fr/particuliers/vosdroits/F2882'
|
|
504
504
|
|
|
505
505
|
def formula_2024_10(famille, period, parameters):
|
|
506
|
-
|
|
506
|
+
departement_experimentation_rsa = famille('departement_experimentation_rsa', period)
|
|
507
|
+
experimentation = ppa_base_formula(famille=famille, parameters=parameters, period=period, three_months_of_reference=last_3_months_offset_minus_1(period))
|
|
508
|
+
normal = ppa_base_formula(famille=famille, parameters=parameters, period=period, three_months_of_reference=period.last_3_months)
|
|
509
|
+
return where(departement_experimentation_rsa, experimentation, normal)
|
|
507
510
|
|
|
508
511
|
def formula_2016_01_01(famille, period, parameters):
|
|
509
512
|
return ppa_base_formula(famille=famille, parameters=parameters, period=period, three_months_of_reference=period.last_3_months)
|
|
@@ -79,7 +79,10 @@ class rsa_base_ressources_individu(Variable):
|
|
|
79
79
|
reference = 'https://www.legifrance.gouv.fr/affichCodeArticle.do?cidTexte=LEGITEXT000006073189&idArticle=LEGIARTI000036393176&dateTexte=&categorieLien=id'
|
|
80
80
|
|
|
81
81
|
def formula_2024_10(individu, period, parameters):
|
|
82
|
-
|
|
82
|
+
departement_experimentation_rsa = individu.famille('departement_experimentation_rsa', period)
|
|
83
|
+
experimentation = rsa_base_ressources_individu_base_formula(individu= individu, period= period, three_months_of_reference= last_3_months_offset_minus_1(period), parameters=parameters)
|
|
84
|
+
normal = rsa_base_ressources_individu_base_formula(individu= individu, period= period, three_months_of_reference= period.last_3_months, parameters=parameters)
|
|
85
|
+
return where(departement_experimentation_rsa, experimentation, normal)
|
|
83
86
|
|
|
84
87
|
def formula_2009_06_01(individu, period, parameters):
|
|
85
88
|
return rsa_base_ressources_individu_base_formula(individu= individu, period= period, three_months_of_reference= period.last_3_months, parameters=parameters)
|
|
@@ -146,8 +149,10 @@ class rsa_base_ressources_minima_sociaux(Variable):
|
|
|
146
149
|
set_input = set_input_divide_by_period
|
|
147
150
|
|
|
148
151
|
def formula_2024_10(famille, period):
|
|
149
|
-
|
|
150
|
-
|
|
152
|
+
departement_experimentation_rsa = famille('departement_experimentation_rsa', period)
|
|
153
|
+
experimentation = calcul_minima_sociaux(famille= famille, period= period, three_months_of_reference= last_3_months_offset_minus_1(period))
|
|
154
|
+
normal = calcul_minima_sociaux(famille= famille, period= period, three_months_of_reference= period.last_3_months)
|
|
155
|
+
return where(departement_experimentation_rsa, experimentation, normal)
|
|
151
156
|
|
|
152
157
|
def formula(famille, period):
|
|
153
158
|
three_previous_months = period.last_3_months
|
|
@@ -478,8 +483,10 @@ class rsa_revenu_activite_individu(Variable):
|
|
|
478
483
|
set_input = set_input_divide_by_period
|
|
479
484
|
|
|
480
485
|
def formula_2024_10(individu, period):
|
|
481
|
-
|
|
482
|
-
|
|
486
|
+
departement_experimentation_rsa = individu.famille('departement_experimentation_rsa', period)
|
|
487
|
+
experimentation = rsa_revenu_activite_individu_base_formula(individu= individu, period= period, three_months_of_reference= last_3_months_offset_minus_1(period))
|
|
488
|
+
normal = rsa_revenu_activite_individu_base_formula(individu= individu, period= period, three_months_of_reference= period.last_3_months)
|
|
489
|
+
return where(departement_experimentation_rsa, experimentation, normal)
|
|
483
490
|
|
|
484
491
|
def formula_2009_06(individu, period):
|
|
485
492
|
last_3_months = period.last_3_months
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|