OpenFisca-France-Local 4.2.9__py3-none-any.whl → 4.2.10__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: 4.2.9
3
+ Version: 4.2.10
4
4
  Summary: Extension OpenFisca pour nos partenariats avec les collectivités territoriales
5
5
  Home-page: https://github.com/openfisca/openfisca-france
6
6
  Author: OpenFisca Team
@@ -15,8 +15,8 @@ Classifier: Programming Language :: Python :: 3.6
15
15
  Classifier: Programming Language :: Python :: 3.7
16
16
  Classifier: Topic :: Scientific/Engineering :: Information Analysis
17
17
  License-File: LICENSE
18
- Requires-Dist: OpenFisca-Core (<36,>=35.2.0)
19
- Requires-Dist: OpenFisca-France (<143,>=126)
18
+ Requires-Dist: OpenFisca-Core (<36,>=35.8.0)
19
+ Requires-Dist: OpenFisca-France (<143,>=139.0.0)
20
20
  Requires-Dist: pandas (==1.0.3)
21
21
  Provides-Extra: excel-reader
22
22
  Requires-Dist: xlrd (==1.2.0) ; extra == 'excel-reader'
@@ -1,6 +1,6 @@
1
- OpenFisca_France_Local-4.2.9.data/scripts/openfisca_local_test,sha256=M55UQ5tskwZpJVLXGqlIcVs1nVZ2pBr_-R9jh-z2tbw,128
1
+ OpenFisca_France_Local-4.2.10.data/scripts/openfisca_local_test,sha256=M55UQ5tskwZpJVLXGqlIcVs1nVZ2pBr_-R9jh-z2tbw,128
2
2
  openfisca_france_local/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- openfisca_france_local/aides_jeunes_reform.py,sha256=3zAb-ZJ92YfHqZb6TuuTnaY_J2FubURnTnch1hJ7meM,11601
3
+ openfisca_france_local/aides_jeunes_reform.py,sha256=4LbfwmOUFHdOWXNYb8YD5jxfHVI5s8PKKQM60WRSkmA,11605
4
4
  openfisca_france_local/epci_test_factory.py,sha256=llV16D-sNcKa6EIKsfej_4hoPmf4wQ9iHwyT5NGzQtM,1200
5
5
  openfisca_france_local/epcicom2020.xlsx,sha256=dh0_urEHajdv0FoxbFAgyXIMH4s8xlAeriBpVklrqeg,3102230
6
6
  openfisca_france_local/fsl.py,sha256=dM5icY-eKd4PrDdUZ7bO9LPWeU_8VrDs4xuS_tOX0zg,584
@@ -98,8 +98,8 @@ openfisca_france_local/regions/occitanie/carte_transport_scolaire.py,sha256=VgWJ
98
98
  openfisca_france_local/regions/occitanie/msa_midi_pyrenees_sud/aide_permis.py,sha256=lgweI15qJZoguV8KWYVwfYbbZtK7XHabUKk2GADZ0FM,1514
99
99
  openfisca_france_local/regions/pays_de_la_loire/epass_jeunes_culture_sport.py,sha256=jLDoKJkOGz88Zi5qWWNkMBGIbYF5E7TsfI98H1WXOA4,1373
100
100
  openfisca_france_local/scripts/openfisca_local_test,sha256=M55UQ5tskwZpJVLXGqlIcVs1nVZ2pBr_-R9jh-z2tbw,128
101
- OpenFisca_France_Local-4.2.9.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
102
- OpenFisca_France_Local-4.2.9.dist-info/METADATA,sha256=Ya1agGaq5vt-hK9akSyOTq-ablvL5fSciuPS9mLu73I,1066
103
- OpenFisca_France_Local-4.2.9.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
104
- OpenFisca_France_Local-4.2.9.dist-info/top_level.txt,sha256=chE8r9UyoDNV9FnqxzeRSolTkSOB1kf5N8uwm2U1msM,23
105
- OpenFisca_France_Local-4.2.9.dist-info/RECORD,,
101
+ OpenFisca_France_Local-4.2.10.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
102
+ OpenFisca_France_Local-4.2.10.dist-info/METADATA,sha256=NdfTKwLKnP9DcRs_XQBcM8GqhGrVDCxxZjbTcskb_-M,1071
103
+ OpenFisca_France_Local-4.2.10.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
104
+ OpenFisca_France_Local-4.2.10.dist-info/top_level.txt,sha256=chE8r9UyoDNV9FnqxzeRSolTkSOB1kf5N8uwm2U1msM,23
105
+ OpenFisca_France_Local-4.2.10.dist-info/RECORD,,
@@ -68,7 +68,7 @@ def is_quotient_familial_eligible(individu: Population, period: Period, conditio
68
68
 
69
69
  rfr = individu.foyer_fiscal('rfr', period.this_year)
70
70
  nbptr = individu.foyer_fiscal('nbptr', period.this_year)
71
- quotient_familial = rfr / nbptr
71
+ quotient_familial = rfr / 12 / nbptr
72
72
 
73
73
  comparison = operations[condition['operator']]
74
74
 
@@ -292,7 +292,6 @@ def generate_variable(benefit: dict):
292
292
 
293
293
  return compute_value(general_eligibilities * is_profile_eligible)
294
294
 
295
-
296
295
  return type(benefit['slug'], (Variable,), {
297
296
  "value_type": value_type,
298
297
  "entity": Individu,