OpenFisca-France 168.1.4__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.

@@ -1,27 +1,42 @@
1
1
  # Changelog
2
2
 
3
- ### 168.1.4 [2354](https://github.com/openfisca/openfisca-france/pull/2354)
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
+
11
+ ### 168.1.5 [2358](https://github.com/openfisca/openfisca-france/pull/2358)
4
12
 
5
13
  * Changement mineur.
6
14
  * Périodes concernées : toutes.
7
15
  * Zones impactées : `parameters`.
8
16
  * Détails :
9
17
  - Correction d'index.
10
- - Correction de description.
11
- - Correction de notes
12
- - Correction de références (synchronisation avec barèmes IPP)
13
18
 
14
- ### 168.1.3 [2355](https://github.com/openfisca/openfisca-france/pull/2355)
19
+ ### 168.1.4 [2355](https://github.com/openfisca/openfisca-france/pull/2355)
15
20
 
16
21
  * Changement mineur.
17
22
  * Périodes concernées : à partir de 2018
18
- * Zones impactées :
23
+ * Zones impactées :
19
24
  - `openfisca_france/parameters/taxation_capital/prelevement_forfaitaire/partir_2018/taux_prelevement_produits_assurance_vie_non_eligibles_prelevement_forfaitaire_unique.yaml`
20
25
  - `openfisca_france/parameters/taxation_capital/prelevement_forfaitaire/partir_2018/taux_prelevement_forfaitaire_rev_capital_eligibles_pfu_interets_dividendes_etc.yaml`.
21
26
  * Détails :
22
27
  - Modifie les labels
23
28
  - Ajoute last_value
24
29
 
30
+ ### 168.1.3 [2354](https://github.com/openfisca/openfisca-france/pull/2354)
31
+
32
+ * Changement mineur.
33
+ * Périodes concernées : toutes.
34
+ * Zones impactées : `parameters`.
35
+ * Détails :
36
+ - Correction d'index.
37
+ - Correction de description.
38
+ - Correction de notes
39
+ - Correction de références (synchronisation avec barèmes IPP)
25
40
 
26
41
  ### 168.1.2 [2345](https://github.com/openfisca/openfisca-france/pull/2345)
27
42
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: OpenFisca-France
3
- Version: 168.1.4
3
+ Version: 168.2.0
4
4
  Summary: French tax and benefit system for OpenFisca
5
5
  Home-page: https://github.com/openfisca/openfisca-france
6
6
  Author: OpenFisca Team
@@ -1,5 +1,5 @@
1
- OpenFisca_France-168.1.4.data/data/share/openfisca/openfisca-france/CHANGELOG.md,sha256=J6aXBcfUxAGGB4mj0EzKTb5LG7LmLlGsZumHlAPxrg4,455875
2
- OpenFisca_France-168.1.4.data/data/share/openfisca/openfisca-france/README.md,sha256=nIa6V4zevZpj2DX1rcpgs6AATTerCCy4622S1D3-CDI,18642
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=QedbhSXf7sdZhOCrItx2_HBZ_57XU8X8kd9vfZFlank,9178
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=gIyPvU4gv2x-uZIDFLP92YbueuHB4ubNSMMlfeSDHg8,25064
121
- openfisca_france/model/prestations/minima_sociaux/rsa.py,sha256=65MdN4QZ1rms0vcTwZlSXis2HpQfK5_vE18PIFGvudw,47257
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
@@ -1825,7 +1825,7 @@ openfisca_france/parameters/prelevements_sociaux/reductions_cotisations_sociales
1825
1825
  openfisca_france/parameters/prelevements_sociaux/reductions_cotisations_sociales/alleg_gen/dispositifs_de_reductions_des_cotisations_famille_1993_1996/1_1_1_2_smic.yaml,sha256=dkLvKMtdUMG_UH2ojEdsXxEPSk640NdPV2-lPQaFP-A,1194
1826
1826
  openfisca_france/parameters/prelevements_sociaux/reductions_cotisations_sociales/alleg_gen/dispositifs_de_reductions_des_cotisations_famille_1993_1996/1_2_1_3_smic.yaml,sha256=Q0Lq13jMWbZUPjj_nmMuTEdvjGfvSnp3HnHjdy0Rxsc,1193
1827
1827
  openfisca_france/parameters/prelevements_sociaux/reductions_cotisations_sociales/alleg_gen/dispositifs_de_reductions_des_cotisations_famille_1993_1996/index.yaml,sha256=ULnaxKzc1Z5vh6FRuEFa9rsjrzW1EMKZ5byVb8iwLEs,283
1828
- openfisca_france/parameters/prelevements_sociaux/reductions_cotisations_sociales/alleg_gen/mmid/index.yaml,sha256=yRSq1GLBCO_y1_4cCC2XzgrxoLBWqL2ZANF8YxIdUQQ,314
1828
+ openfisca_france/parameters/prelevements_sociaux/reductions_cotisations_sociales/alleg_gen/mmid/index.yaml,sha256=eoY-Bp-nplv7AL5xhVLOuc9cdQTtOTlOUqgv0E9YLjA,309
1829
1829
  openfisca_france/parameters/prelevements_sociaux/reductions_cotisations_sociales/alleg_gen/mmid/plafond.yaml,sha256=QrsZQAbclHdRjIHGJQ-1EtgsE_J79SOOqBzKgaSX1dI,1509
1830
1830
  openfisca_france/parameters/prelevements_sociaux/reductions_cotisations_sociales/alleg_gen/mmid/plafond_smic_2023_12_31.yaml,sha256=RzIMjV-Ja2YDSiGwLHx-oIbcX9HPUsodcE7xECW4vQE,999
1831
1831
  openfisca_france/parameters/prelevements_sociaux/reductions_cotisations_sociales/alleg_gen/mmid/plafond_smic_courant.yaml,sha256=MHHdYXeVdwDhdwOMz3qq1rcOw7HOojorl_RT4SLrWA8,987
@@ -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.1.4.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4033
- OpenFisca_France-168.1.4.dist-info/METADATA,sha256=2VW8dYr5YraWeLXhy1xpKvdy2BsVc0vp6_D-nsHc24M,20517
4034
- OpenFisca_France-168.1.4.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
4035
- OpenFisca_France-168.1.4.dist-info/top_level.txt,sha256=hmd7WhmLN_CyB52sP702pN9WlJqO9YMVuzeBRNp3hfs,23
4036
- OpenFisca_France-168.1.4.dist-info/RECORD,,
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
- return ppa_base_formula(famille=famille, parameters=parameters, period=period, three_months_of_reference=last_3_months_offset_minus_1(period))
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
- return rsa_base_ressources_individu_base_formula(individu= individu, period= period, three_months_of_reference= last_3_months_offset_minus_1(period), parameters=parameters)
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
- three_months_of_reference = last_3_months_offset_minus_1(period)
150
- return calcul_minima_sociaux(famille= famille, period= period, three_months_of_reference=three_months_of_reference)
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
- period_m2_m4 = last_3_months_offset_minus_1(period)
482
- return rsa_revenu_activite_individu_base_formula(individu= individu, period=period, three_months_of_reference=period_m2_m4)
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
@@ -5,4 +5,4 @@ metadata:
5
5
  order:
6
6
  - plafond_smic_courant
7
7
  - plafond_smic_2023_12_31
8
- - plafond_smic
8
+ - plafond