OpenFisca-France 168.1.1__py3-none-any.whl → 168.1.2__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,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ### 168.1.2 [2345](https://github.com/openfisca/openfisca-france/pull/2345)
4
+
5
+ * Changement mineur.
6
+ * Périodes concernées : toutes.
7
+ * Zones impactées : `openfisca_france/model/prestations/jeunes/pass_sport`.
8
+ * Détails :
9
+ - Corrige les éligibilités ars et aeeh dans le calcul du montant de l'aide Pass Sport
10
+
3
11
  ## 168.1.1 [2351](https://github.com/openfisca/openfisca-france/pull/2351)
4
12
 
5
13
  * Correction d'un crash
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: OpenFisca-France
3
- Version: 168.1.1
3
+ Version: 168.1.2
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.1.data/data/share/openfisca/openfisca-france/CHANGELOG.md,sha256=4gWqEW8MARYVVHCW7L_miSF7AnSBxFOgZP_JR2G604o,454665
2
- OpenFisca_France-168.1.1.data/data/share/openfisca/openfisca-france/README.md,sha256=nIa6V4zevZpj2DX1rcpgs6AATTerCCy4622S1D3-CDI,18642
1
+ OpenFisca_France-168.1.2.data/data/share/openfisca/openfisca-france/CHANGELOG.md,sha256=RQkaEXTvDdTzHTDmV67Yy3nwMu7VdbZiO2lyVwcJeOs,454978
2
+ OpenFisca_France-168.1.2.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
@@ -108,7 +108,7 @@ openfisca_france/model/prestations/jeunes/garantie_jeunes.py,sha256=qLa3vdsNZuyK
108
108
  openfisca_france/model/prestations/jeunes/garantie_pret_etudiant.py,sha256=ZrN5VXAHkq5BYHxvWTamXDrMQxA_xwIDToBPXEZdw1s,2018
109
109
  openfisca_france/model/prestations/jeunes/mobili_jeune.py,sha256=dWo1zDSsTkiBF4LBmKgtBF8FXwZ3uvXQ01jPcP2P-6M,5919
110
110
  openfisca_france/model/prestations/jeunes/pass_colo.py,sha256=eYoSnKcXzMl6fTgaqNaQ_5iHyO8KV_kwuJ1rekoinx8,1271
111
- openfisca_france/model/prestations/jeunes/pass_sport.py,sha256=wjb3PRFhcdXYqN3wVrdxfM0BD9TvOWohqjXkO3DPb9s,2750
111
+ openfisca_france/model/prestations/jeunes/pass_sport.py,sha256=lscDjG98QBOBaZS13HuSlihKMTbcU7kbxhoIVDVBvnk,2806
112
112
  openfisca_france/model/prestations/jeunes/service_civique.py,sha256=qW0r6gGyPswa6-2bB3VXtuHmeZwbSWjTIpAxk-QekJA,376
113
113
  openfisca_france/model/prestations/minima_sociaux/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
114
114
  openfisca_france/model/prestations/minima_sociaux/aah.py,sha256=JTEQ9HzlXtaJUplQsOSZ_OeDn3ISDdeGjmPoIMtMdr0,44603
@@ -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.1.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4033
- OpenFisca_France-168.1.1.dist-info/METADATA,sha256=j6Prmt2qFqmS951icFuo1G5J0DJ5iB7bFCpf5ofxIQI,20517
4034
- OpenFisca_France-168.1.1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
4035
- OpenFisca_France-168.1.1.dist-info/top_level.txt,sha256=hmd7WhmLN_CyB52sP702pN9WlJqO9YMVuzeBRNp3hfs,23
4036
- OpenFisca_France-168.1.1.dist-info/RECORD,,
4032
+ OpenFisca_France-168.1.2.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4033
+ OpenFisca_France-168.1.2.dist-info/METADATA,sha256=Jbtnrbj-BEk3AmxLu-15AHPDfx_yOgu17C86D_ogc9U,20517
4034
+ OpenFisca_France-168.1.2.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
4035
+ OpenFisca_France-168.1.2.dist-info/top_level.txt,sha256=hmd7WhmLN_CyB52sP702pN9WlJqO9YMVuzeBRNp3hfs,23
4036
+ OpenFisca_France-168.1.2.dist-info/RECORD,,
@@ -23,23 +23,23 @@ class pass_sport(Variable):
23
23
  eligibilite_age_profil_boursier = age <= age_maximum_profil_boursier
24
24
  eligibilite_profil_boursier = boursier * eligibilite_age_profil_boursier
25
25
 
26
- ars = individu.famille('ars', period.this_year)
26
+ eligibilite_ars = individu.famille('ars', period.this_year) > 0
27
27
  age_maximum_profil_ars = parametres.critere_age.age_maximum_profil_ars
28
28
  age_minimum_profil_ars = parametres.critere_age.age_minimum_profil_ars
29
29
  eligibilite_age_profil_ars = (age >= age_minimum_profil_ars) * (age <= age_maximum_profil_ars)
30
- eligibilite_profil_ars = ars * eligibilite_age_profil_ars
30
+ eligibilite_profil_ars = eligibilite_ars * eligibilite_age_profil_ars
31
31
 
32
- aeeh = individu.famille('aeeh', period)
32
+ eligibilite_aeeh = individu.famille('aeeh', period) > 0
33
33
  age_maximum_profil_aeeh = parametres.critere_age.age_maximum_profil_aeeh
34
34
  age_minimum_profil_aeeh = parametres.critere_age.age_minimum_profil_aeeh
35
35
  eligibilite_age_profil_aeeh = (age >= age_minimum_profil_aeeh) * (age <= age_maximum_profil_aeeh)
36
- eligibilite_profil_aeeh = aeeh * eligibilite_age_profil_aeeh
36
+ eligibilite_profil_aeeh = eligibilite_aeeh * eligibilite_age_profil_aeeh
37
37
 
38
- aah_eligibilite = individu('aah', period) > 0
38
+ eligibilite_aah = individu('aah', period) > 0
39
39
  age_maximum_profil_aah = parametres.critere_age.age_maximum_profil_aah
40
40
  age_minimum_profil_aah = parametres.critere_age.age_minimum_profil_aah
41
41
  eligibilite_age_profil_aah = (age >= age_minimum_profil_aah) * (age <= age_maximum_profil_aah)
42
- eligibilite_profil_aah = (aah_eligibilite * eligibilite_age_profil_aah)
42
+ eligibilite_profil_aah = (eligibilite_aah * eligibilite_age_profil_aah)
43
43
 
44
44
  montant = parametres.montant
45
45