OpenFisca-France 169.14.4__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.
- {OpenFisca_France-169.14.4.dist-info → OpenFisca_France-169.14.5.dist-info}/METADATA +1 -1
- {OpenFisca_France-169.14.4.dist-info → OpenFisca_France-169.14.5.dist-info}/RECORD +6 -6
- openfisca_france/model/prestations/minima_sociaux/ppa.py +10 -2
- {OpenFisca_France-169.14.4.dist-info → OpenFisca_France-169.14.5.dist-info}/LICENSE.AGPL.txt +0 -0
- {OpenFisca_France-169.14.4.dist-info → OpenFisca_France-169.14.5.dist-info}/WHEEL +0 -0
- {OpenFisca_France-169.14.4.dist-info → OpenFisca_France-169.14.5.dist-info}/top_level.txt +0 -0
|
@@ -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=
|
|
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
|
|
@@ -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.
|
|
4038
|
-
OpenFisca_France-169.14.
|
|
4039
|
-
OpenFisca_France-169.14.
|
|
4040
|
-
OpenFisca_France-169.14.
|
|
4041
|
-
OpenFisca_France-169.14.
|
|
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,,
|
|
@@ -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
|
|
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
|
|
{OpenFisca_France-169.14.4.dist-info → OpenFisca_France-169.14.5.dist-info}/LICENSE.AGPL.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|