OpenFisca-France 169.18.4__py3-none-any.whl → 169.18.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/model/prestations/jeunes/pass_colo.py +5 -3
- openfisca_france/parameters/prestations_sociales/education/pass_colo/age_enfant.yaml +12 -0
- openfisca_france/parameters/prestations_sociales/education/pass_colo/index.yaml +1 -1
- {openfisca_france-169.18.4.dist-info → openfisca_france-169.18.5.dist-info}/METADATA +1 -1
- {openfisca_france-169.18.4.dist-info → openfisca_france-169.18.5.dist-info}/RECORD +8 -8
- openfisca_france/parameters/prestations_sociales/education/pass_colo/annee_naissance_enfant.yaml +0 -10
- {openfisca_france-169.18.4.dist-info → openfisca_france-169.18.5.dist-info}/LICENSE.AGPL.txt +0 -0
- {openfisca_france-169.18.4.dist-info → openfisca_france-169.18.5.dist-info}/WHEEL +0 -0
- {openfisca_france-169.18.4.dist-info → openfisca_france-169.18.5.dist-info}/top_level.txt +0 -0
|
@@ -16,8 +16,10 @@ class pass_colo(Variable):
|
|
|
16
16
|
|
|
17
17
|
def formula_2024_01(individu, period, parameters):
|
|
18
18
|
parametres = parameters(period).prestations_sociales.education.pass_colo
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
age_enfant = parametres.age_enfant
|
|
20
|
+
premier_janvier = period.offset(- age_enfant, 'year').start
|
|
21
|
+
ne_premier_janvier = any(datetime64(premier_janvier) == date_naissance.astype('datetime64') for date_naissance in individu.famille.members('date_naissance', period))
|
|
22
|
+
age_eligible = any((age_enfant == age + 1) for age in individu.famille.members('age', period.this_year.first_month)) | ne_premier_janvier
|
|
21
23
|
|
|
22
24
|
rfr = individu.foyer_fiscal('rfr', period.n_2)
|
|
23
25
|
nbptr = individu.foyer_fiscal('nbptr', period.n_2)
|
|
@@ -26,4 +28,4 @@ class pass_colo(Variable):
|
|
|
26
28
|
modalites = parametres.montants
|
|
27
29
|
montant = modalites.calc(quotient_familial)
|
|
28
30
|
|
|
29
|
-
return montant *
|
|
31
|
+
return montant * age_eligible
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
description: Condition d'âge de l'enfant
|
|
2
|
+
values:
|
|
3
|
+
2024-01-01:
|
|
4
|
+
value: 11
|
|
5
|
+
metadata:
|
|
6
|
+
short_label: Age de l'enfant
|
|
7
|
+
unit: year
|
|
8
|
+
reference:
|
|
9
|
+
2024-01-01:
|
|
10
|
+
title: Décret n° 2024-277 du 28 mars 2024 relatif au « Pass'colo »
|
|
11
|
+
href: https://www.legifrance.gouv.fr/jorf/article_jo/JORFARTI000049339146
|
|
12
|
+
|
|
@@ -110,7 +110,7 @@ openfisca_france/model/prestations/jeunes/contrat_engagement_jeune.py,sha256=Ets
|
|
|
110
110
|
openfisca_france/model/prestations/jeunes/garantie_jeunes.py,sha256=qLa3vdsNZuyK_IdNhqXJPunLhvSj3PdYFMdzrldcPbg,6427
|
|
111
111
|
openfisca_france/model/prestations/jeunes/garantie_pret_etudiant.py,sha256=ZrN5VXAHkq5BYHxvWTamXDrMQxA_xwIDToBPXEZdw1s,2018
|
|
112
112
|
openfisca_france/model/prestations/jeunes/mobili_jeune.py,sha256=dWo1zDSsTkiBF4LBmKgtBF8FXwZ3uvXQ01jPcP2P-6M,5919
|
|
113
|
-
openfisca_france/model/prestations/jeunes/pass_colo.py,sha256=
|
|
113
|
+
openfisca_france/model/prestations/jeunes/pass_colo.py,sha256=PkN1_z_aUzgH8kzNVw_LU-rxmwBCy8NdEOi7rd39N1E,1448
|
|
114
114
|
openfisca_france/model/prestations/jeunes/pass_sport.py,sha256=lscDjG98QBOBaZS13HuSlihKMTbcU7kbxhoIVDVBvnk,2806
|
|
115
115
|
openfisca_france/model/prestations/jeunes/service_civique.py,sha256=qW0r6gGyPswa6-2bB3VXtuHmeZwbSWjTIpAxk-QekJA,376
|
|
116
116
|
openfisca_france/model/prestations/minima_sociaux/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -2750,8 +2750,8 @@ openfisca_france/parameters/prestations_sociales/education/mobilite/mobili_jeune
|
|
|
2750
2750
|
openfisca_france/parameters/prestations_sociales/education/mobilite/mobili_jeune/montant/maximum/secteur_agricole.yaml,sha256=kzHduhKqM713FlIwP3lk_pFNhv9Gr42OTJjrSTGEQcY,173
|
|
2751
2751
|
openfisca_france/parameters/prestations_sociales/education/mobilite/parcoursup/index.yaml,sha256=DaUkJjwd9ajvs1N7Qyo4-bn6DA9W4795wdr5dOV1shQ,133
|
|
2752
2752
|
openfisca_france/parameters/prestations_sociales/education/mobilite/parcoursup/montant.yaml,sha256=5b8uSYItmdjKO8TGMHhK6Cim9YO5eFkC6_f3DT42i7Y,296
|
|
2753
|
-
openfisca_france/parameters/prestations_sociales/education/pass_colo/
|
|
2754
|
-
openfisca_france/parameters/prestations_sociales/education/pass_colo/index.yaml,sha256=
|
|
2753
|
+
openfisca_france/parameters/prestations_sociales/education/pass_colo/age_enfant.yaml,sha256=YxFW_6rtBMm-Hwdskaw8BUj9RFQrKvsapGEk3uM1F94,319
|
|
2754
|
+
openfisca_france/parameters/prestations_sociales/education/pass_colo/index.yaml,sha256=L6ST9kUuyIi_7QGYGJJOTK1ZX5Uc75E8o68yhBMH8ag,345
|
|
2755
2755
|
openfisca_france/parameters/prestations_sociales/education/pass_colo/montants.yaml,sha256=fojPyQ9wFyh_SozgXYS3ZYXvt-hGfvA3OShi8oKBjuE,866
|
|
2756
2756
|
openfisca_france/parameters/prestations_sociales/education/pass_culture/age_maximum.yaml,sha256=7yGwIIoYweQWG5Wj_TN0uB2pl0tSXo-rZtMGPeDbDhI,493
|
|
2757
2757
|
openfisca_france/parameters/prestations_sociales/education/pass_culture/index.yaml,sha256=s7NkSSYQprKXjMke5S4b72oU61DeOoeYGYPYxqBqnXo,100
|
|
@@ -4089,8 +4089,8 @@ openfisca_france/scripts/performance/measure_spiral_performances.py,sha256=cQIxE
|
|
|
4089
4089
|
openfisca_france/scripts/performance/measure_tests_performance.py,sha256=HYgSJy-OMZay2AZt6ztntgdUbW_RL2xMr-iHcK-zoVY,1869
|
|
4090
4090
|
openfisca_france/situation_examples/__init__.py,sha256=BTRmrqk9lsjfhtPXsYcsWqXFEYyFpgLcxNs6oJsy8zk,262
|
|
4091
4091
|
openfisca_france/situation_examples/couple.json,sha256=Ot1x4wl3IS-2-10X3V7ZUokkOMXi96s-xK7A0gNvRF4,862
|
|
4092
|
-
openfisca_france-169.18.
|
|
4093
|
-
openfisca_france-169.18.
|
|
4094
|
-
openfisca_france-169.18.
|
|
4095
|
-
openfisca_france-169.18.
|
|
4096
|
-
openfisca_france-169.18.
|
|
4092
|
+
openfisca_france-169.18.5.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
|
|
4093
|
+
openfisca_france-169.18.5.dist-info/METADATA,sha256=TRlcdrF21f0uahskI-lR3VptroeWW5REfIZuXQy0HqI,20831
|
|
4094
|
+
openfisca_france-169.18.5.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
|
4095
|
+
openfisca_france-169.18.5.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
|
|
4096
|
+
openfisca_france-169.18.5.dist-info/RECORD,,
|
openfisca_france/parameters/prestations_sociales/education/pass_colo/annee_naissance_enfant.yaml
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
description: Condition de date de naissance en 2013 pour l'enfant
|
|
2
|
-
values:
|
|
3
|
-
2024-01-01:
|
|
4
|
-
value: 2013
|
|
5
|
-
metadata:
|
|
6
|
-
short_label: Année de naissance de l'enfant
|
|
7
|
-
unit: year
|
|
8
|
-
reference:
|
|
9
|
-
2024-03-29:
|
|
10
|
-
href: https://www.legifrance.gouv.fr/jorf/article_jo/JORFARTI000049339146
|
{openfisca_france-169.18.4.dist-info → openfisca_france-169.18.5.dist-info}/LICENSE.AGPL.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|