OpenFisca-France-Local 6.10.0__py3-none-any.whl → 6.11.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-Local might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: OpenFisca-France-Local
3
- Version: 6.10.0
3
+ Version: 6.11.0
4
4
  Summary: Extension OpenFisca pour nos partenariats avec les collectivités territoriales
5
5
  Home-page: https://github.com/openfisca/openfisca-france-local
6
6
  Author: OpenFisca Team
@@ -1,4 +1,4 @@
1
- OpenFisca_France_Local-6.10.0.data/scripts/openfisca_local_test,sha256=M55UQ5tskwZpJVLXGqlIcVs1nVZ2pBr_-R9jh-z2tbw,128
1
+ OpenFisca_France_Local-6.11.0.data/scripts/openfisca_local_test,sha256=M55UQ5tskwZpJVLXGqlIcVs1nVZ2pBr_-R9jh-z2tbw,128
2
2
  openfisca_france_local/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  openfisca_france_local/aides_jeunes_reform.py,sha256=0HB6J3Fiu5sUpwLRJoMW2mxtFWYhCj_7K8y2fnOH1vA,16309
4
4
  openfisca_france_local/convert_benefit_conditions_to_parameters.py,sha256=NxDNjbYfOATVcm__Xrm5SmmeYdf5rwCpTlwozMDoFDs,4974
@@ -55,7 +55,7 @@ openfisca_france_local/metropoles/brest/communes.py,sha256=HDYmZxAwbgaDcZwUqR0om
55
55
  openfisca_france_local/metropoles/brest/quotient_familial_caf.py,sha256=sSmxT37KgGkdfA0LZioY3V0ddjOU6lCHoLEAKEKL_ms,1532
56
56
  openfisca_france_local/metropoles/brest/transport.py,sha256=f8UA8NF9l5JMm2Wq1eK7pZNN4cjrbgf2s-p8OLIDHdg,1605
57
57
  openfisca_france_local/metropoles/lyon/eligibilite.py,sha256=6mEET2-XiiRN71xa3vakGWk3r-pIZJGFmcGOpmckgpc,362
58
- openfisca_france_local/metropoles/lyon/revenu_solidaire_jeune.py,sha256=OzRjGZWSw9uM9-Lj3f_aRSAYSVN6PHstEYm5eFYn7bw,1536
58
+ openfisca_france_local/metropoles/lyon/revenu_solidaire_jeune.py,sha256=XRrE4KHj0U9N63TK-bx8zNpIULWeXZlm1ZfJaC5Q_OI,1733
59
59
  openfisca_france_local/metropoles/nantes/tarification_solidaire_transports.py,sha256=SqQ5O-bB4HI_M2kHSAPhd0-0KTPdmzdYRvrGOY76e7k,2022
60
60
  openfisca_france_local/metropoles/rennes/communes.py,sha256=tS-CU-wNzDooNB9OljyYdAqrp86DKFYcQFtFEfI8c9s,617
61
61
  openfisca_france_local/metropoles/rennes/mon_aide.py,sha256=kuhJx6_hlC4LEz4RA8jYif-q6yO3AsJFA5MHSHmtwp4,7084
@@ -210,7 +210,7 @@ tests/departements/yvelines/aide_permis.yml,sha256=ny1sZvk6Gel6eSWQQfy1ZA2uM8M3R
210
210
  tests/metropoles/bordeaux/aide_tarification_solidaire_transport.yaml,sha256=X79WzT1ykTuaLwSR4AtXTlDITRIFxHwzTSDjCVoJLw8,369
211
211
  tests/metropoles/brest/quotient_familial_caf.yaml,sha256=ETZhCReIpCh9Ag2nJqxmvMjBXJ3YUvLUQN6pViT-3fI,1542
212
212
  tests/metropoles/brest/transport.yaml,sha256=OX2b90LLD7taZFdridHNFUH_5_3dRUGUvfcK9X6K4hs,842
213
- tests/metropoles/lyon/revenu_solidaire_jeune.yaml,sha256=8eeV0JO1yPzBgSScdcBqTJH2TwDTOAJViK7nj8QqmNw,1056
213
+ tests/metropoles/lyon/revenu_solidaire_jeune.yaml,sha256=LmZtermbunVBYidq0EMFQTBwnSljNJHcZ8YnidnAJHQ,1121
214
214
  tests/metropoles/nantes/eligibilite.yaml,sha256=uc63B6SZ1CgBItGojwRIa8ay1eKMRgNx6fT7r0egEyM,266
215
215
  tests/metropoles/nantes/quotient_familial.yaml,sha256=-UJoDYaTy_e2DaOu4SNpH4kbC1XAG0DkeRn07FD_0TI,136
216
216
  tests/metropoles/nantes/tarification_solidaire_transports.yaml,sha256=VYmKKOhohQvCxF45VEutzv-jx8ZRydMj21qcFEtFmgc,243
