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

@@ -1611,17 +1611,6 @@ class aides_logement_foyer_k_apl(Variable):
1611
1611
  return plafond_k - (((R_majuscule - (r_minuscule * N))) / (cm1 * N))
1612
1612
 
1613
1613
 
1614
- class aides_logement_categorie(Variable):
1615
- value_type = str
1616
- entity = Famille
1617
- definition_period = MONTH
1618
- set_input = set_input_dispatch_by_period
1619
-
1620
- def formula(famille, period, parameters):
1621
- categorie_apl = famille.demandeur.menage('logement_conventionne', period)
1622
- return where(categorie_apl, 'apl', 'al')
1623
-
1624
-
1625
1614
  class aides_logement_nb_part(Variable):
1626
1615
  value_type = float
1627
1616
  entity = Famille
@@ -1634,7 +1623,9 @@ class aides_logement_nb_part(Variable):
1634
1623
  al_nb_pac = famille('al_nb_personnes_a_charge', period)
1635
1624
  couple = famille('al_couple', period)
1636
1625
 
1637
- categorie = famille('aides_logement_categorie', period)
1626
+ categorie_apl = famille.demandeur.menage('logement_conventionne', period)
1627
+ categorie = where(categorie_apl, 'apl', 'al')
1628
+
1638
1629
  params = parameters(period).prestations_sociales.aides_logement.allocations_logement.foyer.k_coef_prise_en_charge.n_nombre_parts[categorie]
1639
1630
 
1640
1631
  return (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: OpenFisca-France
3
- Version: 171.0.2
3
+ Version: 172.0.0
4
4
  Summary: OpenFisca Rules as Code model for France.
5
5
  Author-email: OpenFisca Team <contact@openfisca.fr>
6
6
  Project-URL: Homepage, https://github.com/openfisca/openfisca-france
@@ -81,7 +81,7 @@ openfisca_france/model/prestations/aide_alimentation_etudiants_eloignes.py,sha25
81
81
  openfisca_france/model/prestations/aide_mobilite.py,sha256=SqzPIkkEZAgKoEbc73d3bhsYhFxZaN1o2Ik4gTm7VWY,20560
82
82
  openfisca_france/model/prestations/aide_permis_demandeur_emploi.py,sha256=7V8gVzI9Rgg60lxqddrrIqhjqe06J2GfMQoSXKrdY7I,3410
83
83
  openfisca_france/model/prestations/aide_permis_pro_btp.py,sha256=bzh9cDpJetqn72S2ziQJlhZuJrtOw-tYSDBOYKIML48,2258
84
- openfisca_france/model/prestations/aides_logement.py,sha256=l18TYC58jORXqycfW4NBQJpmEm0moxgoifhU1aD3F4M,90769
84
+ openfisca_france/model/prestations/aides_logement.py,sha256=3ISJSt4kYADJJOasvlp1K9lHmvLRuxJf0Awthm9fMDc,90503
85
85
  openfisca_france/model/prestations/alimentation.py,sha256=3gkbQrPdobAHmroJiG07ajxzWjLlyMhMh6kMvg4s4Hk,2350
86
86
  openfisca_france/model/prestations/autonomie.py,sha256=7UpuhDO-LFjwbq3UWSDyOKJCsTw1rx8O-tS3dG-MBn8,19394
87
87
  openfisca_france/model/prestations/bail_reel_solidaire.py,sha256=uEDGxseBXC70v-otwXHOCTVUj7ZqIlc1za7rv8EE5Hg,3166
@@ -4129,8 +4129,8 @@ openfisca_france/scripts/performance/measure_spiral_performances.py,sha256=cQIxE
4129
4129
  openfisca_france/scripts/performance/measure_tests_performance.py,sha256=HYgSJy-OMZay2AZt6ztntgdUbW_RL2xMr-iHcK-zoVY,1869
4130
4130
  openfisca_france/situation_examples/__init__.py,sha256=BTRmrqk9lsjfhtPXsYcsWqXFEYyFpgLcxNs6oJsy8zk,262
4131
4131
  openfisca_france/situation_examples/couple.json,sha256=Ot1x4wl3IS-2-10X3V7ZUokkOMXi96s-xK7A0gNvRF4,862
4132
- openfisca_france-171.0.2.dist-info/licenses/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4133
- openfisca_france-171.0.2.dist-info/METADATA,sha256=-JNHTpmRTmX4r_yPv1hA7SoqF7WIM6_xRJpcYtgpuCA,20852
4134
- openfisca_france-171.0.2.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
4135
- openfisca_france-171.0.2.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
4136
- openfisca_france-171.0.2.dist-info/RECORD,,
4132
+ openfisca_france-172.0.0.dist-info/licenses/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4133
+ openfisca_france-172.0.0.dist-info/METADATA,sha256=GGvfDx28PAF6msM3LBx-W8YVWhAi8BjPNGe6MGuXCxI,20852
4134
+ openfisca_france-172.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
4135
+ openfisca_france-172.0.0.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
4136
+ openfisca_france-172.0.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.3.1)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5