OpenFisca-France 169.14.3__py3-none-any.whl → 169.14.5__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,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: OpenFisca-France
3
- Version: 169.14.3
3
+ Version: 169.14.5
4
4
  Summary: OpenFisca Rules as Code model for France.
5
5
  Author-email: OpenFisca Team <contact@openfisca.fr>
6
6
  Project-URL: Homepage, https://github.com/openfisca/openfisca-france
@@ -117,7 +117,7 @@ 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=NFK5RuXb4OO34MCAPCdPm_z1tNYkV9JZ8IAA-UMFgH0,25511
120
+ openfisca_france/model/prestations/minima_sociaux/ppa.py,sha256=IEW2WzSadQ7uUz8UyT8CofDDfWsSZ7E6YvzZNHWoCiU,26151
121
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
@@ -485,7 +485,7 @@ openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/actions_gratuite
485
485
  openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/actions_gratuites/taux3.yaml,sha256=K0Gi5DaRehnUvOPa8mW1AmaaKlr1kBO--Yx4sHC4LGU,764
486
486
  openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/actions_gratuites/taux4.yaml,sha256=5v2_WcNBxuGvW6hGnuRAnG9k0AwWxYFOhPZa66pqdbw,609
487
487
  openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/bspce/index.yaml,sha256=zB0mEXD7dhzZVRRzH52i07K4gopX9KEmGSucwWgnJRA,579
488
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/bspce/taux_moins_3_ans.yaml,sha256=YKOc9JS2w_D7l4l35bWR82bYaoK1ErKoq280fKsOIwA,1127
488
+ openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/bspce/taux_moins_3_ans.yaml,sha256=LfteEIC_KOUe_PrzIyJ8uVm8H8fYcKVNGqfiBNmVQCg,1142
489
489
  openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/bspce/taux_plus_3_ans_pre_2018.yaml,sha256=xKrW1WNH3XYhlPsq-Kzo7MhJU4CWenIDrrEpQjxe9m8,1346
490
490
  openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/etnc/index.yaml,sha256=63TCZaN4IjWDhUCigAUDECKY1E0H8FfKxvuK193h5tM,274
491
491
  openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/etnc/taux.yaml,sha256=9wjs3dMVBDNrPDAl38z2jZjF_vQq4hkmClFBcpwen1I,477
@@ -4034,8 +4034,8 @@ openfisca_france/scripts/performance/measure_spiral_performances.py,sha256=cQIxE
4034
4034
  openfisca_france/scripts/performance/measure_tests_performance.py,sha256=HYgSJy-OMZay2AZt6ztntgdUbW_RL2xMr-iHcK-zoVY,1869
4035
4035
  openfisca_france/situation_examples/__init__.py,sha256=BTRmrqk9lsjfhtPXsYcsWqXFEYyFpgLcxNs6oJsy8zk,262
4036
4036
  openfisca_france/situation_examples/couple.json,sha256=Ot1x4wl3IS-2-10X3V7ZUokkOMXi96s-xK7A0gNvRF4,862
4037
- OpenFisca_France-169.14.3.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4038
- OpenFisca_France-169.14.3.dist-info/METADATA,sha256=JUkCa2i1K7kNpnwzOuIqpLsq5qSDzfsU0PqyjkIGKnE,20831
4039
- OpenFisca_France-169.14.3.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
4040
- OpenFisca_France-169.14.3.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
4041
- OpenFisca_France-169.14.3.dist-info/RECORD,,
4037
+ OpenFisca_France-169.14.5.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4038
+ OpenFisca_France-169.14.5.dist-info/METADATA,sha256=JZ71uECnBLDJ11GUr3F4f9BbKMRECHb55RCVscRZHVQ,20831
4039
+ OpenFisca_France-169.14.5.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
4040
+ OpenFisca_France-169.14.5.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
4041
+ OpenFisca_France-169.14.5.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.7.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -9,14 +9,22 @@ class ppa_eligibilite(Variable):
9
9
  label = 'Eligibilité à la PPA pour un mois'
10
10
  definition_period = MONTH
11
11
  set_input = set_input_dispatch_by_period
12
+ reference = [
13
+ 'Article L842-2 du Code de la Sécurité Sociale',
14
+ 'https://www.legifrance.gouv.fr/affichCodeArticle.do;jsessionid=F2B88CEFCB83FCAFA4AA31671DAC89DD.tplgfr26s_3?idArticle=LEGIARTI000031087615&cidTexte=LEGITEXT000006073189&dateTexte=20181226'
15
+ ]
12
16
 
13
17
  def formula(famille, period, parameters):
14
18
  ppa = parameters(period).prestations_sociales.solidarite_insertion.minima_sociaux.ppa
15
19
  age_min = ppa.pa_cond.age_min
16
20
  condition_age_i = famille.members('age', period) >= age_min
17
21
  condition_age = famille.any(condition_age_i)
22
+ rsa_majore_eligibilite = famille('rsa_majore_eligibilite', period)
23
+ rsa_condition_nationalite_i = famille.members('rsa_condition_nationalite', period)
24
+ rsa_condition_nationalite = famille.any(rsa_condition_nationalite_i)
25
+ condition_nationalite = (rsa_condition_nationalite + rsa_majore_eligibilite) > 0
18
26
 
19
- return condition_age
27
+ return condition_age * condition_nationalite
20
28
 
21
29
 
22
30
  class ppa_plancher_revenu_activite_apprenant(Variable):
@@ -425,7 +433,7 @@ class ppa_forfait_logement(Variable):
425
433
  class ppa_fictive_ressource_activite(Variable):
426
434
  value_type = float
427
435
  entity = Famille
428
- label = "Proportion de ressources provenant de l'activité prise en compte pour la primie d'activité fictive"
436
+ label = "Proportion de ressources provenant de l'activité prise en compte pour la prime d'activité fictive"
429
437
  definition_period = MONTH
430
438
  set_input = set_input_dispatch_by_period
431
439
 
@@ -6,8 +6,9 @@ values:
6
6
  value: 0.3
7
7
  metadata:
8
8
  short_label: Taux d'imposition pour une activité exercée dans la société depuis moins de 3 ans (case 3SK)
9
- 1998-01-01:
10
- - title: Article 163 bis G du Code général des impôts
9
+ reference:
10
+ 1998-01-01:
11
+ title: Article 163 bis G du Code général des impôts
11
12
  href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000031011397
12
13
  last_value_still_valid_on: "2024-11-07"
13
14
  ipp_csv_id: tx_bspce_moins