@@ -240,8 +240,8 @@ tests/regions/occitanie/carte_jeune_region.yml,sha256=t86RNkSuBYr2fEt60WZi0R115n
240
240
  tests/regions/occitanie/carte_transport_scolaire.yml,sha256=ZzVRWnH6i9nni7hatdfUX0ltcWR2BCwh4BLP7UpKuZE,318
241
241
  tests/regions/occitanie/msa_midi_pyrenees_sud/aide_permis.yml,sha256=zAI_NBTfsP_Q72pDabN2ChQnpK98xasXetIQJmq6LTc,439
242
242
  tests/regions/pays_de_la_loire/epass_jeunes_culture_sport.yaml,sha256=vgdq2hFtBWYWHHmO70bPV0lR_0wohJfmJGQb48A0EpQ,336
243
- OpenFisca_France_Local-6.10.0.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
244
- OpenFisca_France_Local-6.10.0.dist-info/METADATA,sha256=7XHCrmBu9r7soujPIZaB3_EmLzDiXoZDZ3PJUWj0GOU,1130
245
- OpenFisca_France_Local-6.10.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
246
- OpenFisca_France_Local-6.10.0.dist-info/top_level.txt,sha256=DPfQtZjavxRdHDsGTetqu5AEeVMEEBtG1qdv7ijuwWQ,56
247
- OpenFisca_France_Local-6.10.0.dist-info/RECORD,,
243
+ OpenFisca_France_Local-6.11.0.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
244
+ OpenFisca_France_Local-6.11.0.dist-info/METADATA,sha256=C6DSjsPg5ogbgLsCMMp0kjYeCB2S1OPDCsfPt8YrOok,1130
245
+ OpenFisca_France_Local-6.11.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
246
+ OpenFisca_France_Local-6.11.0.dist-info/top_level.txt,sha256=DPfQtZjavxRdHDsGTetqu5AEeVMEEBtG1qdv7ijuwWQ,56
247
+ OpenFisca_France_Local-6.11.0.dist-info/RECORD,,
@@ -3,6 +3,13 @@ from openfisca_france.model.base import (
3
3
  Variable, Individu, MONTH, TypesActivite)
4
4
 
5
5
 
6
+ class sous_contrat_engagement_jeune(Variable):
7
+ value_type = bool
8
+ entity = Individu
9
+ definition_period = MONTH
10
+ label = "Est actuellement en Contrat Engagement Jeune"
11
+
12
+
6
13
  class revenu_solidaire_jeune(Variable):
7
14
  value_type = float
8
15
  entity = Individu
@@ -20,8 +27,8 @@ class revenu_solidaire_jeune(Variable):
20
27
  rsa = individu.famille('rsa', period)
21
28
  aah = individu('aah', period)
22
29
  aeeh = individu.famille('aeeh', period)
23
- contrat_engagement_jeune = individu('contrat_engagement_jeune', period)
24
- prestations_incompatibles = rsa + aah + aeeh + contrat_engagement_jeune
30
+ sous_contrat_engagement_jeune = individu('sous_contrat_engagement_jeune', period)
31
+ prestations_incompatibles = rsa + aah + aeeh + sous_contrat_engagement_jeune
25
32
  eligibilite_prestations = prestations_incompatibles == 0
26
33
 
27
34
  pas_en_etude = individu('activite', period) != TypesActivite.etudiant
@@ -8,7 +8,7 @@
8
8
  rsa: [0, 0, 0, 0, 0, 1, 0, 0, 0, 0]
9
9
  aah: [0, 0, 0, 0, 0, 0, 1, 0, 0, 0]
10
10
  aeeh: [0, 0, 0, 0, 0, 0, 0, 1, 0, 0]
11
- contrat_engagement_jeune: [0, 0, 0, 0, 0, 0, 0, 0, 1, 0]
11
+ sous_contrat_engagement_jeune: [False, False, False, False, False, False, False, False, True, False]
12
12
  activite: ['inactif', 'inactif', 'inactif', 'inactif', 'inactif', 'inactif', 'inactif', 'inactif', 'inactif', 'etudiant']
13
13
  output:
14
14
  revenu_solidaire_jeune: [420, 0, 0, 0, 420, 0, 0, 0, 0, 0]
@@ -20,7 +20,7 @@
20
20
  input:
21
21
  age: [18, 18, 18, 18]
22
22
  depcom: [69003, 69003, 69003, 69003]
23
- contrat_engagement_jeune: [0, 0, 0, 0]
23
+ sous_contrat_engagement_jeune: [False, False, False, False]
24
24
  salaire_net: [1, 400, 401, 101]
25
25
  indemnites_stage: [0, 0, 0, 101]
26
26
  ppa: [0, 0, 0, 101]